/* =========================================================
   FAJA Pflege – Stylesheet
   Loop 3: Design-System (Farbwelt, Typo, Cards, Layouts,
   Animationen). Baut auf Loop-1-Grundgerüst auf.
   ========================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  /* Farbwelt – Salbei-Petrol + warmes Honig-Sand */
  --color-primary: #2f5f55;
  --color-primary-dark: #21443d;
  --color-primary-tint: #e9f0ec;
  --color-accent: #c49a5c;
  --color-accent-dark: #a97f42;
  --color-accent-soft: #f2e9d8;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f3ec;
  --color-text: #223029;
  --color-text-muted: #5a6660;
  --color-border: #e5e0d5;

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(33, 68, 61, .06);
  --shadow-md: 0 14px 34px rgba(33, 68, 61, .10);
  --shadow-lg: 0 24px 60px rgba(33, 68, 61, .16);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--color-primary); color: #fff;
  padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

:where(a, button, input, select, textarea, summary, details):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: .9rem;
}
.section__note {
  font-size: .85rem; color: var(--color-text-muted);
  font-style: italic; margin-top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .8rem 1.7rem;
  border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--color-primary-tint); }
.section--flush { padding-block: 0; }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.section__sub { color: var(--color-text-muted); font-size: 1.12rem; max-width: 60ch; margin-top: 1rem; }
.section__head--center .section__sub { margin-inline: auto; }

/* Cards – gemeinsame Basis */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.section--tint .card { background: #fff; }

/* Listen-Stile */
.checklist { display: grid; gap: .7rem; margin: 1.5rem 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--color-primary);
  -webkit-mask: no-repeat center/70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 6'/%3E%3C/svg%3E");
  mask: no-repeat center/70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 6'/%3E%3C/svg%3E");
}
/* Fallback ohne mask: farbiger Punkt bleibt sichtbar */
.ticklist { display: grid; gap: .55rem; margin: 1.1rem 0 1.6rem; }
.ticklist li { position: relative; padding-left: 1.6rem; color: var(--color-text-muted); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-accent);
}
.chips, .pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.chips li, .pills li {
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--color-accent-soft); color: var(--color-primary-dark);
  font-weight: 600; font-size: .95rem;
}
.pills li { background: #fff; border: 1px solid var(--color-border); }
.section--tint .pills li { background: #fff; }

/* Media-Platzhalter */
.media-note, .hero__media-note {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-primary-dark); opacity: .55;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--color-primary); }
.nav__brand-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-text-muted); }

.nav__menu { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.4rem; }
.nav__link { padding: .4rem 0; color: var(--color-text); font-weight: 500; position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--color-accent); transition: width .25s ease;
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after { width: 100%; }
.nav__toggle { display: none; }

