/* =========================================================================
   myGyn Linden – Redesign
   Sauberes, modernes CSS (Vanilla, keine Frameworks)
   Farbwelt: #28475C (dunkles Petrol/Slate) + #8EA2B6 (helles Blaugrau)
   Schrift:  Outfit (lokal via Google Fonts CDN)
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --accent:        #28475c;   /* Primärfarbe */
  --accent-dark:   #1d3545;
  --accent-soft:   #8ea2b6;   /* sekundär / Akzentfläche (Blaugrau) */
  --accent-tint:   #e9eef3;   /* sehr heller Hintergrund */
  --link:          #15779b;   /* kräftiges Link-/Hover-Blau */
  --ink:           #28475c;   /* Textfarbe = Leitfarbe Petrol */
  --ink-soft:      #5a6b78;   /* abgeschwächter Text */
  --bg:            #ffffff;
  --bg-alt:        #f9f7f5;   /* Creme/Off-White (Original-Sektionsgrund) */
  --footer:        #28475c;   /* Footer-Petrol (wie Live-Seite) */
  --line:          #dfe6ec;
  --white:         #ffffff;

  --warn-bg:       #fff8ec;
  --warn-border:   #e6c88a;
  --warn-ink:      #7a5a1a;

  --radius:        14px;
  --radius-lg:     22px;
  --shadow:        0 10px 30px rgba(40, 71, 92, .10);
  --shadow-soft:   0 4px 16px rgba(40, 71, 92, .08);

  --maxw:          1180px;
  --gutter:        clamp(18px, 4vw, 48px);

  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(16px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.2; color: var(--accent); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

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

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 100px); }
.section--alt { background: var(--bg-alt); }
.section--accent { background: var(--accent); color: var(--white); }
.section--accent h1, .section--accent h2, .section--accent h3 { color: var(--white); }
.lead { font-size: 1.15em; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: .8em;
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-align: center;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--accent-tint); color: var(--accent-dark); }
.btn--on-accent { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--on-accent:hover { background: #fff; color: var(--accent); }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header / Navigation ----------
   Standard: transparent über dem Hero, weißes Logo + helle Navigation.
   Mit .is-solid (per Scroll-JS) oder .site-header--solid (Unterseiten ohne
   dunklen Hero direkt dahinter): weißer Grund, dunkle Schrift. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid,
.site-header--solid {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(40,71,92,.06);
}
/* Spacer, damit Inhalt unter dem fixen Header nicht verdeckt wird –
   nur auf Seiten ohne Hero (Unterseiten setzen .site-header--solid). */
.site-header--solid + main { padding-top: 118px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 118px;
}
.nav__brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav__brand img { width: 156px; height: auto; display: block; }
/* Zwei Logo-Varianten: weiß (über Hero) und dunkel (solider Header) */
.nav__brand .logo--light { display: block; }
.nav__brand .logo--dark  { display: none; }
.is-solid .nav__brand .logo--light,
.site-header--solid .nav__brand .logo--light { display: none; }
.is-solid .nav__brand .logo--dark,
.site-header--solid .nav__brand .logo--dark { display: block; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(.4rem, 1.2vw, 1.3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: #fff;
  font-size: 1.08rem;
  padding: .4em .25em;
  position: relative;
  transition: color .25s ease;
}
.is-solid .nav__menu a,
.site-header--solid .nav__menu a { color: var(--ink); }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width .2s;
}
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Termin-Button im Header: über Hero heller Rahmen, solid dann gefüllt */
.nav__actions .btn--primary {
  background: transparent;
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.nav__actions .btn--primary:hover { background: #fff; color: var(--accent); }
.is-solid .nav__actions .btn--primary,
.site-header--solid .nav__actions .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.is-solid .nav__actions .btn--primary:hover,
.site-header--solid .nav__actions .btn--primary:hover { background: var(--accent-dark); }

/* Telefon-Icon-Button im Header (wie Live-Seite) */
.nav__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.75);
  color: #fff;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.nav__phone svg { width: 20px; height: 20px; }
.nav__phone:hover { background: #fff; color: var(--accent); }
.is-solid .nav__phone,
.site-header--solid .nav__phone { border-color: var(--accent); color: var(--accent); }
.is-solid .nav__phone:hover,
.site-header--solid .nav__phone:hover { background: var(--accent); color: #fff; }
/* Mobil: Telefon-Icon bleibt sichtbar (wie Live-Seite). Für Platz im
   schmalen Top-Balken wird dort der breite "Termin finden"-Textbutton
   ausgeblendet – er ist im aufgeklappten Menü weiterhin erreichbar. */
@media (max-width: 920px) {
  .nav__actions .btn--primary { display: none; }
  .nav__phone { display: inline-flex; }
}
/* "Termin finden" als Menüeintrag nur auf Mobil (ersetzt den ausgeblendeten Button) */
.nav__menu-cta { display: none; }
@media (max-width: 920px) {
  .nav__menu-cta { display: block; }
  .nav__menu-cta a { color: var(--link) !important; font-weight: 500; }
}

/* Dropdown (Team): Text = Link, Pfeil = separater Toggle-Button */
.has-sub { position: relative; }
.has-sub__head {
  display: inline-flex;
  align-items: center;
  gap: .2em;
}
.has-sub__head > a {
  color: #fff;
  font-size: 1.08rem;
  padding: .4em .25em;
  position: relative;
  transition: color .25s ease;
}
.is-solid .has-sub__head > a,
.site-header--solid .has-sub__head > a { color: var(--ink); }
.has-sub__toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: .4em .25em;
  display: inline-flex;
  align-items: center;
  color: #fff;
  transition: color .25s ease;
}
.is-solid .has-sub__toggle,
.site-header--solid .has-sub__toggle { color: var(--ink); }
.has-sub__toggle svg { width: .8em; height: .8em; transition: transform .2s; }
.has-sub[aria-expanded="true"] .has-sub__toggle svg { transform: rotate(180deg); }
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: .5rem;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub[aria-expanded="true"] .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a { display: block; padding: .55em .8em; border-radius: 8px; font-size: .95rem; }
.submenu a:hover { background: var(--accent-tint); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
}
.is-solid .nav__toggle,
.site-header--solid .nav__toggle { border-color: var(--line); color: var(--accent); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin-inline: auto; transition: transform .25s, opacity .2s; }
/* Mobile: offenes Menü hat weißen Grund -> Links dunkel, egal welcher Header-State */
@media (max-width: 920px) {
  .nav__menu.is-open a,
  .nav__menu.is-open .has-sub__head > a,
  .nav__menu.is-open .has-sub__toggle { color: var(--ink); }
}
.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); }

@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 118px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1.2rem;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__menu > li { border-bottom: 1px solid var(--line); }
  .nav__menu a { display: block; padding: .9em .2em; }
  .nav__menu a::after { display: none; }
  /* Team mobil: Link links (nimmt Platz ein), Pfeil rechts als Toggle */
  .has-sub__head { display: flex; width: 100%; align-items: stretch; justify-content: space-between; }
  .has-sub__head > a { flex: 1; display: block; padding: .9em .2em; font-size: 1rem; }
  .has-sub__toggle { padding: .9em .6em; }
  .has-sub__toggle svg { width: 1.1em; height: 1.1em; }
  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 .6rem .8rem;
    display: none;
  }
  .has-sub[aria-expanded="true"] .submenu { display: block; transform: none; }
  .nav__cta-phone { display: none; }
}

