/* ==========================================================================
   SVALA – Verbunden wachsen.
   Design-System nach Marken-CI (Logo + Flyer)
   Mobile First · Basis ~375px · Breakpoints: 640px / 900px / 1200px
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-konform) --------------------

   CI-Vorgabe            eingesetzt (freie Lizenz)        Rolle
   --------------------  -------------------------------  ---------------------
   Glacial Indifference  Jost                             Überschriften (fett)
   Source Sans Pro       Source Sans 3 (= Nachfolger)     Fließtext + Sublines
   Mistrully             Caveat                           Handschrift-Highlights

   Glacial Indifference und Mistrully sind keine Google Fonts und dürfen nicht
   ohne Lizenz ausgeliefert werden. Sobald die Lizenzdateien vorliegen:
   1. woff2-Dateien nach fonts/ legen
   2. die auskommentierten @font-face-Blöcke unten aktivieren
   3. in --font-head bzw. --font-script den Namen an den Anfang stellen
   Mehr dazu in FOTOS-UND-DATEN.md.
   ------------------------------------------------------------------------- */

/*
@font-face {
  font-family: "Glacial Indifference";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/glacial-indifference-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Glacial Indifference";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/glacial-indifference-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Mistrully";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/mistrully.woff2") format("woff2");
}
*/

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-v20-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jost-v20-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-v19-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-v19-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-v19-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/caveat-v23-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/caveat-v23-latin-600.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */

:root {
  /* CI-Farben (Vorgabe) */
  --schwarz: #3e3c38;
  --eukalyptus: #70795e;
  --braun: #a67b59;

  --beige-hell: #f2ece7;
  --beige-dunkel: #ebe0d6;
  --eukalyptus-hell: #babaaf;
  --braun-flaeche: #a8734a;

  /* Karten heben sich einen Hauch heller ab – macht die Seite luftiger */
  --karte: #fbf8f5;

  /* Abgeleitete Geschwistertöne – gleiche Farbfamilie, dunkler.
     Nötig, damit kleine Texte, Links und Buttons WCAG AA (4.5:1) erreichen;
     die CI-Leitfarben oben bleiben für große und fette Typo im Einsatz. */
  --braun-tief: #8c5d3a;      /* Buttonfläche, beiger Text: 4.79:1 */
  --braun-tiefer: #7d5133;    /* Button-Hover:               5.79:1 */
  --braun-text: #8d6242;      /* Braun als Textfarbe:        4.53:1 */
  --eukalyptus-tief: #5c634c; /* dunkle Fläche, beiger Text: 5.36:1 */
  --eukalyptus-text: #5b6249; /* Eukalyptus als Textfarbe:   5.45:1 */

  --linie: rgba(62, 60, 56, 0.16);
  --linie-zart: rgba(62, 60, 56, 0.09);

  /* Schrift-Rollen */
  --font-head: "Jost", "Century Gothic", "Avenir Next", sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;

  --text-s: 0.9375rem;
  --text-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --h1: clamp(2rem, 1.4rem + 3vw, 3.75rem);
  --h2: clamp(1.625rem, 1.3rem + 1.7vw, 2.5rem);
  --h3: clamp(1.1875rem, 1.1rem + 0.5vw, 1.4375rem);
  --script: clamp(1.75rem, 1.5rem + 1.4vw, 2.5rem);

  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --space-gap: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  --content-width: 1200px;
  --content-narrow: 44rem;

  --radius: 8px;
  --radius-l: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 32px rgba(62, 60, 56, 0.055);
  --shadow-lift: 0 16px 44px rgba(62, 60, 56, 0.10);
  --transition: 0.25s ease;
}

/* ---------- Reset & Basis ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--schwarz);
  background: var(--beige-hell);
  overflow-x: hidden;
  overflow-wrap: break-word;   /* lange Wörter/URLs sprengen das Layout nicht */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Überschriften: Glacial-Indifference-Charakter – geometrisch, Versalien */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--schwarz);
  text-wrap: balance;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: 0.02em; }

p + p { margin-top: 1em; }

a {
  color: var(--eukalyptus-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--braun-text); }

strong { font-weight: 700; }

::selection {
  background: var(--beige-dunkel);
  color: var(--schwarz);
}

:focus-visible {
  outline: 2px solid var(--braun-tief);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--schwarz);
  color: var(--beige-hell);
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  color: var(--beige-hell);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout-Helfer ---------- */

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--beige { background: var(--beige-dunkel); }

