/* ============================================================
   Dr. med. Anton Horcicka – Ordination Saalfelden
   Gemeinsames Stylesheet für alle Seiten
   ------------------------------------------------------------
   FARBEN: zentral hier unter :root. Der primäre Blauton ist
   --blue. Willst du einen anderen Blauton, einfach --blue,
   --blue-dark und --blue-light anpassen – der Rest zieht mit.

   BILDER liegen im Ordner assets/ (hero-1..3.jpg, dr-horcicka.jpg …)

   FONTS (DSGVO): Inter kommt aktuell von Google Fonts
   (siehe <link> im <head>). Für DSGVO-Sauberkeit lokal einbinden;
   ohne die Google-Fonts greift der System-Font-Fallback.
   ============================================================ */

:root{
  --blue:#5f85bc;         /* Primärfarbe – exakt von der Website (Kornblumenblau) */
  --blue-dark:#46689c;    /* dunkleres Blau (Hero-/Fuß-Flächen, Hover) */
  --blue-light:#4a6ea3;   /* lesbarer Akzent für kleine Labels/Überschriften auf Weiß */
  --paper:#f5f8fc;        /* Seitenhintergrund, leicht bläulich */
  --card:#ffffff;
  --tint:#eaf0f8;         /* helle Blaufläche (Badges, Hover) */
  --tint-line:#d7e2f0;    /* helle Blaulinie (Rahmen) */
  --ink:#1e2a33;
  --muted:#5a6673;
  --emergency:#c23a2e;    /* Rot – ausschließlich für Notfälle */
  --emergency-dark:#9c2c22;
  --accent:#17a2b8;       /* Teal – sparsamer Zweitakzent (Team) */
  --radius:14px;
  --maxw:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:600;line-height:1.15;margin:0}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.eyebrow{
  display:inline-block;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--blue-light);font-weight:600;
}

