/* Gesundheitspraxis Schneider – Stylesheet */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ----------
   Farben aus dem Logo. Kontrast (WCAG): Navy auf Grün 6,7:1 · Navy auf Hell 12:1 ·
   Weiß auf Navy 12,9:1 · Grün auf Navy 6,7:1.
   Weiß oder Grün als Schriftfarbe auf hellem/grünem Grund NICHT verwenden (unter 2:1). */
:root {
  --green: #B1C450;
  --green-soft: #EFF3DC;
  --navy: #2D2C5B;
  --ink: #1C1B3D;
  --text: #1A1A1A;
  --muted: #4A4F5C;
  --bg: #F7F8F9;
  --white: #fff;
  --line: #E2E4E8;
  --overlay: linear-gradient(180deg, rgba(28, 27, 61, .58) 0%, rgba(28, 27, 61, .45) 100%);
  --container: 1290px;
  --narrow: 860px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(28, 27, 61, .08);
  --font-body: "Inter", sans-serif;
  --font-head: "Lato", sans-serif;
  --section: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0 0 20px; }

/* Links im Fließtext immer unterstrichen */
main p a:not(.btn), main li a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
main p a:not(.btn):hover, main li a:not(.btn):hover { text-decoration-thickness: 2px; }

/* ---------- Barrierefreiheit ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; border-radius: 6px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.page-hero :focus-visible, .home-hero :focus-visible, .banner--image :focus-visible,
.card-navy :focus-visible, .btn--navy:focus-visible, .call-fab:focus-visible { outline-color: var(--green); }
main:focus { outline: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: calc(var(--narrow) + 40px); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--green { background: var(--green); }
.center { text-align: center; }
.h-xl { font-size: 48px; text-transform: uppercase; }
.h-md { font-size: 28px; }
.lead { font-size: 20px; color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--navy);
}
/* Grüner Marker statt grüner Schrift */
.hl { background: linear-gradient(transparent 60%, var(--green) 60%); padding: 0 .1em; }
.pill-navy {
  background: var(--navy); color: var(--white);
  padding: 2px 12px; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 4px solid var(--green);
  box-shadow: 0 4px 20px rgba(28, 27, 61, .06);
  padding: 10px 20px;
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 86px; }
.site-header__logo { margin-right: auto; }
.site-header__logo img { width: 270px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  color: var(--navy);
  font-size: 15px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  text-underline-offset: 8px; text-decoration-thickness: 2px;
}
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"], .nav a.is-parent-active { text-decoration: underline; }
.nav .chevron { width: 12px; height: 12px; }
.nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border-radius: 8px; padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  /* Nur optisch versteckt: per Tab bleiben die Unterpunkte erreichbar und klappen beim Fokussieren auf */
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s, transform .2s;
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; pointer-events: auto; transform: none; }
.nav .submenu a { font-size: 14px; letter-spacing: 1.5px; padding: 10px 20px; }
.nav .submenu a:hover, .nav .submenu a[aria-current="page"] { background: var(--green-soft); }
.nav > ul > li > a { text-decoration-thickness: 3px; }

.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; border-radius: 50px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--ink); }
.header-call svg { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border: 0; border-radius: 8px;
  background: var(--navy); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 30px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: var(--green); color: var(--navy);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 2.5px; line-height: 1; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Bild-Header (einheitlich mit dunkelblauer Abdunklung) ---------- */
.page-hero {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink) center / cover no-repeat;
  padding: 60px 20px;
}
.page-hero::before, .home-hero::before, .banner--image::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.page-hero > *, .home-hero > *, .banner--image > * { position: relative; }
.page-hero h1 {
  font-size: 60px; text-transform: uppercase; text-align: center; margin: 0;
  color: var(--white); text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.page-hero h1::after { content: ""; display: block; width: 80px; height: 5px; margin: 22px auto 0; border-radius: 3px; background: var(--green); }

/* Foto-Header ohne Text (bei Fotos mit Gesichtern). Bildausschnitt per object-position im HTML */
.photo-hero { margin: 0; background: var(--ink); }
.photo-hero img { width: 100%; height: 520px; object-fit: cover; }
.page-title { padding: 60px 0 0; text-align: center; }
.page-title h1 { font-size: 52px; text-transform: uppercase; margin: 0; }
.page-title h1::after { content: ""; display: block; width: 80px; height: 5px; margin: 20px auto 0; border-radius: 3px; background: var(--green); }
.page-title + .section { padding-top: 50px; }

/* ---------- Startseite ---------- */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background: var(--ink) center / cover no-repeat;
  padding: 80px 0;
}
.home-hero::before { background: linear-gradient(90deg, rgba(28, 27, 61, .85) 0%, rgba(28, 27, 61, .55) 50%, rgba(28, 27, 61, .15) 100%); }
.home-hero__content { max-width: 640px; color: var(--white); }
.home-hero .eyebrow { color: var(--green); }
.home-hero h1 { color: var(--white); font-size: 54px; margin-bottom: 20px; }
.home-hero p { font-size: 20px; }