/* Helles Eukalyptus trägt ausschließlich dunklen Text (5.62:1) */
.section--eukalyptus {
  background: var(--eukalyptus-hell);
  color: var(--schwarz);
}
.section--eukalyptus h2,
.section--eukalyptus h3,
.section--eukalyptus p { color: var(--schwarz); }
/* Eukalyptus- und Braun-Töne haben auf dieser Fläche zu wenig Kontrast */
.section--eukalyptus .eyebrow { color: var(--schwarz); }
.section--eukalyptus .script { color: var(--braun-tiefer); }

/* Dunkles Eukalyptus für Akzent-/CTA-Flächen (beiger Text: 5.36:1) */
.section--dunkel {
  background: var(--eukalyptus-tief);
  color: var(--beige-hell);
}

/* Luftiger Abschluss statt schwerer Vollton-Fläche.
   Nur ein Hauch Eukalyptus von oben, der nach unten ins Beige ausläuft –
   damit die Seite leicht bleibt und der Terrakotta-Footer darunter wirkt. */
.section--luft {
  background:
    radial-gradient(130% 90% at 50% 0%, rgba(186, 186, 175, 0.24) 0%, rgba(186, 186, 175, 0) 62%),
    var(--beige-hell);
}

/* Warme Braunfläche als Abschluss-Akzent (beiger Text: 4.79:1) */
.section--braun {
  background: var(--braun-tief);
  color: var(--beige-hell);
}
.section--braun h2,
.section--braun h3,
.section--braun p,
.section--braun li { color: var(--beige-hell); }
.section--braun .eyebrow { color: var(--beige-dunkel); }
.section--braun .script { color: var(--beige-dunkel); }
.section--braun a:not(.btn) { color: var(--beige-hell); }
.section--dunkel h2,
.section--dunkel h3,
.section--dunkel p,
.section--dunkel li { color: var(--beige-hell); }
.section--dunkel .eyebrow { color: var(--beige-dunkel); }
/* :not(.btn) – Buttons behalten ihre eigenen Farben */
.section--dunkel a:not(.btn) { color: var(--beige-hell); }

.section-head {
  max-width: var(--content-narrow);
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

/* Subline über der Überschrift: Source Sans fett, Versalien, Eukalyptus.
   ≥14px + fett ⇒ AA-Large erfüllt (3.91:1). */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eukalyptus-text);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
}

.section-head .lead { margin-top: 1.25rem; }

/* Handschrift-Highlight (CI: Mistrully) */
.script {
  display: block;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: var(--script);
  line-height: 1.15;
  color: var(--braun);
  text-transform: none;
  letter-spacing: 0;
}
.section--dunkel .script { color: var(--beige-dunkel); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 54px;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--braun-tief);
  color: var(--beige-hell);
}
.btn--primary:hover {
  background: var(--braun-tiefer);
  color: var(--beige-hell);
}

.btn--secondary {
  background: transparent;
  color: var(--schwarz);
  border-color: var(--schwarz);
}
.btn--secondary:hover {
  background: var(--schwarz);
  color: var(--beige-hell);
}

.btn--light {
  background: var(--beige-hell);
  color: var(--schwarz);
}
.btn--light:hover {
  background: var(--beige-dunkel);
  color: var(--schwarz);
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    justify-content: center;
  }
  .btn--block { width: auto; }
}

/* ---------- Header & Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 236, 231, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie-zart);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

/* Logo-Lockup (Bildmarke + Wortmarke) aus der Markendatei */
.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  width: auto;
  height: 38px;
  transition: opacity var(--transition);
}
.logo:hover img { opacity: 0.78; }

@media (min-width: 1200px) {
  .logo img { height: 44px; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--schwarz);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  background: var(--beige-hell);
  border-bottom: 1px solid var(--linie);
  padding: 1rem 0 2rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}
.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

/* :not(.btn) durchgängig – der CTA-Button behält sonst nicht seine eigenen Farben */
.site-nav a:not(.btn) {
  display: block;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--schwarz);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:not(.btn):hover { color: var(--braun-text); background: var(--beige-dunkel); }
.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--braun-text);
  font-weight: 700;
}

.site-nav .nav-cta {
  margin: 1rem clamp(1.25rem, 4vw, 3rem) 0;
}

