@import url('../fonts/fonts.css');

/* =========================================================
   Kita St. Aposteln — Stellenausschreibung
   Farben 1:1 aus dem Kita-Logo. Weisser Grund wie im PDF.
   ========================================================= */

:root {
  /* --- Logo-Palette (aus dem Logo ausgemessen) --- */
  --green:      #007a3d;   /* Wortmarke "Katholische / St. Aposteln" */
  --green-700:  #00612f;
  --green-900:  #00461f;
  --green-100:  #dceae1;
  --green-50:   #eff7f2;

  --leaf:       #76b729;   /* das "A" */
  --lime:       #a3c614;   /* Fuss */
  --navy:       #283583;   /* das "K" */
  --red:        #e40613;   /* Fuss */
  --red-dark:   #c00e0e;   /* das "T" */
  --orange:     #ec6708;   /* der "i"-Stamm */
  --amber:      #f59c00;   /* Fuss */
  --cyan:       #009fe3;   /* Fuss */

  /* Abgedunkelte Varianten der Fussfarben — als Textfarbe auf Weiss lesbar */
  --red-ink:    #c40a13;
  --amber-ink:  #a06400;
  --cyan-ink:   #00719f;
  --lime-ink:   #6c840d;

  /* --- Flaechen: weiss, wie im PDF --- */
  --bg:         #ffffff;
  --bg-alt:     #f6faf7;
  --bg-cool:    #f4f8fa;
  --bg-warm:    #fdf7ec;   /* stark aufgehelltes Amber */

  --ink:        #16211b;
  --ink-2:      #44514a;
  --muted:      #6f7d74;
  --line:       #e4eae6;
  --line-2:     #d2dbd6;

  /* --- Typografie ---
     Display = Futura (lokal) mit Jost als Fallback: Ueberschriften,
     Labels, Buttons, Zahlen. Futura ist eine Display-Schrift mit sehr
     kleiner x-Hoehe — im Fliesstext wird sie zaeh.
     Text = Source Sans 3, dieselbe Textschrift wie sanktbonifatius.de. */
  --font-display: 'Futura', 'Futura PT', 'FuturaBT-Book', 'Jost',
                  'Century Gothic', ui-sans-serif, system-ui, sans-serif;
  --font-text:    'Source Sans 3', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font: var(--font-text);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(16, 33, 25, .04), 0 2px 8px rgba(16, 33, 25, .04);
  --shadow:    0 2px 4px rgba(16, 33, 25, .04), 0 14px 34px rgba(16, 33, 25, .07);
  --shadow-lg: 0 4px 10px rgba(16, 33, 25, .05), 0 28px 64px rgba(16, 33, 25, .11);

  /* Seitenmasse — grosszuegige, ueberall gleiche Raender */
  --wrap:   1220px;
  --pad:    clamp(24px, 5.5vw, 72px);
  --gap-s:  clamp(72px, 9vw, 136px);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.only-sm { display: none; }
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .only-sm { display: inline; }
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-700); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
}

/* Futura traegt alles Ausgezeichnete: Labels, Buttons, Zahlen, Zeiten */
.eyebrow, .btn, .pill, .chip, .fact dt, .fact dd, .task__num, .step__n,
.day time, .funnel__job, .funnel__meta, .footer h4, .contact-card dt,
.quote__who, .opt b, .fchip, .ffield > span:not(.ferr),
.fgroup > legend, .faq summary {
  font-family: var(--font-display);
}

p { margin: 0; }

