/* ===================================================================
   ASKUVISS – Gestaltung
   ===================================================================
   Aufbau dieser Datei:
     1  Farben & Grundwerte
     2  Farbwelten der sechs Bereiche
     3  Grundgerüst
     4  Schrift & Überschriften
     5  Kopfzeile & Navigation
     6  Schaltflächen
     7  Banner (Startseite)
     8  Hero (Bereichsseiten)
     9  Abschnitte & Karten
    10  Bereichskacheln
    11  Angebotsbalken (Flyer-Stil)
    12  Kurse & Termine
    13  Ablaufband
    14  Kalender
    15  Formular
    16  Hörproben
    17  Zitate
    18  Fußzeile
    19  Kleinere Bildschirme
   =================================================================== */

@import url("fonts.css");

/* =============== 1  FARBEN & GRUNDWERTE ============================ */
:root {
  --ink:        #16113A;   /* Schrift, dunkle Flächen */
  --ink-soft:   #4A4566;   /* zurückgenommene Schrift */
  --ink-fein:   #635E7D;   /* Beschriftungen (dunkel genug fuer 4,5:1 auf allen Grundtoenen) */
  --paper:      #FCFBFD;   /* Seitenhintergrund */
  --mist:       #F4F2F8;   /* abgesetzte Abschnitte */
  --weiss:      #FFFFFF;
  --nacht:      #16113A;   /* dunkle Flächen: Fuß, Ablaufband, Streifen */
  --kopf:       rgba(252,251,253,.92);   /* Kopfzeile, halbtransparent */
  --line:       rgba(22,17,58,.10);
  --line-stark: rgba(22,17,58,.18);

  /* Der Markenverlauf aus dem Logo – sparsam eingesetzt:
     als feines Band am Seitenkopf, im Claim-Streifen und im Ablaufband. */
  --markenband: linear-gradient(90deg,#6D9EE8,#8A3FA9,#E8388A,#F6A54C);

  --radius:       14px;
  --radius-klein: 10px;
  --maxw:         1160px;
  --schatten:      0 14px 34px rgba(22,17,58,.07);
  --schatten-hoch: 0 20px 46px rgba(22,17,58,.12);

  /* Grundfarbe, falls einmal keine Farbwelt gesetzt ist */
  --accent:      #8A3FA9;
  --accent-deep: #6A2C84;
  --accent-knopf:#6A2C84;
  --accent-rgb:  138,63,169;

  color-scheme: light;
}

/* =============== 2  FARBWELTEN DER BEREICHE ========================
   Die sechs Farben sind Stufen des Markenverlaufs – von Blau bis
   Amber, genau wie die Balken im Logo und auf dem Flyer.

   --accent       kräftig: Linien, Signets, Balken
   --accent-deep  dunkel : Text (im Dunkelmodus hell)
   --accent-knopf dunkel : Flächen mit weisser Schrift (bleibt dunkel)

   Die Regeln greifen überall, wo data-farbe steht: am <body> für
   eine ganze Seite, an einer Kachel oder an einem Kalendereintrag.
   =================================================================== */
[data-farbe="marke"]    { --accent:#8A3FA9; --accent-deep:#6A2C84; --accent-knopf:#6A2C84; --accent-rgb:138,63,169; }
[data-farbe="blau"]     { --accent:#5B8FD9; --accent-deep:#2F5FA6; --accent-knopf:#2F5FA6; --accent-rgb:91,143,217; }
[data-farbe="indigo"]   { --accent:#7C74C9; --accent-deep:#4B429B; --accent-knopf:#4B429B; --accent-rgb:124,116,201; }
[data-farbe="violett"]  { --accent:#A054B0; --accent-deep:#74318A; --accent-knopf:#74318A; --accent-rgb:160,84,176; }
[data-farbe="magenta"]  { --accent:#DC4A79; --accent-deep:#A32552; --accent-knopf:#A32552; --accent-rgb:220,74,121; }
[data-farbe="koralle"]  { --accent:#EE7E63; --accent-deep:#B04A2C; --accent-knopf:#B04A2C; --accent-rgb:238,126,99; }
[data-farbe="amber"]    { --accent:#F0A63F; --accent-deep:#966010; --accent-knopf:#966010; --accent-rgb:240,166,63; }

/* =============== 3  GRUNDGERÜST ==================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--nacht); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Für Screenreader und Suchmaschinen lesbar, aber nicht sichtbar.
   Wird für die Hauptüberschrift der Startseite gebraucht, deren
   Aussage dort das Logo übernimmt. */
.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Platzhaltertexte sind Notizen fuer die Pflege, kein Seiteninhalt.
   Der Besucher sieht sie nicht. Zum Nachsehen, was noch fehlt, haengen
   Sie ?platzhalter an die Adresse – dann erscheinen sie rot umrandet. */
.platzhalter { display: none; }
body.platzhalter-zeigen .platzhalter {
  display: block;
  outline: 2px dashed rgba(220,74,121,.6); outline-offset: 5px;
}

/* Das feine Markenband – hier treten alle Logofarben zusammen auf */
.markenband { height: 3px; background: var(--markenband); }

[data-auftritt] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-auftritt].sichtbar { opacity: 1; transform: none; }

/* Klangkörper an den Seitenrändern – füllt das Weiß links und rechts,
   ohne mit dem Inhalt zu konkurrieren. Färbt sich mit dem Bereich. */
.dekor {
  position: fixed; z-index: -1; pointer-events: none;
  width: 380px; color: var(--accent); opacity: .06;
  transition: color .4s;
}
.dekor svg { width: 100%; height: auto; display: block; fill: currentColor; }
.dekor-links  { left: -190px; bottom: 5vh; }
.dekor-rechts { right: -190px; top: 14vh; transform: rotate(180deg); }
.dekor .bar { transform-box: fill-box; transform-origin: center; animation: atmen 7s ease-in-out infinite; }
/* Erst zeigen, wenn neben dem Inhalt wirklich Platz ist */
@media (max-width: 1280px) { .dekor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-auftritt] { opacity: 1; transform: none; transition: none; }
  .klangmotiv *, .banner-signet, .dekor * { animation: none !important; }
}

/* =============== 4  SCHRIFT & ÜBERSCHRIFTEN ======================== */
h1, h2, h3, .kal-monat, .fuss-titel {
  font-family: "Jost", "Century Gothic", system-ui, sans-serif;
  font-weight: 300; letter-spacing: .05em; line-height: 1.2;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(27px, 3.4vw, 39px); }
h3 { font-size: 20px; font-weight: 500; letter-spacing: .03em; }

.betont { color: var(--accent-deep); font-weight: 400; }

.eyebrow {
  display: inline-block;
  font-family: "Jost", system-ui, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .3em; font-size: 12px;
  color: var(--ink-fein); margin-bottom: 14px;
}
.eyebrow::after {
  content: ""; display: inline-block;
  width: 40px; height: 2px; margin-left: 14px;
  vertical-align: middle; border-radius: 2px; background: var(--accent);
}

.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
p + p { margin-top: 14px; }
.hinweis { color: var(--ink-fein); font-size: 15px; }

.merkkasten {
  border-left: 3px solid rgba(var(--accent-rgb), .5);
  background: rgba(var(--accent-rgb), .05);
  padding: 18px 22px; border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  font-size: 15px; color: var(--ink-soft); margin-top: 28px;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .9em; background: var(--mist); padding: 2px 6px; border-radius: 5px;
}

/* =============== 5  KOPFZEILE & NAVIGATION ========================= */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: var(--kopf);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Platz freihalten, bis site.js die Kopfzeile einsetzt –
   sonst rutscht beim Laden die ganze Seite 80 px nach unten */
header.site:empty { min-height: 80px; box-sizing: border-box; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav > nav { margin-left: auto; }
.nav .logo img { height: 30px; width: auto; }
.nav > nav > ul { display: flex; align-items: center; gap: 26px; }
.nav a, .nav .klapp-knopf {
  text-decoration: none; font-size: 15px; font-weight: 500;
  color: var(--ink-soft); transition: color .2s; white-space: nowrap;
}
.nav a:hover, .nav .klapp-knopf:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
/* Schaltflächen in der Navigation behalten ihre eigene Schriftfarbe.
   Ohne diese Zeilen würde die Regel ".nav a" darüber sie überschreiben. */
.nav a.btn-fuell, .nav a.btn-fuell:hover { color: #fff; }
.nav a.btn-linie { color: var(--ink); }
.nav a.btn-linie:hover { color: #fff; }
.nav a.btn[aria-current="page"] { box-shadow: none; }

/* Aufklappbares Angebotsmenü */
.klapp { position: relative; }
.klapp-knopf {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; font-family: inherit; cursor: pointer; padding: 0;
}
.klapp-knopf .pfeil { transition: transform .2s; font-size: 11px; }
.klapp-knopf[aria-expanded="true"] { color: var(--ink); }
.klapp-knopf[aria-expanded="true"] .pfeil { transform: rotate(180deg); }

.klapp-feld {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  width: 560px; padding: 14px;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--schatten-hoch);
  display: none; grid-template-columns: 1fr 1fr; gap: 4px;
}
.klapp-feld.offen { display: grid; }
.klapp-feld a {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 12px; border-radius: var(--radius-klein);
  white-space: normal; transition: background .18s;
}
.klapp-feld a:hover { background: var(--mist); }
.klapp-feld .punkt {
  flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-top: 6px;
}
.klapp-feld strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.klapp-feld span.kf-text { display: block; font-size: 12.5px; color: var(--ink-fein); line-height: 1.45; }

.menu-schalter {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.menu-schalter span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0;
}

/* =============== 6  SCHALTFLÄCHEN ================================== */
.btn {
  display: inline-block; text-decoration: none;
  font-family: inherit; font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn-fuell {
  background: var(--accent-knopf); color: #fff;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), .22);
}
.btn-fuell:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--accent-rgb), .30); }
.btn-linie { border-color: var(--ink); color: var(--ink); }
.btn-linie:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-hell { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-hell:hover { background: #fff; color: #16113A; }
.btn-klein { padding: 9px 20px; font-size: 14.5px; }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; color: var(--accent-deep);
}
.btn-text em { font-style: normal; transition: transform .2s; }
.btn-text:hover em { transform: translateX(4px); }

/* =============== 7  BANNER (Startseite) ============================
   Nimmt die Flyer-Vorderseite auf: heller Grund, Farbstreifen links,
   das Logo mit Claim.
   =================================================================== */
.banner {
  position: relative; overflow: hidden;
  /* Ein Hauch der Logofarben in den Ecken – sehr zurückhaltend */
  background:
    radial-gradient(ellipse 46% 70% at 88% 18%, rgba(246,165,76,.13), transparent 70%),
    radial-gradient(ellipse 40% 60% at 22% 90%, rgba(109,158,232,.13), transparent 70%),
    linear-gradient(180deg, var(--weiss), var(--mist));
  padding: 74px 0 70px;
}

/* Geschwungener Übergang unter dem Banner – Klang statt Kante */
.welle { line-height: 0; background: var(--paper); margin-top: -1px; }
.welle svg { display: block; width: 100%; height: clamp(38px, 6vw, 84px); }
.welle path { fill: var(--mist); }
/* Zwei Streifen wie am Rand der Flyer-Vorderseite:
   ein dunkler Balken, daneben ein Verlauf von Blau nach Rosa. */
.banner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
  background: var(--nacht);
}
.banner::after {
  content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 22px;
  background: linear-gradient(180deg,#8FAEDF 0%,#A79BD0 45%,#D98CAF 78%,#E58BA6 100%);
}
.banner .wrap { position: relative; padding-left: 92px; }

/* Der Claim steht hochkant auf dem Streifen – wie auf dem Flyer */
.banner-claim {
  position: absolute; left: 30px; top: 0; width: 22px; height: 100%;
  display: grid; place-items: center; z-index: 1; pointer-events: none;
}
.banner-claim span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: "Jost", sans-serif; text-transform: uppercase;
  letter-spacing: .34em; font-size: 10.5px; color: var(--ink);
  white-space: nowrap;
}
.banner-logo { max-width: 620px; width: 100%; }
.banner-text { margin-top: 34px; max-width: 56ch; }
.banner-text p { font-size: 19.5px; color: var(--ink-soft); }
.banner-aktionen { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* =============== 8  HERO (Bereichsseiten) ========================== */
.hero {
  padding: 76px 0 88px; overflow: hidden;
  /* Zarter Schimmer in der Bereichsfarbe, damit der Kopf nicht flach wirkt */
  background:
    radial-gradient(ellipse 44% 62% at 82% 36%, rgba(var(--accent-rgb), .11), transparent 70%),
    radial-gradient(ellipse 30% 40% at 8% 92%, rgba(var(--accent-rgb), .07), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 6px 0 22px; }
.hero-aktionen { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-notiz { margin-top: 26px; font-size: 14.5px; color: var(--ink-fein); }

.klangmotiv { width: 100%; max-width: 400px; margin: 0 auto; }
.klangmotiv .bar {
  transform-box: fill-box; transform-origin: center;
  animation: atmen 4.8s ease-in-out infinite;
}
@keyframes atmen { 0%,100% { transform: scaleY(.94); } 50% { transform: scaleY(1.06); } }

.klangmotiv .schwingt { transform-box: fill-box; transform-origin: top center; animation: pendel 6s ease-in-out infinite; }
@keyframes pendel { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }

.klangmotiv .weitet { transform-box: fill-box; transform-origin: center; animation: weiten 5.5s ease-out infinite; }
@keyframes weiten {
  0%   { transform: scale(.72); opacity: 0; }
  25%  { opacity: .85; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* =============== 9  ABSCHNITTE & KARTEN ============================ */
section { padding: 90px 0; position: relative; }
/* Getönte Abschnitte laufen oben und unten weich aus – kein harter Kantenwechsel */
section.getoent {
  background: linear-gradient(180deg,
    var(--paper) 0, var(--mist) 110px,
    var(--mist) calc(100% - 110px), var(--paper) 100%);
}
section.dunkel  { background: var(--nacht); color: rgba(255,255,255,.82); }
section.dunkel h2 { color: #fff; }
section.dunkel .lead { color: rgba(255,255,255,.72); }
section.dunkel .eyebrow { color: rgba(255,255,255,.6); }

.abschnittskopf { max-width: 62ch; margin-bottom: 44px; }
.abschnittskopf h2 { margin-bottom: 14px; }

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

.karte {
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .18s ease, box-shadow .2s ease;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.karte h3 { margin-bottom: 10px; }
.karte p  { font-size: 15.5px; color: var(--ink-soft); }

.karte-nr {
  font-family: "Jost", sans-serif; font-weight: 300; font-size: 40px;
  line-height: 1; color: rgba(var(--accent-rgb), .55); display: block; margin-bottom: 12px;
}

.ikon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(var(--accent-rgb), .10); color: var(--accent-deep);
}
.ikon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.punkte li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  color: var(--ink-soft); font-size: 16px;
}
.punkte li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .30); box-shadow: inset 0 0 0 2px var(--accent);
}

.doppel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bildflaeche {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .05)), var(--mist);
  border: 1px dashed rgba(var(--accent-rgb), .35);
  display: grid; place-items: center; text-align: center;
  color: var(--ink-fein); font-size: 14.5px; padding: 26px;
}
.bildflaeche.quer { aspect-ratio: 3 / 2; }

/* Echte Bilder brauchen weder gestrichelten Rand noch Polster - das
   gehoert zum leeren Platzhalter. Entscheidend ist object-fit: ohne
   das presst der Browser das Bild in das Rastermass und zieht es
   dabei in die Breite. */
img.bildflaeche {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border: 0; padding: 0; background: none;
}

/* Hochformat im Seitenverhaeltnis der Kamera (2:3). So wird weder
   verzerrt noch beschnitten. */
.bildflaeche.hoch { aspect-ratio: 2 / 3; }

.merkmale { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.merkmal {
  font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  background: var(--weiss); border: 1px solid var(--line); color: var(--ink-soft);
}

/* =============== 10  BEREICHSKACHELN =============================== */
.bereiche { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.bkarte {
  position: relative; display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px 28px;
  text-decoration: none; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
}
.bkarte-strich { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.bkarte:hover {
  transform: translateY(-5px); box-shadow: var(--schatten-hoch);
  border-color: rgba(var(--accent-rgb), .30);
}
.bkarte-nr {
  font-family: "Jost", sans-serif; text-transform: uppercase;
  letter-spacing: .28em; font-size: 11px; color: var(--accent-deep); margin-bottom: 14px;
}
.bkarte h3 { font-size: 21px; margin-bottom: 10px; line-height: 1.25; }
.bkarte-claim {
  font-family: "Jost", sans-serif; font-weight: 300; font-size: 17px;
  letter-spacing: .02em; color: var(--accent-deep); margin-bottom: 12px;
}
.bkarte-text { font-size: 15px; color: var(--ink-soft); flex: 1; }
.bkarte-mehr {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-weight: 600; font-size: 14.5px; color: var(--accent-deep);
}
.bkarte-mehr em { font-style: normal; transition: transform .2s; }
.bkarte:hover .bkarte-mehr em { transform: translateX(5px); }

/* =============== 11  ANGEBOTSBALKEN (Flyer-Stil) ===================
   Übernimmt die Anmutung der Flyer-Innenseite: farbiger Balken mit
   dem Bereichsnamen, darunter die Aufzählung.
   =================================================================== */
.balkenliste { display: grid; gap: 34px; }

.balken-zeile { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: start; }
.balken-signet {
  width: 76px; height: 76px; display: grid; place-items: center;
  color: var(--accent);
}
/* Die Sinnbilder sind den Symbolen auf dem Flyer nachgezeichnet.
   stroke-width passt zur 48er Zeichenfläche in site.js. */
.balken-signet svg { width: 58px; height: 58px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Dasselbe Symbol im Kopf der jeweiligen Bereichsseite */
.hero-signet { color: var(--accent); margin-bottom: 14px; }
.hero-signet svg {
  width: 62px; height: 62px; stroke: currentColor; fill: none; stroke-width: 2;
}

.balken-titel {
  display: inline-block; margin-bottom: 14px;
  /* --accent-deep statt --accent: weiss auf den hellen Bereichsfarben
     erreichte nur 2,05:1 (Amber). Gleiche Farbfamilie, lesbar. */
  background: var(--accent-knopf); color: #fff;
  font-family: "Jost", sans-serif; font-weight: 500; letter-spacing: .03em;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.25;
  padding: 9px 26px; border-radius: 999px;
  text-decoration: none;
}
a.balken-titel { transition: background .2s, transform .15s; }
a.balken-titel:hover { background: var(--nacht); transform: translateX(3px); }
.balken-unter { font-size: 13.5px; color: var(--ink-fein); margin: -8px 0 12px; padding-left: 26px; }
.balken-punkte li {
  font-size: 16px; color: var(--ink-soft);
  padding-left: 26px; position: relative; margin-bottom: 6px;
}
.balken-punkte li::before {
  content: ""; position: absolute; left: 8px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
/* Deutlich sichtbarer Weg in den jeweiligen Bereich */
.balken-mehr {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 16px 0 0 26px; padding: 9px 20px;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  color: var(--accent-deep); border-radius: 999px;
  background: rgba(var(--accent-rgb), .10);
  border: 1.5px solid rgba(var(--accent-rgb), .32);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.balken-mehr:hover {
  background: var(--accent-knopf); border-color: var(--accent-knopf);
  color: #fff; transform: translateY(-2px);
}
.balken-mehr em { font-style: normal; transition: transform .2s; }
.balken-mehr:hover em { transform: translateX(4px); }

/* =============== 12  KURSE & TERMINE =============================== */
.kurse { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.kurs {
  display: flex; flex-direction: column;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  border-top: 4px solid var(--accent);
  transition: transform .18s ease, box-shadow .2s ease;
}
.kurs:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.kurs-kopf h3 { margin-bottom: 4px; }
.kurs-unter { font-size: 15px; color: var(--accent-deep); font-weight: 500; }
.kurs-text  { font-size: 15.5px; color: var(--ink-soft); margin: 16px 0 20px; flex: 1; }

.kurs-fakten {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.kurs-fakten dt {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em;
  color: var(--ink-fein); margin-bottom: 2px;
}
.kurs-fakten dd { font-size: 15px; font-weight: 500; }

.kurs-termine { margin: 18px 0 22px; }
.kurs-termine li {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line);
}
.kurs-termine li:last-child { border-bottom: 0; }
.kt-datum { font-weight: 600; min-width: 92px; }
.kt-zeit  { color: var(--ink-fein); flex: 1; }
.kurs-keintermin { font-size: 14.5px; color: var(--ink-fein); margin: 18px 0 22px; }
.kurs .btn { align-self: flex-start; }

.marke-status {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
.marke-status[data-status="frei"]       { background: rgba(47,95,166,.12);  color: #2F5FA6; }
.marke-status[data-status="wenige"]     { background: rgba(150,96,16,.15);  color: #966010; }
.marke-status[data-status="ausgebucht"] { background: rgba(22,17,58,.08);   color: var(--ink-fein); }

.terminliste li {
  display: flex; align-items: center; gap: 18px;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius-klein); padding: 14px 18px; margin-bottom: 10px;
}
.tl-tag {
  display: grid; place-items: center; min-width: 54px;
  border-right: 1px solid var(--line); padding-right: 14px; line-height: 1.1;
}
.tl-tag strong { font-family: "Jost", sans-serif; font-weight: 400; font-size: 24px; }
.tl-tag em { font-style: normal; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-fein); }
.tl-info { flex: 1; display: flex; flex-direction: column; }
.tl-info strong { font-weight: 600; font-size: 15.5px; }
.tl-info span   { font-size: 14px; color: var(--ink-fein); }

/* =============== 13  ABLAUFBAND ====================================
   Der vierstufige Ablauf auf dunklem Grund, mit dem Signet links –
   wie das Band am unteren Rand des Flyers.
   =================================================================== */
.ablaufband { background: var(--nacht); color: rgba(255,255,255,.8); padding: 0; }
.ablaufband .innen {
  display: grid; grid-template-columns: 150px 1fr; gap: 46px;
  align-items: center; padding: 66px 24px;
}
.ablaufband img { width: 132px; opacity: .95; }
.ablaufband h2 { color: #fff; margin-bottom: 8px; }
.ablaufband .eyebrow { color: rgba(255,255,255,.72); }
.ablauf-schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.ablauf-schritt { position: relative; padding-top: 22px; }
/* Der Markenverlauf läuft über alle Schritte hinweg: Schritt 1 beginnt
   links in Blau, der letzte endet rechts in Amber. Jeder Balken zeigt
   nur seinen Ausschnitt – Größe und Lage kommen aus site.js. */
.ablauf-schritt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 12px; height: 3px;
  border-radius: 2px; opacity: .9;
  background: var(--markenband);
  background-size: var(--balken-groesse, 100%) 100%;
  background-position: var(--balken-lage, 0) 0;
}
.ablauf-schritt strong {
  display: block; font-family: "Jost", sans-serif; font-weight: 500;
  letter-spacing: .04em; color: #fff; font-size: 17px; margin-bottom: 6px;
}
.ablauf-schritt span { font-size: 14.5px; color: rgba(255,255,255,.7); }
.ablauf-nr { font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.45); display: block; margin-bottom: 4px; }

/* =============== 14  KALENDER ====================================== */
.kalender-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start; }

[data-kalender] {
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.kal-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.kal-monat { font-size: 22px; font-weight: 400; letter-spacing: .06em; }
.kal-pfeil {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--weiss);
  font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.kal-pfeil:hover { background: var(--mist); border-color: var(--line-stark); }

.kal-wochentage, .kal-gitter { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.kal-wochentage span {
  text-align: center; font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-fein); padding-bottom: 8px;
}
.kal-tag {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  border: 0; background: none; font: inherit; font-size: 15px;
  color: var(--ink-fein); border-radius: var(--radius-klein);
}
.kal-tag.ist-heute { box-shadow: inset 0 0 0 1px var(--line-stark); font-weight: 600; }
.kal-tag.hat-termin {
  color: var(--ink); font-weight: 600; cursor: pointer;
  background: rgba(var(--accent-rgb), .07);
  transition: background .2s, transform .15s;
}
.kal-tag.hat-termin:hover { background: rgba(var(--accent-rgb), .16); transform: translateY(-1px); }
.kal-tag.gewaehlt { background: var(--accent-knopf); color: #fff; }
.kal-tag.gewaehlt .kal-punkt { background: #fff; }
.kal-leer { aspect-ratio: 1; }

.kal-punkt {
  width: 6px; height: 6px; border-radius: 50%;
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
}
.kal-punkt[data-status="frei"]       { background: #2F5FA6; }
.kal-punkt[data-status="wenige"]     { background: #C97C1B; }
.kal-punkt[data-status="ausgebucht"] { background: #9B97AC; }

.kal-legende {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-fein);
}
.kal-legende .kal-punkt { position: static; transform: none; margin-left: 12px; }
.kal-legende .kal-punkt:first-child { margin-left: 0; }

.kal-auswahl-titel { font-size: 21px; margin-bottom: 16px; }
.kal-slots li {
  background: var(--weiss); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  padding: 18px 20px; margin-bottom: 12px;
}
.slot-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slot-kopf strong { font-size: 16.5px; }
.slot-meta    { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.slot-bereich { font-size: 13px; color: var(--accent-deep); font-weight: 600; margin-top: 2px; }
.slot-voll    { font-size: 14px; color: var(--ink-fein); margin-top: 10px; }
.kal-slots .btn { margin-top: 14px; }

/* =============== 15  FORMULAR ====================================== */
.formular-block {
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
form { display: grid; gap: 18px; }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 16px; background: var(--weiss);
  border: 1.5px solid var(--line); border-radius: var(--radius-klein);
  transition: border-color .2s, box-shadow .2s;
}
select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%234A4566' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
  padding-right: 42px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .13);
}
/* Kein "outline: none" mehr: wer mit der Tastatur arbeitet, braucht den
   sichtbaren Rahmen aus der globalen :focus-visible-Regel. Mit der Maus
   bleibt es beim feinen Schein. */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-deep); outline-offset: 2px;
}
textarea { min-height: 150px; resize: vertical; }
.feld-notiz { font-size: 13px; color: var(--ink-fein); }

.gewaehlt-hinweis {
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: var(--radius-klein); padding: 12px 16px;
  font-size: 14.5px; color: var(--accent-deep);
}
.formular-rueck {
  background: rgba(47,95,166,.09); border: 1px solid rgba(47,95,166,.28);
  border-radius: var(--radius-klein); padding: 14px 18px; font-size: 14.5px; color: #2F5FA6;
}

.kontaktzeile { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 500; }
.kontaktzeile .ikon { margin-bottom: 0; flex: 0 0 46px; }
.kontaktzeile a { color: var(--accent-deep); text-decoration: none; }
.kontaktzeile a:hover { text-decoration: underline; }

/* =============== 16  HÖRPROBEN ===================================== */
.player {
  display: flex; align-items: center; gap: 18px;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.play {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--accent-knopf); color: #fff; transition: transform .15s;
}
.play:hover { transform: scale(1.07); }
.play svg { width: 19px; height: 19px; fill: #fff; }
.pmeta { flex: 1; min-width: 0; }
.pmeta strong { font-family: "Jost", sans-serif; font-weight: 500; letter-spacing: .04em; display: block; font-size: 16px; }
.ptrack { margin-top: 10px; height: 6px; border-radius: 3px; background: var(--mist); position: relative; cursor: pointer; }
.pfill  { position: absolute; inset: 0; width: 0; border-radius: 3px; background: var(--accent); }
.ptime  { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-fein); margin-top: 6px; }
.pfehlt { font-size: 13px; color: var(--accent-deep); margin-top: 6px; }
.player.ohne-datei .play { background: var(--ink-fein); }

/* =============== 17  ZITATE ======================================== */
.zitat { background: var(--weiss); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.zitat-marke {
  font-family: "Jost", sans-serif; font-size: 46px; line-height: .6;
  font-weight: 300; color: rgba(var(--accent-rgb), .45); display: block;
}
.zitat blockquote p { font-size: 15.5px; color: var(--ink-soft); margin: 16px 0; }
.zitat figcaption   { font-size: 13.5px; font-weight: 600; }

/* =============== 18  FUSSZEILE =====================================
   Aufbau wie die Flyer-Rückseite: Kontaktblock, Claim-Band im
   Markenverlauf, Bildstreifen, dunkles Band mit der Web-Adresse.
   =================================================================== */
footer.site { background: var(--nacht); color: rgba(255,255,255,.72); font-size: 15px; }

.fuss-kontakt { background: var(--mist); color: var(--ink); text-align: center; padding: 56px 0 48px; }
.fuss-kontakt img { width: 250px; margin: 0 auto 22px; }
.fuss-kontakt address { font-style: normal; font-size: 16.5px; line-height: 1.85; color: var(--ink-soft); }
.fuss-wege { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.fuss-kontakt address strong { color: var(--ink); font-weight: 600; }
/* :not(.btn) ist wichtig – sonst erbt der gefuellte Knopf die dunkle
   Schriftfarbe und steht dunkelblau auf Violett (Kontrast 2,2:1). */
.fuss-kontakt a:not(.btn) { color: var(--ink); text-decoration: none; }
.fuss-kontakt a:not(.btn):hover { text-decoration: underline; }

.claimband {
  /* Feiner dunkler Schleier ueber dem Verlauf: die Bandfarben bleiben
     erkennbar, die weisse Schrift kommt ueber 4,5:1. */
  background-image: linear-gradient(rgba(22,17,58,.42), rgba(22,17,58,.42)), var(--markenband);
  color: #fff; text-align: center;
  font-family: "Jost", sans-serif; letter-spacing: .3em; text-transform: uppercase;
  font-size: 13px; padding: 14px 24px; text-shadow: 0 1px 2px rgba(22,17,58,.22);
}

.fuss-navi { padding: 46px 0 0; }
.fuss {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 42px;
}
.fuss-marke img { height: 28px; width: auto; margin-bottom: 14px; }
.fuss .claim {
  font-family: "Jost", sans-serif; letter-spacing: .24em;
  text-transform: uppercase; font-size: 11px; color: rgba(255,255,255,.55);
}
.fuss-titel {
  font-size: 13px; text-transform: uppercase; letter-spacing: .18em;
  color: #fff; margin-bottom: 16px; font-weight: 400;
}
.fuss ul li { margin-bottom: 0; }
.fuss ul li a { display: inline-block; padding: 9px 0; }
.fuss a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.fuss a:hover { color: #fff; }
.fuss-schluss {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; padding-bottom: 38px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(255,255,255,.5);
}
.fuss-web { font-family: "Jost", sans-serif; letter-spacing: .22em; text-transform: lowercase; }

/* =============== 19  KLEINERE BILDSCHIRME ========================== */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 42px; }
  .klangmotiv { max-width: 320px; }
  .raster-3, .raster-4 { grid-template-columns: repeat(2, 1fr); }
  .bereiche { grid-template-columns: repeat(2, 1fr); }
  .doppel { grid-template-columns: 1fr; gap: 36px; }
  .kalender-layout { grid-template-columns: 1fr; }
  .kurse { grid-template-columns: 1fr; }
  .fuss { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ablaufband .innen { grid-template-columns: 1fr; gap: 28px; }
  .ablaufband img { width: 104px; }
  .ablauf-schritte { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------
   Handy und kleines Tablet
   Leitgedanke: außen weniger Rand, innen weniger Polster – dafür
   mehr Luft zwischen den Abschnitten. Auf einem schmalen Schirm
   summieren sich verschachtelte Abstände sonst so stark, dass für
   den Text kaum noch Breite übrig bleibt.
   --------------------------------------------------------------- */
@media (max-width: 820px) {
  body { font-size: 17px; line-height: 1.7; }
  .wrap { padding: 0 20px; }
  section { padding: 62px 0; }

  /* Überschriften etwas zurücknehmen, sonst zerbrechen sie in
     lauter Zweiwortzeilen */
  h1 { font-size: 31px; line-height: 1.25; }
  h2 { font-size: 26px; }
  .lead { font-size: 17.5px; }
  .abschnittskopf { margin-bottom: 34px; }

  /* Banner: schmalerer Farbstreifen gibt dem Text Platz zurück */
  .banner { padding: 46px 0 50px; }
  .banner::before { width: 15px; }
  .banner::after  { left: 15px; width: 11px; }
  .banner .wrap { padding-left: 46px; }
  .banner-logo { max-width: 100%; }
  .banner-text { margin-top: 26px; }
  .banner-text p { font-size: 17.5px; }
  /* Der hochkant stehende Claim braucht Streifenbreite, die hier
     fehlt – und er steht ohnehin im Logo darunter. */
  .banner-claim { display: none; }

  .nav > nav > ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: 0 18px 30px rgba(22,17,58,.08);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav > nav > ul.offen { display: flex; }
  .nav > nav > ul > li { width: 100%; }
  .nav > nav > ul > li > a { display: block; padding: 11px 0; font-size: 16px; }
  .nav a.btn { margin-top: 10px; text-align: center; }
  .menu-schalter { display: block; }

  /* Angebotsmenü klappt auf dem Handy einfach auf */
  .klapp-knopf { display: flex; width: 100%; padding: 11px 0; font-size: 16px; }
  .klapp-feld {
    position: static; transform: none; width: 100%;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; padding: 2px 0 6px 12px; grid-template-columns: 1fr; gap: 0;
    background: none;
  }
  .klapp-feld a { padding: 9px 8px; }
  .klapp-feld span.kf-text { display: none; }

  .raster-2, .raster-3, .raster-4, .bereiche, .feldreihe { grid-template-columns: 1fr; }
  .raster { gap: 16px; }
  .fuss { grid-template-columns: 1fr; gap: 26px; }
  .terminliste li { flex-wrap: wrap; }
  .claimband { letter-spacing: .2em; font-size: 11.5px; }

  /* Karten: weniger Innenpolster, damit der Text Luft bekommt */
  .karte, .kurs, .zitat, .player { padding: 24px 20px; }
  .formular-block { padding: 24px 20px; }
  [data-kalender] { padding: 18px 14px; }
  .kurs-fakten { grid-template-columns: 1fr 1fr; gap: 12px 16px; }

  .balkenliste { gap: 38px; }
  .balken-signet { width: 58px; height: 58px; }
  .balken-signet svg { width: 46px; height: 46px; }
  .balken-titel { font-size: 20px; padding: 11px 20px; }

  /* Kopfbereich der Bereichsseiten */
  .hero { padding: 50px 0 60px; }
  .klangmotiv { max-width: 230px; }
  .hero-signet svg { width: 52px; height: 52px; }

  /* Schaltflächen nebeneinander wirken auf schmalen Schirmen
     unruhig, wenn sie unterschiedlich breit umbrechen */
  .hero-aktionen, .banner-aktionen { gap: 10px; }
  .hero-aktionen .btn, .banner-aktionen .btn { flex: 1 1 auto; text-align: center; }

  .ablaufband .innen { padding: 52px 24px; }
  .ablauf-schritte { gap: 24px; }
  .fuss-kontakt { padding: 44px 0 40px; }
  .fuss-kontakt img { width: 210px; }
}

/* ---------------------------------------------------------------
   Nur Handy – hier wird es einspaltig.
   Auf dem Tablet ist für zwei Spalten noch Platz genug.
   --------------------------------------------------------------- */
@media (max-width: 620px) {
  .ablauf-schritte { grid-template-columns: 1fr; }

  /* Sinnbild über den Titel statt daneben – das gibt der
     Aufzählung die volle Breite */
  .balken-zeile { grid-template-columns: 1fr; gap: 12px; }
  .balken-signet { width: 46px; height: 46px; }
  .balken-unter { padding-left: 0; margin: -4px 0 12px; }
  .balken-punkte li { padding-left: 20px; }
  .balken-punkte li::before { left: 3px; }
  .balken-mehr { margin-left: 0; }
}

/* ---------------------------------------------------------------
   Sehr schmale Geräte (kleine Handys)
   --------------------------------------------------------------- */
@media (max-width: 480px) {
  .wrap { padding: 0 17px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .karte, .kurs, .zitat, .player, .formular-block { padding: 22px 17px; }
  /* Zwei Spalten wären hier nur noch je 120 px breit */
  .kurs-fakten { grid-template-columns: 1fr; gap: 14px; }
  /* 11px statt 8px: damit die Trefferflaeche am Handy ueber 44px kommt */
  .balken-titel { font-size: 18.5px; padding: 11px 17px; }
  .kal-tag { font-size: 14px; }
  [data-kalender] { padding: 16px 10px; }
  .kal-wochentage, .kal-gitter { gap: 4px; }
  .tl-tag { min-width: 46px; padding-right: 11px; }
  .fuss-wege .btn { flex: 1 1 100%; text-align: center; }
}

@media print {
  header.site, footer.site, .hero-aktionen, .banner-aktionen, .btn { display: none; }
  body { background: #fff; font-size: 12pt; }
}

/* ===================================================================
   17. BUCHUNG MIT BEZAHLUNG
   =================================================================== */

.slot-preis {
  font-size: 15px; font-weight: 600; color: var(--accent-deep);
  margin: 2px 0 10px;
}

[data-buchung] { margin-top: 34px; }

.buchung {
  background: var(--weiss);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 30px 32px 34px;
  display: grid; gap: 18px;
  max-width: 680px; margin: 0 auto;
  box-shadow: 0 14px 40px rgba(22,17,58,.07);
}
.buchung-titel { font-size: 22px; margin: 0; }

.buchung-termin {
  display: grid; gap: 3px;
  background: rgba(var(--accent-rgb), .07);
  border-radius: 10px; padding: 14px 18px;
}
.buchung-termin strong { font-size: 17px; }
.buchung-termin span { font-size: 15px; color: var(--ink-soft); }

.feld-hilfe, .feld-optional { font-size: 13px; color: var(--ink-fein); font-weight: 400; }
.feld-hilfe { display: block; margin-top: 5px; }

.buchung-zustimmung {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: start; font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft); cursor: pointer;
}
.buchung-zustimmung input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-deep); }
.buchung-zustimmung a { color: var(--accent-deep); text-decoration: underline; }

.buchung-widerruf {
  font-size: 13.5px; color: var(--ink-fein); line-height: 1.6;
  margin: -4px 0 0; padding-left: 30px;
}

/* Pflichtangaben unmittelbar über der Schaltfläche (§ 312j BGB) */
.buchung-summe {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; background: var(--mist);
  display: grid; gap: 8px;
}
.summe-zeile {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 15px; color: var(--ink-soft);
}
.summe-gesamt {
  border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.summe-gesamt span:last-child { font-variant-numeric: tabular-nums; }
.summe-steuer { font-size: 12.5px; color: var(--ink-fein); margin: 2px 0 0; }
.summe-pruefen {
  font-size: 13.5px; color: var(--ink-soft); margin: 0 0 4px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); line-height: 1.55;
}

.buchung-absenden { justify-self: stretch; text-align: center; font-size: 17px; padding: 15px 28px; }
.buchung-absenden:disabled { opacity: .6; cursor: progress; transform: none; }

.buchung-hinweis {
  font-size: 13.5px; color: var(--ink-fein); text-align: center;
  margin: -6px 0 0; line-height: 1.6;
}
.buchung-fehler {
  background: #FDECF1; border: 1px solid rgba(163,37,82,.3); color: #8A1F44;
  border-radius: 9px; padding: 13px 16px; font-size: 14.5px; margin: 0;
}

/* Rückmeldeseiten nach der Bezahlung */
.quittung {
  max-width: 620px; margin: 0 auto;
  background: var(--weiss); border: 1px solid var(--line);
  border-radius: 14px; padding: 36px 34px;
}
.quittung-zeile {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px;
}
.quittung-zeile:last-of-type { border-bottom: 0; }
.quittung-zeile dt { color: var(--ink-fein); }
.quittung-zeile dd { margin: 0; font-weight: 600; text-align: right; }

.zeichen-erfolg {
  width: 64px; height: 64px; margin: 0 auto 20px; display: block;
  color: var(--accent-deep);
}

@media (max-width: 620px) {
  .buchung { padding: 24px 20px 28px; border-radius: 12px; }
  .buchung-widerruf { padding-left: 0; }
}


/* ===================================================================
   18. NETZWERK
   =================================================================== */

.netzwerk-karte { display: grid; gap: 7px; align-content: start; }
.netzwerk-karte h3 { font-size: 18px; margin: 0; }

/* Partnerlogo oben in der Karte. Die Logos liegen auf Weiss, deshalb
   bekommt die Flaeche einen weissen Grund; "contain" sorgt dafuer, dass
   hoch- und querformatige Logos gleich gross wirken, ohne zu verzerren. */
.netzwerk-logo {
  margin: 0 0 4px; padding: 14px 18px;
  background: #fff; border-radius: 12px;
  border: 1px solid rgba(22,17,58,.07);
  display: flex; align-items: center; justify-content: center;
  min-height: 112px;
}
.netzwerk-logo img {
  display: block; width: 100%; height: auto;
  max-height: 84px; object-fit: contain;
  border: 0; padding: 0; background: none;
}

.netzwerk-rolle {
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-deep); margin: 0;
}
.netzwerk-text { font-size: 15px; color: var(--ink-soft); margin: 4px 0 0; }
.netzwerk-ort  { font-size: 13.5px; color: var(--ink-fein); margin: 0; }

.netzwerk-link {
  font-size: 14px; font-weight: 600; color: var(--accent-deep);
  margin-top: 6px; display: inline-flex; align-items: center; gap: 6px;
}
.netzwerk-link::after { content: "92"; transition: transform .15s; }
.netzwerk-link:hover::after { transform: translateX(3px); }


/* ===================================================================
   20. SHOP
   =================================================================== */

.artikel-karte { display: grid; gap: 8px; align-content: start; }
.artikel-bild {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px;
  margin-bottom: 6px; border: 0; padding: 0; background: var(--mist);
}
.artikel-karte h3 { font-size: 20px; margin: 0; }
.artikel-unter { font-size: 14px; font-weight: 600; color: var(--accent-deep); margin: 0; }
.artikel-text { font-size: 15px; color: var(--ink-soft); margin: 4px 0 0; }
.artikel-material { font-size: 13.5px; color: var(--ink-fein); margin: 0; }
.artikel-fuss {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line);
}
.artikel-preis { font-size: 22px; font-weight: 600; color: var(--ink); display: grid; }
.artikel-preis small { font-size: 12px; font-weight: 400; color: var(--ink-fein); }
.artikel-aus { font-size: 14px; font-weight: 600; color: var(--ink-fein); }
.artikel-knapp { font-size: 13px; color: var(--accent-deep); margin: 0; }

.bestellung { max-width: 760px; }
.korb { display: grid; gap: 10px; }
.korb-zeile {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center;
  padding: 12px 14px; background: rgba(var(--accent-rgb), .06); border-radius: 10px;
}
.korb-was { display: grid; gap: 2px; }
.korb-was strong { font-size: 16px; }
.korb-was span { font-size: 13.5px; color: var(--ink-soft); }
.korb-menge { display: inline-flex; align-items: center; gap: 4px; }
.korb-menge button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-stark);
  background: var(--weiss); font: inherit; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
}
.korb-menge button:disabled { opacity: .35; cursor: default; }
.korb-menge span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.korb-summe { font-weight: 600; min-width: 80px; text-align: right; font-variant-numeric: tabular-nums; }
.korb-entfernen {
  width: 44px; height: 44px; border: 0; background: none; font-size: 24px; line-height: 1;
  color: var(--ink-fein); cursor: pointer; border-radius: 50%;
}
.korb-entfernen:hover { color: #A32552; background: rgba(163,37,82,.08); }
.korb-leer { text-align: center; }
.bestellung input:disabled { background: var(--mist); color: var(--ink-soft); }

/* Rechtstexte mit Formular */
.widerruf-formular { margin-top: 10px; }

@media (max-width: 620px) {
  .korb-zeile { grid-template-columns: 1fr auto; }
  .korb-summe { grid-column: 1; text-align: left; }
  .korb-entfernen { grid-column: 2; grid-row: 1; }
}


/* ===================================================================
   21. ERGÄNZUNGEN NOVEMBER 2026
   =================================================================== */
.slot-hinweis { font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.5; }
.formular-rueck.ist-fehler {
  background: #FDECF1; border: 1px solid rgba(163,37,82,.3); color: #8A1F44;
  border-radius: 9px; padding: 13px 16px;
}

/* =============== 21b  MOTIV IM KOPF AUF HANDY UND TABLET ==========
   Sobald der Kopf einspaltig wird, stünde das Motiv sonst allein unter
   dem Text. Hier wird es zum zarten, weiter bewegten Hintergrund hinter
   der Überschrift, angeschnitten am rechten Rand. Der Farbschimmer
   zieht mit dorthin. Am PC (über 1080 px) bleibt alles unverändert. */
@media (max-width: 1080px) {
  .hero:has(> .wrap > .klangmotiv) {
    position: relative; isolation: isolate;
    background:
      radial-gradient(ellipse 80% 55% at 100% 4%, rgba(var(--accent-rgb), .13), transparent 72%);
  }
  .hero > .wrap > .klangmotiv {
    position: absolute; z-index: -1; pointer-events: none;
    top: 0; right: -64px;
    width: min(64vw, 340px); max-width: none; margin: 0;
    opacity: .24;
    -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
            mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  }
}
@media (max-width: 620px) {
  .hero > .wrap > .klangmotiv { width: 72vw; right: -22vw; top: -6px; opacity: .2; }
}

/* =============== 22  DUNKLE DARSTELLUNG ============================
   Gesteuert über data-theme am <html> (gesetzt von thema.js):
   Ohne eigene Wahl folgt die Seite der Einstellung des Geräts, mit
   dem Schalter in der Kopfzeile lässt sie sich festlegen.
   Nur am Bildschirm – gedruckt wird immer hell.

   Nicht einfach invertiert: Der Grund ist ein tiefes Nachtviolett aus
   der Markenfarbe, Schrift ein warmes Weiss. Die Bereichsfarben
   bekommen für Schrift hellere Stufen derselben Farbe, Schaltflächen
   behalten ihre satte Farbe mit weisser Schrift.
   =================================================================== */
::selection { background: rgba(var(--accent-rgb), .22); color: var(--ink); }
input, textarea, select { caret-color: var(--accent); }

@media screen {
  :root[data-theme="dunkel"] {
    color-scheme: dark;
    --ink:        #F1EEF8;
    --ink-soft:   #C9C4DA;
    --ink-fein:   #A9A3C0;
    --paper:      #13102A;
    --mist:       #1A1634;
    --weiss:      #211C40;
    --nacht:      #0B0919;
    --kopf:       rgba(19,16,42,.86);
    --line:       rgba(241,238,248,.10);
    --line-stark: rgba(241,238,248,.20);
    --schatten:      0 14px 34px rgba(0,0,0,.32);
    --schatten-hoch: 0 20px 46px rgba(0,0,0,.42);
    --accent-deep: #CDA2E2;
  }
  [data-theme="dunkel"] [data-farbe="marke"]   { --accent-deep:#CDA2E2; }
  [data-theme="dunkel"] [data-farbe="blau"]    { --accent-deep:#A4C3F3; }
  [data-theme="dunkel"] [data-farbe="indigo"]  { --accent-deep:#B4AEF0; }
  [data-theme="dunkel"] [data-farbe="violett"] { --accent-deep:#D9A6E6; }
  [data-theme="dunkel"] [data-farbe="magenta"] { --accent-deep:#F497B6; }
  [data-theme="dunkel"] [data-farbe="koralle"] { --accent-deep:#F6AE99; }
  [data-theme="dunkel"] [data-farbe="amber"]   { --accent-deep:#F4C786; }

  /* Fotos etwas zurücknehmen, damit sie nachts nicht blenden */
  [data-theme="dunkel"] img.bildflaeche { filter: brightness(.9) saturate(.95); }

  /* Logos mit dunkler Schrift: helle Fassung zeigen */
  [data-theme="dunkel"] .nur-hell  { display: none !important; }
  [data-theme="dunkel"] .nur-dunkel { display: block !important; }

  /* Hinweise, Fehler, Status: eigene Töne auf dunklem Grund */
  [data-theme="dunkel"] .formular-rueck {
    background: rgba(164,195,243,.10); border-color: rgba(164,195,243,.30); color: #B9D0F5;
  }
  [data-theme="dunkel"] .buchung-fehler,
  [data-theme="dunkel"] .formular-rueck.ist-fehler {
    background: rgba(244,151,182,.10); border-color: rgba(244,151,182,.34); color: #F7B3C9;
  }
  [data-theme="dunkel"] .marke-status[data-status="frei"]       { background: rgba(164,195,243,.14); color: #A4C3F3; }
  [data-theme="dunkel"] .marke-status[data-status="wenige"]     { background: rgba(244,199,134,.14); color: #F4C786; }
  [data-theme="dunkel"] .marke-status[data-status="ausgebucht"] { background: rgba(241,238,248,.08); }
  [data-theme="dunkel"] .kal-punkt[data-status="frei"]   { background: #7FA8EC; }
  [data-theme="dunkel"] .kal-punkt[data-status="wenige"] { background: #E9A64A; }
  [data-theme="dunkel"] .korb-entfernen:hover { color: #F497B6; background: rgba(244,151,182,.10); }

  /* Partnerlogos liegen auf Weiss – die helle Tafel bleibt, nur ohne Kante */
  [data-theme="dunkel"] .netzwerk-logo { border-color: transparent; }

  /* Zierbalken am Rand: im Dunkeln etwas präsenter */
  [data-theme="dunkel"] .dekor { opacity: .09; }

  /* Wechsel: Die neue Darstellung breitet sich kreisförmig vom Schalter
     aus (View Transitions, Steuerung in site.js). Browser ohne diese
     Technik schalten einfach sofort um. */
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
}

/* ---------- Sternenhimmel im Dunkelmodus ----------
   Eine feste Leinwand hinter allem (site.js zeichnet sie). Drei Tiefen:
   Nahe Sterne wandern beim Scrollen und mit der Maus etwas weiter als
   ferne – das ergibt den räumlichen Eindruck. Getönte Abschnitte werden
   im Dunkeln durchscheinend, damit der Himmel überall leise mitläuft. */
.sternenhimmel {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  width: 100%; height: 100%; opacity: 0;
  transition: opacity 1.2s ease;
}
@media screen {
  [data-theme="dunkel"] .sternenhimmel { opacity: 1; }
  [data-theme="dunkel"] section.getoent {
    background: linear-gradient(180deg,
      transparent 0, rgba(26,22,52,.4) 110px,
      rgba(26,22,52,.4) calc(100% - 110px), transparent 100%);
  }
  [data-theme="dunkel"] .banner {
    background:
      radial-gradient(ellipse 46% 70% at 88% 18%, rgba(246,165,76,.10), transparent 70%),
      radial-gradient(ellipse 40% 60% at 22% 90%, rgba(109,158,232,.12), transparent 70%),
      linear-gradient(180deg, rgba(33,28,64,.3), rgba(26,22,52,.45));
  }
  [data-theme="dunkel"] .welle { background: transparent; }
  [data-theme="dunkel"] .welle path { fill: rgba(26,22,52,.4); }
}
@media print { .sternenhimmel { display: none; } }

/* Gegenstücke für den Dunkelmodus sind sonst immer aus – auch im Druck */
.nur-dunkel { display: none !important; }

/* ---------- Der Schalter in der Kopfzeile ---------- */
.thema-schalter {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-stark); background: transparent;
  color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.thema-schalter:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.thema-schalter:active { transform: scale(.94); }
.thema-schalter svg {
  grid-area: 1 / 1; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
/* Hell: der Mond lädt zum Dunkeln ein. Dunkel: die Sonne zurück ins Helle. */
.thema-schalter .ikon-sonne { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dunkel"] .thema-schalter .ikon-sonne { opacity: 1; transform: none; }
[data-theme="dunkel"] .thema-schalter .ikon-mond  { opacity: 0; transform: rotate(90deg) scale(.5); }

@media (prefers-reduced-motion: reduce) {
  .thema-schalter * { transition: none !important; }
}
@media print { .thema-schalter { display: none; } }