/* Band mit Öffnungszeiten und Adresse direkt unter dem Bild-Header */
.hours-band { background: var(--navy); color: var(--white); border-bottom: 4px solid var(--green); }
.hours-band__inner { display: grid; grid-template-columns: 1fr 1fr; padding-top: 22px; padding-bottom: 22px; }
.hours-band__item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 20px; }
.hours-band__item + .hours-band__item { border-left: 1px solid rgba(255, 255, 255, .2); }
.hours-band__title {
  display: flex; align-items: center; gap: 8px;
  margin: 0; color: var(--green);
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
}
.hours-band__title svg { width: 18px; height: 18px; }
.hours-band__text { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 14px; font-size: 17px; font-weight: 500; }
.hours-band__sep { opacity: .4; }
.hours-band__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green); font-size: 14px; font-weight: 600; text-decoration: none;
}
.hours-band__link svg { width: 14px; height: 14px; fill: currentColor; }
.hours-band__link:hover { text-decoration: underline; }
.hours-band :focus-visible { outline-color: var(--green); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.check-list svg { flex: none; width: 20px; height: 20px; fill: var(--navy); }
.check-lists { margin-top: 40px; background: var(--white); border-radius: var(--radius); padding: 30px 40px; box-shadow: var(--shadow); }

.banner {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: center / cover no-repeat;
  padding: 80px 20px;
}
.banner h2 { font-size: 46px; margin-bottom: 30px; }
.banner--image h2 { color: var(--white); text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.banner--short { min-height: 320px; }
.banner--short h2 { margin: 0; text-transform: uppercase; }
.banner .btn-row { justify-content: center; }

/* Geteiltes Banner: Foto links, Text rechts – kein Text über Gesichtern */
.split-banner { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); }
.split-banner img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; object-position: center 45%; }
.split-banner__content { display: flex; flex-direction: column; justify-content: center; padding: 70px 8%; }
.split-banner h2 { color: var(--white); font-size: 42px; margin-bottom: 10px; }

.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.services-head h2 { font-size: 48px; margin: 0; }
.quote { margin: 0; max-width: 520px; color: var(--navy); font-size: 18px; }
.quote footer { margin-top: 6px; font-weight: 700; font-style: italic; }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28, 27, 61, .14); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 30px; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; }
.service-card p { font-size: 16px; color: var(--muted); }
.service-card__link {
  margin-top: auto; padding-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
}
.service-card__link svg { width: 15px; height: 15px; fill: currentColor; }
.service-card__link:hover { text-decoration: underline; }
/* Ganze Karte klickbar, der Link bleibt für Screenreader eindeutig */
.service-card__link::after { content: ""; position: absolute; inset: 0; }
/* "Weitere Leistungen" unter jeder Leistungsseite: kompakte Karten */
.related__title { font-size: 28px; text-transform: uppercase; margin-bottom: 30px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.related-grid .service-card img { aspect-ratio: 16 / 10; }
.related-grid .service-card__body { padding: 18px 20px 22px; }
.related-grid .service-card h3 { font-size: 20px; margin-bottom: 0; }
.related-grid .service-card p { display: none; }
.related-grid .service-card__link { padding-top: 12px; font-size: 13px; }
.card-navy {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow);
}
.card-navy h2 { color: var(--white); font-size: 26px; }
.card-navy p { color: #D5D5E3; margin-bottom: 30px; }
.card-navy .btn { margin-top: auto; }

.services-more { margin-top: 44px; text-align: center; }

/* ---------- Akkordeon ---------- */
.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion summary {
  list-style: none;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 26px;
  cursor: pointer;
  color: var(--navy);
  font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  transition: background .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--green-soft); }
