/* =========================================================
   Augenarztpraxis Dr. Siebenbürger – Stylesheet
   Designrichtung: modern, hochwertig, warm, elegant.
   Weiß = Hauptfarbe · Bordeaux = Akzent · warme Grautöne.
   ========================================================= */

:root {
  /* Farben – warm, identitätsbezogen */
  --bordeaux:        #8a2433;
  --bordeaux-dark:   #6e1c29;
  --bordeaux-soft:   #a8394a;
  --accent-warm:     #c08a4a;     /* dezenter Holz-/Sandakzent */

  --bg:              #ffffff;
  --surface:         #f7f4f2;     /* warmes Hellgrau */
  --surface-2:       #f1ece8;     /* warmer Sandton für Flächen */
  --line:            #e7ded9;

  --text:            #2a2422;     /* warmes Dunkelbraun-Grau */
  --text-muted:      #6c625d;

  /* Typografie */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(58, 30, 25, 0.08);
  --shadow-sm: 0 4px 14px rgba(58, 30, 25, 0.07);

  --space:     clamp(3.5rem, 7vw, 6rem);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* Basis-Schriftgröße; per JS für Barrierefreiheit anpassbar */
  font-size: 112.5%;            /* ~18px */
  scroll-behavior: smooth;
  scroll-padding-top: 120px;    /* Platz für klebenden Header */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-dark); text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Barrierefreiheit ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--bordeaux);
  color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--bordeaux-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn--primary { background: var(--bordeaux); color: #fff; }
.btn--primary:hover { background: var(--bordeaux-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}
.btn--ghost:hover { background: var(--bordeaux); color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__info { margin: 0; color: var(--text-muted); }
.topbar__phone { font-weight: 700; }
.topbar__sep { margin: 0 .5rem; color: var(--line); }
.topbar__note { margin: 0; color: var(--bordeaux); font-weight: 600; font-style: italic; }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}
.header__logo img { height: 62px; width: auto; display: block; }
@media (max-width: 560px) { .header__logo img { height: 50px; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__legal { display: none; }   /* nur im mobilen Menü sichtbar */
.nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list a {
  color: var(--text);
  font-weight: 600;
  font-size: .98rem;
  padding: .3rem 0;
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--bordeaux);
  transition: width .2s ease;
}
.nav__list a:hover { text-decoration: none; color: var(--bordeaux); }
.nav__list a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (formatfüllend, mit Bildwechsel) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 82vh, 780px);
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #2a2422;            /* Fallback, falls Bilder ausgeblendet */
  color: #fff;
  overflow: hidden;
}
/* Hintergrund-Slideshow */
.hero__slideshow {
  position: absolute;
  inset: 0;
}
.hero__slideshow .hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slideshow .hero__slide.is-active { opacity: 1; }
/* Lese-Overlay für Textkontrast */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(36, 26, 22, 0.86) 0%,
    rgba(36, 26, 22, 0.62) 48%,
    rgba(36, 26, 22, 0.30) 100%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__text { max-width: 640px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  opacity: .9;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero__lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.hero .btn--ghost:hover { background: #fff; color: var(--bordeaux); border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
/* Weiche Übergänge: alt-Sektionen blenden oben/unten zu Weiß aus */
.section--alt {
  background: linear-gradient(180deg,
    #ffffff 0%,
    var(--surface) 10%,
    var(--surface) 90%,
    #ffffff 100%);
}

.section__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--bordeaux);
  margin-bottom: .75rem;
}
.section__title { font-size: clamp(2rem, 4vw, 2.9rem); }
.section__intro { font-size: 1.1rem; color: var(--text-muted); margin-top: .5rem; }

/* ---------- Leistungs-Karten ---------- */
.cards {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  color: var(--bordeaux);
  background: var(--surface-2);
  border-radius: 16px;
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 32px; height: 32px; }
.card:hover .card__icon { background: var(--bordeaux); color: #fff; transition: background-color .2s ease, color .2s ease; }
.card__title { font-size: 1.5rem; }
.card p { color: var(--text-muted); margin: 0; }

/* Vollständiges Leistungsspektrum */
.leistungen-full {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.leistungen-col__title {
  font-size: 1.7rem;
  padding-bottom: .6rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--line);
  color: var(--bordeaux);
}
.ticks--cols li { margin-bottom: .55rem; }
@media (max-width: 760px) {
  .leistungen-full { grid-template-columns: 1fr; }
}

/* ---------- Split (Praxis) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .65rem;
  color: var(--text);
}
.ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--bordeaux);
  font-weight: 700;
}

/* ---------- Team ---------- */
.team-group {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.team-group img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.team-group--ph .team-group__ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: clamp(180px, 26vw, 280px);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
}
.team-group__ph svg { width: 54px; height: 54px; color: var(--bordeaux); opacity: .85; }
.team-group__ph p { margin: 0; font-weight: 600; }
/* Mehr Luft im Team-Bereich */
#team { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.team {
  list-style: none;
  margin: clamp(1rem, 3vw, 2.5rem) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* Desktop: 5 pro Reihe (10 Personen = 2 volle Reihen) */
  gap: clamp(2.75rem, 4vw, 3.75rem) clamp(1.75rem, 3vw, 2.5rem);
}
.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.member__photo {
  width: clamp(160px, 15vw, 210px);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  border: 6px solid #fff;                                  /* feiner heller Rand */
  box-shadow: 0 10px 26px rgba(58, 30, 25, 0.14),          /* weicher Schatten */
              0 0 0 1px var(--line);                       /* zarte Außenkante */
  transition: transform .25s ease, box-shadow .25s ease;
}
.member:hover .member__photo {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(58, 30, 25, 0.20),
              0 0 0 2px var(--bordeaux);
}
/* Klare Hierarchie: Name > Rolle > Zusatz */
.member__name { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .35rem; }
.member__role {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 .7rem;
  max-width: 24ch;
}
.member__since {
  color: var(--bordeaux);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.member__photo--ph {
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--bordeaux);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsiv: Tablet 3 -> 2, Mobil 1 pro Reihe */
@media (max-width: 1024px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .team { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}
.contact__info { display: grid; gap: 1.25rem; align-content: start; }
.infocard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.infocard h3 { font-size: 1.35rem; margin-bottom: .5rem; color: var(--bordeaux); }
.infocard p { margin: 0 0 .75rem; }
.infocard p:last-child { margin-bottom: 0; }
.infocard__note { font-size: .9rem; color: var(--text-muted); font-style: italic; margin-top: .6rem; }
.infocard .btn { margin-top: .25rem; }
.contact__doctolib { font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .35rem 0; vertical-align: top; }
.hours th { font-weight: 600; color: var(--text); padding-right: 1.5rem; white-space: nowrap; }
.hours td { color: var(--text-muted); }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- CTA / Stellen ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--bordeaux) 0%, var(--bordeaux-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 52ch; }
.cta-band .btn--primary { background: #fff; color: var(--bordeaux); }
.cta-band .btn--primary:hover { background: var(--surface); color: var(--bordeaux-dark); }

/* ---------- EinDollarBrille / Spende ---------- */
.spende {
  position: relative;
  background: #2a2422 url("../bilder/eindollarbrille.jpg") center / cover no-repeat;
  background-attachment: fixed;
  color: #fff;
}
.spende__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(36, 26, 22, 0.92) 0%,
    rgba(36, 26, 22, 0.78) 45%,
    rgba(110, 28, 41, 0.55) 100%);
}
.spende__inner {
  position: relative;
  padding: var(--space) 0;
  max-width: 680px;
}
.spende__eyebrow { color: #fff; opacity: .8; }
.spende .section__title { color: #fff; }
.spende p { color: rgba(255, 255, 255, 0.92); font-size: 1.12rem; }
.spende strong { color: #fff; }

@media (max-width: 760px) {
  .spende { background-attachment: scroll; }
  .spende__overlay {
    background: linear-gradient(180deg,
      rgba(36, 26, 22, 0.86) 0%,
      rgba(36, 26, 22, 0.88) 100%);
  }
}

/* ---------- Footer ---------- */
.footer { background: #2a2422; color: #d9cfca; }
.footer a { color: #f0e8e4; }
.footer a:hover { color: #fff; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.footer__logo { height: 44px; margin-bottom: 1rem; background: #fff; padding: .4rem .6rem; border-radius: 8px; }
.footer h3 { color: #fff; font-size: 1.2rem; margin-bottom: .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: .4rem; }
.footer__certs img {
  display: inline-block;
  height: 56px; width: auto;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  margin: 0 .5rem .5rem 0;
}
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  padding: 1rem 0;
}
.footer__bar p { margin: 0; color: #b7aaa4; }

/* ---------- Barrierefreiheit: Schriftgröße-Widget ---------- */
.a11y {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .6rem;
}
.a11y__toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--bordeaux);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(58, 30, 25, 0.28);
  transition: background-color .2s ease, transform .15s ease;
}
.a11y__toggle:hover { background: var(--bordeaux-dark); transform: translateY(-1px); }
.a11y__toggle svg { width: 24px; height: 24px; flex: none; }

.a11y__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  width: 290px;
  max-height: min(78vh, 560px);
  overflow-y: auto;
}
.a11y__panel[hidden] { display: none; }
.a11y__title { margin: 0 0 .9rem; font-weight: 700; color: var(--text); font-size: 1.1rem; font-family: var(--font-head); }
.a11y__group { margin-bottom: 1rem; }
.a11y__label { display: block; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: .5rem; }
.a11y__btns { display: flex; gap: .5rem; }
.a11y__btns button {
  flex: 1;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: .55rem .4rem;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.a11y__btns button:hover { border-color: var(--bordeaux); color: var(--bordeaux); background: #fff; }
.a11y__btns button[data-fontsize="reset"] { flex: 1.4; font-size: .85rem; }

.a11y__toggles { display: grid; gap: .45rem; }
.a11y__opt {
  text-align: left;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: .6rem .8rem .6rem 2.4rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, background-color .15s ease;
}
.a11y__opt::before {
  content: "";
  position: absolute;
  left: .8rem; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
}
.a11y__opt:hover { border-color: var(--bordeaux); }
.a11y__opt[aria-pressed="true"] { border-color: var(--bordeaux); background: #fff; }
.a11y__opt[aria-pressed="true"]::before { background: var(--bordeaux); border-color: var(--bordeaux); }
.a11y__opt[aria-pressed="true"]::after {
  content: "✓";
  position: absolute; left: 1.05rem; top: 50%;
  transform: translateY(-50%);
  color: #fff; font-size: .75rem; font-weight: 700;
}
.a11y__reset {
  width: 100%;
  margin-top: .5rem;
  border: none;
  background: var(--surface-2);
  color: var(--bordeaux);
  border-radius: 8px;
  padding: .6rem;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}
.a11y__reset:hover { background: var(--bordeaux); color: #fff; }

@media (max-width: 560px) {
  .a11y { right: .75rem; bottom: .75rem; }
  .a11y__toggle span { display: none; }   /* nur Icon auf kleinen Screens */
  .a11y__toggle { padding: .8rem; }
}

/* ===== Barrierefreiheits-Modi (umschaltbar) ===== */
/* Bilder ausblenden */
body.a11y-no-images img,
body.a11y-no-images iframe { display: none !important; }
body.a11y-no-images .hero__media,
body.a11y-no-images .split__media,
body.a11y-no-images .team-group { display: none; }
body.a11y-no-images .spende { background-image: none !important; background-color: var(--bordeaux-dark) !important; }

/* Links unterstreichen */
body.a11y-underline-links a { text-decoration: underline !important; }

/* Graustufen – Filter NUR auf Inhalte, nicht auf <body>,
   sonst werden fixierte Bedienelemente (Barriere-Button) am Body statt
   am Bildschirm verankert und verschwinden beim Scrollen. */
body.a11y-grayscale .topbar,
body.a11y-grayscale .header,
body.a11y-grayscale main,
body.a11y-grayscale .footer { filter: grayscale(1); }

/* Hoher Kontrast (Schwarz / Weiß / Gelb) */
body.a11y-contrast,
body.a11y-contrast .hero,
body.a11y-contrast .section--alt,
body.a11y-contrast .topbar,
body.a11y-contrast .header,
body.a11y-contrast .card,
body.a11y-contrast .infocard,
body.a11y-contrast .footer,
body.a11y-contrast .a11y__panel { background: #000 !important; color: #fff !important; }
body.a11y-contrast h1,
body.a11y-contrast h2,
body.a11y-contrast h3,
body.a11y-contrast p,
body.a11y-contrast li,
body.a11y-contrast th,
body.a11y-contrast td,
body.a11y-contrast .hero__lead,
body.a11y-contrast .section__intro,
body.a11y-contrast .member__role,
body.a11y-contrast .topbar__info { color: #fff !important; }
body.a11y-contrast a,
body.a11y-contrast .section__eyebrow,
body.a11y-contrast .hero__eyebrow,
body.a11y-contrast .topbar__note,
body.a11y-contrast .member__since,
body.a11y-contrast .infocard h3,
body.a11y-contrast .leistungen-col__title { color: #ff0 !important; }
body.a11y-contrast .header,
body.a11y-contrast .topbar,
body.a11y-contrast .card,
body.a11y-contrast .infocard,
body.a11y-contrast .a11y__panel,
body.a11y-contrast .nav { border-color: #fff !important; }
body.a11y-contrast .btn--primary { background: #ff0 !important; color: #000 !important; border-color: #ff0 !important; }
body.a11y-contrast .btn--ghost { color: #ff0 !important; border-color: #ff0 !important; }
body.a11y-contrast .card__icon { background: #000 !important; color: #ff0 !important; border: 1.5px solid #fff; }
body.a11y-contrast .ticks li::before { color: #ff0 !important; }
body.a11y-contrast .cta-band { background: #000 !important; border: 2px solid #ff0; }
body.a11y-contrast .spende { background: #000 !important; }
body.a11y-contrast .spende__overlay { background: #000 !important; }

/* Animationen reduzieren (manuell) */
body.a11y-no-motion *,
body.a11y-no-motion *::before,
body.a11y-no-motion *::after { animation: none !important; transition: none !important; }
body.a11y-no-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Reveal-Animation (dezent) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Marken-Motiv (Wiedererkennung) ---------- */
.brandmark {
  display: block;
  height: 56px;
  width: auto;
  margin: 0 auto 1.1rem;
}

/* ---------- Mobiler Anruf-Button ---------- */
.callfab { display: none; }
@media (max-width: 900px) {
  .callfab {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--bordeaux);
    color: #fff;
    padding: .85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(58, 30, 25, 0.32);
  }
  .callfab:hover { background: var(--bordeaux-dark); color: #fff; text-decoration: none; }
  .callfab svg { width: 22px; height: 22px; }
}
@media (max-width: 380px) {
  .callfab span { display: none; }
  .callfab { padding: .85rem; }
}

/* ---------- Sanfte Hero-Einblendung beim Laden ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero__text { animation: heroFadeUp 1s ease both; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; position: relative; z-index: 410; }
  .header { z-index: 400; }            /* Header mit Schließen-X bleibt über dem Menü */
  .nav {
    position: fixed;
    top: 0; right: 0;
    z-index: 300;
    width: clamp(250px, 55vw, 360px);  /* ca. halbe Breite */
    height: auto;                      /* nur so hoch wie nötig -> alles sichtbar */
    max-height: 100dvh;                /* Sicherheitsnetz */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
    background: #fff;
    padding: 5.5rem 1.75rem 1.75rem;   /* Platz für Header oben */
    box-shadow: -8px 10px 34px rgba(0, 0, 0, 0.16);
    border-bottom-left-radius: 16px;
    overflow-y: auto;                  /* Sicherheitsnetz bei sehr kleinen Screens */
    transform: translateX(110%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .9rem; }
  .nav__list a { font-size: 1.2rem; }
  .nav__legal { display: block; }
  .nav__legal a { font-size: 1.02rem; color: var(--text-muted); }
  .nav__legal:first-of-type { margin-top: .4rem; padding-top: .9rem; border-top: 1px solid var(--line); }
  .nav__cta { margin-top: .6rem; justify-content: center; }
  /* Anruf-/Barriere-Button bei offenem Menü ausblenden (keine Überlagerung) */
  body.nav-open .callfab,
  body.nav-open .a11y { display: none; }
}

@media (max-width: 560px) {
  .topbar__hours { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