@media (max-width: 940px) {
  .nav__list { gap: 1rem; }
}
@media (max-width: 860px) {
  .nav__toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 48px; padding: .5rem .9rem;
    background: var(--color-primary); color: #fff; border-radius: 999px;
  }
  .nav__toggle-bar { width: 20px; height: 2px; background: #fff; position: relative; }
  .nav__toggle-bar::before, .nav__toggle-bar::after {
    content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
    transition: transform .25s ease, top .25s ease;
  }
  .nav__toggle-bar::before { top: -6px; }
  .nav__toggle-bar::after { top: 6px; }

  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 1rem var(--gutter) 2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .32s cubic-bezier(.22,1,.36,1), visibility 0s linear .32s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .32s cubic-bezier(.22,1,.36,1), visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: .95rem 0; border-bottom: 1px solid var(--color-border); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.2rem; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 0%, var(--color-primary-tint) 0%, transparent 60%),
    var(--color-bg-alt);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__content { max-width: 40rem; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 500; line-height: 1.08; max-width: 16ch;
}
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--color-text-muted); max-width: 46ch; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.4rem;
}
.hero__trust li {
  position: relative; padding-left: 1.5rem; font-weight: 500; font-size: .98rem;
}
.hero__trust li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .85rem; height: .85rem; border-radius: 50%;
  background: var(--color-accent);
}
.hero__media {
  position: relative; aspect-ratio: 4/5; border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #cfe0d8;
  display: grid; place-items: center; align-content: center; gap: 1rem;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.12), transparent 60%);
}
.hero__art { width: 46%; color: var(--color-accent); position: relative; z-index: 1; }
.hero__media-note { position: relative; z-index: 1; }
.hero__media--photo { background: none; }
.hero__media--photo::after { display: none; }
.hero__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--color-primary);
  box-shadow: var(--shadow-sm); font-size: 1.2rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0);} 50% { transform: translate(-50%, 6px);} }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/10; max-height: 320px; order: -1; }
  .hero__art { width: 28%; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- Kennzahlen (schweben über Hero-Naht) ---------- */
.kennzahlen__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  margin-top: calc(-1 * clamp(2.5rem, 6vw, 4rem));
  position: relative; z-index: 2;
}
.kennzahl {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.kennzahl__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent-dark);
  margin-bottom: .9rem;
}
.kennzahl__icon svg { width: 24px; height: 24px; }
.kennzahl__value {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; color: var(--color-primary);
  line-height: 1;
}
.kennzahl__label { display: block; margin-top: .6rem; color: var(--color-text-muted); font-size: .95rem; }
.kennzahlen__note { text-align: center; }
@media (max-width: 780px) {
  .kennzahlen__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Leistungen ---------- */
.leistungen__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.leistung { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.leistung::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.leistung:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.leistung:hover::after { transform: scaleX(1); }
.leistung__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 16px; background: var(--color-primary-tint); color: var(--color-primary);
  margin-bottom: 1.1rem;
}
.leistung__icon svg { width: 28px; height: 28px; }
.leistung h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.leistung p { color: var(--color-text-muted); }
@media (max-width: 880px) { .leistungen__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leistungen__grid { grid-template-columns: 1fr; } }

/* ---------- Beratung / Über uns / Einsatzgebiet: Split-Layouts ---------- */
.beratung__inner, .ueber-uns__inner, .einsatzgebiet__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.beratung__media, .vorteile__media, .ueber-uns__media {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(150deg, #d7e3dd, #c3d6cd);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.ueber-uns__media { aspect-ratio: 1/1; }
.beratung__media--photo { background: none; overflow: hidden; }
.beratung__media--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.beratung__content h2, .ueber-uns__content h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
@media (max-width: 820px) {
  .beratung__inner, .ueber-uns__inner, .einsatzgebiet__layout { grid-template-columns: 1fr; }
  .beratung__media, .ueber-uns__media { order: -1; aspect-ratio: 16/10; }
}

/* ---------- Ablauf / Timeline ---------- */
.ablauf__timeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.ablauf__step {
  position: relative; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm); counter-increment: step;
}
.ablauf__step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 1.5rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; background: var(--color-primary); color: #fff;
  box-shadow: var(--shadow-sm);
}
.ablauf__step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.ablauf__step p { color: var(--color-text-muted); font-size: .98rem; }
@media (max-width: 820px) { .ablauf__timeline { grid-template-columns: 1fr; gap: 2rem 1.5rem; } }

/* ---------- Vorteile ---------- */
.vorteile__layout {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.vorteile__quote {
  margin-top: 1.8rem; padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--color-accent);
  background: #fff; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5;
  color: var(--color-primary-dark);
}
.vorteile__media { aspect-ratio: 3/4; max-height: 460px; }
.vorteile__media--badge {
  background: #fff; border: 1px solid var(--color-border);
  display: grid; place-items: center; padding: 1rem;
}
.vorteile__media--badge img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 820px) {
  .vorteile__layout { grid-template-columns: 1fr; }
  .vorteile__media { order: -1; aspect-ratio: 16/10; max-height: 300px; }
}