.accordion summary svg { flex: none; width: 20px; height: 20px; fill: var(--navy); transition: transform .25s; }
.accordion details[open] summary { background: var(--green); }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion .acc-body { padding: 26px 40px 30px 66px; font-size: 16px; }
.accordion .acc-body ul, .accordion .acc-body ol { margin: 0 0 1em; padding-left: 20px; }
.accordion--normal summary { text-transform: none; letter-spacing: .3px; font-size: 16px; }
/* Fragen auf der Startseite: links Hinweis, rechts Akkordeon – gleiche Breite wie der Rest */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 50px; align-items: start; }
.faq-aside { position: sticky; top: 140px; }
.faq-aside h2, .faq-aside h3 { font-size: 28px; text-transform: uppercase; }
.faq-aside p { color: var(--muted); margin-bottom: 24px; }
.accordion-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; margin-top: 30px; align-items: start; }

/* ---------- Hinweis-Box (HWG, CTA) ---------- */
.notice {
  background: var(--green);
  border-radius: var(--radius);
  padding: 60px;
  color: var(--ink);
}
.notice h2 { font-size: 26px; }
.notice--cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.notice--cta h2 { font-size: 44px; margin: 0; }
.notice a:not(.btn) { font-weight: 600; }
.notice--apply { display: grid; grid-template-columns: minmax(0, 2fr) auto; gap: 40px; align-items: center; }
.notice--apply .btn-row { margin-top: 0; flex-direction: column; align-items: stretch; }
.notice--soft { background: var(--green-soft); border-left: 6px solid var(--green); }

/* ---------- Inhaltsseiten ---------- */
/* Leistungsseiten: lesbare Textspalte links, mitlaufende Seitenleiste rechts */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.service-main { max-width: 820px; }
.service-block + .service-block { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.service-block h2 { font-size: 28px; text-transform: uppercase; }
.service-main .notice { margin-top: 60px; padding: 40px; }
.service-aside { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 20px; }
.service-aside .card-navy { padding: 30px; }
.service-aside .card-navy h2 { font-size: 22px; margin-bottom: 10px; }
.service-aside .card-navy p { margin-bottom: 20px; }
.aside-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; }
.aside-box h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.aside-box p { font-size: 16px; margin-bottom: 20px; }
.aside-box .service-card__link { padding-top: 0; }

/* Konzept: drei Schritte als Karten */
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: none; }
.step-card {
  position: relative;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 6px solid var(--green);
  padding: 44px 34px 36px;
}
.step-card__num {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--green);
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  margin-bottom: 22px;
}
.step-card h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 14px; }
.step-card p { font-size: 16px; color: var(--muted); }

.kurs-groups { padding-top: 0; }
.kurs-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px; border-top: 6px solid var(--green);
  box-shadow: var(--shadow);
}
.kurs-card h3 { font-size: 22px; margin-bottom: 8px; }
.kurs-card p { font-size: 16px; color: var(--muted); }

/* Team */
.team-group + .team-group { margin-top: 70px; }
.team-group__title {
  display: flex; align-items: center; gap: 20px;
  font-size: 26px; margin-bottom: 30px;
}
.team-group__title::after { content: ""; flex: 1; height: 2px; background: var(--green); border-radius: 2px; }
.team-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-card img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  transition: transform .4s;
}
.team-card:hover img { transform: scale(1.03); }
.team-card h3 { font-size: 20px; color: var(--ink); margin: 18px 16px 4px; }
.team-card p { font-size: 15px; color: var(--muted); line-height: 1.4; margin: 0 16px 20px; }

