/* ============================================================
   docpit · Grund-Stylesheet (Stufe 1)
   Regeln 5.2: keine farbigen Ränder, Füllung + Schatten,
   Grundschrift >= 17 px, Klickflächen >= 44 px, ruhige Animationen.
   ============================================================ */

* { box-sizing: border-box; }

/* Das Attribut hidden muss jede display-Regel schlagen — sonst bleiben
   ausgefilterte Elemente sichtbar, weil Klassenselektoren dieselbe
   Spezifität haben wie [hidden]. */
[hidden] { display: none !important; }

html { font-size: var(--grund-groesse); }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--pflaume);
  background: var(--mandel-creme);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--aubergine); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.7rem; font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

a { color: var(--aegaeis-dunkel); }

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

/* ---------- Seitengerüst ---------- */
.seite {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 20px 64px;
}

/* ---------- Navigationsleiste (eine Quelle, auf jeder Seite) ---------- */
.nav-leiste {
  background: var(--weiss);
  box-shadow: var(--schatten-ruhe);
  padding: 7px 14px;
  display: flex;
  flex-wrap: wrap;            /* umbrechend, keine ausklappenden Menüs */
  gap: 5px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-marke {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--aubergine);
  text-decoration: none;
  padding: 8px 14px 8px 4px;
  display: inline-flex;
  align-items: center;
  min-height: var(--klick-min);
}

/* Uhr in der Leiste — Kalenderblatt und Zeit, führt auf die Startseite */
.nav-uhr {
  align-items: center;
  gap: 9px;
  padding: 2px 14px 2px 3px;
  border-radius: var(--radius-s);
}
.nav-uhr:hover { background: var(--mandel-creme); }

.blatt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  padding: 3px 0 4px;
  border-radius: 9px;
  background: linear-gradient(158deg, var(--blatt-oben) 0%, var(--blatt-unten) 100%);
  color: var(--weiss);
  line-height: 1;
}
.blatt-tag,
.blatt-monat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}
.blatt-zahl {
  font-size: 17px;
  font-weight: 800;
  margin: 1px 0;
  font-variant-numeric: tabular-nums;
}

.uhr-zeit {
  font-size: 1.22rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .012em;
  color: var(--aubergine);
}

@media (max-width: 620px) {
  .nav-uhr { gap: 8px; padding-right: 10px; }
  .blatt { width: 38px; border-radius: 8px; }
  .blatt-zahl { font-size: 16px; }
  .uhr-zeit { font-size: 1.16rem; }
}

.nav-glied {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 13px;
  font-size: .93rem;
  border-radius: var(--radius-pille);
  text-decoration: none;
  font-weight: 600;
  color: var(--pflaume);
  background: transparent;
  transition: background .25s, box-shadow .25s, color .25s;
}
.nav-glied:hover { background: var(--himbeere-fond); box-shadow: var(--schatten-ruhe); }
.nav-glied.aktiv { background: var(--himbeere); color: var(--weiss); box-shadow: var(--schatten-glut); }
.nav-abstand { flex: 1 1 auto; }
.nav-glied.abmelden { color: var(--lavendel-grau); }
.nav-glied.abmelden:hover { background: var(--rose-linie); color: var(--pflaume); }

/* ---------- Karten & Kacheln ---------- */
.box {
  background: var(--weiss);
  border-radius: var(--radius-m);
  box-shadow: var(--schatten-ruhe);
  padding: 26px;
}

.kachel-raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.kachel {
  display: block;
  background: var(--weiss);
  border-radius: var(--radius-m);
  box-shadow: var(--schatten-ruhe);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--pflaume);
  min-height: var(--klick-kern);
  transition: box-shadow .3s, transform .3s;
}
.kachel:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }
.kachel .kachel-titel {
  font-size: 1.05rem;         /* Kartentitel >= 17 px */
  font-weight: 700;
  color: var(--aubergine);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.kachel .kachel-symbol {
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex: 0 0 auto;
  color: var(--weiss);
}
.kachel p { margin: 0; color: var(--lavendel-grau); font-size: .95rem; }

/* Symbol-Fonds aus der Palette */
.fond-himbeere { background: var(--himbeere); }
.fond-flieder  { background: var(--flieder); }
.fond-aegaeis  { background: var(--aegaeis); }
.fond-tuerkis  { background: var(--tuerkis); }
.fond-salbei   { background: var(--salbei); }
.fond-aprikose { background: var(--aprikose); }
.fond-taubenblau { background: var(--taubenblau); }

/* ---------- Weisheit zum Tag ---------- */
.weisheit-buehne {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--weiss) 0%, var(--himbeere-fond) 100%);
  border-radius: var(--radius-l);
  box-shadow: var(--schatten-ruhe);
  padding: 44px 40px 36px;
  margin-bottom: 10px;
}
.weisheit-zone-zeichen {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 240px;
  height: 240px;
  opacity: .07;
  color: var(--aubergine);
  pointer-events: none;
}
.weisheit-zitat {
  font-size: clamp(1.35rem, 2.6vw, 2rem);   /* Originaltexte >= 21 px */
  font-weight: 600;
  color: var(--aubergine);
  margin: 0 0 18px;
  max-width: 21em;
}
.weisheit-person { font-weight: 700; color: var(--himbeere-dunkel); }
.weisheit-daten { color: var(--lavendel-grau); }
.weisheit-kontext { margin-top: 10px; color: var(--pflaume); max-width: 46em; }
.weisheit-aktionen { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Knöpfe (Füllung + Schatten, nie farbige Ränder) ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--klick-kern);
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-pille);
  font-family: var(--schrift);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, background .25s;
}
.knopf-primaer { background: var(--himbeere); color: var(--weiss); box-shadow: var(--schatten-ruhe); }
.knopf-primaer:hover { box-shadow: var(--schatten-glut); transform: translateY(-1px); }
.knopf-ruhig { background: var(--weiss); color: var(--aubergine); box-shadow: var(--schatten-ruhe); }
.knopf-ruhig:hover { box-shadow: var(--schatten-hover); }
.knopf:disabled { opacity: .5; cursor: default; box-shadow: none; transform: none; }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 600; color: var(--aubergine); margin-bottom: 6px; }
.eingabe {
  width: 100%;
  min-height: var(--klick-kern);
  padding: 12px 18px;
  font-family: var(--schrift);
  font-size: 1rem;
  color: var(--aubergine);
  background: var(--mandel-creme);
  border: 0;
  border-radius: var(--radius-s);
  outline: none;
}
/* Einzige Rand-Ausnahme: Fokus-Ring auf Eingabefeldern (Tastatur) */
.eingabe:focus-visible { outline: 3px solid var(--aegaeis); outline-offset: 2px; background: var(--weiss); }

