:root{
  --blue:#064f82;
  --blue2:#0b74a8;
  --navy:#062a4d;
  --text:#263b50;
  --light:#f4f9fc;
  --white:#ffffff;
  --accent:#1daaa0;
  --border:#d9e6ee;
  --danger:#d81919;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--light);color:var(--text);line-height:1.65}
a{color:var(--blue)}
.container{max-width:1180px;margin:auto;padding:0 24px}
.header{background:#fff;box-shadow:0 4px 22px rgba(6,42,77,.08);position:sticky;top:0;z-index:50}
.topline{display:flex;justify-content:flex-end;gap:28px;padding:10px 0 0;font-size:14px}
.topline a{text-decoration:none;font-weight:700;color:var(--navy)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0 18px}
.brand{text-decoration:none;color:var(--navy)}
.brand strong{display:block;font-size:20px;line-height:1.2;color:var(--blue)}
.brand span{display:block;font-size:14px;color:var(--text);margin-top:3px}
.menu a{color:var(--navy);text-decoration:none;margin-left:20px;font-weight:800;font-size:15px}
.menu a:hover{color:var(--accent)}
.menu .nav-btn{background:var(--accent);color:#fff;padding:10px 15px;border-radius:999px}
.hero{position:relative;min-height:560px;background:url('../img/praxis-interim.jpg') center/cover no-repeat;color:#fff;display:flex;align-items:center}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,42,77,.86),rgba(6,79,130,.52),rgba(255,255,255,.08))}
.hero .container{position:relative;z-index:2}
.hero-content{max-width:780px}
.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#bff0ea;font-weight:900;margin-bottom:10px}
.hero h1{font-size:54px;line-height:1.05;margin:0 0 18px;max-width:820px}
.hero p{font-size:21px;max-width:760px;margin:0 0 28px}
.btn{display:inline-block;border:0;border-radius:999px;padding:14px 24px;text-decoration:none;font-weight:900;background:var(--accent);color:#fff;box-shadow:0 10px 22px rgba(29,170,160,.25);margin:0 10px 10px 0}
.btn.secondary{background:#fff;color:var(--blue);border:1px solid var(--border);box-shadow:none}
.quick{padding:36px 0 16px;background:var(--light)}
.quick-grid{display:grid;grid-template-columns:1fr 1.25fr 1fr 1fr;gap:18px}
.box{background:#fff;border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:0 10px 24px rgba(6,42,77,.07)}
.box h3{margin:0 0 12px;color:var(--navy);font-size:20px}
.box p{margin:0 0 12px}
.hours{width:100%;border-collapse:collapse;font-size:14px}
.hours td{padding:4px 0;border-bottom:1px solid #eef3f7}
.hours td:last-child{text-align:right;font-weight:800;color:var(--navy)}
.note{background:#eef8ff;border:1px solid #cde5f4;border-radius:10px;padding:12px 14px;margin-top:14px;font-size:14px}
.section{padding:68px 0}
.section.white{background:#fff}
.section-eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-weight:900;margin-bottom:8px}
h2{font-size:38px;line-height:1.15;color:var(--navy);margin:0 0 28px}
.lead{font-size:19px;max-width:760px;margin-top:-14px;margin-bottom:30px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-6{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.promise{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px 22px;font-weight:800;color:var(--navy);box-shadow:0 8px 22px rgba(6,42,77,.06)}
.promise span{color:var(--accent);font-size:20px;margin-right:8px}
.doctor{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:0 14px 32px rgba(6,42,77,.08)}
.doctor img{width:100%;height:380px;object-fit:cover;object-position:center top;display:block}
.doctor-body{padding:28px}
.doctor h3{font-size:28px;color:var(--navy);margin:0}
.title{font-weight:900;color:var(--blue);margin:4px 0 18px}
.subhead{font-weight:900;color:var(--navy);margin:22px 0 8px}
ul.clean{margin:0;padding-left:20px}
ul.clean li{margin:6px 0}
.card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:25px;box-shadow:0 10px 24px rgba(6,42,77,.06)}
.white .card{background:var(--light)}
.icon{font-size:30px;margin-bottom:8px}
.card h3{margin:0 0 10px;color:var(--navy)}
.emergency-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--border)}
.emergency-table th{background:var(--blue);color:#fff;text-align:left;padding:12px}
.emergency-table td{padding:13px 12px;border-top:1px solid var(--border)}
.emergency-table td:nth-child(2){font-weight:900;color:var(--blue);font-size:20px;text-align:center}
.alert{margin-top:16px;background:#fff1f1;border:1px solid #ffc7c7;color:var(--danger);font-weight:900;border-radius:12px;padding:14px 18px}
.footer{background:var(--navy);color:#fff;padding:38px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px;margin-bottom:26px}
.footer a{color:#fff;text-decoration:none}
.footer-bottom{border-top:1px solid rgba(255,255,255,.25);padding-top:16px;font-size:14px;display:flex;gap:22px;flex-wrap:wrap}
@media(max-width:980px){
  .topline{justify-content:flex-start;flex-wrap:wrap}
  .nav{display:block}.menu{margin-top:12px}
  .menu a{display:inline-block;margin:8px 14px 0 0}
  .hero{min-height:480px}.hero h1{font-size:38px}
  .quick-grid,.grid-2,.grid-3,.grid-6,.footer-grid{grid-template-columns:1fr}
  .doctor img{height:auto}
}

.info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.info-item{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px 22px;box-shadow:0 8px 22px rgba(6,42,77,.06)}
.info-item strong{display:block;color:var(--navy);font-size:17px;margin-bottom:5px}
.welcome-box{background:linear-gradient(135deg,#ffffff,#eef8ff);border:1px solid var(--border);border-radius:20px;padding:30px;box-shadow:0 12px 28px rgba(6,42,77,.07)}
.phone-link{font-weight:900;text-decoration:none}
@media(max-width:980px){.info-grid{grid-template-columns:1fr}}



/* Version 8.7 – Premium Ärzteteam */
.team-premium{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px;
  align-items:stretch;
}
.doctor-premium{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(6,42,77,.09);
  display:flex;
  flex-direction:column;
}
.doctor-photo{
  background:linear-gradient(135deg,#eaf5fa,#fff);
  padding:18px 18px 0;
}
.doctor-photo img{
  width:100%;
  height:430px;
  object-fit:cover;
  object-position:center top;
  border-radius:18px 18px 0 0;
  display:block;
}
.doctor-profile{
  padding:30px;
  display:flex;
  flex-direction:column;
  gap:18px;
  flex:1;
}
.doctor-profile h3{
  margin:0;
  color:var(--navy);
  font-size:30px;
  line-height:1.15;
}
.doctor-title{
  color:var(--blue);
  font-weight:900;
  margin:-10px 0 0;
}
.doctor-intro{
  margin:0;
  font-size:16px;
  color:var(--text);
}
.profile-panel{
  background:var(--light);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px 20px;
}
.profile-panel h4{
  margin:0 0 10px;
  color:var(--navy);
  font-size:18px;
}
.profile-panel ul{
  margin:0;
  padding:0;
  list-style:none;
}
.profile-panel li{
  position:relative;
  padding-left:24px;
  margin:8px 0;
}
.profile-panel li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent);
  font-weight:900;
}
@media(max-width:980px){
  .team-premium{grid-template-columns:1fr}
  .doctor-photo img{height:auto}
}



/* Menü-Fix 8.7.1 */
.header .nav{
  display:grid;
  grid-template-columns:minmax(300px, 440px) 1fr;
  gap:28px;
  align-items:center;
}
.header .brand strong{
  font-size:18px;
  line-height:1.2;
}
.header .brand span{
  font-size:13px;
}
.header .menu{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.header .menu a{
  margin-left:0;
  font-size:15px;
}
.header .menu .nav-btn{
  padding:11px 18px;
  border-radius:999px;
}
@media(max-width:1100px){
  .header .nav{
    grid-template-columns:1fr;
    gap:10px;
  }
  .header .menu{
    justify-content:flex-start;
    flex-wrap:wrap;
    white-space:normal;
  }
}


/* Menü-Fix 8.7.2: Terminbutton im Header entfernt */
.header .menu{
  gap:24px;
}



/* Version 9.1 – separate Notfallseite */
.notfall-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.notfall-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:28px;
  box-shadow:0 12px 28px rgba(6,42,77,.08);
}
.notfall-card h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:22px;
}
.notfall-number{
  display:inline-block;
  font-size:38px;
  line-height:1;
  font-weight:900;
  text-decoration:none;
  color:var(--blue);
  margin:6px 0 10px;
}
.notfall-number.danger{
  color:#d81919;
}
.notfall-note{
  background:#fff1f1;
  border:1px solid #ffc7c7;
  color:#b00000;
  border-radius:16px;
  padding:18px 22px;
  font-weight:800;
  margin-bottom:26px;
}
@media(max-width:800px){
  .notfall-grid{grid-template-columns:1fr}
  .notfall-number{font-size:34px}
}



/* Footer Öffnungszeiten sauber ausrichten */
.footer-hours{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:6px 14px;
  align-items:start;
  margin-top:10px;
}
.footer-hours .day{
  font-weight:700;
}
.footer-hours .time{
  font-weight:700;
  white-space:nowrap;
}
.footer-hours .time span{
  display:block;
}
.footer .quick-links a{
  display:block;
  margin-bottom:6px;
}
@media(max-width:700px){
  .footer-hours{
    grid-template-columns:78px 1fr;
  }
  .footer-hours .time{
    white-space:normal;
  }
}



/* Version 9.2 – Praxisurlaub-Hinweis */
.urlaub-banner{
  display:none;
  background:#fff8e6;
  border-bottom:1px solid #f0d18a;
  color:#5a3b00;
  padding:18px 0;
}
.urlaub-banner.active{
  display:block;
}
.urlaub-banner .urlaub-box{
  background:#fff;
  border:1px solid #f0d18a;
  border-radius:16px;
  padding:18px 22px;
  box-shadow:0 8px 22px rgba(90,59,0,.08);
}
.urlaub-banner strong{
  display:block;
  color:#062a4d;
  font-size:20px;
  margin-bottom:6px;
}
.urlaub-banner p{
  margin:6px 0;
}



/* Version 9.3 – SEO + Hervorhebung Dr. Haleh Schuppert */
.seo-local{
  padding-top:52px;
  padding-bottom:52px;
}
.doctor-premium.featured-doctor{
  border:2px solid rgba(29,170,160,.45);
  box-shadow:0 22px 48px rgba(6,42,77,.14);
  transform:translateY(-6px);
}
.doctor-premium.featured-doctor .doctor-photo{
  background:linear-gradient(135deg,#e3faf6,#ffffff);
}
.doctor-badge{
  display:inline-block;
  align-self:flex-start;
  background:var(--accent);
  color:#fff;
  border-radius:999px;
  padding:7px 13px;
  font-weight:900;
  font-size:13px;
  letter-spacing:.01em;
}
.doctor-premium.featured-doctor .doctor-profile h3{
  font-size:34px;
}
.highlight-panel{
  background:linear-gradient(135deg,#eefaf8,#ffffff);
  border-color:rgba(29,170,160,.35);
}
@media(max-width:980px){
  .doctor-premium.featured-doctor{
    transform:none;
  }
}


/* Version 9.3.1 – gleichberechtigte Partner */
.doctor-premium.featured-doctor{
  transform:none;
}



/* Version 9.3.5 – iPhone-Menü optimiert */
@media(max-width:700px){
  .header{
    position:sticky;
    top:0;
    z-index:100;
  }

  .header .container{
    padding-left:14px;
    padding-right:14px;
  }

  .topline{
    justify-content:center;
    padding:8px 0 2px;
    font-size:14px;
  }

  .header .nav{
    display:block;
    padding:8px 0 12px;
  }

  .header .brand{
    display:block;
    text-align:center;
    margin-bottom:10px;
  }

  .header .brand strong{
    font-size:15px;
    line-height:1.22;
  }

  .header .brand span{
    font-size:12.5px;
    line-height:1.25;
    margin-top:4px;
  }

  .header .menu{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
    white-space:normal;
  }

  .header .menu a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    margin:0;
    padding:10px 8px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#f4f9fc;
    color:var(--navy);
    font-size:14px;
    font-weight:900;
    line-height:1.1;
    text-align:center;
    text-decoration:none;
  }

  .header .menu a:hover{
    color:var(--navy);
  }

  .header .menu a[href="notfall.html"]{
    background:#fff1f1;
    border-color:#ffc7c7;
    color:#b00000;
  }

  .header .menu a[href="kontakt.html"]{
    grid-column:1 / -1;
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
  }

  .hero{
    min-height:430px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero p{
    font-size:18px;
  }
}

@media(max-width:380px){
  .header .brand strong{
    font-size:14px;
  }

  .header .brand span{
    font-size:12px;
  }

  .header .menu a{
    font-size:13px;
    padding-left:6px;
    padding-right:6px;
  }
}



/* Version 9.3.6 – iPhone-Menü Fix mit Cache-Busting und stärkerer mobiler Regel */
@media(max-width:900px){
  header.header{
    position:sticky !important;
    top:0 !important;
    z-index:999 !important;
    background:#fff !important;
  }

  header.header .container{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  header.header .topline{
    justify-content:center !important;
    padding:7px 0 0 !important;
    font-size:13px !important;
  }

  header.header .nav{
    display:block !important;
    padding:8px 0 12px !important;
  }

  header.header .brand{
    display:block !important;
    text-align:center !important;
    margin:0 0 10px 0 !important;
  }

  header.header .brand strong{
    display:block !important;
    font-size:15px !important;
    line-height:1.2 !important;
  }

  header.header .brand span{
    display:block !important;
    font-size:12.5px !important;
    line-height:1.25 !important;
  }

  header.header nav.menu{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    margin:10px 0 0 0 !important;
    width:100% !important;
  }

  header.header nav.menu a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:46px !important;
    margin:0 !important;
    padding:10px 8px !important;
    border:1px solid #d9e6ee !important;
    border-radius:999px !important;
    background:#f4f9fc !important;
    color:#062a4d !important;
    font-size:14px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
    text-align:center !important;
    text-decoration:none !important;
    box-shadow:0 4px 12px rgba(6,42,77,.06) !important;
  }

  header.header nav.menu a[href="notfall.html"]{
    background:#fff1f1 !important;
    border-color:#ffc7c7 !important;
    color:#b00000 !important;
  }

  header.header nav.menu a[href="kontakt.html"]{
    grid-column:1 / -1 !important;
    background:#1daaa0 !important;
    border-color:#1daaa0 !important;
    color:#fff !important;
  }
}

@media(max-width:420px){
  header.header nav.menu a{
    min-height:44px !important;
    font-size:13px !important;
    padding-left:6px !important;
    padding-right:6px !important;
  }

  header.header .brand strong{
    font-size:14px !important;
  }

  header.header .brand span{
    font-size:12px !important;
  }
}



/* Version 9.3.7 – Header ohne Telefonnummer, Praxisname stärker hervorgehoben */
.header .topline{
  display:none !important;
}

.header .brand{
  max-width:760px;
}

.header .brand strong{
  display:block;
  color:#062a4d;
  font-size:23px;
  line-height:1.18;
  font-weight:950;
  letter-spacing:-0.015em;
}

.header .brand span{
  display:block;
  margin-top:5px;
  color:#0f5f92;
  font-size:18px;
  line-height:1.2;
  font-weight:900;
}

@media(max-width:900px){
  header.header .brand strong{
    font-size:18px !important;
    line-height:1.18 !important;
  }

  header.header .brand span{
    font-size:16px !important;
    line-height:1.18 !important;
  }

  header.header .topline{
    display:none !important;
  }
}

@media(max-width:420px){
  header.header .brand strong{
    font-size:16px !important;
  }

  header.header .brand span{
    font-size:14px !important;
  }
}



/* Version 9.3.8 – iPhone: vertikale Abstände kompakter */
@media(max-width:700px){
  .hero{
    min-height:360px !important;
    padding:34px 0 !important;
  }

  .hero-content{
    padding-top:18px !important;
    padding-bottom:18px !important;
  }

  .hero h1{
    margin-top:8px !important;
    margin-bottom:12px !important;
  }

  .hero p{
    margin-top:0 !important;
    margin-bottom:16px !important;
  }

  .section{
    padding-top:34px !important;
    padding-bottom:34px !important;
  }

  .section.white{
    padding-top:30px !important;
    padding-bottom:30px !important;
  }

  .section h2{
    margin-top:6px !important;
    margin-bottom:12px !important;
  }

  .section-eyebrow{
    margin-bottom:6px !important;
  }

  .lead{
    margin-top:0 !important;
    margin-bottom:18px !important;
  }

  .grid,
  .cards,
  .team-premium,
  .contact-grid,
  .service-grid{
    gap:16px !important;
  }

  .card,
  .info-card,
  .profile-panel,
  .doctor-premium,
  .contact-card,
  .service-card{
    padding-top:18px !important;
    padding-bottom:18px !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
  }

  .doctor-photo{
    margin-bottom:12px !important;
  }

  .doctor-profile h3{
    margin-top:0 !important;
    margin-bottom:6px !important;
  }

  .doctor-title,
  .doctor-intro{
    margin-top:0 !important;
    margin-bottom:12px !important;
  }

  .profile-panel h4{
    margin-top:0 !important;
    margin-bottom:8px !important;
  }

  .profile-panel ul{
    margin-top:6px !important;
    margin-bottom:0 !important;
  }

  .footer{
    padding-top:28px !important;
    padding-bottom:24px !important;
  }

  .footer-grid{
    gap:18px !important;
  }
}

@media(max-width:420px){
  .section{
    padding-top:28px !important;
    padding-bottom:28px !important;
  }

  .section.white{
    padding-top:26px !important;
    padding-bottom:26px !important;
  }

  .hero{
    min-height:330px !important;
    padding:28px 0 !important;
  }

  .grid,
  .cards,
  .team-premium,
  .contact-grid,
  .service-grid{
    gap:14px !important;
  }
}



/* Version 9.3.9 – iPhone: einzelne Textzeilen kleiner */
@media(max-width:700px){
  .iphone-small-text{
    font-size:0.78em !important;
    line-height:1.20 !important;
  }
}

@media(max-width:420px){
  .iphone-small-text{
    font-size:0.74em !important;
    line-height:1.18 !important;
  }
}



/* Version 9.3.10 – iPhone: diese Textstellen nochmals kleiner */
@media(max-width:700px){
  .iphone-small-text{
    font-size:0.78em !important;
    line-height:1.20 !important;
  }
}

@media(max-width:420px){
  .iphone-small-text{
    font-size:0.74em !important;
    line-height:1.18 !important;
  }
}



/* Version 9.3.11 – iPhone: markierte Textstellen nochmals kleiner */
@media(max-width:700px){
  .iphone-small-text{
    font-size:0.70em !important;
    line-height:1.16 !important;
  }
}

@media(max-width:420px){
  .iphone-small-text{
    font-size:0.66em !important;
    line-height:1.14 !important;
  }
}



/* Version 9.3.15 – Telefonnummer ohne Unterstreichung, mit Tel: */
.plain-phone{
  color:#111 !important;
  text-decoration:none !important;
  border-bottom:0 !important;
}

.plain-phone:hover{
  color:#111 !important;
  text-decoration:none !important;
}

.phone-line{
  color:#111 !important;
}

.phone-line span{
  font-weight:700;
  color:#111;
}