/* Kontakt */
.contact-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 24px 0 0; }
.contact-box dt { font-weight: 600; color: var(--navy); }
.contact-box dd { margin: 0; }
.phone-big { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--navy); text-decoration: none; display: inline-block; margin: 6px 0 4px; }
.phone-big:hover { text-decoration: underline; }
.map-consent {
  position: relative;
  min-height: 450px; height: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: #E9ECEF;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 30px;
}
.map-consent p { font-size: 15px; max-width: 420px; margin: 0 auto 20px; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Bilder-Slider (Praxis-Update) */
.slider { position: relative; margin-top: 40px; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; border-radius: 8px; }

/* Rechtstexte */
.legal h1 { margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; overflow-wrap: anywhere; }
.legal mark { background: #FFE66B; padding: 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 70px 0 30px; border-top: 6px solid var(--green); }
.site-footer :focus-visible { outline-color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo img { width: 240px; }
.footer-claim { margin-top: 18px; font-size: 15px; max-width: 280px; color: #D5D5E3; }
.site-footer h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.site-footer p { font-size: 16px; }
.site-footer a { color: var(--white); }
.footer-phone { font-weight: 700; font-size: 20px; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.footer-nav a {
  text-decoration: none; padding: 8px 12px 8px 0; margin-right: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
}
.footer-nav a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 30px; font-size: 14px;
}
.footer-bottom p { font-size: 14px; margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { text-decoration: none; }
.social {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
}
.social svg { width: 18px; height: 18px; fill: var(--navy); }
.social:hover { background: var(--white); }

/* Anruf-Button (nur Mobil/Tablet) */
.call-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: none; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  padding: 14px 20px; border-radius: 50px;
  font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 24px rgba(28, 27, 61, .3);
}
.call-fab svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .header-call__number { display: none; }
  .header-call { padding: 12px 14px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  :root { --section: 70px; }
  .menu-toggle { display: inline-flex; }
  .header-call { display: none; }
  .call-fab { display: inline-flex; }
  body { padding-bottom: 80px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 85vw);
    background: var(--white); padding: 80px 0 30px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s, visibility .3s;
    overflow-y: auto; box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 14px 30px; border-bottom: 1px solid #eee; }
  .nav .submenu { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; padding: 0; min-width: 0; border-radius: 0; }
  .nav .submenu a { padding-left: 50px; }
  .nav-close {
    position: absolute; top: 16px; right: 16px;
    width: 48px; height: 48px; border: 0; border-radius: 8px;
    background: var(--navy); color: var(--white); cursor: pointer; font-size: 26px; line-height: 1;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-aside { position: static; }
  .notice--apply { grid-template-columns: 1fr; gap: 24px; }
  .notice--apply .btn-row { flex-direction: row; flex-wrap: wrap; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .notice { padding: 44px; }
  .home-hero h1 { font-size: 44px; }
  .photo-hero img { height: 420px; }
  .split-banner h2 { font-size: 34px; }
}
@media (min-width: 1025px) { .nav-close { display: none; } }

@media (max-width: 767px) {
  :root { --section: 50px; }
  body { font-size: 16px; }
  .site-header__logo img { width: 170px; }
  .site-header__inner { min-height: 60px; }
  .h-xl, .services-head h2, .banner h2, .notice--cta h2 { font-size: 32px; }
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 34px; }
  .photo-hero img { height: 300px; }
  .page-title { padding-top: 40px; }
  .page-title h1 { font-size: 34px; }
  .page-title + .section { padding-top: 34px; }
  .split-banner { grid-template-columns: 1fr; }
  .split-banner img { min-height: 0; height: 300px; }
  .split-banner__content { padding: 40px 24px 50px; }
  .split-banner h2 { font-size: 28px; }
  .home-hero { min-height: 0; padding: 60px 0; }
  .home-hero h1 { font-size: 34px; }
  .home-hero p { font-size: 17px; }
  .hours-band__inner { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
  .hours-band__item + .hours-band__item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; }
  .hours-band__text { font-size: 16px; }
  .hours-band__sep { display: none; }
  .grid-2, .grid-3, .grid-4, .accordion-row, .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-aside { grid-template-columns: 1fr; }
  .service-main .notice { padding: 28px 22px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-card h3 { font-size: 16px; margin: 12px 10px 2px; }
  .team-card p { font-size: 13px; margin: 0 10px 14px; }
  .team-group + .team-group { margin-top: 50px; }
  .team-group__title { font-size: 22px; margin-bottom: 20px; }
  .check-lists { padding: 20px 24px; }
  .banner { min-height: 340px; padding: 60px 20px; }
  .banner--short { min-height: 220px; }
  .accordion summary { padding: 14px 18px; gap: 14px; }
  .accordion .acc-body { padding: 20px; }
  .notice { padding: 30px 24px; }
  .contact-box { padding: 28px 24px; }
  .phone-big { font-size: 30px; }
  .slider__track { grid-auto-columns: 85%; }
  .map-consent { min-height: 360px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Hintergrundbilder: Handys laden die kleinere Version (von build.py als --bg / --bg-m gesetzt) */
[style*="--bg:"] { background-image: var(--bg); }
@media (max-width: 767px) { [style*="--bg-m:"] { background-image: var(--bg-m); } }

/* Wer "Bewegung reduzieren" eingestellt hat, bekommt keine Animationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .service-card:hover, .team-card:hover img { transform: none; }
}