/* ---------- Hero ---------- */
/* Wie Live-Vorlage: ~825px hoch, Bild oben ausgerichtet (background-position 50% 0%),
   Inhalt sitzt im unteren Drittel. */
.hero {
  position: relative;
  min-height: clamp(560px, 58vw, 825px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,53,69,.40) 0%, rgba(29,53,69,.12) 38%, rgba(29,53,69,.42) 100%);
  z-index: 1;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0%;      /* oben ausgerichtet – exakt wie Live-Seite */
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: calc(118px + clamp(30px, 6vw, 70px));
  padding-bottom: clamp(60px, 9vw, 120px);
}
.hero h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero p { color: #fff; max-width: 48ch; font-size: 1.15em; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* Kompakter Seiten-Header (Unterseiten) – liegt hinter dem fixen Header,
   daher oben Platz lassen, damit der Titel nicht verdeckt wird. */
.pagehead {
  position: relative;
  color: #fff;
  min-height: clamp(300px, 42vh, 440px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 118px;
}
.pagehead .breadcrumb { justify-content: center; display: flex; gap: .2em; margin-top: .3em; }
.pagehead.text-center h1 { margin-left: auto; margin-right: auto; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(29,53,69,.78), rgba(40,71,92,.5)); z-index: 1; }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: .2em; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.85); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .7; margin-inline: .4em; }

/* ---------- Karten / Grids ---------- */
.grid { display: grid; gap: clamp(18px, 3vw, 30px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .3em; }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }

/* Leistungs-Akkordeon / Nummern */
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service + .service { margin-top: 1rem; }
.service__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--accent);
}
.service__btn:hover { background: var(--bg-alt); }
.service__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
}
.service__title { flex: 1; font-size: 1.2rem; font-weight: 400; }
.service__chev { transition: transform .25s; color: var(--accent-soft); }
.service__chev svg { width: 20px; height: 20px; display: block; }
.service[aria-expanded="true"] .service__chev { transform: rotate(180deg); }
.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.service[aria-expanded="true"] .service__panel { grid-template-rows: 1fr; }
.service__panel > div { overflow: hidden; }
.service__body { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); }
.service__body h4 { color: var(--accent); font-weight: 400; margin: 1em 0 .3em; }

