/* KI-Adventskalender 2026 – OneWoman KI-Agentur
   Nachthimmel in Deep Violet, Magenta nur für das Türchen von heute und den Hauptknopf,
   Teal für Nebenaktionen, Lavender als Brücke. Mobile First, keine Hover-only-Funktionen. */

/* Eigene display-Regeln (z. B. .anmelde-form { display: grid }) überstimmen sonst das Attribut hidden. */
[hidden] { display: none !important; }

@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url(schriften/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url(schriften/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(schriften/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(schriften/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --violett: #1c0a3a;
  --purpur: #2a124d;
  --magenta: #ff00ff;
  --lavendel: #d1b3ff;
  --teal: #20b2aa;
  --hell: #f5f0ff;
  --weiss: #ffffff;
  --text-gedaempft: rgba(245, 240, 255, 0.72);
  --linie: rgba(209, 179, 255, 0.22);
  --radius: 14px;
  --titel: 'Montserrat', system-ui, sans-serif;
  --fliess: 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: var(--violett); color: var(--weiss);
  font: 400 17px/1.6 var(--fliess);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--lavendel); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--titel); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Sternenhimmel ---------- */
.himmel {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 0, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(32, 178, 170, 0.12), transparent 70%),
    var(--violett);
}
.himmel i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--hell); opacity: 0.55;
  animation: funkeln 4s ease-in-out infinite;
}
.himmel i.gross { width: 3px; height: 3px; box-shadow: 0 0 6px var(--lavendel); }
@keyframes funkeln { 50% { opacity: 0.15; } }

/* ---------- Kopf ---------- */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 16px 0; max-width: 1120px; margin: 0 auto;
}
.marke { color: var(--weiss); text-decoration: none; display: inline-flex; flex-direction: column; gap: 4px; }
.wortmarke {
  font-family: var(--titel); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; line-height: 1;
  display: inline-flex; align-items: flex-start; gap: 0.06em;
}
.wortmarke .stern { width: 0.46em; height: 0.46em; color: var(--magenta); margin-top: -0.06em; }
.marke-unter { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavendel); }
.vorschau-schild {
  font: 700 12px/1 var(--titel); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 99px; background: var(--teal); color: var(--violett);
}

/* ---------- Start ---------- */
.start { max-width: 760px; margin: 0 auto; padding: 44px 16px 28px; text-align: center; }
.ueber-titel {
  margin: 0 0 12px; font: 700 13px/1.2 var(--titel); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}
h1 { font-size: clamp(40px, 11vw, 76px); }
.h1-unter { display: block; margin-top: 10px; font-size: clamp(19px, 5vw, 28px); font-weight: 700; color: var(--lavendel); letter-spacing: -0.01em; }
.start-text { color: var(--text-gedaempft); margin: 20px auto 0; max-width: 600px; }
.start-knopf { margin-top: 24px; }