/* Erst ab 1200px passen alle neun Menüpunkte plus CTA in eine Zeile */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: none;
    padding: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }
  .site-nav a:not(.btn) {
    padding: 0.5rem 0.55rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .site-nav a:not(.btn):hover { background: none; }
  .site-nav .nav-cta { margin: 0 0 0 0.5rem; }
  .site-nav .nav-cta .btn {
    min-height: 46px;
    padding: 0.6rem 1.15rem;
    font-size: 0.9rem;
  }
  .site-nav a[aria-current="page"]:not(.btn) {
    box-shadow: inset 0 -2px 0 var(--braun);
  }
}

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

.hero {
  position: relative;
  display: grid;
  min-height: min(86dvh, 800px);
  align-items: end;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Das Foto tritt bewusst zurück: entsättigt und deutlich abgedunkelt, damit es
   Stimmung trägt statt mit der Typografie zu konkurrieren. Das Motiv ist sehr
   hell, deshalb geht die Helligkeit hier weit herunter. */
.hero__media img {
  filter: saturate(0.72) contrast(0.92) brightness(0.6);
}

/* Zwei Ebenen: ein gleichmäßiger warmer Schleier über dem ganzen Bild
   (nimmt Unruhe raus) plus ein Verlauf, der die Textzone trägt. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(40, 35, 29, 0.52) 0%,
      rgba(40, 35, 29, 0.42) 52%,
      rgba(40, 35, 29, 0.26) 82%,
      rgba(40, 35, 29, 0.18) 100%
    ),
    linear-gradient(rgba(48, 42, 34, 0.32), rgba(48, 42, 34, 0.32));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  text-align: center;
  color: var(--beige-hell);
  text-shadow: 0 1px 14px rgba(40, 35, 29, 0.5);
}

.hero__content h1 {
  color: var(--beige-hell);
  max-width: 24ch;
  margin-inline: auto;
}

.hero__content .script {
  color: var(--beige-dunkel);
  margin-top: 0.9rem;
}

.hero__claim {
  font-size: var(--text-lead);
  max-width: 46ch;
  margin: 1.1rem auto 0;
  color: var(--beige-hell);
}

.hero .btn-row { margin-top: 2.25rem; }

/* Unterseiten-Kopf */
.page-hero {
  background: var(--beige-dunkel);
  padding-block: clamp(3.5rem, 3rem + 4vw, 6.5rem);
  text-align: center;
}
.page-hero .lead {
  max-width: var(--content-narrow);
  margin: 1.25rem auto 0;
}

/* ---------- Standort-Leiste (Flyer: "Kurse in deiner Nähe") ---------- */

.locations-strip {
  background: var(--eukalyptus-hell);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}
.locations-strip h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  color: var(--schwarz);
}
.locations-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.locations-strip li { position: relative; }
.locations-strip li + li::before {
  content: "";
  position: absolute;
  left: -0.8rem;
  top: 50%;
  width: 1px;
  height: 1em;
  transform: translateY(-50%);
  background: rgba(62, 60, 56, 0.4);
}
.locations-strip a { color: var(--schwarz); text-decoration: none; }
.locations-strip a:hover { color: var(--braun-tiefer); text-decoration: underline; }

/* ---------- Karten ---------- */

.card-grid {
  display: grid;
  gap: var(--space-gap);
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--karte);
  border-radius: var(--radius-l);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  color: inherit;
}
.section--beige .card { background: var(--karte); }

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.card__body p { font-size: var(--text-s); }

.card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: var(--text-s);
  color: var(--braun-text);
}
.card:hover .card__link { color: var(--braun-tiefer); }

/* ---------- Vorteile / Icon-Blöcke ---------- */

/* auto-fit: nutzt genau so viele Spalten, wie Blöcke vorhanden sind (3 oder 4) */
.benefits {
  display: grid;
  gap: var(--space-gap);
  text-align: center;
  justify-items: center;
}
@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
}
.benefit { max-width: 22rem; }

/* Runde Icon-Flächen wie im Flyer – abwechselnd Eukalyptus, Beige, Braun */
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--eukalyptus-hell);
  color: var(--schwarz);
}
.benefit:nth-child(2n) .benefit__icon {
  background: var(--beige-dunkel);
  color: var(--eukalyptus-text);
}
.benefit:nth-child(3n) .benefit__icon {
  background: var(--braun-flaeche);
  color: var(--beige-hell);
}
.section--beige .benefit:nth-child(2n) .benefit__icon { background: var(--beige-hell); }
.section--dunkel .benefit__icon {
  background: rgba(242, 236, 231, 0.16);
  color: var(--beige-hell);
}