/* ---------- Überblick-Cards ---------- */
.ueberblick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ueberblick__card { display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.ueberblick__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ueberblick__card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.ueberblick__card .btn { margin-top: auto; }
@media (max-width: 880px) { .ueberblick__grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

/* ---------- Kundenstimmen ---------- */
.stimmen__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stimme { position: relative; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.stimme::before {
  content: "\201E"; /* deutsches öffnendes Anführungszeichen */
  position: absolute; top: .2rem; right: 1.4rem;
  font-family: var(--font-display); font-size: 4.5rem; line-height: 1;
  color: var(--color-accent); opacity: .35; pointer-events: none;
}
.stimme__stars { color: var(--color-accent); letter-spacing: .1em; }
.stimme blockquote { font-size: 1.08rem; line-height: 1.55; }
.stimme figcaption {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 600; color: var(--color-primary-dark); margin-top: auto;
}
.stimme__avatar {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--color-primary-tint); color: var(--color-primary);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  flex: 0 0 42px;
}
.stimme__author { display: flex; flex-direction: column; line-height: 1.3; }
.stimme__date { font-weight: 400; font-size: .85rem; color: var(--color-text-muted); }

/* Platzhalter-Bewertungen (bis echte Google-Texte eingetragen sind) */
.stimme--todo blockquote,
.stimme--todo .stimme__stars,
.stimme--todo .stimme__author { color: var(--color-text-muted); }
.stimme--todo { border-style: dashed; }

/* ---------- Gesamtbewertung (Rating-Box) ---------- */
.rating-summary {
  display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem);
  flex-wrap: wrap; justify-content: center; text-align: left;
  background: var(--color-primary-tint);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.rating-summary__score {
  display: flex; flex-direction: column; align-items: center;
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  border-right: 1px solid var(--color-border);
}
.rating-summary__value {
  font-family: var(--font-display); font-weight: 600; line-height: 1;
  font-size: clamp(2.6rem, 7vw, 3.6rem); color: var(--color-primary);
}
.rating-summary__outof { color: var(--color-text-muted); font-size: .95rem; margin-top: .3rem; }
.rating-summary__body { display: grid; gap: .55rem; }
.rating-summary__stars { color: var(--color-accent); font-size: 1.5rem; letter-spacing: .12em; }
.rating-summary__meta { color: var(--color-text); font-weight: 600; }
.rating-summary__link { justify-self: start; margin-top: .35rem; }
@media (max-width: 560px) {
  .rating-summary { flex-direction: column; text-align: center; gap: 1.25rem; }
  .rating-summary__score { padding-right: 0; padding-bottom: 1.25rem; border-right: none; border-bottom: 1px solid var(--color-border); width: 100%; }
  .rating-summary__body { justify-items: center; }
  .rating-summary__link { justify-self: center; }
}
/* Tablet: sauber auf 2 Spalten umbrechen */
@media (max-width: 900px) { .stimmen__grid { grid-template-columns: repeat(2, 1fr); } }
/* Handy: untereinander */
@media (max-width: 600px) { .stimmen__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }

/* ---------- Einsatzgebiet ---------- */
.einsatzgebiet__map {
  position: relative; aspect-ratio: 1/1; max-width: 420px; margin-inline: auto; width: 100%;
  color: var(--color-primary); background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; padding: 1.5rem;
}
.einsatzgebiet__map svg { width: 100%; height: 100%; }
.einsatzgebiet__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -180%);
  background: var(--color-primary); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .25rem .7rem; border-radius: 999px;
}

/* ---------- Karriere ---------- */
.karriere__panel {
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #eef4f1; border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-md);
}
.karriere__panel .eyebrow { color: var(--color-accent); }
.karriere__panel h2 { color: #fff; }
.karriere__panel .section__sub { color: #d3e1db; }

/* ---------- FAQ ---------- */
.faq__container { max-width: 820px; }
.faq__accordion { display: grid; gap: .9rem; }
.faq__item {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; font-weight: 600; font-size: 1.08rem;
  font-family: var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--color-primary);
  transition: transform .25s ease, opacity .25s ease;
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--color-text-muted); }
.faq__item[open] summary { color: var(--color-primary); }