/* ---------- Meldungen ---------- */
.meldung { border-radius: var(--radius-s); padding: 14px 18px; margin: 14px 0; font-weight: 600; }
.meldung-erfolg { background: var(--salbei-fond); color: #2C6146; }
.meldung-hinweis { background: var(--aprikose-fond); color: #8A5116; }
.meldung-fehler { background: var(--himbeere-fond); color: var(--himbeere-dunkel); }

/* ---------- Status-Pillen (Systemprüfung) ---------- */
.pruef-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rose-linie);
}
.pruef-zeile:last-child { border-bottom: 0; }
.pruef-name { font-weight: 700; color: var(--aubergine); min-width: 220px; }
.pruef-detail { color: var(--lavendel-grau); flex: 1 1 240px; }
.pille {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 16px;
  border-radius: var(--radius-pille);
  font-weight: 700;
  font-size: .92rem;
}
.pille-gut { background: var(--salbei-fond); color: #2C6146; }
.pille-warn { background: var(--aprikose-fond); color: #8A5116; }
.pille-fehlt { background: var(--himbeere-fond); color: var(--himbeere-dunkel); }

/* ---------- Anmeldeseite ---------- */
.anmelde-buehne {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.anmelde-box {
  width: 100%;
  max-width: 440px;
  background: var(--weiss);
  border-radius: var(--radius-l);
  box-shadow: var(--schatten-hover);
  padding: 40px 36px;
}
.anmelde-marke { font-size: 1.6rem; font-weight: 800; color: var(--aubergine); margin-bottom: 4px; }
.anmelde-unterzeile { color: var(--lavendel-grau); margin-bottom: 26px; }

/* ---------- Platzhalter (Module in Bau) ---------- */
.bau-hinweis { text-align: center; padding: 60px 20px; }
.bau-hinweis .bau-zeichen { font-size: 3rem; margin-bottom: 12px; }

/* ---------- Ruhe: dezente Bewegung, respektiert reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 480px) {
  .seite { padding: 14px 14px 48px; }
  .weisheit-buehne { padding: 30px 22px 28px; }
  .box { padding: 20px; }
}

/* ============================================================
   M2 · Sprache & Impulse
   ============================================================ */

.oberbox {
    background: var(--weiss);
    border-radius: var(--radius-l);
    box-shadow: var(--schatten-ruhe);
    padding: 22px;
    margin-top: 18px;
}

.bereiche {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.bereich-knopf {
    min-height: 54px;
    padding: 10px 26px;
    font-size: 19px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pille);
    background: var(--himbeere-fond);
    color: var(--himbeere-dunkel);
    cursor: pointer;
}
.bereich-knopf[aria-selected="true"] {
    background: var(--himbeere);
    color: #fff;
    box-shadow: var(--schatten-glut);
}

.fahnenreihe {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 0 14px;
}
.fahne {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    padding: 3px;
    transition: transform .15s ease;
}
.fahne img { display: block; border-radius: 50%; }
.fahne[aria-pressed="true"] {
    transform: scale(1.22);
    filter: drop-shadow(0 4px 10px rgba(199, 61, 106, .45));
}
@media (prefers-reduced-motion: reduce) {
    .fahne { transition: none; }
}

.steuerzeile {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: flex-end;
    padding-bottom: 12px;
}
.schalter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.schalter-name {
    display: block;
    width: 100%;
    font-size: 15px;
    color: var(--pflaume);
    margin-bottom: 2px;
}
.schalter-knopf {
    min-height: 44px;
    min-width: 52px;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pille);
    background: var(--aprikose-fond);
    color: var(--pflaume);
    cursor: pointer;
}
.schalter-knopf[aria-pressed="true"] {
    background: var(--aegaeis);
    color: #fff;
    box-shadow: 0 3px 10px rgba(48, 130, 184, .4);
}
.namefeld input {
    min-height: 44px;
    font-size: 17px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-s);
    background: var(--mandel-creme);
    box-shadow: inset 0 1px 3px rgba(44, 35, 64, .12);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.chip {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-pille);
    background: var(--salbei-fond);
    color: var(--taubenblau);
    cursor: pointer;
}
.chip[aria-pressed="true"] {
    background: var(--salbei);
    color: #fff;
    box-shadow: 0 3px 10px rgba(79, 165, 114, .4);
}

.lade-hinweis { font-size: 17px; color: var(--pflaume); }

.sk-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    align-items: start;
    margin-top: 10px;
}
.sk {
    background: var(--mandel-creme);
    border-radius: var(--radius-m);
    box-shadow: var(--schatten-ruhe);
    overflow: hidden;
}
.sk-titel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--aubergine);
    cursor: pointer;
}
.sk-pfeil::before { content: "\25BE"; font-size: 20px; color: var(--himbeere); }
.sk-titel[aria-expanded="true"] .sk-pfeil::before { content: "\25B4"; }
.sk-inhalt { padding: 0 18px 18px; }