.benefit h3 {
  font-size: 1.125rem;
  margin-bottom: 0.45rem;
  color: var(--eukalyptus-text);
}
.section--dunkel .benefit h3 { color: var(--beige-hell); }
.benefit p { font-size: var(--text-s); }

/* ---------- Split-Layout (Bild + Text) ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > .split__media { order: 2; }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

/* Hochformat-Porträts werden in der Breite begrenzt, damit sie die Spalte
   nicht überragen – beschnitten wird bewusst nichts. */
.split__media--portrait img {
  max-width: 27rem;
  margin-inline: auto;
}

.split__body h2 { margin-bottom: 1.15rem; }
.split__body .btn { margin-top: 1.75rem; }

.signature {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--braun);
  margin-top: 1.4rem;
}

/* ---------- Checkliste (Flyer: "Deine SVALA-Momente") ---------- */

.checklist {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.checklist li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: var(--text-s);
}
.checklist li::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  background: currentColor;
  color: var(--braun);
  /* Häkchen wie auf dem Flyer */
  -webkit-mask: 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='M3 12.5l6 6L21 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: 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='M3 12.5l6 6L21 5.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--dunkel .checklist li::before { color: var(--beige-dunkel); }
.checklist strong {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--eukalyptus-text);
}
.section--dunkel .checklist strong { color: var(--beige-hell); }

/* ---------- Badge / Sprechblase (Flyer: Gutschein-Hinweis) ---------- */

.badge {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: var(--braun-tief);
  color: var(--beige-hell);
  border-radius: var(--radius-pill);
  font-size: var(--text-s);
  font-weight: 600;
  line-height: 1.45;
  box-shadow: var(--shadow-soft);
}
.badge strong { font-weight: 700; }
.badge a { color: var(--beige-hell); }

/* ---------- Kundenstimmen ---------- */

.testimonials {
  display: grid;
  gap: var(--space-gap);
}
@media (min-width: 900px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  background: var(--karte);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

.testimonial blockquote {
  font-size: 1.0625rem;
  line-height: 1.6;
}
.testimonial blockquote::before {
  content: "„";
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.55;
  color: var(--braun);
  margin-bottom: 0.8rem;
}

.testimonial figcaption {
  margin-top: auto;
  font-size: var(--text-s);
  font-weight: 700;
  color: var(--eukalyptus-text);
}

/* ---------- FAQ (Accordion) ---------- */

.faq-list {
  max-width: var(--content-narrow);
  margin-inline: auto;
}

.faq-list details {
  border-bottom: 1px solid var(--linie);
}
.faq-list details:first-child {
  border-top: 1px solid var(--linie);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--braun-text); }

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--braun-text);
  -webkit-mask: 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' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: 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' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--transition);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list .faq-answer {
  padding: 0 0.25rem 1.5rem;
  max-width: 62ch;
}
.faq-list .faq-answer p { font-size: var(--text-s); }

/* ---------- Standorte ---------- */

.locations {
  display: grid;
  gap: var(--space-gap);
}
@media (min-width: 640px) {
  .locations { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .locations--three { grid-template-columns: repeat(3, 1fr); }
}

.location {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  background: var(--karte);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}
/* Buttons unterschiedlich hoher Karten auf einer Linie abschließen */
.location .btn { margin-top: auto; }
.location .btn:first-of-type { margin-top: auto; }
.location h3 { margin-bottom: 0.7rem; color: var(--eukalyptus-text); }
.location p { font-size: var(--text-s); }
.location .location__note {
  margin-top: 0.9rem;
  color: var(--eukalyptus-text);
}

/* ---------- Kurstermine ---------- */

/* Datumszeile über dem Thema einer Bindungszeit */
.termin-datum {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--braun-text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

.termin-thema {
  font-size: var(--text-s);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;   /* Mindestabstand zum Button, auch bei der höchsten Karte */
}

/* Platzhalter, solange noch keine Termine feststehen */
.termin-planung {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding: clamp(1.75rem, 1.5rem + 2vw, 3rem);
  background: var(--karte);
  border: 1px dashed rgba(140, 93, 58, 0.35);
  border-radius: var(--radius-l);
  text-align: center;
}
.termin-planung .lead { margin-bottom: 1rem; }
.termin-planung .btn-row { margin-top: 2rem; }

.termin-ort {
  font-size: var(--text-s);
  color: var(--eukalyptus-text);
  margin-bottom: 1rem;
}

.termin-liste {
  list-style: none;
}
.termin-liste li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--linie-zart);
  font-size: var(--text-s);
}
.termin-liste li:last-child { border-bottom: 0; }
.termin-liste strong {
  font-variant-numeric: tabular-nums;
  color: var(--eukalyptus-text);
}