::selection { background: var(--green-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible { outline: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--bg); color: var(--ink);
  padding: 12px 18px; border-radius: var(--r-sm); z-index: 200;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Fussabdruck-Motiv ---------- */

.foot {
  width: 1em; height: 1.4em;
  flex: none;
  fill: currentColor;
  vertical-align: -.25em;
}
/* Es gibt nur die vier Fußfarben aus dem Logo. */
.foot--cyan  { color: var(--cyan); }
.foot--lime  { color: var(--lime); }
.foot--amber { color: var(--amber); }
.foot--red   { color: var(--red); }

.trail { display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.trail .foot { width: 26px; height: 36px; }
.trail .foot:nth-child(odd)  { transform: translateY(9px) rotate(-8deg); }
.trail .foot:nth-child(even) { transform: rotate(6deg); }

/* ---------- Bausteine ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow .foot { width: 17px; height: 24px; }

/* Die Subheadline laeuft in der Farbe ihres Fusses.
   Fuer den Text die abgedunkelte Variante, damit sie auf Weiss lesbar bleibt —
   der Fuss selbst behaelt die volle Logofarbe. */
.eyebrow:has(.foot--red)   { color: var(--red-ink); }
.eyebrow:has(.foot--amber) { color: var(--amber-ink); }
.eyebrow:has(.foot--cyan)  { color: var(--cyan-ink); }
.eyebrow:has(.foot--lime)  { color: var(--lime-ink); }

/* auf dunklem Grund gilt die volle Logofarbe */
.eyebrow.eyebrow--light,
.eyebrow.eyebrow--light:has(.foot--lime) { color: var(--lime); }

.h1 { font-size: clamp(2.1rem, 4.4vw, 3.45rem); }
.h2 { font-size: clamp(1.95rem, 4vw, 2.95rem); text-wrap: balance; }

.lead {
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.section { padding: var(--gap-s) 0; }
.section--alt  { background: var(--bg-alt); }
.section--cool { background: var(--bg-cool); }

.section-head { max-width: 46ch; }
.section-head--wide { max-width: 62ch; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 21px 44px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease,
              color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }

/* Pfeil an jedem Button — als Maske, damit er die Textfarbe uebernimmt */
.btn::after {
  content: '';
  flex: none;
  width: .95em; height: .95em;
  background: currentColor;
  -webkit-mask: var(--pfeil) center / contain no-repeat;
          mask: var(--pfeil) center / contain no-repeat;
  transition: transform .2s ease;
}
.btn:hover::after { transform: translateX(3px); }

:root {
  --pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h14M12.5 5.5 19 12l-6.5 6.5'/%3E%3C/svg%3E");
}

/* Zurueck-Schaltflaechen zeigen nach links, Abbrechen ganz ohne Pfeil */
.btn--back::after { transform: scaleX(-1); order: -1; }
.btn--back:hover::after { transform: scaleX(-1) translateX(3px); }
.btn--plain::after { display: none; }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 122, 61, .24);
}
.btn--primary:hover { background: var(--green-700); color: #fff; box-shadow: 0 10px 26px rgba(0, 122, 61, .32); }

.btn--amber { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(245, 156, 0, .3); }
.btn--amber:hover { background: #dd8c00; color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); color: var(--green-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--sm { padding: 12px 24px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Kopfzeile ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.logo { display: flex; align-items: center; gap: 20px; flex: none; }
.logo img { width: auto; mix-blend-mode: multiply; }
.logo__pfarrei { height: 30px; }
.logo__kita    { height: 48px; }
.logo__rule { width: 1px; align-self: stretch; margin-block: 6px; background: var(--line-2); }

@media (max-width: 900px) {
  .header__in { min-height: 72px; }
  .logo { gap: 14px; }
  .logo__pfarrei { height: 26px; }
  .logo__kita    { height: 42px; }
}
@media (max-width: 520px) {
  .header__in { min-height: 68px; }
  .logo { gap: 0; }
  .logo__pfarrei, .logo__rule { display: none; }
  .logo__kita { height: 42px; }
}

.header__right { display: flex; align-items: center; gap: 26px; }

.header__link {
  --c: var(--green);
  position: relative;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: .012em;
  color: var(--ink-2);
  padding: 7px 1px;
  transition: color .2s ease;
}
.header__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.header__link:hover,
.header__link.is-active { color: var(--ink); }
.header__link:hover::after,
.header__link.is-active::after { transform: scaleX(1); }

/* jeder Navigationspunkt traegt die Farbe seines Abschnitts */
.header__right .header__link:nth-child(1) { --c: var(--lime); }
.header__right .header__link:nth-child(2) { --c: var(--amber); }
.header__right .header__link:nth-child(3) { --c: var(--cyan); }
@media (max-width: 900px) { .header__link { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 520px at 96% -14%, rgba(163, 198, 20, .16) 0%, rgba(163, 198, 20, 0) 62%),
    radial-gradient(700px 420px at -4% 96%, rgba(0, 159, 227, .11) 0%, rgba(0, 159, 227, 0) 58%),
    var(--bg);
}

/* Laufspur — abwechselnd linker und rechter Fuß, versetzt zur Laufachse,
   Zehen zeigen in Gehrichtung (nach rechts). */
.hero__steps {
  position: absolute;
  left: 0; right: 0; bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 44px);
  height: 80px;
  pointer-events: none;
  z-index: 0;
  opacity: .62;
  /* die ganze Spur steigt leicht an, passend zur Fußrichtung */
  transform: rotate(-2.5deg);
}
.hero__steps .foot {
  width: clamp(19px, 2.1vw, 31px);
  height: auto;
  aspect-ratio: 100 / 140;
  transform-origin: 50% 50%;
}

/* linker Fuß: oberhalb der Laufachse, leicht nach außen gedreht */
.hero__steps .foot:nth-child(odd) {
  transform: translateY(-13px) rotate(48deg);
}
/* rechter Fuß: gespiegelt, unterhalb der Laufachse */
.hero__steps .foot:nth-child(even) {
  transform: translateY(13px) scaleX(-1) rotate(-48deg);
}

/* kleine Unregelmäßigkeiten, damit die Spur nicht wie gestempelt wirkt */
.hero__steps .foot:nth-child(4n+1) { transform: translateY(-15px) rotate(43deg); }
.hero__steps .foot:nth-child(4n+4) { transform: translateY(11px)  scaleX(-1) rotate(-53deg); }
.hero__steps .foot:nth-child(6n+3) { transform: translateY(-11px) rotate(52deg); }

@media (max-width: 980px) { .hero__steps { display: none; } }

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: clamp(36px, 4.4vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px) clamp(84px, 9vw, 140px);
}
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; padding-block-end: 64px; }
}

