Files
Dialyse-Webseite/view/frontend.php
2026-10-20 18:19:06 +02:00

487 lines
26 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/* @var string $action */
/* @var string $content */
/* @var array $config */
/* @var Session $session */
$titles = [
'main' => 'Dialysezentrum Berlin-Mahlsdorf | Praxis für Nephrologie & Dialyse',
'leistungen' => 'Leistungen & Schwerpunkte | Dialysezentrum Berlin-Mahlsdorf',
'praxis' => 'Praxisausstattung & Öffnungszeiten | Dialysezentrum Berlin-Mahlsdorf',
'team' => 'Unser Ärzteteam & Mitarbeiter | Dialysezentrum Berlin-Mahlsdorf',
'ersttermin' => 'Informationen zum 1. Termin & Formulare | Dialysezentrum Berlin-Mahlsdorf',
'kontakt' => 'Kontakt & Anfahrt | Dialysezentrum Berlin-Mahlsdorf',
'kontakt-formular' => 'Kontaktanfrage | Dialysezentrum Berlin-Mahlsdorf',
'impressum' => 'Impressum | Dialysezentrum Berlin-Mahlsdorf',
'datenschutz' => 'Datenschutzerklärung | Dialysezentrum Berlin-Mahlsdorf',
'404' => 'Seite nicht gefunden (404) | Dialysezentrum Berlin-Mahlsdorf',
];
$descriptions = [
'main' => 'Dialysezentrum Berlin-Mahlsdorf & Marzahn: Individuelle Hämodialyse, Online-HDF, nephrologische Ambulanz und ganzjährige Feriendialysen in Berlin.',
'leistungen' => 'Leistungen im Dialysezentrum Berlin-Mahlsdorf: Nephrologische Ambulanz, Hämodialyse, Online-HDF mit Nikkiso Haemo-Master, Fresenius BCM & Sonographie.',
'praxis' => 'Praxisausstattung, Dialyse-Schichten & Ambulanz-Sprechzeiten: 16 Plätze in Berlin-Mahlsdorf, 18 Plätze in Berlin-Marzahn und moderne Nikkiso-Dialysetechnik.',
'team' => 'Lernen Sie unser Ärzteteam kennen: Dr. med. Bianca Bischoff, Dr. med. Juliane Hoffzimmer, Dr. med. Claudia Körner und 23 engagierte Pflege- & Servicekräfte.',
'ersttermin' => 'Checkliste und interaktive Formulare für Ihren 1. Termin im Dialysezentrum Berlin-Mahlsdorf: Anamnesebogen, Datenschutz & Patientenunterlagen online ausfüllen.',
'kontakt' => 'Kontakt & Anfahrt zum Dialysezentrum Berlin-Mahlsdorf (Thorner Str. 1, 12623 Berlin) und zur Satellitendialyse Marzahn (Blumberger Damm 130, 12685 Berlin).',
'kontakt-formular' => 'Senden Sie uns Ihre Anfrage bequem online über das Kontaktformular des Dialysezentrums Berlin-Mahlsdorf für Termine, Feriendialysen oder allgemeine Fragen.',
'impressum' => 'Impressum und Pflichtangaben der Berufsausübungsgemeinschaft Dr. med. Bianca Bischoff & Dr. med. Juliane Hoffzimmer – Dialysezentrum Berlin-Mahlsdorf.',
'datenschutz' => 'Datenschutzerklärung und Informationen zum Schutz Ihrer personenbezogenen Daten gemäß DSGVO im Dialysezentrum Berlin-Mahlsdorf.',
'404' => 'Die angeforderte Seite wurde leider nicht gefunden. Zurück zur Startseite des Dialysezentrums Berlin-Mahlsdorf.',
];
$currentAction = isset($action) ? $action : 'main';
$pageTitle = isset($titles[$currentAction]) ? $titles[$currentAction] : 'Dialysezentrum Berlin-Mahlsdorf';
$pageDescription = isset($descriptions[$currentAction]) ? $descriptions[$currentAction] : $descriptions['main'];
$baseUrl = 'https://www.dialyse-berlin.net';
if ($currentAction === '404') {
$robotsMeta = 'noindex, nofollow';
$canonicalUrl = null;
} elseif (in_array($currentAction, ['impressum', 'datenschutz', 'kontakt-formular'], true)) {
$robotsMeta = 'noindex, follow';
$canonicalUrl = $baseUrl . '/' . $currentAction . '.html';
} elseif ($currentAction === 'main') {
$robotsMeta = 'index, follow';
$canonicalUrl = $baseUrl . '/';
} else {
$robotsMeta = 'index, follow';
$canonicalUrl = $baseUrl . '/' . $currentAction . '.html';
}
$schemaGraph = [
[
'@type' => 'MedicalClinic',
'@id' => $baseUrl . '/#organization',
'name' => 'Dialysezentrum Berlin-Mahlsdorf',
'alternateName' => 'Zentrum für Nephrologie und Dialyse – Dr. med. Bianca Bischoff & Dr. med. Juliane Hoffzimmer',
'url' => $baseUrl . '/',
'logo' => $baseUrl . '/img/logo_dialysezentrum.png',
'image' => $baseUrl . '/img/gallery/praxis1.jpg',
'description' => $descriptions['main'],
'medicalSpecialty' => 'https://schema.org/Nephrology',
'telephone' => '+49-30-5662484',
'email' => 'kontakt@dialyse-berlin.net',
'address' => [
'@type' => 'PostalAddress',
'streetAddress' => 'Thorner Straße 1',
'postalCode' => '12623',
'addressLocality' => 'Berlin',
'addressRegion' => 'Berlin',
'addressCountry' => 'DE',
],
'geo' => [
'@type' => 'GeoCoordinates',
'latitude' => 52.5078291,
'longitude' => 13.6092903,
],
'hasMap' => 'https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf/@52.5078291,13.6092903,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9c57f7f:0xad4486f559442067!8m2!3d52.5078291!4d13.6092903!16s%2Fg%2F1tdqghgn',
'openingHoursSpecification' => [
[
'@type' => 'OpeningHoursSpecification',
'dayOfWeek' => ['Monday', 'Wednesday', 'Friday'],
'opens' => '07:00',
'closes' => '20:00',
],
[
'@type' => 'OpeningHoursSpecification',
'dayOfWeek' => ['Tuesday', 'Thursday', 'Saturday'],
'opens' => '07:00',
'closes' => '13:00',
],
],
'department' => [
'@type' => 'MedicalClinic',
'name' => 'Dialysezentrum Berlin-Mahlsdorf – Satellitendialyse Marzahn',
'medicalSpecialty' => 'https://schema.org/Nephrology',
'telephone' => '+49-30-5662484',
'email' => 'kontakt@dialyse-berlin.net',
'address' => [
'@type' => 'PostalAddress',
'streetAddress' => 'Blumberger Damm 130 (Eingang: Pritzhagener Weg 21)',
'postalCode' => '12685',
'addressLocality' => 'Berlin',
'addressRegion' => 'Berlin',
'addressCountry' => 'DE',
],
'geo' => [
'@type' => 'GeoCoordinates',
'latitude' => 52.5428128,
'longitude' => 13.5716785,
],
'hasMap' => 'https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf+LC/@52.5428128,13.5716785,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9d5111b:0xda0b4785760166c5!8m2!3d52.5428128!4d13.5716785!16s%2Fg%2F1ts_5mmj',
],
'employee' => [
[
'@type' => 'Physician',
'name' => 'Dr. med. Bianca Bischoff',
'jobTitle' => 'Fachärztin für Innere Medizin und Nephrologie',
'medicalSpecialty' => 'https://schema.org/Nephrology',
],
[
'@type' => 'Physician',
'name' => 'Dr. med. Juliane Hoffzimmer',
'jobTitle' => 'Fachärztin für Innere Medizin und Nephrologie',
'medicalSpecialty' => 'https://schema.org/Nephrology',
],
[
'@type' => 'Physician',
'name' => 'Dr. med. Claudia Körner',
'jobTitle' => 'Fachärztin für Innere Medizin',
],
],
],
];
if ($canonicalUrl && $currentAction !== 'main') {
$schemaGraph[] = [
'@type' => 'BreadcrumbList',
'itemListElement' => [
[
'@type' => 'ListItem',
'position' => 1,
'name' => 'Startseite',
'item' => $baseUrl . '/',
],
[
'@type' => 'ListItem',
'position' => 2,
'name' => trim(explode('|', $pageTitle)[0]),
'item' => $canonicalUrl,
],
],
];
}
?>
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?=htmlspecialchars($pageTitle)?></title>
<meta name="description" content="<?=htmlspecialchars($pageDescription)?>">
<meta name="robots" content="<?=htmlspecialchars($robotsMeta)?>">
<?php if($canonicalUrl): ?>
<link rel="canonical" href="<?=htmlspecialchars($canonicalUrl)?>">
<?php endif; ?>
<!-- Open Graph / Link Preview Meta Tags -->
<meta property="og:type" content="website">
<meta property="og:locale" content="de_DE">
<meta property="og:site_name" content="Dialysezentrum Berlin-Mahlsdorf">
<meta property="og:title" content="<?=htmlspecialchars($pageTitle)?>">
<meta property="og:description" content="<?=htmlspecialchars($pageDescription)?>">
<?php if($canonicalUrl): ?>
<meta property="og:url" content="<?=htmlspecialchars($canonicalUrl)?>">
<?php endif; ?>
<meta property="og:image" content="<?=$baseUrl?>/img/gallery/praxis1.jpg">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="768">
<meta property="og:image:alt" content="Dialysezentrum Berlin-Mahlsdorf – Praxisgebäude in der Thorner Straße 1">
<!-- Schema.org Structured Data (JSON-LD) -->
<script type="application/ld+json"><?=json_encode(['@context' => 'https://schema.org', '@graph' => $schemaGraph], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)?></script>
<link rel="icon" href="/img/favicon.ico?v=<?=filemtime(__DIR__ . '/../img/favicon.ico')?>" type="image/x-icon">
<link rel="icon" href="/img/favicon.png?v=<?=filemtime(__DIR__ . '/../img/favicon.png')?>" type="image/png">
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png?v=<?=filemtime(__DIR__ . '/../img/apple-touch-icon.png')?>">
<!-- Modern Stylesheets -->
<link href="/css/frontend.css?v=<?=filemtime(__DIR__ . '/../css/frontend.css')?>" rel="stylesheet" media="screen">
<link href="/css/lightbox.min.css" rel="stylesheet" media="screen">
<!-- Modern Libraries (Updated) -->
<script src="/js/jquery-3.7.1.min.js" type="text/javascript"></script>
<script src="/js/lightbox.min.js" type="text/javascript"></script>
</head>
<body>
<a href="#main-content" class="skip-link">Zum Hauptinhalt springen</a>
<div id="outer-container">
<!-- Top Info Bar -->
<div class="top-bar">
<div class="container top-bar-inner">
<div class="top-bar-left">
<a href="https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf/@52.5078291,13.6092903,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9c57f7f:0xad4486f559442067!8m2!3d52.5078291!4d13.6092903!16s%2Fg%2F1tdqghgn" target="_blank" rel="noopener noreferrer" class="top-bar-item top-bar-addr-main" title="Zentrumsdialyse Berlin-Mahlsdorf in Google Maps öffnen" aria-label="Zentrumsdialyse: Thorner Str. 1, 12623 Berlin (in Google Maps öffnen)">
<svg class="top-bar-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
<span>Thorner Str. 1, 12623 Berlin</span>
</a>
<a href="https://www.google.com/maps/place/Dialysezentrum+Berlin-Mahlsdorf+LC/@52.5428128,13.5716785,17z/data=!3m1!4b1!4m6!3m5!1s0x47a84991f9d5111b:0xda0b4785760166c5!8m2!3d52.5428128!4d13.5716785!16s%2Fg%2F1ts_5mmj" target="_blank" rel="noopener noreferrer" class="top-bar-item top-bar-addr-satellite" title="Satellitendialyse Marzahn in Google Maps öffnen" aria-label="Satellitendialyse: Blumberger Damm 130, 12685 Berlin (in Google Maps öffnen)">
<svg class="top-bar-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
<span>Satellit: Blumberger Damm 130, 12685 Berlin</span>
</a>
</div>
<div class="top-bar-right">
<a href="tel:0305662484" title="Telefon Dialyse">
<svg class="top-bar-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
Dialyse: 030 / 566 24 84
</a>
<a href="tel:0305662539" title="Telefon Ambulanz">
<svg class="top-bar-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
Ambulanz: 030 / 566 25 39
</a>
<a href="javascript:void(0);" class="mail-obf" data-usr="kontakt" data-dom="dialyse-berlin" data-tld="net" title="E-Mail schreiben" style="font-weight: 600;">
<svg class="top-bar-icon" aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
<span class="mail-val c-rev">net.nilreb-esylaid&#64;tkatnok</span>
</a>
</div>
</div>
</div>
<!-- Main Navigation Header -->
<header class="site-header">
<div class="container header-inner">
<a href="/" class="site-logo" title="Dialysezentrum Berlin-Mahlsdorf &ndash; Startseite">
<img src="/img/logo_dialysezentrum.png?v=<?=filemtime(__DIR__ . '/../img/logo_dialysezentrum.png')?>"
alt="Dialysezentrum Berlin-Mahlsdorf &ndash; Zentrum für Nephrologie &amp; Dialyse"
width="915" height="199"
class="site-logo-img">
</a>
<!-- Navigation Menu -->
<nav id="siteNav" aria-label="Hauptnavigation">
<?php include('view/navigation.php'); ?>
</nav>
<!-- Actions & Mobile Toggle -->
<div class="header-actions">
<a href="/kontakt.html" class="header-cta-btn">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
<span>Kontakt / Termin</span>
</a>
<button class="nav-toggle" id="navToggle" aria-label="Menü öffnen" aria-expanded="false" aria-controls="navMenu">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24" id="toggleIcon"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>
</button>
</div>
</div>
</header>
<!-- Holiday / Announcement Dialog (if configured) -->
<?php if(Helper::isHoliday($config) && $session->get('dialog') != 'dismissed'): ?>
<div id="holiday-wrapper" class="holiday-notice-banner" role="region" aria-label="Aktueller Praxishinweis">
<div class="container holiday-notice-inner">
<div class="holiday-notice-content">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>
<div><?=Helper::parseHolidays($config)?></div>
</div>
<button type="button" class="holiday-dismiss-btn" data-dismiss="dialog">
<span aria-hidden="true">&#x2715;</span> <span>Schließen</span>
</button>
</div>
</div>
<?php endif; ?>
<!-- Hero / Motto Banner on Homepage -->
<?php if($currentAction === 'main'): ?>
<section class="hero-banner" aria-label="Willkommensbereich">
<div class="container">
<div class="hero-content">
<div class="hero-badge">
<span aria-hidden="true">&#x2714;</span> &bdquo;Die individuelle Dialyse im grünen Gürtel von Berlin&ldquo;
</div>
<h1 class="hero-title">Dialysezentrum Berlin-Mahlsdorf</h1>
<div class="hero-subtitle">
Dr. med. Bianca Bischoff &bull; Dr. med. Juliane Hoffzimmer
</div>
<div class="hero-doctors">
Fachärztinnen für Innere Medizin und Nephrologie
</div>
<div class="hero-actions">
<a href="/leistungen.html" class="btn btn-primary">Unsere Leistungen</a>
<a href="/praxis.html" class="btn btn-secondary">Praxis &amp; Öffnungszeiten</a>
<a href="/kontakt.html" class="btn btn-outline">Kontakt aufnehmen</a>
<a href="/ersttermin.html" class="btn btn-outline">Infos zum 1. Termin</a>
</div>
</div>
</div>
<div class="hero-wave" aria-hidden="true">
<svg aria-hidden="true" focusable="false" viewBox="0 0 1000 100" preserveAspectRatio="none">
<path class="shape-fill" d="M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7 c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V100H0V30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4 c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z"></path>
</svg>
</div>
</section>
<?php else: ?>
<div class="page-banner">
<div class="container page-banner-inner">
<div>
<nav class="breadcrumb" aria-label="Brotkrumennavigation">
<a href="/">Startseite</a> <span aria-hidden="true">&rsaquo;</span>
<span aria-current="page"><?=htmlspecialchars(trim(explode('|', $pageTitle)[0]))?></span>
</nav>
</div>
</div>
</div>
<?php endif; ?>
<!-- Main Content Area -->
<main id="main-content" class="site-main" tabindex="-1">
<div class="container">
<div class="content-card">
<?=$content?>
</div>
</div>
</main>
<!-- Modern Multi-Column Footer -->
<footer class="site-footer">
<div class="container footer-grid">
<!-- Col 1: About Praxis -->
<div>
<div class="footer-col-title">Dialysezentrum Berlin-Mahlsdorf</div>
<p class="footer-desc">
Zentrum für Nephrologie und Dialyse.<br>
Dr. med. Bianca Bischoff und Dr. med. Juliane Hoffzimmer.<br>
Individuelle nephrologische Betreuung und ganzjährige Feriendialysen mit moderner Medizintechnik.
</p>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
<span><strong>Zentrumsdialyse:</strong> Thorner Straße 1, 12623 Berlin</span>
</div>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z"/></svg>
<span><strong>Satellitendialyse:</strong> Blumberger Damm 130, 12685 Berlin</span>
</div>
</div>
<!-- Col 2: Navigation Links -->
<div>
<div class="footer-col-title">Navigation</div>
<ul class="footer-links">
<li><a href="/"><span aria-hidden="true">&rsaquo;</span> Startseite</a></li>
<li><a href="/leistungen.html"><span aria-hidden="true">&rsaquo;</span> Leistungen</a></li>
<li><a href="/praxis.html"><span aria-hidden="true">&rsaquo;</span> Praxisausstattung</a></li>
<li><a href="/team.html"><span aria-hidden="true">&rsaquo;</span> Unser Team</a></li>
<li><a href="/ersttermin.html"><span aria-hidden="true">&rsaquo;</span> Infos zum 1. Termin</a></li>
<li><a href="/kontakt.html"><span aria-hidden="true">&rsaquo;</span> Kontakt &amp; Anfahrt</a></li>
<li><a href="/kontakt-formular.html"><span aria-hidden="true">&rsaquo;</span> Kontaktformular</a></li>
</ul>
</div>
<!-- Col 3: Contact & Opening info -->
<div>
<div class="footer-col-title">Kontakt &amp; Erreichbarkeit</div>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
<span>Dialyse: <strong>030 / 566 24 84</strong></span>
</div>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>
<span>Ambulanz: <strong>030 / 566 25 39</strong></span>
</div>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>
<span>E-Mail: <a href="javascript:void(0);" class="mail-obf" data-usr="kontakt" data-dom="dialyse-berlin" data-tld="net" style="color: #cbd5e1; font-weight:600;"><span class="mail-val c-rev">net.nilreb-esylaid&#64;tkatnok</span></a></span>
</div>
<div class="footer-contact-item">
<svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/></svg>
<span><a href="/files/dialyse_flyer.pdf" target="_blank" rel="noopener" style="color: #38bdf8; font-weight:600;"><span aria-hidden="true">&raquo;</span> Praxis-Flyer herunterladen (PDF)</a></span>
</div>
</div>
</div>
<!-- Footer Bottom Bar -->
<div class="container footer-bottom">
<div>
&copy; <?=date('Y')?> Dialysezentrum Berlin-Mahlsdorf &bull; Alle Rechte vorbehalten.
</div>
<div>
<a href="/impressum.html">Impressum</a>
<a href="/datenschutz.html">Datenschutz</a>
<a href="/kontakt.html">Kontakt</a>
</div>
</div>
</footer>
</div>
<!-- Interactive Scripts -->
<script type="text/javascript">
$(document).ready(function() {
// Anti-Spam Email De-Obfuscation
$('.mail-obf').each(function() {
var $el = $(this);
var u = $el.attr('data-usr') || $el.data('usr');
var d = $el.attr('data-dom') || $el.data('dom');
var t = $el.attr('data-tld') || $el.data('tld');
if (u && d && t) {
var email = u + '@' + d + '.' + t;
$el.attr('href', 'mailto:' + email);
var $val = $el.find('.mail-val');
if ($val.length) {
$val.removeClass('c-rev').text(email);
}
}
});
$('.mail-obf-text').each(function() {
var $el = $(this);
var u = $el.attr('data-usr') || $el.data('usr');
var d = $el.attr('data-dom') || $el.data('dom');
var t = $el.attr('data-tld') || $el.data('tld');
if (u && d && t) {
var email = u + '@' + d + '.' + t;
var $val = $el.find('.mail-val');
if ($val.length) {
$val.removeClass('c-rev').text(email);
} else {
$el.text(email);
}
}
});
// Mobile Navigation Toggle
var $navToggle = $('#navToggle');
var $navMenu = $('#navMenu');
$navToggle.on('click', function(e) {
e.stopPropagation();
var isOpen = $navMenu.hasClass('is-open');
$navMenu.toggleClass('is-open');
$navToggle.attr('aria-expanded', !isOpen);
$navToggle.attr('aria-label', !isOpen ? 'Menü schließen' : 'Menü öffnen');
// Toggle hamburger icon to X
if(!isOpen) {
$('#toggleIcon').html('<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>');
} else {
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
}
});
// Close menu on click outside
$(document).on('click', function(e) {
if (!$(e.target).closest('#siteNav, #navToggle').length) {
if ($navMenu.hasClass('is-open')) {
$navMenu.removeClass('is-open');
$navToggle.attr('aria-expanded', 'false').attr('aria-label', 'Menü öffnen');
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
}
}
});
// Close on ESC
$(document).on('keydown', function(e) {
if (e.key === 'Escape' && $navMenu.hasClass('is-open')) {
$navMenu.removeClass('is-open');
$navToggle.attr('aria-expanded', 'false').attr('aria-label', 'Menü öffnen').trigger('focus');
$('#toggleIcon').html('<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>');
}
});
// Holiday Notice Dismissal
$('[data-dismiss="dialog"]').on('click', function(e) {
e.preventDefault();
$.ajax({
url: '/api.php?action=dialog',
type: 'get',
success: function(response) {
$('#holiday-wrapper').slideUp(250);
}
});
});
});
</script>
</body>
</html>