.termin-hinweis {
  font-size: var(--text-s);
  color: var(--eukalyptus-text);
}

/* ---------- Instagram-Raster ---------- */

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .insta-grid { grid-template-columns: repeat(6, 1fr); }
}

.insta-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}
.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity var(--transition);
}
.insta-grid a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Instagram-Balken wie im Flyer-Fuß */
.insta-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.6rem;
  background: var(--eukalyptus-hell);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--schwarz);
  text-decoration: none;
  transition: background var(--transition);
}
.insta-bar:hover { background: var(--beige-dunkel); color: var(--schwarz); }
.insta-bar svg { flex-shrink: 0; }

/* ---------- Formulare ---------- */

.form-card {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding: clamp(1.75rem, 1.5rem + 2vw, 3.5rem);
  background: var(--karte);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-size: var(--text-s);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.form-field label .optional {
  font-weight: 400;
  color: var(--eukalyptus-text);
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--schwarz);
  background: #fff;
  border: 1.5px solid var(--beige-dunkel);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%238c5d3a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--braun-tief);
  box-shadow: 0 0 0 3px rgba(140, 93, 58, 0.16);
}

.form-field input.has-error,
.form-field select.has-error,
.form-field textarea.has-error {
  border-color: #a3402c;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8f3423;
}
.field-error.is-visible { display: block; }

.form-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: var(--text-s);
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  appearance: auto;
  margin-top: 0.2rem;
  accent-color: var(--braun-tief);
  cursor: pointer;
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: var(--text-s);
  font-weight: 600;
}
.form-status.is-error {
  display: block;
  background: #f6e3dd;
  color: #7c2d1c;
}
.form-status.is-success {
  display: block;
  background: #e5eadf;
  color: #43503a;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Gutscheine: Auswahl auf einen Blick ----------
   Vier gleichwertige Kacheln (Kursgutschein, zwei Wertstufen, Wunschbetrag),
   damit man alle Möglichkeiten ohne Scrollen erfassen kann. */

.voucher-options {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .voucher-options { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .voucher-options { grid-template-columns: repeat(4, 1fr); }
}

/* Mobil liegt das Bild links neben dem Text – so bleiben alle vier
   Möglichkeiten auf einen Blick erfassbar. Ab 600px wandert es nach oben. */
.voucher-option {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background: var(--karte);
  border: 1px solid var(--linie-zart);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

.voucher-option__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige-dunkel);
}
.voucher-option__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voucher-option__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

@media (min-width: 600px) {
  .voucher-option {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;   /* Bild oben bündig, Text füllt den Rest */
    align-items: start;
    gap: 0;
    padding: clamp(1rem, 0.75rem + 1vw, 1.35rem);
  }
  .voucher-option__body { height: 100%; }
  .voucher-option__media {
    aspect-ratio: 3 / 2;
    margin-bottom: 1.1rem;
  }
  .voucher-option__body { gap: 0.45rem; }
}

.voucher-option__kind {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eukalyptus-text);
}

.voucher-option h3 {
  font-size: 1.125rem;
  color: var(--schwarz);
}

.voucher-option p { font-size: var(--text-s); }
.voucher-option__body p:last-child { margin-top: auto; padding-top: 0.35rem; }

/* Mobil ist der Platz knapp: die Sachbeschreibung tritt zurück, die Zeile
   „Für Alle, die …" bleibt – sie hilft bei der Entscheidung. */
@media (max-width: 599px) {
  .voucher-option { font-size: 0.875rem; }
  .voucher-option__text { display: none; }
  .voucher-option__body p { font-size: 0.8125rem; line-height: 1.45; }
  .voucher-option__body p:last-child { padding-top: 0.15rem; }
}

/* Doppelte Klasse, damit der Preis die Größe aus .voucher-option p überschreibt */
.voucher-option p.voucher-option__preis {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--braun-text);
}
/* „frei wählbar" ist Text, keine Zahl – etwas kleiner, damit es nicht umbricht */
.voucher-option--frei p.voucher-option__preis {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  color: var(--eukalyptus-text);
}

/* Der Kursgutschein ist das Hauptangebot – warm hinterlegt */
.voucher-option--haupt {
  background: linear-gradient(160deg, var(--beige-hell) 0%, var(--beige-dunkel) 100%);
  border-color: rgba(140, 93, 58, 0.28);
}