.hero .h1 { margin-top: 22px; line-height: 1.14; }
.hero .h1 span.mark { position: relative; display: inline-block; white-space: nowrap; }
.hero .h1 .mark__line {
  position: absolute;
  left: -3%; bottom: -.2em;
  width: 106%; height: .26em;
  color: var(--lime);
  overflow: visible;
}
.hero .h1 > span,
.hero .h1 em { display: block; text-wrap: balance; }
.hero .h1 em { font-style: normal; color: var(--green); margin-top: .06em; }

.hero .lead { margin-top: 26px; max-width: 52ch; }
.hero .lead strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.03em;
  color: var(--ink);
  letter-spacing: -.005em;
  white-space: nowrap;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__cta--center { justify-content: center; }
/* CTA der Aufgaben-Sektion sitzt rechts unter der Liste */
.tasks__cta { margin-top: 30px; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--muted); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill .foot { width: 14px; height: 20px; }

/* --- Bildgruppe: gekippter Farbblock + Foto + Polaroid, wie die KiTA-Buchstaben --- */

.hero__media {
  position: relative;
  padding-bottom: clamp(40px, 6vw, 76px);
  padding-left: clamp(0px, 3vw, 46px);
}

.hero__shape {
  position: absolute;
  inset: 7% -9% 9% 22%;
  background: var(--lime);
  border-radius: var(--r-xl);
  transform: rotate(5.5deg);
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--green-50);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }

.hero__photo--small {
  position: absolute;
  z-index: 2;
  left: -10%; bottom: 0%;
  width: 46%;
  aspect-ratio: 4 / 3;
  border: 7px solid #fff;
  border-radius: var(--r-lg);
  transform: rotate(5deg);
  box-shadow: var(--shadow);
}
.hero__photo--small img { object-position: 50% 45%; }



@media (max-width: 980px) {
  .hero__media { max-width: 560px; margin-inline: auto; padding-left: 0; }
}
@media (max-width: 620px) {
  .hero__shape { inset: 5% -4% 12% 8%; }
  .hero__photo--small { width: 52%; left: -4%; }
}
@media (max-width: 520px) {
  .hero__cta .btn,
  .final__cta .btn { width: 100%; }
}

/* ---------- Die Stelle auf einen Blick ---------- */