/* ---------- Team ---------- */
.person {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.person--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person__photo { aspect-ratio: 3/4; width: 100%; object-fit: cover; background: var(--accent-tint); }
.person__body { padding: 1.1rem 1rem 1.4rem; }
.person__body h3 { margin-bottom: .1em; font-size: 1.15rem; }
.person__role { color: var(--accent-soft); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }

/* Schwerpunkt-Balken */
.skill { max-width: 520px; margin-top: 1.5rem; }
.skill__label { display: flex; justify-content: space-between; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.skill__track { height: 10px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.skill__bar { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }

/* Vita-Liste */
.vita { list-style: none; padding: 0; max-width: 760px; }
.vita li {
  position: relative;
  padding: .6rem 0 .6rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.vita li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
}

/* ---------- Split (Bild + Text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem .2rem;
  background: none; border: none; font: inherit; cursor: pointer;
  text-align: left; color: var(--accent); font-size: 1.15rem;
}
.faq__q .faq__plus { flex-shrink: 0; transition: transform .25s; color: var(--accent-soft); font-size: 1.5rem; line-height: 1; }
.faq__item[aria-expanded="true"] .faq__plus { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__item[aria-expanded="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 .2rem 1.3rem; color: var(--ink-soft); margin: 0; }

/* ---------- Info-Boxen ---------- */
.infobox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 30px);
}
@media (max-width: 760px) { .infobox { grid-template-columns: 1fr; } }
.infobox__item h3 { font-size: 1.1rem; color: var(--accent); margin-bottom: .4em; }
.infobox__item p { margin: 0; color: var(--ink-soft); }
.infobox__item a { color: var(--accent); }

/* Hinweis-/Warnbox */
.notice {
  border: 1px solid var(--warn-border);
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-size: .98rem;
  line-height: 1.55;
}
.notice svg { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.notice strong { color: var(--warn-ink); }

/* ---------- Formular ---------- */
.form { max-width: 640px; }
.form__row { margin-bottom: 1.1rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .95rem; font-weight: 400; color: var(--accent); margin-bottom: .35rem; }
.form .req { color: #b4524f; }
.form input, .form textarea, .form select {
  width: 100%;
  font: inherit;
  padding: .8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(142,162,182,.25);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #c75c58; }
.field-error { display: none; color: #b4524f; font-size: .85rem; margin-top: .3rem; }
.form__row.has-error .field-error { display: block; }

/* Honeypot – für Menschen unsichtbar */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.5;
}
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.check a { text-decoration: underline; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(29,53,69,.55);
  backdrop-filter: blur(3px);
}
.modal.is-open { display: flex; }
.modal__box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  overflow: hidden;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head {
  display: flex; gap: .8rem; align-items: center;
  padding: 1.3rem 1.6rem;
  background: var(--accent-tint);
  border-bottom: 1px solid var(--line);
}
.modal__head svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.modal__head h2 { margin: 0; font-size: 1.3rem; color: var(--accent); }
.modal__body { padding: 1.5rem 1.6rem; color: var(--ink); }
.modal__body p { margin: 0 0 1em; }
.modal__body p:last-child { margin-bottom: 0; }
.modal__foot {
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end;
  padding: 1.1rem 1.6rem 1.5rem;
}
@media (max-width: 480px) { .modal__foot { flex-direction: column-reverse; } .modal__foot .btn { width: 100%; } }

/* ---------- Alerts (Formular-Feedback) ---------- */
.alert {
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  display: none;
  gap: .7rem;
  align-items: flex-start;
}
.alert.is-visible { display: flex; }
.alert--ok { background: #e9f5ec; border: 1px solid #a9d7b4; color: #26603a; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 820px; margin-inline: auto; }
.quote blockquote { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 300; color: #fff; margin: 0 0 .6rem; line-height: 1.35; }
.quote cite { color: rgba(255,255,255,.8); font-style: normal; font-size: .95rem; letter-spacing: .04em; }
.quote__mark { width: 70px; margin: 0 auto 1.2rem; opacity: .8; }

/* ---------- Kontakt-Strip ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,34px); }
@media (max-width: 760px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-strip__item h3 { color: #fff; font-size: 1.1rem; margin-bottom: .4em; }
.contact-strip__item p, .contact-strip__item a { color: rgba(255,255,255,.9); margin: 0; }
.contact-strip__item a:hover { color: #fff; }

/* ---------- Karte / Map ---------- */
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent-dark); color: rgba(255,255,255,.82); padding-block: clamp(42px, 6vw, 70px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-weight: 500; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1em; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.footer-brand img { width: 54px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; line-height: 1.6; }
.footer-contact p { font-size: .92rem; line-height: 1.7; margin: 0; }
.footer-bottom {
  margin-top: clamp(30px, 5vw, 50px);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-bottom > span { line-height: 1.6; }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .skill__bar { transition: none; }
}

/* ---------- Utilities ---------- */
.stack > * + * { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.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;
}

/* =========================================================================
   Anpassungen an die Live-Vorlage (1:1-Nachbau)
   ========================================================================= */

/* Blaugraue Vollflächen-Sektion (z. B. "Herzlich Willkommen") */
.section--soft {
  background: var(--accent-soft);
  color: #fff;
  text-align: center;
}
.section--soft h1, .section--soft h2, .section--soft h3 { color: #fff; }
.section--soft .eyebrow { color: rgba(255,255,255,.85); }
.section--soft p { color: rgba(255,255,255,.92); }

/* Strahlen-Logo als dekorativer Trenner über einer Überschrift */
.sunburst {
  width: 64px;
  height: auto;
  margin: 0 auto 1.1rem;
  display: block;
  opacity: .95;
}

/* Zwei randlose Bilder in voller Breite nebeneinander (wie Live-Seite) */
.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.image-band img {
  width: 100%;
  height: clamp(220px, 28vw, 420px);
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) { .image-band { grid-template-columns: 1fr; } .image-band img { height: 240px; } }

/* Leistungskarten flacher an die Vorlage angleichen */
.card--flat {
  box-shadow: none;
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
}
.card--flat:hover { box-shadow: var(--shadow-soft); }
.card--flat .card__icon { background: transparent; color: var(--accent); width: auto; height: auto; margin-bottom: 1.1rem; }
.card--flat .card__icon svg { width: 30px; height: 30px; }
.card--flat h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.card__more {
  display: inline-block;
  margin-top: .3rem;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--link);
}
.card--link.card--flat:hover { transform: none; }

/* FAQ-Split: Bild links, blaugrauer Block rechts (wie Live-Seite) */
.faq-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.faq-split__media { position: relative; min-height: 360px; }
.faq-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq-split__panel { background: var(--accent-soft); color: #fff; padding: clamp(2rem, 5vw, 4rem); }
.faq-split__panel .eyebrow { color: rgba(255,255,255,.85); }
.faq-split__panel h2 { color: #fff; }
.faq-split__panel .faq__item { border-bottom-color: rgba(255,255,255,.25); }
.faq-split__panel .faq__q { color: #fff; }
.faq-split__panel .faq__plus { color: #fff; }
.faq-split__panel .faq__a p { color: rgba(255,255,255,.9); }
@media (max-width: 800px) { .faq-split { grid-template-columns: 1fr; } .faq-split__media { min-height: 260px; } }

/* Team-Raster an Live-Vorlage: quadratische Fotos, Petrol-Namen, Rolle darunter */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 34px); }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
/* Team-Seite (Ärztinnen + Praxisteam): auf dem Smartphone untereinander (1 Spalte) */
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
/* Team-Teaser auf der Startseite bleibt 2x2 auf dem Smartphone */
.team-grid--teaser { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .team-grid--teaser { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid--teaser { grid-template-columns: repeat(2, 1fr); } }
.team-member { text-align: center; }
.team-member__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--accent-soft);
  border-radius: 2px;
}
.team-member__photo--empty { display: block; }
.team-member h3 { font-size: 1.05rem; font-weight: 400; margin: .9rem 0 .2rem; color: var(--accent); }
.team-member__role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }
a.team-member { display: block; }
a.team-member:hover h3 { color: var(--link); }

/* "Schwerpunkt"-Label unter Ärztinnen auf Übersicht (wie Live) */
.team-member__schwerpunkt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); margin-top: .2rem; }

/* Vollbreites Gruppenfoto vor dem Footer */
.fullbleed-photo { width: 100%; }
.fullbleed-photo img { width: 100%; height: clamp(260px, 32vw, 460px); object-fit: cover; display: block; }

/* Footer heller (Petrol statt sehr dunkel) – wie Live-Seite */
.site-footer { background: var(--footer); }
.footer-brand .footer-logo { width: 110px; margin-bottom: 1.1rem; }

/* Zitat-Sektion mit Stimmungsbild als Hintergrund */
.quote-section {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.quote-section::before { content: ""; position: absolute; inset: 0; background: rgba(40,71,92,.45); z-index: 1; }
.quote-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.quote-section .container { position: relative; z-index: 2; }
.quote-section blockquote { color: #fff; }
.quote-section cite { color: rgba(255,255,255,.85); }