.countdown {
  margin: 28px auto 0; padding: 18px 16px; max-width: 440px;
  border: 1px solid var(--linie); border-radius: var(--radius); background: rgba(42, 18, 77, 0.6);
}
.countdown-titel { margin: 0 0 8px; font-size: 14px; color: var(--lavendel); }
.countdown-zahlen { display: flex; justify-content: center; gap: 22px; font-size: 14px; color: var(--text-gedaempft); }
.countdown-zahlen b { display: block; font: 800 34px/1.1 var(--titel); color: var(--weiss); font-variant-numeric: tabular-nums; }
.heute-hinweis { margin: 24px 0 0; font: 700 16px/1.4 var(--titel); color: var(--lavendel); }
.vorbei {
  margin: 28px auto 0; padding: 18px; text-align: left;
  border: 1px solid var(--linie); border-radius: var(--radius); background: rgba(42, 18, 77, 0.6);
}
.vorbei p { margin: 0 0 8px; } .vorbei p:last-child { margin: 0; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 99px; border: 2px solid transparent;
  font: 700 15px/1.2 var(--titel); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.knopf svg { width: 18px; height: 18px; flex: 0 0 auto; }
.knopf:active { transform: scale(0.97); }
.knopf-magenta { background: var(--magenta); color: var(--violett); box-shadow: 0 0 24px rgba(255, 0, 255, 0.35); }
.knopf-teal { background: var(--teal); color: var(--violett); }
.knopf-rand { background: transparent; color: var(--lavendel); border-color: var(--linie); }
.knopf[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ---------- Raster der Türchen ---------- */
.kalender { max-width: 1120px; margin: 0 auto; padding: 12px 16px 56px; }
.raster {
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(104px, 28vw);
  grid-auto-flow: dense;
}
@media (min-width: 720px) {
  .raster { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 14px; }
}
.tuer {
  position: relative; perspective: 900px;
  border: 0; padding: 0; margin: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  border-radius: var(--radius); -webkit-tap-highlight-color: transparent;
}
.tuer.breit { grid-column: span 2; }
.tuer.hoch { grid-row: span 2; }
.tuer.gross { grid-column: span 2; grid-row: span 2; }

/* Was hinter der Tür liegt */
.tuer-innen {
  position: absolute; inset: 0; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px;
  background: linear-gradient(160deg, var(--purpur), #3b1a6b);
  border: 1px solid var(--linie); text-align: center;
}
.tuer-icon { font-size: 30px; line-height: 1; }
.tuer.gross .tuer-icon { font-size: 52px; }
.tuer-kurz { font: 700 12px/1.25 var(--titel); color: var(--lavendel); display: none; }
.tuer.offen .tuer-kurz { display: block; }
@media (max-width: 719px) { .tuer:not(.gross):not(.breit) .tuer-kurz { display: none !important; } }

/* Das Türblatt */
.tuer-blatt {
  position: absolute; inset: 0; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px;
  background:
    radial-gradient(circle at 80% 15%, rgba(209, 179, 255, 0.18), transparent 45%),
    linear-gradient(155deg, #2e1456, #22103f);
  border: 1px solid var(--linie);
  transform-origin: left center; transform-style: preserve-3d; backface-visibility: hidden;
  transition: transform 0.7s cubic-bezier(.3,.7,.3,1), box-shadow 0.3s ease;
}
.raster:not(.bereit) .tuer-blatt { transition: none; }
.tuer-zahl { font: 800 34px/1 var(--titel); letter-spacing: -0.03em; color: var(--weiss); text-align: left; }
.tuer.gross .tuer-zahl { font-size: 72px; }
.tuer-info { font-size: 12px; line-height: 1.25; color: var(--text-gedaempft); text-align: left; }
.tuer-stern { position: absolute; right: 10px; top: 10px; width: 16px; height: 16px; color: var(--lavendel); opacity: 0.6; }
.tuer.gross .tuer-stern { width: 28px; height: 28px; }

.tuer.zu .tuer-blatt { background: linear-gradient(155deg, #26104a, #1f0d3b); }
.tuer.zu .tuer-zahl { color: var(--lavendel); }

/* Heute: leuchtet magenta */
.tuer.heute .tuer-blatt {
  border: 2px solid var(--magenta);
  box-shadow: 0 0 0 1px rgba(255, 0, 255, 0.3), 0 0 26px rgba(255, 0, 255, 0.45);
  animation: leuchten 2.6s ease-in-out infinite;
}
.tuer.heute .tuer-info { color: var(--weiss); font-weight: 600; }
.tuer.heute .tuer-stern { color: var(--magenta); opacity: 1; }
@keyframes leuchten { 50% { box-shadow: 0 0 0 1px rgba(255, 0, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.7); } }

/* Schon geöffnet: Tür steht halb offen */
.tuer.offen .tuer-blatt { transform: rotateY(-72deg); box-shadow: 8px 0 20px rgba(0, 0, 0, 0.35); }
.tuer.offen .tuer-innen { border-color: rgba(32, 178, 170, 0.6); padding-left: 26%; }
.tuer.oeffnet .tuer-blatt { transform: rotateY(-105deg); }
.tuer:active .tuer-blatt { filter: brightness(1.15); }
@media (prefers-reduced-motion: reduce) {
  .tuer-blatt { transition: none; } .tuer.heute .tuer-blatt, .himmel i { animation: none; }
}

.raster-legende { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 20px 0 0; font-size: 13px; color: var(--text-gedaempft); }
.raster-legende span { display: inline-flex; align-items: center; gap: 6px; }
.punkt { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.punkt-heute { background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.punkt-offen { background: var(--teal); }
.punkt-zu { background: #3b1a6b; border: 1px solid var(--linie); }

/* ---------- Anmeldung (helle Sektion) ---------- */
.hell { background: var(--hell); color: var(--purpur); }
.hell a { color: var(--purpur); }
.anmelden { padding: 56px 16px; }
.anmelden-innen { max-width: 620px; margin: 0 auto; }
.anmelden h2 { font-size: clamp(26px, 6.5vw, 38px); margin-bottom: 14px; }
.anmelden .ueber-titel { color: #138a84; }

.anmelde-form { display: grid; gap: 14px; margin-top: 22px; }
.feld label { display: grid; gap: 6px; font: 700 14px/1.2 var(--titel); }
.feld input {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 2px solid rgba(42, 18, 77, 0.25); background: var(--weiss); color: var(--purpur);
  font: 400 17px/1.3 var(--fliess);
}
.feld input:focus { border-color: var(--teal); outline: none; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.einwilligung { margin: 0; font-size: 13.5px; line-height: 1.5; opacity: 0.85; }
.form-fehler { margin: 0; padding: 10px 14px; border-radius: 10px; background: #ffe3f6; color: #8a0060; font-size: 14.5px; }
.anmelde-form .knopf { width: 100%; }
@media (min-width: 560px) { .anmelde-form .knopf { width: auto; justify-self: start; } }
.anmelde-danke { margin-top: 22px; padding: 18px; border-radius: var(--radius); background: var(--weiss); border: 2px solid var(--teal); }
.anmelde-danke p { margin: 0; } .danke-titel { font: 800 20px/1.3 var(--titel); margin-bottom: 6px !important; }

/* Anmeldung innerhalb des dunklen Türchens */
.ebene-inhalt .anmelde-block { padding: 18px; border-radius: var(--radius); background: var(--hell); color: var(--purpur); margin: 8px 0 20px; }
.ebene-inhalt .anmelde-block a { color: var(--purpur); }
.ebene-inhalt .anmelde-block .anmelde-form { margin-top: 4px; }

/* ---------- Fuss ---------- */
.fuss { padding: 40px 16px calc(40px + env(safe-area-inset-bottom)); text-align: center; color: var(--text-gedaempft); font-size: 14px; }
.fuss p { margin: 12px 0; }
.fuss-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.fuss-links a { color: var(--lavendel); padding: 6px 0; }

/* ---------- Türchen-Ebene ---------- */
.tuerchen-ebene {
  border: 0; padding: 0; margin: 0; color: var(--weiss);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--violett);
  display: flex; flex-direction: column;
}
.tuerchen-ebene:not([open]) { display: none; }
.tuerchen-ebene::backdrop { background: rgba(12, 4, 28, 0.78); }
@media (min-width: 720px) {
  .tuerchen-ebene {
    margin: auto; width: min(760px, calc(100% - 48px)); height: auto; max-height: calc(100% - 48px);
    border-radius: 20px; border: 1px solid var(--linie); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  }
}
.tuerchen-ebene[open] { animation: auftauchen 0.35s ease-out; }
@keyframes auftauchen { from { transform: translateY(16px) scale(0.98); } to { transform: none; } }

.ebene-kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 18px; padding-top: calc(12px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--linie); background: var(--purpur); flex: 0 0 auto;
}
.ebene-ueber { margin: 0; font: 700 13px/1.2 var(--titel); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.ebene-zu {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linie); background: transparent;
  color: var(--weiss); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto;
}
.ebene-zu svg { width: 22px; height: 22px; }
.ebene-inhalt { overflow-y: auto; padding: 20px 18px 8px; flex: 1 1 auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ebene-fuss {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linie); background: var(--purpur); flex: 0 0 auto;
}
.ebene-fuss .knopf { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }

.ebene-inhalt h2 { font-size: clamp(26px, 7vw, 36px); margin: 0 0 18px; }
.ebene-inhalt h3 { font-size: 19px; margin: 26px 0 8px; color: var(--lavendel); }
.ebene-inhalt p { margin: 0 0 14px; }
.ebene-inhalt ul, .ebene-inhalt ol { margin: 0 0 14px; padding-left: 22px; }
.ebene-inhalt li { margin-bottom: 8px; }
.ebene-inhalt li::marker { color: var(--teal); font-weight: 700; }
.ebene-inhalt b { color: var(--weiss); }
.ebene-inhalt .gruss { font: 700 17px/1.5 var(--titel); color: var(--lavendel); }
.ladend { padding: 40px 0; text-align: center; color: var(--text-gedaempft); }

/* Platzhalter für Bild und Video */
.medium { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
.medium video, .medium img { width: 100%; height: auto; }
.platzhalter {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; gap: 4px; padding: 16px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.22), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(32, 178, 170, 0.22), transparent 55%),
    var(--purpur);
}
.platzhalter-icon { font-size: 64px; line-height: 1; }
.platzhalter-video { display: grid; justify-items: center; gap: 10px; color: var(--lavendel); font: 700 14px/1.3 var(--titel); }
.play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); border: 2px solid var(--lavendel); }
.play svg { width: 26px; height: 26px; margin-left: 4px; }

/* Prompt zum Kopieren */
.prompt {
  margin: 6px 0 22px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 0, 255, 0.45); background: #12062a;
}
.prompt-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; background: rgba(255, 0, 255, 0.1); }
.prompt-titel { font: 700 12px/1.2 var(--titel); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavendel); }
.prompt pre {
  margin: 0; padding: 14px; white-space: pre-wrap; word-break: break-word;
  font: 400 15.5px/1.55 var(--fliess); color: var(--hell);
}
.kopieren {
  min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 0; cursor: pointer;
  background: var(--magenta); color: var(--violett); font: 700 13.5px/1 var(--titel);
}
.kopieren.ok { background: var(--teal); }

/* Song zum Anhören */
.hoerprobe {
  display: flex; align-items: center; gap: 12px; margin: 6px 0 22px; padding: 14px 16px;
  border-radius: var(--radius); border: 1px solid rgba(255, 0, 255, 0.45); background: #12062a;
}
.hoerprobe audio { flex: 1 1 auto; min-width: 0; width: 100%; }
.hoerprobe-text { color: var(--lavendel); font: 700 14px/1.3 var(--titel); }

/* Bildnachweis am Schluss von «KI oder echt?» */
.bildnachweis { margin-top: 18px; text-align: left; font-size: 13px; }
.bildnachweis summary { cursor: pointer; color: var(--lavendel); font-weight: 600; padding: 6px 0; }
.bildnachweis p { margin: 6px 0; }

/* Download */
.download {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 6px 0 22px; padding: 16px;
  border-radius: var(--radius); border: 1px solid rgba(32, 178, 170, 0.5); background: rgba(32, 178, 170, 0.08);
}
.download-icon { font-size: 30px; }
.download-text { flex: 1 1 200px; }
.download-text b { display: block; font: 700 16px/1.3 var(--titel); }
.download-text span { font-size: 14.5px; color: var(--text-gedaempft); }

/* ---------- Interaktionen ---------- */
.spiel { margin: 6px 0 22px; padding: 18px 16px; border-radius: var(--radius); background: var(--purpur); border: 1px solid var(--linie); }
.spiel-fortschritt { margin: 0 0 10px; font: 700 12.5px/1 var(--titel); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.spiel-frage { font: 700 19px/1.4 var(--titel); margin: 0 0 16px; }
.spiel-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.spiel-knoepfe .knopf { flex: 1 1 130px; }
.antwort { margin-top: 16px; padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border-left: 4px solid var(--teal); }
.antwort.falsch { border-left-color: var(--magenta); }
.antwort p { margin: 0 0 6px; } .antwort p:last-child { margin: 0; }
.antwort-marke { font: 800 15px/1.2 var(--titel); }
.weiter { margin-top: 14px; }
.ergebnis { text-align: center; }
.ergebnis-zahl { font: 800 52px/1 var(--titel); color: var(--magenta); margin: 6px 0 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.chip {
  min-height: 42px; padding: 8px 14px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--linie); background: rgba(255, 255, 255, 0.04); color: var(--hell);
  font: 600 14.5px/1.2 var(--fliess);
}
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--violett); }
.reihe { margin-bottom: 16px; }
.reihe-name { display: block; margin: 0 0 8px; font: 700 13px/1.2 var(--titel); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lavendel); }
.spiel label.eingabe { display: grid; gap: 6px; margin-bottom: 14px; font: 700 14px/1.3 var(--titel); color: var(--lavendel); }
.spiel input[type="text"], .spiel input[type="number"], .spiel textarea {
  width: 100%; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--linie);
  background: #12062a; color: var(--weiss); font: 400 16px/1.4 var(--fliess);
}
.spiel textarea { min-height: 84px; resize: vertical; }
.spiel input:focus, .spiel textarea:focus { border-color: var(--teal); outline: none; }

/* Zeitfresser */
.zf-zeile { padding: 12px 0; border-bottom: 1px solid var(--linie); display: grid; gap: 8px; }
.zf-zeile:first-of-type { padding-top: 0; }
.zf-name { font-weight: 600; }
.zf-felder { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.zf-minuten { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-gedaempft); }
.zf-minuten input { width: 92px !important; text-align: right; }
.zf-anteil { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-gedaempft); flex-wrap: wrap; }
.zf-anteil .chip { min-height: 38px; padding: 6px 12px; font-size: 13.5px; }
.zf-ergebnis { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(255, 0, 255, 0.1); border: 1px solid rgba(255, 0, 255, 0.45); }
.zf-ergebnis p { margin: 0 0 6px; }
.zf-gross { font: 800 30px/1.2 var(--titel); color: var(--weiss); }
.zf-klein { font-size: 13px; color: var(--text-gedaempft); }