.facts { background: var(--bg-alt); padding: clamp(56px, 7vw, 96px) 0; }
.facts > .wrap { max-width: 1400px; }
.facts__head { margin-bottom: 28px; }
.facts__head h2 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }

.facts__card {
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.facts__grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }

.fact {
  --c: var(--green);
  padding: clamp(24px, 2.4vw, 32px) clamp(18px, 1.6vw, 26px);
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; }
.fact:nth-child(2) { --c: var(--cyan); }
.fact:nth-child(3) { --c: var(--amber); }
.fact:nth-child(4) { --c: var(--navy); }

.fact__ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.fact__ic svg { width: 20px; height: 20px; stroke: var(--c); fill: none; stroke-width: 1.8;
                stroke-linecap: round; stroke-linejoin: round; }

.fact dt {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.fact dd {
  margin: 8px 0 0;
  font-size: clamp(.98rem, 1.1vw, 1.1rem);
  font-weight: 500; line-height: 1.3; color: var(--ink);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.fact dd small { display: block; font-family: var(--font-text); font-size: 14px;
                 font-weight: 400; color: var(--muted); margin-top: 6px; line-height: 1.45;
                 letter-spacing: 0; }

.facts__cta {
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(24px, 2.4vw, 32px) clamp(26px, 2.4vw, 34px);
  background: var(--green-50);
  border-left: 1px solid var(--line);
  max-width: 310px;
}
.facts__cta-lead { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

@media (max-width: 1100px) {
  .facts__card { grid-template-columns: 1fr; }
  .facts__cta { max-width: none; border-left: 0; border-top: 1px solid var(--line);
                flex-direction: row; align-items: center; justify-content: space-between;
                flex-wrap: wrap; gap: 16px 28px; }
}
@media (max-width: 780px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { border-left: 0; }
}
@media (max-width: 460px) {
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .facts__cta .btn { width: 100%; }
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.gallery figure {
  --c: var(--cyan);
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--green-50);
  aspect-ratio: 3 / 4;
  position: relative;
}
/* Der Rahmen liegt als eigene Ebene ueber dem Bild — ein inset-Schatten
   am Elternelement wuerde vom Bild verdeckt. */
.gallery figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow .22s ease;
  pointer-events: none;
  z-index: 3;
}
.gallery figure:hover::after { box-shadow: inset 0 0 0 4px var(--c); }
.gallery figure:nth-child(1) { --c: var(--cyan); }
.gallery figure:nth-child(2) { --c: var(--lime); }
.gallery figure:nth-child(3) { --c: var(--amber); }
.gallery figure:nth-child(4) { --c: var(--red); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 30px 18px 15px;
  background: linear-gradient(to top, rgba(10, 26, 16, .74), rgba(10, 26, 16, 0));
  color: #fff; font-size: 16px; font-weight: 500; letter-spacing: -.005em;
}
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.ph {
  width: 100%; height: 100%;
  display: grid; place-content: center; gap: 6px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(0,122,61,.05) 0 10px, rgba(0,122,61,.02) 10px 20px), var(--green-50);
  color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}

/* ---------- Aufgaben (aufklappbare Liste) ---------- */

.tasks { margin-top: 8px; border-top: 1px solid var(--line-2); }

.task {
  --c: var(--green);
  border-bottom: 1px solid var(--line-2);
}
.task:nth-child(1) { --c: var(--navy); }
.task:nth-child(2) { --c: var(--orange); }
.task:nth-child(3) { --c: var(--red-dark); }
.task:nth-child(4) { --c: var(--leaf); }
.task:nth-child(5) { --c: var(--cyan); }
.task:nth-child(6) { --c: var(--green); }

.task summary {
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  align-items: center;
  gap: 15px;
  padding: 15px 2px;
  list-style: none;
  cursor: pointer;
}
.task summary::-webkit-details-marker { display: none; }

.task__ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c) 13%, #fff);
  display: grid; place-items: center;
}
.task__ic svg { width: 20px; height: 20px; stroke: var(--c); fill: none; stroke-width: 1.7;
                stroke-linecap: round; stroke-linejoin: round; }

.task__title {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}