/* ---------- Notfall-Leiste ---------- */
.emergency-bar{background:var(--emergency);color:#fff;font-size:.95rem;font-weight:600}
.emergency-bar .wrap{
  display:flex;align-items:center;justify-content:center;gap:.6em;
  padding:9px 24px;text-align:center;flex-wrap:wrap;
}
.emergency-bar a{color:#fff;text-decoration:none;letter-spacing:.02em;white-space:nowrap}
.emergency-bar a:hover{text-decoration:underline}
.pulse{width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:pulse 2.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.6)}70%{box-shadow:0 0 0 9px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}

/* ---------- Kopf / Navigation ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(245,249,252,.92);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--tint-line);
}
.nav{display:flex;align-items:center;gap:14px;padding:12px 24px;max-width:1240px;flex-wrap:nowrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:0 0 auto;margin-right:auto}
.brand .logo{height:44px;width:auto;display:block}
.brand-sub{
  font-size:.74rem;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;
  padding-left:12px;border-left:1px solid var(--tint-line);
}
.brand .mark{
  flex:0 0 auto;width:46px;height:46px;border-radius:12px;
  background:var(--blue);color:#fff;display:grid;place-items:center;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.35rem;font-weight:600;letter-spacing:.02em;
}
.brand .name{font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.16rem;font-weight:600;color:var(--blue);line-height:1.1}
.brand .sub{font-size:.74rem;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;flex-wrap:nowrap;flex:0 0 auto}
.menu a{
  text-decoration:none;color:var(--ink);font-weight:500;font-size:.93rem;white-space:nowrap;
  padding:8px 10px;border-radius:9px;transition:background .15s,color .15s;
}
.menu a:hover{background:var(--tint);color:var(--blue)}
.menu a.active{color:var(--blue);background:var(--tint)}
.menu .rezept{background:var(--blue);color:#fff;padding:9px 14px;margin-left:4px;white-space:nowrap}
.menu .rezept:hover{background:var(--blue-dark);color:#fff}
.burger{display:none;background:none;border:1px solid var(--tint-line);border-radius:9px;padding:9px 11px;cursor:pointer}
.burger span{display:block;width:22px;height:2px;background:var(--ink);margin:4px 0;transition:.2s}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5em;text-decoration:none;font-weight:600;
  padding:13px 22px;border-radius:11px;font-size:1rem;transition:transform .12s,background .15s,box-shadow .15s;
}
.btn-primary{background:#fff;color:var(--blue)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.18)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.45)}
.btn-ghost:hover{background:rgba(255,255,255,.2)}
.btn-blue{background:var(--blue);color:#fff}
.btn-blue:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 10px 24px rgba(31,106,165,.25)}

/* ---------- Homepage-Hero ---------- */
.hero{position:relative;overflow:hidden;background:var(--blue-dark)}
.hero-slides{position:absolute;inset:0}
.hero-slides .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease}
.hero-slides .slide.active{opacity:1}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(105deg,rgba(58,84,132,.93) 0%,rgba(70,104,156,.72) 45%,rgba(95,133,188,.30) 100%);
}
.hero-inner{position:relative;z-index:2;max-width:var(--maxw);margin:0 auto;padding:88px 24px 96px;color:#fff}
.hero .eyebrow{
  color:#cfe4f2;border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:6px 15px;margin-bottom:22px;
}
.hero h1{font-size:clamp(2rem,4.5vw,3.3rem);max-width:15ch;margin:0 0 16px}
.hero .lead{font-size:1.16rem;max-width:52ch;color:#e4f0f8;margin:0 0 30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.dots{position:absolute;z-index:2;bottom:20px;left:0;right:0;display:flex;gap:9px;justify-content:center}
.dots button{width:10px;height:10px;padding:0;border:none;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer}
.dots button.active{background:#fff}

/* ---------- Seiten-Banner (Unterseiten) ---------- */
.page-hero{position:relative;background:var(--blue-dark);color:#fff;overflow:hidden}
.page-hero::before{
  content:"";position:absolute;inset:0;opacity:.20;
  background:radial-gradient(120% 120% at 85% -10%,#5aa6de 0%,transparent 55%);
}
.page-hero .wrap{position:relative;z-index:1;padding:64px 24px 58px}
.page-hero .eyebrow{color:#a9cbe8}
.page-hero h1{font-size:clamp(1.9rem,4vw,2.8rem);margin:10px 0 12px}
.page-hero p{max-width:56ch;color:#d8e6f2;margin:0}
.crumbs{margin-bottom:18px;font-size:.85rem;color:#9dbad6}
.crumbs a{color:#c8dcee;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs span{opacity:.6;margin:0 .4em}

/* ---------- Generische Sektion ---------- */
.section{padding:66px 0}
.section.tight{padding:44px 0}
.section-head{margin-bottom:34px;max-width:60ch}
.section-head h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:8px 0 0}
.lead-text{font-size:1.1rem;color:var(--muted);max-width:60ch}

/* ---------- Startseite: drei Kacheln ---------- */
.cards{padding:64px 0 8px}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{
  background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);
  padding:30px 28px;display:flex;flex-direction:column;gap:10px;transition:transform .15s,box-shadow .15s;
}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(31,106,165,.12)}
.card .num{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-light);font-weight:600}
.card h3{font-size:1.4rem;color:var(--blue)}
.card p{margin:0;color:var(--muted)}
.card .go{margin-top:auto;padding-top:8px;text-decoration:none;color:var(--blue);font-weight:600;display:inline-flex;gap:.4em}
.card .go .arrow{transition:transform .15s}
.card:hover .go .arrow{transform:translateX(4px)}

/* ---------- Startseite: Aktuelles ---------- */
.aktuelles{padding:20px 0 64px}
.notes{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px}
.note{background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);padding:24px 24px}
.note .tag{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--blue-light)}
.note h3{margin:8px 0 6px;color:var(--blue);font-size:1.2rem}
.note p{margin:0;color:var(--muted)}
.note.feature{background:var(--blue);color:#fff;border-color:var(--blue)}
.note.feature .tag{color:#bfe0f2}
.note.feature h3{color:#fff}
.note.feature .big{color:#e4f0f8;font-size:1.05rem}
.note.warn{border-color:#e6c9c2;background:#fbf1ef}
.note.warn .tag{color:var(--emergency)}
.note.warn h3{color:var(--emergency-dark)}
.note .closed{font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.3rem;color:var(--emergency-dark);margin:2px 0 6px;font-weight:600}

/* ---------- Prosa-Inhalt ---------- */
.prose{max-width:74ch}
.prose h2{font-size:1.5rem;color:var(--blue);margin:34px 0 10px}
.prose h3{font-size:1.15rem;color:var(--blue);margin:24px 0 6px}
.prose p{margin:0 0 14px;color:#374650}
.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}
.prose strong{color:var(--ink)}
.prose ul{margin:0 0 16px;padding-left:1.2em;color:#374650}
.prose li{margin:4px 0}

/* ---------- Info-Karten (Ordination-Räume etc.) ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card{background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);padding:26px 24px}
.feature-card .kicker{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-light);font-weight:600}
.feature-card h3{color:var(--blue);font-size:1.25rem;margin:8px 0 8px}
.feature-card p{margin:0;color:var(--muted)}
.callout{
  background:#fbf1ef;border:1px solid #e6c9c2;border-radius:var(--radius);
  padding:18px 22px;color:var(--emergency-dark);font-weight:500;margin-top:8px;
}

/* ---------- Leistungen ---------- */
.leistungen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.leistung{background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);padding:26px 24px}
.leistung .kicker{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--blue-light);font-weight:600}
.leistung h3{color:var(--blue);font-size:1.3rem;margin:8px 0 14px;padding-bottom:12px;border-bottom:1px solid var(--tint-line)}
.leistung ul{list-style:none;margin:0;padding:0}
.leistung li{padding:6px 0 6px 24px;position:relative;color:#374650}
.leistung li::before{content:"";position:absolute;left:2px;top:14px;width:8px;height:8px;border-radius:50%;background:var(--blue-light)}

/* ---------- Team ---------- */
/* Lead-Profil: heller Blauverlauf + blauer Akzentstreifen oben (peppig, aber lesbar) */
.lead-profile{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:300px 1fr;gap:38px;align-items:center;
  background:linear-gradient(180deg,var(--tint) 0%,#fff 190px);
  border:1px solid var(--tint-line);border-top:4px solid var(--blue);
  border-radius:var(--radius);padding:34px;margin-bottom:12px;
}
.lead-profile .photo{
  position:relative;z-index:1;border-radius:14px;overflow:hidden;aspect-ratio:99/80;
  background:var(--tint);display:grid;place-items:center;color:var(--blue-light);
  box-shadow:0 10px 26px rgba(23,82,127,.22);border:4px solid #fff;
}
.lead-profile .photo::after{
  content:"";position:absolute;inset:0;border-radius:10px;
  box-shadow:inset 0 0 0 2px rgba(31,106,165,.25);pointer-events:none;
}
.lead-profile .photo img{width:100%;height:100%;object-fit:cover}
.lead-profile .body{position:relative;z-index:1}
.lead-profile h2{color:var(--blue-dark);font-size:1.7rem}
.lead-profile .role{color:var(--blue-light);font-weight:600;margin:4px 0 16px}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}
.badges li{
  background:var(--tint);color:var(--blue);border:1px solid var(--tint-line);
  border-radius:999px;padding:6px 13px;font-size:.85rem;font-weight:600;
}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:6px}
.facts h4{color:var(--blue);font-size:.95rem;margin:0 0 3px}
.facts p{margin:0;color:var(--muted)}

/* Zeitleiste Ausbildung */
.timeline{list-style:none;margin:0;padding:0;position:relative}
.timeline::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:linear-gradient(var(--blue-light),var(--tint-line))}
.timeline li{position:relative;padding:0 0 22px 34px}
.timeline li::before{content:"";position:absolute;left:0;top:5px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--blue-light);box-shadow:0 0 0 3px var(--tint)}
.timeline .when{font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-weight:600;color:var(--blue);font-size:1.05rem}
.timeline .what{font-weight:600;margin:2px 0 1px}
.timeline .where{color:var(--muted);font-size:.95rem}

/* Team-Raster – bunte, freundliche Avatare */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.member{
  position:relative;background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);
  padding:28px 24px 24px;text-align:center;overflow:hidden;transition:transform .15s,box-shadow .15s;
}
.member::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--m,var(--blue))}
.member:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(31,106,165,.14)}
.member .avatar{
  width:70px;height:70px;border-radius:50%;margin:6px auto 14px;
  background:var(--m,var(--blue));color:#fff;display:grid;place-items:center;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.5rem;font-weight:600;
  box-shadow:0 6px 16px color-mix(in srgb,var(--m,var(--blue)) 40%,transparent);
}
.member h3{color:var(--blue-dark);font-size:1.25rem;margin:0 0 4px}
.member p{margin:0;color:var(--muted);font-style:italic}
/* Farbvarianten */
.member.c1{--m:#1f6aa5}
.member.c2{--m:#17a2b8}
.member.c3{--m:#2f88c4}
.member.c4{--m:#e08a3c}
.member.c5{--m:#5c6bc0}

/* ---------- Kontakt-Seite ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:start}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-weight:600;font-size:.9rem;color:var(--ink)}
.field label .req{color:var(--emergency)}
.field input,.field textarea{
  font:inherit;padding:12px 14px;border:1px solid var(--tint-line);border-radius:10px;
  background:#fff;color:var(--ink);
}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--blue-light);box-shadow:0 0 0 3px rgba(47,136,196,.18)}
.form-note{background:#fbf1ef;border:1px solid #e6c9c2;border-radius:10px;padding:14px 16px;color:var(--emergency-dark);font-size:.92rem;margin-bottom:20px}
.contact-block{background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);padding:28px}
.contact-block h3{color:var(--blue);margin:0 0 12px}
.contact-block p{margin:0 0 12px;color:#374650}
.map-link{display:inline-flex;align-items:center;gap:.5em;color:var(--blue);font-weight:600;text-decoration:none;margin-top:4px}
.map-link:hover{text-decoration:underline}

/* ---------- Info-Band (unten auf jeder Seite) ---------- */
.info{background:var(--blue)}
.info .wrap{padding:56px 24px}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.info h3{color:#fff;font-size:1.3rem;margin:0 0 16px}
.contact-line{margin:0 0 12px;color:#d3e6f4}
.contact-line b{color:#fff}
.info a{color:#fff}
.info .row{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.16);font-size:.96rem;color:#eaf4fb}
.info .row .day{color:#c2ddf0}
.info .row.today{color:#fff;font-weight:600}
.info .row.today .day{color:#fff}
.info .row.today::after{content:"heute";font-size:.7rem;background:rgba(255,255,255,.22);padding:2px 8px;border-radius:999px;align-self:center}
.notfall-box{background:var(--emergency);border-radius:12px;padding:14px 18px;margin-top:4px}
.notfall-box .n{font-size:1.55rem;font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#fff;font-weight:600}
.notfall-box small{display:block;color:#ffe0dc;margin-top:2px}
.emerg-nums{display:flex;gap:22px;margin-top:14px;flex-wrap:wrap}
.emerg-nums div{font-size:.92rem;color:#c2ddf0}
.emerg-nums b{display:block;font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.5rem;color:#fff}

/* ---------- Fuß ---------- */
.footer{background:var(--blue-dark);color:#d3e6f4;padding:30px 0}
.footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:.9rem}
.footer nav{display:flex;gap:18px;flex-wrap:wrap}
.footer a{color:#d3e6f4;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}

/* ---------- Responsiv ---------- */
@media (max-width:980px){
  .cards-grid,.notes,.info-grid,.feature-grid,.leistungen-grid,.team-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr;gap:28px}
  .lead-profile{grid-template-columns:1fr;gap:22px}
  .lead-profile .photo{max-width:280px;margin-top:34px}
  .lead-profile .body{padding-top:0}
  .facts{grid-template-columns:1fr 1fr}
  .menu{
    position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;
    background:var(--card);border-top:1px solid var(--tint-line);border-bottom:1px solid var(--tint-line);
    padding:10px 14px 16px;gap:2px;display:none;box-shadow:0 18px 34px rgba(0,0,0,.14);
  }
  .menu.open{display:flex}
  .menu li{width:100%}
  .menu a{display:block;width:100%;padding:13px 14px;border-radius:10px;font-size:1rem}
  .menu a.active{background:var(--tint);color:var(--blue)}
  .menu .rezept{display:block;text-align:center;margin:10px 0 0;padding:14px;font-size:1rem}
  .burger{display:block}
}
@media (max-width:560px){
  .brand-sub{display:none}
  .brand .logo{height:42px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .hero-slides .slide{transition:opacity .3s}
}
:focus-visible{outline:3px solid var(--blue-light);outline-offset:2px;border-radius:4px}

/* ============================================================
   ERWEITERUNGEN: Slider-Pfeile, Urlaub, Neuigkeiten
   ============================================================ */

/* ---------- Hero: Pfeile links/rechts ---------- */
.hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:48px;height:48px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.5);
  color:#fff;transition:background .15s,transform .15s;
  backdrop-filter:blur(2px);
}
.hero-arrow:hover{background:rgba(255,255,255,.30)}
.hero-arrow:active{transform:translateY(-50%) scale(.94)}
.hero-arrow svg{width:24px;height:24px;display:block}
.hero-arrow.prev{left:18px}
.hero-arrow.next{right:18px}
@media (max-width:560px){
  .hero-arrow{width:40px;height:40px}
  .hero-arrow.prev{left:10px}
  .hero-arrow.next{right:10px}
}

/* ---------- Urlaub: großer Hinweis oben (aktiv) ---------- */
.vacation-bar{background:var(--emergency-dark);color:#fff}
.vacation-bar .wrap{
  display:flex;align-items:flex-start;gap:18px;padding:16px 24px;flex-wrap:wrap;
}
.vacation-badge{
  flex:0 0 auto;display:inline-block;background:#fff;color:var(--emergency-dark);
  font-weight:700;font-size:.82rem;letter-spacing:.03em;text-transform:uppercase;
  padding:6px 13px;border-radius:999px;margin-top:2px;
}
.vacation-body{min-width:0}
.vacation-body strong{display:block;font-size:1.05rem;font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.vacation-body p{margin:4px 0 0;color:#ffe0dc;font-size:.95rem;max-width:80ch}

/* ---------- Urlaub: dezenter Hinweis bei den Öffnungszeiten ---------- */
.hours-vacation{
  margin-top:14px;padding:12px 14px;border-radius:10px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);
}
.hours-vacation .tag{
  display:inline-block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;
  font-weight:700;color:#fff;background:rgba(255,255,255,.18);padding:2px 9px;border-radius:999px;margin-bottom:6px;
}
.hours-vacation b{display:block;color:#fff}
.hours-vacation.active{background:var(--emergency);border-color:var(--emergency-dark)}
.hours-vacation.active .tag{background:rgba(0,0,0,.18)}

.info-sub{margin:0 0 6px;color:#c2ddf0;font-size:.95rem}

/* ---------- Section-Head mit Link rechts ---------- */
.section-head.with-link{
  display:flex;justify-content:space-between;align-items:flex-end;gap:20px;max-width:none;
}
.text-link{
  color:var(--blue);font-weight:600;text-decoration:none;white-space:nowrap;flex:0 0 auto;
}
.text-link:hover{text-decoration:underline}

/* ---------- Startseite: News-Teaser (3 Karten) ---------- */
.news-teasers{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.news-teaser{
  display:flex;flex-direction:column;text-decoration:none;color:inherit;overflow:hidden;
  background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);
  transition:transform .15s,box-shadow .15s;
}
.news-teaser:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(31,106,165,.12)}
.news-teaser-img{height:150px;background-size:cover;background-position:center;background-color:var(--tint)}
.news-teaser-body{padding:22px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.news-teaser time{font-size:.8rem;color:var(--blue-light);font-weight:600;letter-spacing:.02em}
.news-teaser h3{color:var(--blue-dark);font-size:1.2rem;line-height:1.25}
.news-teaser p{margin:0;color:var(--muted);font-size:.96rem}
.news-teaser .more{margin-top:auto;padding-top:6px;color:var(--blue);font-weight:600;font-size:.92rem}
.news-teaser:hover .more{text-decoration:underline}

/* ---------- News-Listenseite ---------- */
.news-list{display:flex;flex-direction:column;gap:22px}
.news-card{
  display:grid;grid-template-columns:260px 1fr;gap:0;overflow:hidden;
  background:var(--card);border:1px solid var(--tint-line);border-radius:var(--radius);
  transition:box-shadow .15s;
}
.news-card:hover{box-shadow:0 14px 30px rgba(31,106,165,.1)}
.news-card:only-child{max-width:820px}
.news-card-img{background-size:cover;background-position:center;background-color:var(--tint);min-height:180px;display:block}
.news-card.no-img{grid-template-columns:1fr}
.news-card-body{padding:28px 30px}
.news-card time{font-size:.82rem;color:var(--blue-light);font-weight:600}
.news-card h2{font-size:1.4rem;margin:6px 0 10px;line-height:1.2}
.news-card h2 a{color:var(--blue-dark);text-decoration:none}
.news-card h2 a:hover{text-decoration:underline}
.news-card p{margin:0 0 14px;color:var(--muted)}
.news-card .more{color:var(--blue);font-weight:600;text-decoration:none}
.news-card .more:hover{text-decoration:underline}
/* Karten ohne Bild: einspaltig */
.news-card:not(:has(.news-card-img)){grid-template-columns:1fr}

/* ---------- News-Detail ---------- */
.article{max-width:820px}
.article-hero{width:100%;border-radius:var(--radius);margin:0 0 26px;border:1px solid var(--tint-line)}
.article-body h2{font-size:1.4rem}
.article-body p{font-size:1.05rem}
.article-back{margin-top:30px;padding-top:20px;border-top:1px solid var(--tint-line)}
.article-back a{color:var(--blue);font-weight:600;text-decoration:none}
.article-back a:hover{text-decoration:underline}

/* ---------- Responsiv (Ergänzungen) ---------- */
@media (max-width:880px){
  .news-teasers{grid-template-columns:1fr}
  .news-card{grid-template-columns:1fr}
  .news-card-img{min-height:200px}
  .section-head.with-link{flex-direction:column;align-items:flex-start;gap:8px}
}

/* Team-Avatar als Foto (statt Initiale) */
.member .avatar.photo{background-size:cover;background-position:center;color:transparent}

/* ============================================================
   ERGÄNZUNGEN: A11y, Öffnungs-Status, Karte, mobile Slider
   ============================================================ */

/* Skip-Link */
.skip-link{
  position:absolute;left:8px;top:-48px;z-index:200;
  background:var(--blue-dark);color:#fff;padding:10px 16px;border-radius:0 0 10px 10px;
  text-decoration:none;font-weight:600;transition:top .15s;
}
.skip-link:focus{top:0}

/* nur für Screenreader */
.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* Kopf: rechte Gruppe (Status + Burger) */
.nav-right{display:flex;align-items:center;gap:10px;flex:0 1 auto;min-width:0}

/* Öffnungs-Status-Pille */
.open-badge{
  display:inline-flex;align-items:center;gap:8px;text-decoration:none;flex:0 1 auto;min-width:0;
  padding:7px 12px;border-radius:999px;font-size:.85rem;line-height:1.15;
  border:1px solid var(--tint-line);background:#fff;color:var(--ink);
  transition:box-shadow .15s,border-color .15s;
}
.open-badge:hover{box-shadow:0 4px 14px rgba(31,106,165,.12)}
.open-badge .dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto}
.open-badge.is-open .dot{background:#2e9e5b;box-shadow:0 0 0 0 rgba(46,158,91,.6);animation:opulse 2.4s infinite}
.open-badge.is-closed .dot{background:#c23a2e}
.open-badge .ob-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.open-badge.is-open{border-color:#bfe3cd}
@keyframes opulse{0%{box-shadow:0 0 0 0 rgba(46,158,91,.55)}70%{box-shadow:0 0 0 7px rgba(46,158,91,0)}100%{box-shadow:0 0 0 0 rgba(46,158,91,0)}}

/* Karte (Kontakt) */
.map-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:6px}
.map-wrap{margin-top:26px}
.osm-map{
  width:100%;height:380px;border:1px solid var(--tint-line);border-radius:var(--radius);
  display:block;background:var(--tint);
}
.map-note{margin:10px 2px 0;font-size:.85rem;color:var(--muted)}
.map-note a{color:var(--blue)}

/* Slider-Pfeile: mobil unten platzieren (nicht mehr über dem Text) */
@media (max-width:640px){
  .hero-arrow{top:auto;bottom:56px;transform:none;width:40px;height:40px}
  .hero-arrow:active{transform:scale(.94)}
  .hero-arrow.prev{left:12px}
  .hero-arrow.next{right:12px}
  .hero-inner{padding-bottom:118px}     /* Platz für Pfeile + Punkte */
}

/* Kopf kompakt auf mittleren Breiten (Marke-Zusatz + Status-Detail ausblenden) */
@media (max-width:1200px){
  .brand-sub{display:none}
  .open-badge .ob-detail{display:none}
}
@media (max-width:980px){
  .open-badge{font-size:.8rem;padding:6px 11px}
}
@media (max-width:420px){
  .open-badge .ob-text{display:none}
  .open-badge{padding:9px}
}

/* ============================================================
   STATUS-BAND oben: Öffnungsstatus + Notfall-Telefon
   grün = geöffnet · rot = geschlossen (dann Notfall im Fokus)
   ============================================================ */
.status-bar{color:#fff;font-size:.94rem;font-weight:600;line-height:1.4}
.status-bar .wrap{
  display:flex;align-items:center;justify-content:space-between;gap:4px 22px;
  padding:9px 24px;flex-wrap:wrap;
}
.status-bar.is-open{background:#2b8a52}
.status-bar.is-closed{background:var(--emergency)}
.status-bar a{color:#fff;text-decoration:none;white-space:nowrap}
.status-bar a:hover{text-decoration:underline}
.sb-status b{font-weight:700}
.sb-status .dot{
  display:inline-block;width:9px;height:9px;border-radius:50%;background:#fff;
  margin-right:8px;vertical-align:middle;
}
.status-bar.is-open .sb-status .dot{box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:opulse 2.4s infinite}
.sb-label{opacity:.95}
.sb-label-short{display:none}

/* Handy: sauber zentriert stapeln */
@media (max-width:760px){
  .status-bar .wrap{flex-direction:column;justify-content:center;text-align:center;gap:3px;padding:9px 16px}
  .sb-status,.sb-emergency{width:100%}
}
@media (max-width:480px){
  .status-bar{font-size:.86rem}
  .sb-label-long{display:none}
  .sb-label-short{display:inline}
}

/* ============================================================
   DARK MODE – automatisch nach System-Einstellung
   Nutzt die vorhandenen CSS-Variablen + gezielte Overrides.
   ============================================================ */
@media (prefers-color-scheme: dark){
  :root{
    --paper:#0f141b;
    --card:#171e28;
    --tint:#212b38;
    --tint-line:#2c3745;
    --ink:#e7ecf2;
    --muted:#9aa8b6;
    --blue:#6f97cc;        /* heller: Links, Akzente, Überschriften auf Dunkel */
    --blue-light:#8fb0da;  /* kleine Akzent-Labels lesbar */
    /* --blue-dark bleibt dunkel (farbige Flächen: Hero, Fuß, Info-Band) */
  }

  body{background:var(--paper);color:var(--ink)}

  /* Kopf + Logo */
  .site-header{background:rgba(15,20,27,.9);border-bottom-color:var(--tint-line)}
  .brand .logo{filter:brightness(0) invert(1)}   /* Logo weiß auf dunklem Kopf */

  /* Fließtext/Listen mit vormals festen Farben */
  .prose p,.prose ul,.prose li,.leistung li,.contact-block p{color:#c5ceda}
  .prose strong{color:var(--ink)}

  /* Überschriften, die --blue-dark als TEXT nutzen -> heller */
  .lead-profile h2,.member h3,.news-teaser h3,.news-card h2 a{color:#9fbde3}

  /* Lead-Profil-Verlauf hatte festes Weiß */
  .lead-profile{background:linear-gradient(180deg,var(--tint) 0%,var(--card) 190px)}

  /* Info-Band im Dunkeln etwas ruhiger (dunkleres Blau) */
  .info{background:var(--blue-dark)}

  /* Formularfelder */
  .field input,.field textarea{background:#101720;color:var(--ink);border-color:var(--tint-line)}

  /* Helle Warn-/Hinweisboxen (rot) für Dunkel anpassen */
  .callout,.form-note,.note.warn{background:#2a1917;border-color:#5b2a24;color:#f1b8af}
  .note.warn h3,.note .closed{color:#f4c3bb}
  .note.warn .tag{color:#f1b8af}

  /* Schatten im Dunkeln dezenter/tiefer */
  .card:hover,.news-teaser:hover,.member:hover,.news-card:hover{box-shadow:0 16px 34px rgba(0,0,0,.5)}
}