/* Startseite (index.html, aus Entwurf D „Bildstark“, vom Kunden gewählt am 16.11.2026) – Foto zuerst. Therapieraum über die volle Breite,
   Überschrift, Einleitung und Knöpfe in Weiß auf einer dunklen Abdunklung (nur für die Lesbarkeit).
   Darunter dieselben Abschnitte wie Startseite A. Gewählt aus drei Varianten (Ruhig, Bildstark, Wegweiser) am 12.11.2026.
   „Unsere Haltung“ mit Teamfoto.
   Bewegung: Foto zoomt beim Laden leicht heraus (1,2 s), Text erscheint gestaffelt (400 ms).
   Bei „Bewegung reduzieren“ nur kurzes Einblenden. */

:root { --ease-out: cubic-bezier(.23, 1, .32, 1); }
.knopf { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.knopf:active { transform: scale(.97); }
@keyframes d-auf { from { opacity: 0; transform: translateY(8px); } }
@keyframes d-zoom { from { transform: scale(1.06); } }
@keyframes d-ein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .d2 { animation: d-ein 200ms ease both !important; }
}

/* ---------- Bühne ---------- */
.d2 {
  position: relative; isolation: isolate; overflow: clip; display: grid; align-items: end;
  min-height: min(88svh, 50rem); color: var(--kalkweiss); background: var(--nachtgruen);
}
.d2__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Abdunklung nur damit der Text lesbar ist (Weiß auf Nachtgrün ≥ 10 : 1 im Textbereich) */
.d2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(36 48 32 / .93) 0%, rgb(36 48 32 / .8) 45%, rgb(36 48 32 / .2) 85%);
}
.d2__inhalt { padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem); }
.d2 h1 { color: var(--kalkweiss); font-size: clamp(2.5rem, 1.2rem + 4.5vw, 5rem); line-height: 1.02; letter-spacing: -.025em; max-width: 15ch; }
.d2__einleitung { max-width: 36rem; font-size: 1.25rem; line-height: 1.55; color: rgb(255 255 255 / .92); }
.d2__fakten { margin: 0; font-size: var(--s-0); color: rgb(255 255 255 / .85); }
.d2 :focus-visible { outline-color: var(--kalkweiss); }

/* Hinweis auf die Stelle in der Bühne */
.d2__stelle { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
/* Helles Sand (#efe5d3) mit dunkelgrauem Rand (#55514b), damit der Hinweis auf dem dunklen Foto klar heraussticht.
   Auf dem Handy wird daraus eine kleine Karte: Marke oben, Stellentext darunter (kein Umbruch mitten in der Pille). */
.d2__stelle a {
  display: inline-flex; align-items: center; gap: .7rem; max-width: 100%;
  padding: .35rem 1rem .35rem .35rem; border-radius: var(--rund);
  background: #efe5d3; border: 2px solid #55514b;
  color: var(--schiefer); font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: background-color 150ms ease;
}
.d2__stelle a:hover { background: #e6d9c1; }
.d2__stelle a:hover .d2__stelle-text { text-decoration: underline; text-underline-offset: .2em; }
.d2__stelle-marke { flex: none; padding: .4rem .75rem .1rem; border-radius: var(--rund); background: #55514b; color: var(--kalkweiss); font-size: .875rem; font-weight: 800; white-space: nowrap; }   /* Schrift sitzt hoch in der Zeile: oben mehr, unten weniger Innenabstand, damit sie optisch mittig steht */
.d2__stelle-text { min-width: 0; }
.d2__stelle-pfeil { flex: none; color: #55514b; font-weight: 800; }
@media (max-width: 30rem) {
  /* Handy: kleine Karte statt Pille – Marke oben, Stellentext darunter in einer Zeile */
  .d2__stelle a { display: inline-grid; grid-template-columns: auto auto; justify-content: start; gap: .45rem .5rem; padding: .5rem .9rem .6rem .5rem; border-radius: var(--ecke); }
  .d2__stelle-marke { grid-column: 1 / -1; justify-self: start; }
  .d2__stelle-text { padding-left: .3rem; }
}

/* Stellenausschreibung direkt unter der Bühne: Birke-Fläche, rechts ein „Blatt“ mit den Vorteilen */
.stelle { background: var(--birke); padding-block: var(--abschnitt); scroll-margin-top: 5rem; }
.stelle__innen { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 60rem) { .stelle__innen { grid-template-columns: 1fr 1.1fr; } }
.stelle__marke { margin: 0 0 .5rem; font-weight: 700; color: var(--neben); }
.stelle h2 { font-size: var(--s-4); margin-bottom: .3em; }
.stelle__unter { font-size: var(--s-2); font-weight: 600; color: var(--moos-hover); margin-top: 0; } /* Moos auf Birke nur 4,0 : 1 */
.stelle__text, .stelle__blatt { min-width: 0; }
.stelle .knopf { white-space: normal; text-align: center; }
.stelle__datei { font-weight: 400; opacity: .85; white-space: nowrap; }
.stelle__hinweis { margin: 1.25rem 0 0; color: var(--neben); font-size: var(--s-0); }
.stelle__hinweis a { color: var(--schiefer); }
.stelle__blatt {
  background: var(--kalkweiss); border-radius: var(--ecke); padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 1px 2px rgb(36 48 32 / .06), 0 18px 40px -18px rgb(36 48 32 / .28);
}
.stelle__blatt h3 { font-size: var(--s-2); padding-bottom: .9rem; margin-bottom: 1.25rem; border-bottom: 3px solid var(--arkade); }
.stelle__vorteile { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem 1.5rem; }
@media (min-width: 36rem) { .stelle__vorteile { grid-template-columns: 1fr 1fr; } }
.stelle__vorteile li { position: relative; padding-left: 1.6rem; }
.stelle__vorteile li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--arkade); }
.stelle__vorteile strong { display: block; line-height: 1.3; }
.stelle__vorteile span { display: block; color: var(--neben); font-size: var(--s-0); line-height: 1.45; margin-top: .15rem; }
.stelle__extras { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie); color: var(--neben); font-size: var(--s-0); }

/* „Unsere Haltung“ mit Teamfoto im Hochformat */
.d-team img { aspect-ratio: 4 / 5; max-height: 34rem; }
@media (prefers-reduced-motion: no-preference) {
  .d2__foto { animation: d-zoom 1200ms var(--ease-out) both; }
  .d2__inhalt > * { animation: d-auf 400ms var(--ease-out) 150ms both; }
  .d2__inhalt > :nth-child(2) { animation-delay: 200ms; }
  .d2__inhalt > :nth-child(3) { animation-delay: 250ms; }
  .d2__inhalt > :nth-child(4) { animation-delay: 300ms; }
}