.task summary::after {
  content: '';
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7d74' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s ease;
}
.task.is-open summary::after { transform: rotate(180deg); }

.task > p {
  margin: 0;
  padding: 0 34px 0 52px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  will-change: height;
  transition: height .5s cubic-bezier(.25, .8, .3, 1),
              opacity .4s ease .06s;
}
.task.is-open > p { opacity: 1; padding-bottom: 20px; }
@media (max-width: 560px) {
  .task summary { grid-template-columns: 36px 1fr 16px; gap: 13px; }
  .task__ic { width: 36px; height: 36px; border-radius: 10px; }
  .task__ic svg { width: 18px; height: 18px; }
  .task > p { padding-left: 49px; padding-right: 8px; }
}

/* ---------- Zwei Spalten ---------- */

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

/* ---------- Profil: Liste links, zwei Bilder rechts ---------- */

.profil__in {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 3.6vw, 56px);
  align-items: center;
}
@media (max-width: 980px) { .profil__in { grid-template-columns: 1fr; } }

.profil__body .h2 { margin-top: 16px; }
.profil__body .lead { margin-top: 20px; max-width: 46ch; }
.profil__body .checks { margin-top: 34px; }

.profil__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 30px);
  align-items: start;
}
.stack__img {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--green-50);
  box-shadow: var(--shadow);
}
.stack__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
/* nebeneinander, versetzt: links sitzt tiefer als rechts */
.stack__img--low { margin-top: clamp(48px, 7vw, 108px); }
.stack__img--low img  { object-position: 46% 42%; }
.stack__img--high img { object-position: 50% 50%; }

@media (max-width: 980px) {
  .profil__media { max-width: 660px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .profil__media { grid-template-columns: 1fr; gap: 16px; }
  .stack__img--low { margin-top: 0; }
  .stack__img img { aspect-ratio: 4 / 3; }
}

/* ---------- Profil-Liste ---------- */

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.5;
}
.checks li:first-child { border-top: 1px solid var(--line); }
.checks .foot { width: 20px; height: 28px; margin-top: 3px; }
.checks li b {
  font-family: var(--font-display);
  font-size: 1.06em;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
}
.checks li small { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

.note {
  margin-top: 30px;
  padding: 22px 26px;
  background: var(--green-50);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15px;
  color: var(--ink-2);
}

/* Bild in der linken Spalte (Profil) */
.portrait { --shape: var(--cyan); position: relative; margin: 40px 0 0; max-width: 420px; }
.portrait--lime { --shape: var(--lime); }
.portrait--amber { --shape: var(--amber); }
.portrait--red { --shape: var(--red); }
.portrait__shape {
  position: absolute;
  inset: 9% -7% -9% 9%;
  background: var(--shape);
  border-radius: var(--r-xl);
  transform: rotate(4deg);
}
.portrait img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: var(--r-xl);
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow);
}
@media (max-width: 940px) { .portrait { display: none; } }

/* ---------- Angebot: harte Zahlen auf organischen Farbflecken ---------- */

.perks {
  margin: 52px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 940px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .perks { grid-template-columns: 1fr; } }