.sk-ziel {
    font-size: 22px;
    line-height: 1.5;
    color: var(--aubergine);
    margin: 6px 0 10px;
}
.sk-etikett {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lavendel-grau);
    margin: 10px 0 2px;
}
.sk-aussprache {
    font-size: 19px;
    color: var(--aegaeis-dunkel);
    margin: 2px 0 8px;
}
.sk-person { font-size: 16px; font-weight: 600; color: var(--pflaume); margin: 10px 0 4px; }
.sk-info { font-size: 16px; line-height: 1.55; color: var(--pflaume); margin: 4px 0; }

.antworten {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--rose-linie);
}
.antwort { margin-bottom: 10px; }
.antwort-titel { font-size: 16px; font-weight: 600; color: var(--aubergine); margin: 4px 0 2px; }

.kulturkasten {
    margin-top: 22px;
    background: var(--aprikose-fond);
    border-radius: var(--radius-m);
    box-shadow: var(--schatten-ruhe);
    padding: 18px 22px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--aubergine);
}
.kultur-titel { font-size: 19px; margin: 0 0 8px; color: var(--himbeere-dunkel); }

.meldung-hinweis {
    background: var(--aprikose-fond);
    color: var(--aubergine);
}
.sk-gloss { font-size: 15px; font-style: italic; color: var(--lavendel-grau); margin: 0 0 8px; }

.pruef-tabelle { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 17px; }
.pruef-tabelle th, .pruef-tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rose-linie); }
.pruef-tabelle th { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--lavendel-grau); }

.seitenfuss {
    max-width: 1180px;
    margin: 34px auto 22px;
    padding: 0 22px;
    font-size: 15px;
    color: var(--lavendel-grau);
    text-align: right;
}

/* ============================================================
   M3 · Spruch-Karten und Vollbild
   Farbwelt wie die Weisheits-Bühne der Startseite: sanfter
   Verlauf von Weiß in einen zarten Zonenton, dunkle Schrift.
   ============================================================ */

.seiten-lead { font-size: 17px; color: var(--pflaume); max-width: 62em; line-height: 1.6; }
.suchfeld input {
    min-height: 44px;
    min-width: 220px;
    font-size: 17px;
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-s);
    background: var(--mandel-creme);
    box-shadow: inset 0 1px 3px rgba(44, 35, 64, .12);
}
.treffer { font-size: 15px; color: var(--lavendel-grau); margin-left: auto; align-self: center; }
.chip-zahl { opacity: .7; font-variant-numeric: tabular-nums; }

.spruch-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 12px;
    margin-top: 16px;
    align-items: start;
}

.spruch {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-m);
    box-shadow: var(--schatten-ruhe);
    color: var(--aubergine);
    background-color: var(--weiss);
    transition: transform .16s ease, box-shadow .16s ease;
}
.spruch { cursor: pointer; }
.spruch:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
.spruch:focus-within { box-shadow: var(--schatten-hover); }

.spruch-flaeche {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
    min-height: 132px;
    padding: 15px 17px 10px;
    text-align: left;
    color: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.spruch-zone {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lavendel-grau);
}
.spruch-text {
    font-size: 16px;
    line-height: 1.38;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.spruch-fuss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 17px 13px;
}
.spruch-person { font-size: 13px; color: var(--pflaume); }
.spruch-mehr {
    flex: none;
    min-height: 30px;
    padding: 3px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--pflaume);
    background: rgba(44, 35, 64, .07);
    border: none;
    border-radius: var(--radius-pille);
    cursor: pointer;
}
.spruch-mehr:hover, .spruch-mehr:focus-visible { background: rgba(44, 35, 64, .14); }
.spruch-details {
    padding: 0 17px 15px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--pflaume);
}
.details-daten { margin: 0 0 6px; font-weight: 600; }
.details-kontext { margin: 0; }

/* Zonen-Verläufe: Weiß in den zarten Zonenton */
.zone-heute         { background-image: linear-gradient(135deg, var(--zone-heute-a) 0%, var(--zone-heute-b) 100%); }
.zone-eingangstor   { background-image: linear-gradient(135deg, var(--zone-eingangstor-a) 0%, var(--zone-eingangstor-b) 100%); }
.zone-ich-bin-genug { background-image: linear-gradient(135deg, var(--zone-ich-bin-genug-a) 0%, var(--zone-ich-bin-genug-b) 100%); }
.zone-hoffnung-weg  { background-image: linear-gradient(135deg, var(--zone-hoffnung-weg-a) 0%, var(--zone-hoffnung-weg-b) 100%); }
.zone-wir           { background-image: linear-gradient(135deg, var(--zone-wir-a) 0%, var(--zone-wir-b) 100%); }
.zone-praxis        { background-image: linear-gradient(135deg, var(--zone-praxis-a) 0%, var(--zone-praxis-b) 100%); }

/* ---------- Vollbild ---------- */
body.vollbild-an { overflow: hidden; }
.vollbild {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mandel-creme);
}
.vollbild-karte {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vmin 4vw;
    color: var(--aubergine);
    background-color: var(--weiss);
}