/* ---------- Kontakt ---------- */
.kontakt__layout {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.kontakt__info {
  background: var(--color-primary-tint); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.kontakt__trust { font-weight: 600; color: var(--color-primary-dark); margin-bottom: 1.2rem; }
.kontakt__data { font-style: normal; line-height: 1.9; }
.kontakt__data a { color: var(--color-primary); font-weight: 600; }
.kontakt__data a:hover { color: var(--color-accent-dark); }
.kontakt__hours { margin-top: 1.2rem; font-size: .92rem; color: var(--color-text-muted); }
@media (max-width: 780px) { .kontakt__layout { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.kontakt__form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field--half { grid-template-columns: 1fr 1fr; gap: 1rem; }
.field--half > div { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field__req { color: var(--color-accent-dark); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--color-text);
  padding: .8rem .9rem; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 95, 85, .15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--check {
  grid-template-columns: auto 1fr; align-items: start; gap: .4rem .7rem;
  margin-top: .3rem;
}
.field--check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--color-primary); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--color-text-muted); grid-column: 2; }
.field--check .field__error { grid-column: 2; }
.form__ds-link, .form__ds-note a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.field__error { color: #b3261e; font-size: .85rem; font-weight: 600; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.form__ds-note { font-size: .85rem; color: var(--color-text-muted); }
.form__submit { margin-top: .4rem; justify-self: start; }
.form__status { font-weight: 600; padding: 0; }
.form__status.is-success { color: var(--color-primary); background: var(--color-primary-tint); padding: .9rem 1.1rem; border-radius: var(--radius-sm); }
.form__status.is-error { color: #b3261e; }
@media (max-width: 480px) { .field--half { grid-template-columns: 1fr; } }

/* ---------- Karriere-CTAs ---------- */
.karriere__points { display: grid; gap: .6rem; margin: 1.5rem 0; }
.karriere__points li { position: relative; padding-left: 1.8rem; }
.karriere__points li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: .7rem; height: .7rem; border-radius: 50%; background: var(--color-accent);
}
.karriere__note { color: #cfe0d8; margin-bottom: 1.6rem; max-width: 60ch; }
.karriere__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn--accent { background: var(--color-accent); color: #2a2011; }
.btn--accent:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }

/* ---------- Sticky Anruf-Button (mobil) ---------- */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; align-items: center; gap: .5rem;
  background: var(--color-primary); color: #fff;
  padding: .85rem 1.25rem; border-radius: 999px; font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.call-fab svg { width: 22px; height: 22px; }
.call-fab { transition: transform .2s ease, background-color .2s ease; }
.call-fab:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
@media (max-width: 860px) { .call-fab { display: inline-flex; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark); color: #d7e2dc;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-footer__name { font-family: var(--font-display); font-size: 1.4rem; color: #fff; font-weight: 600; }
.site-footer__claim { margin-top: .6rem; max-width: 32ch; color: #bcccC4; }
.site-footer__nav { display: grid; gap: .55rem; align-content: start; }
.site-footer__contact { display: grid; gap: .55rem; align-content: start; }
.site-footer a { color: #d7e2dc; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__legal { padding-top: 1.5rem; font-size: .9rem; color: #a9bcb3; }
.site-footer__legal a { color: #cfdcd6; }
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- Mobile Touch-Feinschliff (Loop 6) ---------- */
@media (max-width: 860px) {
  /* Footer-Links größere Tap-Fläche + Abstand */
  .site-footer__nav a, .site-footer__contact a {
    display: inline-block; padding-block: .45rem; min-height: 44px;
  }
  .site-footer__legal a { display: inline-block; padding: .35rem .1rem; }
  /* Datenschutz-Checkbox größer für Touch */
  .field--check input { width: 26px; height: 26px; flex: 0 0 26px; }
  /* Platz unter dem Footer, damit der Anruf-Button nichts verdeckt */
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
.legal__inner { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .5rem; color: var(--color-primary-dark); }
.legal p, .legal li { color: var(--color-text); line-height: 1.75; }
.legal a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.legal__hint { color: var(--color-text-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.legal__todo { color: var(--color-accent-dark); font-weight: 600; }
.legal__list { display: grid; gap: .6rem; margin: 1rem 0; }
.legal__list li { position: relative; padding-left: 1.4rem; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-accent); }
.legal__notice {
  background: var(--color-accent-soft); border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 2rem;
}
.legal__notice p { margin-top: .5rem; }

/* ---------- Scroll-Reveal (fail-safe: nur sichtbar-verstecken, wenn JS „scharf" schaltet) ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal { opacity: 0; transform: translateY(24px); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