.perk {
  --c: var(--green);
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 4px 20px;
  padding: 26px 26px 28px;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .22s ease, transform .22s ease;
}
.perk:hover {
  border-color: var(--c);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.perk:nth-child(1) { --c: var(--green); }
.perk:nth-child(2) { --c: var(--red); }
.perk:nth-child(3) { --c: var(--cyan); }
.perk:nth-child(4) { --c: var(--amber); }
.perk:nth-child(5) { --c: var(--lime); }
.perk:nth-child(6) { --c: var(--green); }
.perk:nth-child(7) { --c: var(--cyan); }
.perk:nth-child(8) { --c: var(--red); }
.perk:nth-child(9) { --c: var(--lime); }

/* der Wert sitzt auf einem organischen Farbfleck */
.perk dt {
  position: relative;
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  grid-row: span 1;
}
.perk__blob {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  fill: var(--c);
}
.perk:nth-child(2) .perk__blob { transform: rotate(-14deg); }
.perk:nth-child(3) .perk__blob { transform: rotate(9deg); }
.perk:nth-child(4) .perk__blob { transform: rotate(-6deg); }
.perk:nth-child(5) .perk__blob { transform: rotate(16deg); }
.perk:nth-child(6) .perk__blob { transform: rotate(-10deg); }
.perk:nth-child(7) .perk__blob { transform: rotate(12deg); }
.perk:nth-child(8) .perk__blob { transform: rotate(-16deg); }
.perk:nth-child(9) .perk__blob { transform: rotate(7deg); }

.perk__wert {
  position: relative;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.perk__wert span { font-size: .48em; letter-spacing: 0; margin-left: .06em; }
.perk--word .perk__wert { font-size: 1.32rem; letter-spacing: -.02em; }

/* Karten ohne Zahl tragen ein Symbol, in Weiss */
.perk__icon {
  position: relative;
  width: 34px; height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.perk dd b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- Die Leitung ---------- */

.leitung { background: var(--bg); overflow: hidden; }
.leitung__in {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}
@media (max-width: 900px) { .leitung__in { grid-template-columns: 1fr; gap: 40px; } }

.leitung__media { position: relative; width: 100%; max-width: 330px; }
@media (max-width: 900px) { .leitung__media { max-width: 260px; } }

.leitung__shape {
  position: absolute;
  inset: 8% -8% -8% 8%;
  background: var(--lime);
  border-radius: var(--r-xl);
  transform: rotate(5deg);
}
.leitung__media img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-xl);
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
}

/* kleine Spur, die vom Portrait zum Zitat läuft */
.leitung__trail {
  position: absolute;
  right: -14%; bottom: -8%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(-8deg);
  pointer-events: none;
  opacity: .75;
}
.leitung__trail .foot { width: 21px; height: auto; aspect-ratio: 100 / 140; }
.leitung__trail .foot:nth-child(odd)  { transform: translateY(-8px) rotate(48deg); }
.leitung__trail .foot:nth-child(even) { transform: translateY(8px) scaleX(-1) rotate(-48deg); }
@media (max-width: 900px) { .leitung__trail { display: none; } }

.leitung__quote {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.7vw, 2.1rem);
  line-height: 1.32;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.leitung__mark { color: var(--lime); }
.leitung__mark--end { margin-left: .06em; }

.leitung__who { margin-top: 28px; }
.leitung__who b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink);
}
.leitung__who span { font-size: 14.5px; color: var(--muted); }

.leitung__text {
  margin-top: 20px;
  max-width: 54ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Tagesablauf ---------- */

.day { list-style: none; margin: 44px 0 0; padding: 0; }
.day li {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.day li:last-child { border-bottom: 1px solid var(--line); }
.day time { font-size: 14.5px; font-weight: 500; color: var(--green); }
.day p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 580px) { .day li { grid-template-columns: 1fr; gap: 4px; } }

.rooms { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chip {
  --c: var(--cyan);
  padding: 9px 18px;
  background: #fff;
  border: 1.5px solid var(--c);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
}
.rooms .chip:nth-child(1) { --c: var(--cyan); }
.rooms .chip:nth-child(2) { --c: var(--lime); }
.rooms .chip:nth-child(3) { --c: var(--amber); }
.rooms .chip:nth-child(4) { --c: var(--red); }
.rooms .chip:nth-child(5) { --c: var(--green); }

/* ---------- Drei Schritte als Weg ---------- */

.steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(16px, 2.4vw, 34px);
}

.step { --c: var(--cyan); text-align: center; padding-inline: clamp(4px, 1.2vw, 18px); }
.step:nth-of-type(2) { --c: var(--amber); }
.step:nth-of-type(3) { --c: var(--lime); }

.step__n {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
  margin: 0 auto 22px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 34%, transparent);
}
.step h3 { font-size: 1.2rem; }
.step p { margin-top: 11px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

/* die Spur führt von einem Schritt zum nächsten */
.steps__trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 62px;          /* gleiche Höhe wie der Nummernkreis, damit die Spur mittig sitzt */
}
.steps__trail .foot { width: 17px; height: auto; aspect-ratio: 100 / 140; }
.steps__trail .foot:nth-child(odd)  { transform: translateY(-7px) rotate(48deg); }
.steps__trail .foot:nth-child(even) { transform: translateY(7px) scaleX(-1) rotate(-48deg); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { text-align: left; padding-inline: 0; padding-bottom: 6px; }
  .step__n { margin-inline: 0; }
  .step__n { width: 54px; height: 54px; font-size: 1.4rem; margin-bottom: 16px; }
  .steps__trail {
    height: auto;
    margin: 10px 0 10px 16px;
    flex-direction: column;
    gap: 7px;
  }
  .steps__trail .foot:nth-child(odd)  { transform: translateX(-7px) rotate(138deg); }
  .steps__trail .foot:nth-child(even) { transform: translateX(7px) scaleX(-1) rotate(-138deg); }
}