/* Wunschbetrag ist kein festes Produkt – bewusst offen gezeichnet */
.voucher-option--frei {
  background: transparent;
  border-style: dashed;
  border-color: rgba(91, 98, 73, 0.45);
  box-shadow: none;
}

/* Drei Ausführungen nebeneinander */
@media (min-width: 900px) {
  .card-grid--three { grid-template-columns: repeat(3, 1fr); }
}

/* Vorschau für den digitalen Gutschein – ohne Foto, rein aus Markenelementen */
.card__media--voucher { background: var(--beige-dunkel); }
.print-preview {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
}
/* Nur die Bildmarke, klein – das Logo soll hier nicht dominieren */
.print-preview img {
  width: clamp(2.75rem, 22%, 3.75rem);
  margin-inline: auto;
}
.print-preview span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eukalyptus-text);
}

/* ---------- Preis-/Infoblöcke ---------- */

.info-list {
  list-style: none;
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--linie);
  font-size: var(--text-s);
}
.info-list li:first-child { border-top: 1px solid var(--linie); }
.info-list li strong {
  flex-shrink: 0;
  width: 10rem;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--eukalyptus-text);
}
@media (max-width: 639px) {
  .info-list li { flex-direction: column; gap: 0.2rem; }
  .info-list li strong { width: auto; }
}

.price-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--braun-text);
}
.price-tag small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--eukalyptus-text);
}

/* ---------- CTA-Band ---------- */

.cta-band { text-align: center; }
.cta-band h2 {
  max-width: 26ch;
  margin-inline: auto;
}
.cta-band .btn-row { margin-top: 2.25rem; }
.cta-band p {
  max-width: var(--content-narrow);
  margin: 1.25rem auto 0;
}

/* Schwebende helle Karte für den Seitenabschluss – leicht statt massiv */
.cta-card {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(2.25rem, 1.75rem + 3vw, 3.75rem) clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background: var(--karte);
  border: 1px solid var(--linie-zart);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
}

/* ---------- Kontakt ---------- */

.contact-channels {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--karte);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--schwarz);
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-channel:hover {
  transform: translateY(-2px);
  color: var(--braun-text);
  box-shadow: var(--shadow-lift);
}
.contact-channel svg {
  flex-shrink: 0;
  color: var(--braun-text);
}
.contact-channel small {
  display: block;
  font-weight: 400;
  color: var(--eukalyptus-text);
}

.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  background:
    linear-gradient(rgba(235, 224, 214, 0.9), rgba(235, 224, 214, 0.9)),
    repeating-linear-gradient(45deg, var(--eukalyptus-hell) 0 2px, transparent 2px 14px);
  border-radius: var(--radius-l);
  text-align: center;
}
.map-consent p {
  max-width: 34rem;
  font-size: var(--text-s);
  margin-bottom: 1.5rem;
}
.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-l);
}

/* ---------- Footer ---------- */

/* Terrakotta als geerdeter Abschluss (beiger Text auf --braun-tiefer: 5.80:1) */
.site-footer {
  background: var(--braun-tiefer);
  color: var(--beige-hell);
  padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) 2rem;
  font-size: var(--text-s);
}

.site-footer a:not(.btn) {
  color: var(--beige-hell);
  text-decoration: none;
}
.site-footer a:not(.btn):hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand img {
  width: 168px;
  margin-bottom: 1.1rem;
}
.footer-brand p {
  max-width: 32ch;
  color: rgba(242, 236, 231, 0.88);   /* auf Terrakotta: 4.91:1 */
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beige-dunkel);   /* auf Terrakotta: 5.23:1 */
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 236, 231, 0.22);
  color: rgba(242, 236, 231, 0.85);
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Danke- & 404-Seite ---------- */

.simple-page {
  min-height: 55dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--space-section);
}
.simple-page .btn-row { margin-top: 2.5rem; }
.simple-page .lead {
  max-width: var(--content-narrow);
  margin-top: 1.5rem;
}
.simple-page img.simple-logo {
  width: clamp(9rem, 30vw, 12rem);
  margin: 0 auto 2rem;
}

/* ---------- Rechtstexte ---------- */

.legal-content {
  max-width: var(--content-narrow);
  margin-inline: auto;
}
/* Rechtstexte enthalten vollständige URLs – die müssen umbrechen dürfen */
.legal-content a { overflow-wrap: anywhere; }
.legal-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.9rem;
}
.legal-content h3 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.6rem;
}
.legal-content ul {
  padding-left: 1.25rem;
  margin-top: 0.5em;
}