/* Der Spruch nutzt die Breite des Bildschirms */
.vollbild-inhalt {
    width: 80vw;
    max-width: 80vw;
    text-align: center;
    transition: opacity .5s ease;
}
.vollbild-situation {
    font-size: clamp(16px, 1.6vw, 26px);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lavendel-grau);
    margin: 0 0 3vmin;
}
/* Schriftgröße folgt der Textlänge, damit die Fläche gefüllt wird */
.vollbild-text {
    line-height: 1.2;
    font-weight: 600;
    margin: 0;
    text-wrap: balance;
    font-size: clamp(30px, 4.4vw, 76px);
}
.vollbild-text.laenge-kurz   { font-size: clamp(40px, 7.4vw, 132px); line-height: 1.14; }
.vollbild-text.laenge-mittel { font-size: clamp(32px, 5vw, 92px); }
.vollbild-text.laenge-lang   { font-size: clamp(24px, 3.1vw, 54px); line-height: 1.32; }
.vollbild-person {
    font-size: clamp(16px, 1.7vw, 28px);
    margin: 5vmin 0 0;
    color: var(--pflaume);
}
.vollbild-daten {
    font-size: clamp(14px, 1.3vw, 20px);
    margin: .8vmin 0 0;
    color: var(--lavendel-grau);
}
.vollbild-kontext {
    font-size: clamp(14px, 1.3vw, 20px);
    line-height: 1.5;
    margin: 2.4vmin auto 0;
    max-width: 44em;
    color: var(--lavendel-grau);
}
.vollbild-kontext:empty { display: none; }

.vollbild-leiste {
    position: absolute;
    left: 50%;
    bottom: 3vmin;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-pille);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--schatten-ruhe);
    transition: opacity .5s ease;
}
.vollbild-leiste.ruht { opacity: 0; pointer-events: none; }
.vollbild-leiste:hover, .vollbild-leiste:focus-within { opacity: 1; }
.vb-knopf {
    min-width: 54px;
    min-height: 54px;
    font-size: 20px;
    font-family: inherit;
    color: var(--pflaume);
    background: rgba(44, 35, 64, .07);
    border: none;
    border-radius: var(--radius-pille);
    cursor: pointer;
}
.vb-knopf:hover, .vb-knopf:focus-visible { background: rgba(44, 35, 64, .16); }

/* Bewegungen */
@keyframes vb-sanft { from { opacity: 0; transform: translateY(2.5vmin); } to { opacity: 1; transform: none; } }
.bewegt-sanft { animation: vb-sanft .6s ease both; }

.pruef-tabelle { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 17px; }
.pruef-tabelle th, .pruef-tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rose-linie); }
.pruef-tabelle th { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--lavendel-grau); }

.seitenfuss {
    max-width: 1180px;
    margin: 34px auto 22px;
    padding: 0 22px;
    font-size: 15px;
    color: var(--lavendel-grau);
    text-align: right;
}

@media (max-width: 700px) {
    .vollbild-inhalt { width: 88vw; max-width: 88vw; }
    .vollbild-karte { padding: 6vmin 5vw; }
}

@media (prefers-reduced-motion: reduce) {
    .spruch { transition: none; }
    .bewegt-sanft { animation: none; }
    .vollbild-inhalt { transition: none; }
}

/* ============================================================
   M4 · Rundenplaner
   ============================================================ */

.planer-spalten { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.1fr); gap: 26px; }
.planer-namen textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    color: var(--aubergine);
    background: var(--mandel-creme);
    border: none;
    border-radius: var(--radius-s);
    box-shadow: inset 0 1px 3px rgba(44, 35, 64, .12);
    resize: vertical;
}
.feld-hinweis { font-size: 14px; color: var(--lavendel-grau); margin: 6px 0 0; line-height: 1.5; }

.planer-regler fieldset { border: none; padding: 0; margin: 0 0 18px; }
.planer-regler legend { font-size: 15px; font-weight: 600; color: var(--pflaume); padding: 0 0 8px; }
.wahl { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px;
        background: var(--mandel-creme); border-radius: var(--radius-s); cursor: pointer; }
.wahl input { margin-top: 4px; }
.wahl .feld-hinweis { margin: 2px 0 0; }

.feld-reihe { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.feld-reihe label { display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--pflaume); }
.feld-reihe input, .feld-reihe select {
    min-height: 44px; padding: 6px 12px; font: inherit; font-size: 16px;
    color: var(--aubergine); background: var(--mandel-creme);
    border: none; border-radius: var(--radius-s);
    box-shadow: inset 0 1px 3px rgba(44, 35, 64, .12);
}

.ergebnis-kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ergebnis-kopf h2 { margin: 0; }
.ergebnis-zahlen { font-size: 15px; color: var(--lavendel-grau); margin: 4px 0 16px; }
.tag-titel { margin: 26px 0 8px; font-size: 19px; color: var(--pflaume); }

.plan-tabelle { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 8px; }
.plan-tabelle th {
    text-align: left; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--lavendel-grau); padding: 8px 10px; border-bottom: 1px solid var(--rose-linie);
}
.plan-tabelle td { padding: 10px; border-bottom: 1px solid var(--rose-linie); vertical-align: top; }
.zelle-zeit { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--pflaume); }
.zelle-nummer { text-align: center; font-weight: 600; width: 4em; }
.zelle-aussetzer { color: var(--lavendel-grau); white-space: nowrap; }
.zeile-pause td { background: var(--mandel-creme); color: var(--lavendel-grau); font-size: 15px; }
.paar { display: inline-block; margin: 0 14px 6px 0; }
.paar-raum {
    display: inline-block; margin-right: 6px; padding: 1px 8px;
    font-size: 13px; color: var(--pflaume);
    background: rgba(44, 35, 64, .07); border-radius: var(--radius-pille);
}

.zettel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.zettel { padding: 14px 16px; background: var(--mandel-creme); border-radius: var(--radius-s); break-inside: avoid; }
.zettel h3 { margin: 0 0 8px; font-size: 17px; }
.zettel ol { margin: 0; padding-left: 1.3em; font-size: 15px; line-height: 1.7; }
.zettel-zeit { font-variant-numeric: tabular-nums; color: var(--pflaume); margin-right: 6px; }
.zettel-raum { color: var(--lavendel-grau); font-size: 14px; margin-left: 6px; }
.zettel-tag { font-size: 13px; color: var(--lavendel-grau); }