/* ---------- FAQ ---------- */

.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 48px 17px 0;
  position: relative;
  font-size: 17.5px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; right: 4px; top: 50%;
  width: 17px; height: 17px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7d74' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s ease;
}
.faq details.is-open summary::after { transform: rotate(180deg); }
.faq details p {
  padding: 0 10% 0 0;
  font-size: 16.5px;
  color: var(--ink-2);
  height: 0;
  opacity: 0;
  overflow: hidden;
  will-change: height;
  transition: height .5s cubic-bezier(.25, .8, .3, 1),
              opacity .4s ease .06s;
}
.faq details.is-open p { opacity: 1; padding-bottom: 24px; }

/* ---------- Abschluss ---------- */

.final {
  background:
    radial-gradient(720px 400px at 8% 0%, rgba(0, 122, 61, .07) 0%, rgba(0, 122, 61, 0) 62%),
    radial-gradient(680px 380px at 96% 100%, rgba(245, 156, 0, .10) 0%, rgba(245, 156, 0, 0) 60%),
    #fff;
  border-top: 1px solid var(--line);
}
.final__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 940px) { .final__in { grid-template-columns: 1fr; } }
.final .h2 { margin-top: 18px; }
.final .lead { margin-top: 20px; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.15rem; }
.contact-card dl { margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 17px; }
.contact-card dt { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 4px 0 0; font-size: 16px; }

.team { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.team--top { margin-top: 24px; padding-top: 0; border-top: 0; }
.team h4 {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 500; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.team__person { display: flex; align-items: center; gap: 15px; }
.team__person + .team__person { margin-top: 16px; }
.team__person img {
  width: 54px; height: 54px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
}
.team__person b { display: block; font-family: var(--font-display); font-size: 15.5px;
                  font-weight: 500; letter-spacing: -.005em; }
.team__person em { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); }
.team__person a { display: block; font-size: 13.5px; margin-top: 2px; word-break: break-all; }

/* ---------- Fusszeile ---------- */

.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: clamp(44px, 5vw, 68px) 0 30px; }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}

.footer__marken { display: flex; align-items: center; gap: 22px; }
.footer__marken img { width: auto; mix-blend-mode: multiply; }
.footer__logo-kita { height: 54px; }
.footer__rule { width: 1px; height: 40px; background: var(--line-2); }

.footer__traeger { display: flex; align-items: center; gap: 13px; }
.footer__traeger img { height: 34px; }
.footer__traeger em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.footer__kontakt {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: right;
}
.footer__kontakt span { margin: 0 5px; color: var(--line-2); }

.footer__text {
  margin-top: 26px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 760px) {
  .footer__top { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer__kontakt { text-align: left; }
  .footer__marken { gap: 16px; }
  .footer__logo-kita { height: 46px; }
  .footer__traeger img { height: 28px; }
}
@media (max-width: 420px) {
  .footer__traeger em { display: none; }
}

.footer__bottom {
  margin-top: 38px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between;
  font-size: 13.5px; color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--green); }

/* ---------- Sticky Mobile-CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 90;
  display: none;
  opacity: 0;
  transform: translateY(140%);
  transition: opacity .3s ease, transform .3s ease;
}
.sticky-cta.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) { .sticky-cta { display: block; } }

/* ---------- Scroll-Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .task > p, .faq details p { transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Bewerbungs-Funnel
   ========================================================= */