/* KI oder echt? */
/* Am Handy untereinander (nebeneinander wären echte Fotos zu klein zum Prüfen), sonst nebeneinander */
.paar { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .paar { grid-template-columns: 1fr 1fr; } }
.paar-bild {
  position: relative; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 3px solid var(--linie); background: var(--violett); color: var(--weiss); font: inherit;
}
.paar-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.paar-bild .platzhalter { aspect-ratio: 4 / 3; }
.paar-bild .platzhalter span { font: 700 15px/1.3 var(--titel); color: var(--lavendel); }
.paar-buchstabe { position: absolute; top: 8px; left: 8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violett); font: 800 16px/1 var(--titel); }
.paar-bild.ist-echt { border-color: var(--teal); }
.paar-bild.ist-ki { border-color: var(--magenta); }
.paar-marke { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; font: 800 14px/1 var(--titel); text-align: center; }
.ist-echt .paar-marke { background: var(--teal); color: var(--violett); }
.ist-ki .paar-marke { background: var(--magenta); color: var(--violett); }
.paar-bild[disabled] { cursor: default; }

/* ---------- Meldung (Toast) ---------- */
.meldung {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 100;
  transform: translate(-50%, 20px); max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 12px; background: var(--hell); color: var(--purpur);
  font: 600 15px/1.4 var(--fliess); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  visibility: hidden; transition: transform 0.25s ease, visibility 0.25s;
}
.meldung.zeigen { visibility: visible; transform: translate(-50%, 0); }