@media (max-width: 760px) {
    .planer-spalten { grid-template-columns: 1fr; }
}

/* ---------- Druckausgabe ---------- */
@media print {
    .nav-leiste, .planer-eingabe, .seitenfuss, .nicht-drucken, .hoch-knopf { display: none !important; }
    body { background: #fff; color: #000; }
    .box { box-shadow: none; padding: 0; margin: 0 0 14px; background: #fff; }
    h1 { font-size: 20pt; margin: 0 0 4pt; }
    h2 { font-size: 15pt; }
    .seiten-lead, .ergebnis-zahlen { font-size: 9pt; color: #444; }
    .plan-tabelle { font-size: 10pt; page-break-inside: auto; }
    .plan-tabelle tr { page-break-inside: avoid; }
    .plan-tabelle th, .plan-tabelle td { border-bottom: 1px solid #bbb; padding: 5pt 6pt; }
    .zeile-pause td { background: #f3f3f3; }
    .paar-raum { background: #eee; }
    .planer-zettel { page-break-before: always; }
    .zettel-raster { grid-template-columns: 1fr 1fr; gap: 10pt; }
    .zettel { background: #fff; border: 1px solid #bbb; padding: 8pt 10pt; }
    @page { margin: 14mm; }
}

.zelle-metime { white-space: nowrap; color: var(--pflaume); }
.zettel li.ist-metime { color: var(--pflaume); font-style: italic; }

/* Planungsübersicht */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
              gap: 12px; margin: 14px 0 18px; }
.kennzahl { padding: 12px 14px; background: var(--mandel-creme); border-radius: var(--radius-s); }
.kennzahl.passt { background: linear-gradient(135deg, var(--weiss), var(--zone-hoffnung-weg-b)); }
.kennzahl.knapp { background: linear-gradient(135deg, var(--weiss), var(--zone-heute-b)); }
.kz-wert { display: block; font-size: 24px; font-weight: 600; color: var(--aubergine);
           font-variant-numeric: tabular-nums; }
.kz-name { display: block; font-size: 13px; color: var(--lavendel-grau); margin-top: 3px; line-height: 1.4; }

.auswege { margin: 18px 0 8px; }
.auswege h3 { margin: 0 0 4px; font-size: 18px; }
.ausweg-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
                gap: 10px; margin-top: 12px; }
.ausweg { margin: 0; }
.ausweg button {
    display: block; width: 100%; text-align: left; cursor: pointer;
    padding: 12px 14px; font-family: inherit;
    background: var(--weiss); border: 1px solid var(--rose-linie);
    border-radius: var(--radius-s); box-shadow: var(--schatten-ruhe);
}
.ausweg button:hover { box-shadow: var(--schatten-hover); }
.ausweg-was { display: block; font-size: 14px; color: var(--lavendel-grau); }
.ausweg-wert { display: block; font-size: 17px; font-weight: 600; color: var(--aubergine); margin: 2px 0; }
.ausweg-ende { display: block; font-size: 13px; color: var(--pflaume); font-variant-numeric: tabular-nums; }

@media print { .auswege, .kennzahl.knapp { display: none; } }

.ausgabe-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.ausgabe-knoepfe form { margin: 0; }

/* ============================================================
   M8 · Bildkarten verwalten
   ============================================================ */

.bk-form .feld-reihe { align-items: flex-end; }
.bk-form input[type="text"], .bk-bearbeiten input[type="text"] {
    min-height: 44px; padding: 6px 12px; font: inherit; font-size: 16px;
    color: var(--aubergine); background: var(--mandel-creme);
    border: none; border-radius: var(--radius-s);
    box-shadow: inset 0 1px 3px rgba(44, 35, 64, .12);
}
.bk-form input[type="file"], .bk-bearbeiten input[type="file"] { font-size: 14px; max-width: 210px; }

.bk-liste { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.bk-zeile {
    display: grid;
    grid-template-columns: 176px minmax(220px, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 14px;
    background: var(--mandel-creme);
    border-radius: var(--radius-m);
}
.bk-zeile.ist-verborgen { opacity: .55; }
.bk-vorschau {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9; overflow: hidden;
    background: linear-gradient(152deg,
        var(--bildgrund-1) 0%, var(--bildgrund-2) 52%, var(--bildgrund-3) 100%);
    border-radius: var(--radius-s);
}
.bk-vorschau img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bk-ohne { font-size: 14px; color: var(--lavendel-grau); }
.bk-bearbeiten { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.bk-zeile-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bk-haken { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--pflaume); }
.bk-ordnen { display: flex; flex-direction: column; gap: 6px; }
.bk-ordnen form { margin: 0; }
.bk-ordnen .knopf { width: 100%; }
.knopf-warnung { color: #8A2F3F; }

@media (max-width: 760px) {
    .bk-zeile { grid-template-columns: 1fr; }
    .bk-ordnen { flex-direction: row; }
}

/* ============================================================
   M8 · Bildkarten in Übersicht und Vollbild
   Kräftiger Kontrast und ruhige Flächen, weil die Anzeige über
   eine Bildschirmfreigabe läuft: feine Töne und Bewegung gehen
   in der Übertragung verloren.
   ============================================================ */

.zone-bildkarten { background-image: linear-gradient(135deg, var(--zone-bildkarten-a) 0%, var(--zone-bildkarten-b) 100%); }

.ist-bildkarte .spruch-flaeche { gap: 10px; min-height: auto; padding: 12px 14px 10px; }
.bk-box-bild {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
    background: linear-gradient(152deg,
        var(--bildgrund-1) 0%, var(--bildgrund-2) 52%, var(--bildgrund-3) 100%);
    border-radius: var(--radius-s);
}
.bk-box-bild img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bk-box-spruch { -webkit-line-clamp: 2; font-size: 17px; }

/* ---- Vollbild ---- */
.vollbild-bild {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(152deg,
        var(--bildgrund-1) 0%, var(--bildgrund-2) 52%, var(--bildgrund-3) 100%);
    border-radius: var(--radius-m);
    box-shadow: 0 2px 18px rgba(44, 35, 64, .07);
    padding: 2vmin;
}
.vollbild-bild img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }


/* ============================================================
   M8 · Darstellung der Bildkarten im Vollbild
   Zwei Fälle: freigestellte Bilder setzen unten auf der Fläche
   auf, vollflächige füllen das Bild und geben dem Text einen
   dunklen Verlauf als Grund — sonst ist er über eine
   Bildschirmfreigabe nicht lesbar.
   ============================================================ */

.vollbild.ist-bildkarte .vollbild-karte {
    background: linear-gradient(158deg, var(--buehne-1) 0%, var(--buehne-2) 100%);
    padding: 0;
}
.vollbild.ist-bildkarte .vollbild-person,
.vollbild.ist-bildkarte .vollbild-daten { display: none; }

/* ---------- freigestellt: Bild steht auf der Fläche ---------- */
.vollbild.stil-freigestellt .vollbild-inhalt {
    display: grid;
    gap: 3vw;
    width: 92vw; max-width: 92vw;
    height: 84vh;
    text-align: left;
}
.vollbild.stil-freigestellt .vollbild-bild {
    align-self: end;
    justify-self: center;
    height: 100%;
    background: none; box-shadow: none; padding: 0;
    align-items: flex-end;
}
.vollbild.stil-freigestellt .vollbild-bild img {
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
}
.vollbild.stil-freigestellt .vollbild-text {
    font-size: clamp(28px, 3.5vw, 60px) !important;
    line-height: 1.16;
    font-weight: 700;
    color: var(--aubergine);
}
.vollbild.stil-freigestellt .vollbild-kontext {
    margin: 0; max-width: 100%;
    font-size: clamp(15px, 1.4vw, 22px);
    color: var(--pflaume);
}

/* Text links, Bild rechts */
.vollbild.stil-freigestellt.lage-links .vollbild-inhalt {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
    align-items: end;
}
.vollbild.stil-freigestellt.lage-links .vollbild-bild { grid-column: 2; grid-row: 1 / span 2; }
.vollbild.stil-freigestellt.lage-links .vollbild-text { grid-column: 1; grid-row: 1; align-self: end; }
.vollbild.stil-freigestellt.lage-links .vollbild-kontext { grid-column: 1; grid-row: 2; align-self: start; }

/* Text rechts, Bild links */
.vollbild.stil-freigestellt.lage-rechts .vollbild-inhalt {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    align-items: end;
}
.vollbild.stil-freigestellt.lage-rechts .vollbild-bild { grid-column: 1; grid-row: 1 / span 2; }
.vollbild.stil-freigestellt.lage-rechts .vollbild-text { grid-column: 2; grid-row: 1; align-self: end; }
.vollbild.stil-freigestellt.lage-rechts .vollbild-kontext { grid-column: 2; grid-row: 2; align-self: start; }

/* Text oben, Bild darunter — beides waagerecht mittig */
.vollbild.stil-freigestellt.lage-oben .vollbild-inhalt {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 1.4vh;
    text-align: center;
}
.vollbild.stil-freigestellt.lage-oben .vollbild-text { grid-row: 1; }
.vollbild.stil-freigestellt.lage-oben .vollbild-kontext { grid-row: 2; }
.vollbild.stil-freigestellt.lage-oben .vollbild-bild { grid-row: 3; min-height: 0; }

/* Fällt keine Lage an, wie bei links verfahren */
.vollbild.stil-freigestellt:not(.lage-links):not(.lage-rechts):not(.lage-oben) .vollbild-inhalt {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
    align-items: end;
}
.vollbild.stil-freigestellt:not(.lage-links):not(.lage-rechts):not(.lage-oben) .vollbild-bild {
    grid-column: 2; grid-row: 1 / span 2;
}

/* ---------- vollflächig: Bild füllt, Text bekommt Grund ---------- */
.vollbild.stil-vollflaechig .vollbild-karte { padding: 0; }
.vollbild.stil-vollflaechig .vollbild-inhalt {
    position: relative;
    display: block;
    width: 100vw; max-width: 100vw;
    height: 100vh;
}
.vollbild.stil-vollflaechig .vollbild-bild {
    position: absolute; inset: 0; height: 100%;
    background: none; box-shadow: none; padding: 0; border-radius: 0;
}
.vollbild.stil-vollflaechig .vollbild-bild img { width: 100%; height: 100%; object-fit: cover; }

/* Lesbarkeitsschutz — läuft jeweils von der Textseite ein */
.vollbild.stil-vollflaechig .vollbild-inhalt::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg,
        rgba(24, 18, 34, .82) 0%, rgba(24, 18, 34, .68) 26%,
        rgba(24, 18, 34, .18) 52%, rgba(24, 18, 34, 0) 72%);
}
.vollbild.stil-vollflaechig.lage-rechts .vollbild-inhalt::after {
    background: linear-gradient(260deg,
        rgba(24, 18, 34, .82) 0%, rgba(24, 18, 34, .68) 26%,
        rgba(24, 18, 34, .18) 52%, rgba(24, 18, 34, 0) 72%);
}
.vollbild.stil-vollflaechig.lage-oben .vollbild-inhalt::after {
    background: linear-gradient(180deg,
        rgba(24, 18, 34, .86) 0%, rgba(24, 18, 34, .62) 22%,
        rgba(24, 18, 34, .16) 44%, rgba(24, 18, 34, 0) 62%);
}
.vollbild.stil-vollflaechig.lage-unten .vollbild-inhalt::after {
    background: linear-gradient(0deg,
        rgba(24, 18, 34, .86) 0%, rgba(24, 18, 34, .62) 22%,
        rgba(24, 18, 34, .16) 44%, rgba(24, 18, 34, 0) 62%);
}
.vollbild.stil-vollflaechig.lage-mitte .vollbild-inhalt::after {
    background: radial-gradient(ellipse 62% 46% at 50% 50%,
        rgba(24, 18, 34, .80) 0%, rgba(24, 18, 34, .62) 42%,
        rgba(24, 18, 34, .28) 72%, rgba(24, 18, 34, .06) 100%);
}

.vollbild.stil-vollflaechig .vollbild-text,
.vollbild.stil-vollflaechig .vollbild-kontext {
    position: absolute; z-index: 2;
    color: var(--weiss);
    text-shadow: 0 1px 12px rgba(16, 12, 24, .5);
}
.vollbild.stil-vollflaechig .vollbild-text {
    font-size: clamp(30px, 3.8vw, 66px) !important;
    line-height: 1.14;
    font-weight: 700;
}
.vollbild.stil-vollflaechig .vollbild-kontext {
    margin: 0;
    font-size: clamp(15px, 1.4vw, 22px);
    color: rgba(255, 255, 255, .88);
}

/* seitlich: senkrecht mittig */
.vollbild.stil-vollflaechig.lage-links .vollbild-text,
.vollbild.stil-vollflaechig:not(.lage-rechts):not(.lage-oben):not(.lage-unten):not(.lage-mitte) .vollbild-text {
    left: 6vw; top: 50%; transform: translateY(-50%);
    max-width: 42vw; text-align: left;
}
.vollbild.stil-vollflaechig.lage-links .vollbild-kontext,
.vollbild.stil-vollflaechig:not(.lage-rechts):not(.lage-oben):not(.lage-unten):not(.lage-mitte) .vollbild-kontext {
    left: 6vw; top: 50%; transform: translateY(calc(-50% + 12vh));
    max-width: 40vw; text-align: left;
}
.vollbild.stil-vollflaechig.lage-rechts .vollbild-text {
    right: 6vw; top: 50%; transform: translateY(-50%);
    max-width: 42vw; text-align: right;
}
.vollbild.stil-vollflaechig.lage-rechts .vollbild-kontext {
    right: 6vw; top: 50%; transform: translateY(calc(-50% + 12vh));
    max-width: 40vw; text-align: right;
}

/* oben und unten: waagerecht mittig */
.vollbild.stil-vollflaechig.lage-oben .vollbild-text {
    left: 6vw; right: 6vw; top: 9vh; max-width: none; text-align: center;
}
.vollbild.stil-vollflaechig.lage-oben .vollbild-kontext {
    left: 6vw; right: 6vw; top: 24vh; max-width: none; text-align: center;
}
.vollbild.stil-vollflaechig.lage-unten .vollbild-text {
    left: 6vw; right: 6vw; bottom: 13vh; max-width: none; text-align: center;
}
.vollbild.stil-vollflaechig.lage-unten .vollbild-kontext {
    left: 6vw; right: 6vw; bottom: 7vh; max-width: none; text-align: center;
}

/* mittig in beiden Richtungen */
.vollbild.stil-vollflaechig.lage-mitte .vollbild-text {
    left: 8vw; right: 8vw; top: 50%; transform: translateY(-50%);
    max-width: none; text-align: center;
}
.vollbild.stil-vollflaechig.lage-mitte .vollbild-kontext {
    left: 8vw; right: 8vw; top: 50%; transform: translateY(calc(-50% + 11vh));
    max-width: none; text-align: center;
}

/* ---------- ohne Spruch: nur das Bild ---------- */
.vollbild.ist-bildkarte.nur-bild .vollbild-inhalt::after { display: none; }
.vollbild.ist-bildkarte.nur-bild .vollbild-text,
.vollbild.ist-bildkarte.nur-bild .vollbild-kontext { display: none; }
.vollbild.stil-freigestellt.nur-bild .vollbild-inhalt {
    grid-template-columns: 1fr !important;
    width: 94vw; max-width: 94vw;
}
.vollbild.stil-freigestellt.nur-bild .vollbild-bild { grid-column: 1 !important; grid-row: 1 !important; }
.ist-bildkarte .bk-box-spruch:empty { display: none; }

@media (max-width: 860px) {
    .vollbild.stil-freigestellt .vollbild-inhalt {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto 1fr;
        height: auto;
        text-align: center;
    }
    .vollbild.stil-freigestellt .vollbild-text { grid-column: 1 !important; grid-row: 1 !important; }
    .vollbild.stil-freigestellt .vollbild-kontext { grid-column: 1 !important; grid-row: 2 !important; }
    .vollbild.stil-freigestellt .vollbild-bild {
        grid-column: 1 !important; grid-row: 3 !important; max-height: 52vh;
    }
    .vollbild.stil-vollflaechig .vollbild-text { max-width: 80vw; }
}

/* Verwaltung: Auswahlfelder je Darstellung */
.bk-wahl { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.bk-wahl label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--pflaume); }
.bk-wahl select {
    min-height: 40px; padding: 5px 10px; font: inherit; font-size: 15px;
    color: var(--aubergine); background: var(--weiss);
    border: 1px solid var(--rose-linie); border-radius: var(--radius-s);
}

.bk-fehlt { color: #8A2F3F; text-align: center; line-height: 1.4; font-size: 13px; }

/* Auf kleinen Geräten bleiben die Schaltflächen groß genug für den Finger */
@media (max-width: 760px) {
  .nav-glied { min-height: var(--klick-min); padding: 8px 15px; font-size: 1rem; }
  .nav-leiste { padding: 9px 14px; gap: 7px; }
}

/* ============================================================
   M5 · Musik & Jingles
   ============================================================ */

.klang-steuerung {
    display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
    margin: 16px 0 18px; padding: 12px 16px;
    background: var(--mandel-creme); border-radius: var(--radius-m);
}
.laut { display: flex; align-items: center; gap: 10px; }
.laut-name { font-size: 15px; color: var(--pflaume); font-weight: 600; }
.laut input[type="range"] { width: 190px; accent-color: var(--himbeere); }
.laut-wert {
    min-width: 2.4em; font-variant-numeric: tabular-nums;
    font-weight: 600; color: var(--aubergine);
}

.klang-raster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}
.klang-kachel {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 20px 14px 14px; cursor: pointer;
    font: inherit; text-align: center;
    background: linear-gradient(150deg, var(--weiss) 0%, var(--zone-wir-b) 100%);
    border: none; border-radius: var(--radius-m);
    box-shadow: var(--schatten-ruhe);
    transition: box-shadow .25s, transform .25s;
}
.klang-kachel:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }
.klang-kachel.laeuft {
    background: linear-gradient(150deg, var(--weiss) 0%, var(--zone-hoffnung-weg-b) 100%);
    box-shadow: var(--schatten-hover);
}
.klang-kachel.ist-gestoert { opacity: .6; }
.klang-zeichen { font-size: 34px; line-height: 1.1; }
.klang-titel {
    font-size: 16px; font-weight: 600; color: var(--aubergine);
    line-height: 1.3; overflow-wrap: anywhere;
}
.klang-zeit {
    font-size: 14px; color: var(--lavendel-grau);
    font-variant-numeric: tabular-nums;
}
.klang-balken {
    display: block; width: 100%; height: 5px; margin-top: 2px;
    background: var(--rose-linie); border-radius: 3px; overflow: hidden;
}
.klang-fortschritt {
    display: block; height: 100%; width: 0;
    background: var(--himbeere); border-radius: 3px;
    transition: width .2s linear;
}
.klang-marke {
    font-size: 11px; font-weight: 700; letter-spacing: .06em;
    color: var(--pflaume); text-transform: uppercase;
}

.klang-listenkopf {
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: baseline; justify-content: space-between;
}
.klang-listenkopf h2 { margin: 0; }
.klang-zeile {
    display: grid; grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px; align-items: start;
    padding: 12px 14px;
    background: var(--mandel-creme); border-radius: var(--radius-m);
}
.klang-zeile .feld-reihe { gap: 8px; align-items: center; }
.klang-zeile input[type="text"] {
    min-height: 40px; padding: 6px 12px; font: inherit; font-size: 15px;
    color: var(--aubergine); background: var(--weiss);
    border: 1px solid var(--rose-linie); border-radius: var(--radius-s);
}
.klang-zeile input[name="titel"] { flex: 1 1 12em; }

.ablegeflaeche {
    padding: 20px 16px; margin-bottom: 14px; text-align: center;
    background: var(--weiss);
    border: 2px dashed var(--rose-linie); border-radius: var(--radius-m);
    transition: border-color .2s, background .2s;
}
.ablegeflaeche.bereit { border-color: var(--himbeere); background: var(--himbeere-fond); }
.ablege-text { margin: 0 0 10px; color: var(--lavendel-grau); font-size: 15px; }

@media (max-width: 760px) {
    .klang-zeile { grid-template-columns: 1fr; }
    .klang-zeile .bk-ordnen { flex-direction: row; }
    .laut input[type="range"] { width: 140px; }
}

/* Übernahme aus einer Freigabe */
.anleitung { margin: 8px 0 0; padding-left: 1.3em; color: var(--pflaume); line-height: 1.7; }
.anleitung code {
    padding: 1px 6px; font-size: .92em;
    background: var(--mandel-creme); border-radius: 4px;
}
.import-liste { display: flex; flex-direction: column; gap: 4px; margin: 12px 0 14px; }
.import-zeile {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: var(--radius-s);
    background: var(--mandel-creme);
}
.import-name { flex: 1 1 auto; color: var(--aubergine); overflow-wrap: anywhere; }

.soll-frei { color: var(--lavendel-grau); font-size: .92em; }

/* M6 Web-Sammler */
.sammler-form { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.sammler-form label { display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--pflaume); }
.sammler-form input, .sammler-form select {
    background: var(--mandel-creme); border: 1px solid var(--rose-linie);
    border-radius: var(--radius-s); padding: 10px 12px; font: inherit; color: var(--aubergine);
}
.sammler-fundkopf {
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: baseline; justify-content: space-between;
}
.sammler-fundkopf h2 { margin: 0; }
.sammler-liste { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.sammler-zeile {
    display: grid; grid-template-columns: auto 3.5em 1fr; gap: 10px;
    align-items: baseline; padding: 8px 12px;
    background: var(--mandel-creme); border-radius: var(--radius-s);
}
.sammler-typ {
    font-size: .8em; font-weight: 600; color: var(--flieder);
    letter-spacing: .04em;
}
.sammler-name { color: var(--aubergine); overflow-wrap: anywhere; }
.sammler-quelle {
    grid-column: 3; font-size: .82em; color: var(--lavendel-grau);
    overflow-wrap: anywhere;
}