.funnel-body { background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
.funnel-main { flex: 1; padding: clamp(36px, 6vw, 76px) 0 clamp(52px, 8vw, 100px); }
.funnel { max-width: 720px; margin-inline: auto; }

.funnel__job { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.funnel__meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  align-items: baseline; justify-content: space-between;
  margin-top: 14px;
  font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
/* drei Segmente, je Schritt eine eigene Farbe */
.funnel__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  height: 6px;
  margin: 18px 0 44px;
}
.funnel__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--line);
  transition: background-color .35s ease;
}
.funnel__bar i:nth-child(1).is-on { background: var(--cyan); }
.funnel__bar i:nth-child(2).is-on { background: var(--amber); }
.funnel__bar i:nth-child(3).is-on { background: var(--lime); }

.funnel h1 { font-size: clamp(1.8rem, 4.2vw, 2.5rem); }
.funnel__sub { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

.fstep { display: none; }
.fstep.is-active { display: block; animation: fstep-in .32s cubic-bezier(.2,.7,.2,1); }
@keyframes fstep-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.opts { display: grid; gap: 10px; margin-top: 34px; }
.opt {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
  text-align: left;
  width: 100%;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.opt:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.opt::before {
  content: '';
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.opt[aria-pressed="true"] { border-color: var(--green); background: var(--green-50); }
.opt[aria-pressed="true"]::before { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--green); }
.opt b { display: block; font-size: 16.5px; font-weight: 500; }
.opt span { display: block; font-size: 14.5px; color: var(--ink); margin-top: 3px; line-height: 1.5; }

.fgroup { border: 0; padding: 0; margin: 36px 0 0; }
.fgroup > legend { font-size: 15.5px; font-weight: 500; margin-bottom: 13px; padding: 0; }
.fchips { display: flex; flex-wrap: wrap; gap: 9px; }
.fchip {
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s ease;
}
.fchip:hover { border-color: var(--green); }
.fchip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.ffields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.ffield--full { grid-column: 1 / -1; }
@media (max-width: 580px) { .ffields { grid-template-columns: 1fr; } }

.ffield > span:not(.ferr) { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.ffield input,
.ffield textarea {
  width: 100%;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ffield input:focus,
.ffield textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 122, 61, .14);
}
.ffield textarea { resize: vertical; min-height: 112px; }
.ffield.has-error input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228, 6, 19, .1); }

.ffield > .ferr,
.ferr { display: none; margin-top: 7px; margin-bottom: 0; font-size: 13.5px; font-weight: 400; color: var(--red); }
.ffield.has-error > .ferr { display: block; }

.fmore {
  margin-top: 20px;
  background: none; border: 0; padding: 0;
  font-family: inherit; font-size: 14.5px; color: var(--green);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

.fconsent {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px;
  margin-top: 30px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
  align-items: start;
}
.fconsent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.fconsent.has-error { color: var(--red); }

.fnav { display: flex; gap: 12px; align-items: center; margin-top: 44px; }
.fnav .btn--primary { margin-left: auto; }

.fdone { text-align: center; padding: clamp(24px, 5vw, 52px) 0; }
.fdone .trail { justify-content: center; margin-bottom: 32px; }
.fdone h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
.fdone p { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); }
.fdone__box {
  margin-top: 34px; padding: 26px;
  background: var(--green-50); border-radius: var(--r);
  font-size: 15px; text-align: left; line-height: 1.65;
}

.funnel-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.funnel-footer__in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.funnel-footer a { color: var(--muted); }

/* =========================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================= */

.legal { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.legal__in { max-width: 760px; }

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}
.legal__stand { font-size: 14.5px; color: var(--muted); }

.legal h2 {
  margin-top: 48px;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  letter-spacing: -.01em;
}
.legal h3 {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
}
.legal p { margin-top: 14px; line-height: 1.65; }
.legal ul { margin: 14px 0 0; padding-left: 22px; line-height: 1.65; }
.legal li { margin-top: 7px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.legal address {
  margin-top: 14px;
  font-style: normal;
  line-height: 1.7;
}

/* Stellen, die noch geprueft oder ergaenzt werden muessen */
.legal .todo {
  display: block;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15px;
  color: var(--ink-2);
}
.legal mark {
  background: color-mix(in srgb, var(--amber) 26%, #fff);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
}
