/* wAIhnachten – Stil aus Huyen OS (Brand Kit im Dashboard) und dem GTA-Guide:
   Weiß, Ink, Lime für aktiv/primär, Rosa für Chips und Akzente.
   VCR für Überschriften und Menü, kursive Serif für betonte Wörter, Geist 18 px für Text. */
@font-face { font-family: VCR; src: url('/fonts/VCR-OSD-Mono.woff2') format('woff2'), url('/fonts/VCR-OSD-Mono.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Geist; src: url('/fonts/Geist.woff2') format('woff2'), url('/fonts/Geist.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --lime: #E0FA82;
  --rosa: #FFC2DD;
  --ink: #1C1C1E;
  --weiss: #FFFFFF;
  --grau: #626266;
  --rand: 1px solid #1c1c1e26;
  --vcr: VCR, ui-monospace, Menlo, Consolas, monospace;
  --serif: 'Times New Roman', Times, Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; overflow-x: clip; background: var(--weiss); color: var(--ink); font: 400 18px/1.5 Geist, Arial, sans-serif; }
a { color: var(--ink); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

h1, h2, .marke, .nr, .chips a, .name {
  font-family: var(--vcr); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0; line-height: 1.1;
}
/* Betonte Wörter: kursive Serif in Großbuchstaben */
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: uppercase; }
.huelle { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* Menüleiste wie in Huyen OS: Chips mit weichem Übergang */
@property --chip { syntax: "<color>"; inherits: true; initial-value: #ffc2dd; }
@property --next-chip { syntax: "<color>"; inherits: true; initial-value: #ffc2dd; }
.kopf { position: sticky; top: 0; z-index: 10; background: var(--weiss); border-bottom: 1px solid #1c1c1e1f; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marke { font-size: 24px; text-decoration: none; }
.marke span { background: var(--lime); border-radius: 4px; padding: 0 2px; }
.chips { display: flex; align-items: center; }
.chips a {
  --neck: 3px; --chip: var(--rosa); --next-chip: var(--rosa);
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 10px;
  margin-right: var(--neck); border-radius: 10px; background: var(--chip); font-size: 18px; text-decoration: none;
  transition: margin-right 230ms ease, --chip 230ms ease, --next-chip 230ms ease;
}
.chips a:last-child { margin-right: 0; }
.chips a:not(:last-child)::after {
  content: ''; position: absolute; left: calc(100% - 2px); top: 0; width: calc(var(--neck) + 4px); height: 100%;
  background: linear-gradient(to right, var(--chip), var(--next-chip));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 44' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C4 6 4 17 12 17 S20 6 24 6 V38 C20 38 20 27 12 27 S4 38 0 38Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transition: width 230ms ease;
}
.chips a[aria-current="page"] { --chip: var(--lime); }
.chips a:has(+ a[aria-current="page"]) { --next-chip: var(--lime); }
@media (hover: hover) { .chips a:hover, .chips a:has(+ a:hover) { --neck: 16px; } }
@media (max-width: 480px) { .chips a { font-size: 16px; padding-inline: 6px; } .marke { font-size: 20px; } }

/* Wärme: ganz leichtes Papierkorn über allem */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Absender ganz oben, Anordnung wie im GTA-Guide: Name, Motto, QR-Code, Linie darunter */
.band { background: var(--weiss); }
.absender { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.absender .wer { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.absender .name { font-size: 20px; }
.slogan { font-family: var(--vcr); text-transform: uppercase; color: var(--ink); }
.absender .slogan { font-size: 16px; }
/* Kanal-Icons statt QR-Code (Huyen 26.11.2026): LinkedIn und Instagram in CI-Farben (LinkedIn rosa, Instagram grün) */
.kanaele { display: flex; gap: 10px; }
.kanal { display: block; flex: none; width: 44px; height: 44px; border-radius: 10px; line-height: 0; transition: transform 160ms ease; }
.kanal svg { width: 100%; height: 100%; display: block; }
.kanal:hover { transform: translateY(-2px); }
.kanal:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Von-wem-Box neu (Huyen 28.11.2026, „denk wie ein Apple-Designer“): eine Spalte, klare Reihenfolge, Icon + Name als ein Link. */
.kanaele.mit-namen { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 32px; }
.kanaele.mit-namen .kanal { width: auto; height: auto; border-radius: 0; display: flex; align-items: center; gap: 12px; line-height: 1;
  text-decoration: none; color: var(--ink); font: 18px var(--vcr); text-transform: uppercase; }
.kanaele.mit-namen .kanal svg { width: 44px; height: 44px; flex: none; }
.kanaele.mit-namen .kanal:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Hero: Text oben, darunter Video (16:9) und Anmeldung */
.hero { display: grid; gap: 32px; padding: 32px 0 24px; grid-template-areas: "text" "video" "form"; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.6fr 1fr; grid-template-areas: "text text" "video form"; column-gap: 48px; align-items: start; padding-top: 40px; }
}
.hero-text { grid-area: text; position: relative; }
.hero-text[hidden] { display: none; }
.video-rahmen { grid-area: video; }
#anmeldung-box { grid-area: form; }
h1 { font-size: clamp(40px, 6vw, 72px); margin: 14px 0 18px; max-width: 14em; }
h1 em { font-size: 1em; }
h1 .ki, .unterzeile .ki { background: var(--lime); border-radius: 0; padding: 0 .05em; }
.unterzeile { max-width: 36em; margin: 0; font-size: 20px; line-height: 1.8; }
.bildklammer { white-space: nowrap; }
.bildklammer::before, .bildklammer::after { font-weight: 200; font-size: 1.5em; line-height: 0; vertical-align: -.12em; }
.bildklammer::before { content: "["; margin-right: 4px; }
.bildklammer::after { content: "]"; margin-left: 4px; }
.bildklammer img { width: 48px; height: 30px; object-fit: cover; vertical-align: -.35em; }
.hoeher { position: relative; top: -.4em; border-bottom: 3px solid var(--lime); }
.psst { display: inline-block; font: 16px/1.3 var(--vcr); background: var(--rosa); padding: 0 6px; transform: skewX(-12deg); }
.rosa-strich { border-bottom: 3px solid var(--rosa); }
.px { font-family: var(--vcr); font-size: 1.15em; line-height: 0; }
.zunge { display: inline-block; font: 18px/1.3 var(--vcr); background: var(--lime); color: var(--ink); padding: 0 6px 0 3px; letter-spacing: -.3em; white-space: nowrap; }
.zettel { display: inline-block; font-size: 16px; background: var(--rosa); padding: 4px 12px; border-radius: 4px 10px 6px 12px; transform: rotate(-1.5deg); }

.doodle { position: absolute; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* Klebestreifen */
.tape {
  position: absolute; width: 96px; height: 28px; z-index: 2; opacity: .85;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 2px, transparent 2px 6px), var(--rosa);
  clip-path: polygon(3% 8%, 97% 0, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
.tape-links { top: -12px; left: 24px; transform: rotate(-6deg); }
.tape-rechts { top: -10px; right: 28px; transform: rotate(5deg); background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 2px, transparent 2px 6px), var(--lime); }
.tape-mitte { top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

/* Videorahmen wie ein eingeklebtes Foto */
.video-rahmen {
  position: relative; margin: 8px 0 0; padding: 12px 12px 8px; background: var(--weiss);
  border-radius: 14px 10px 16px 12px; transform: rotate(-.8deg);
  box-shadow: 6px 10px 0 #ffc2dd66, 0 18px 40px #1c1c1e14; border: var(--rand);
}
.video-platz, .video-rahmen video {
  display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 10px 8px 12px 9px;
  background: radial-gradient(120% 90% at 30% 20%, #fff 0, var(--rosa) 55%, var(--lime) 130%);
}
.video-platz { display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; font-size: 18px; }
.play { width: 72px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.play path:last-child { fill: var(--weiss); }
.video-rahmen figcaption { font-size: 16px; padding: 10px 4px 2px; color: var(--grau); }
/* Intro-Video 9:16 (Huyen 29.11.2026): schmaler Rahmen, Lautsprecher unten rechts wie bei den Hook-Videos */
.video-rahmen:has(.intro-video) { width: min(100%, 340px); justify-self: center; padding-bottom: 12px; }
.intro-video { position: relative; }
.video-rahmen .intro-video video { aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.intro-video .ki-hinweis { bottom: 10px; right: auto; left: 10px; }
.intro-video .ton { position: absolute; bottom: 2px; right: 2px; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.intro-video .ton svg { width: 34px; height: 34px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: rgba(28,28,30,.55); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.intro-video .ton .box { fill: #fff; }
.intro-video .ton .wellen { display: none; }
.intro-video .ton[aria-pressed="true"] svg { background: var(--lime); stroke: var(--ink); }
.intro-video .ton[aria-pressed="true"] .box { fill: var(--ink); }
.intro-video .ton[aria-pressed="true"] .wellen { display: inline; }
.intro-video .ton[aria-pressed="true"] .kreuz { display: none; }
.intro-video .ton:focus-visible svg { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Anmeldung */
.anmeldung {
  position: relative; background: var(--weiss); border: var(--rand); padding: 28px 24px 24px; margin-top: 8px;
  border-radius: 12px 18px 10px 16px / 16px 10px 18px 12px; transform: rotate(.6deg);
  box-shadow: 6px 10px 0 #e0fa8299, 0 18px 40px #1c1c1e12;
}
.anmeldung h2 { font-size: 26px; margin: 0 0 12px; }
.anmeldung p { margin: 0 0 16px; }
.vorzeile { font: 16px var(--vcr); text-transform: uppercase; margin: 0 0 8px; }
label.feld { display: block; font-size: 16px; margin: 0 0 6px; }
input[type=email], .teilnahme input[type=text], .teilnahme textarea {
  display: block; width: 100%; box-sizing: border-box; font: inherit; color: var(--ink); padding: 10px 12px; margin-bottom: 20px;
  border: var(--rand); border-radius: 8px; background: var(--weiss);
}
/* Gewinnspiel-Formular im Türchen: gerade, ohne Drehung, damit es ruhig im Text steht. */
.teilnahme { transform: none; margin: 16px 0 0; max-width: 560px; }
.teilnahme textarea { resize: vertical; }
.teilnahme h3 { font-size: 22px; margin: 0 0 8px; }
/* Bot-Falle: für Menschen unsichtbar, Bots füllen sie aus. Nicht display:none, das erkennen manche Bots. */
.falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.haekchen { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; margin: 0 0 20px; cursor: pointer; }
.haekchen input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; width: 100%;
  font: 600 18px/1.2 Geist, Arial, sans-serif; color: var(--ink); background: var(--rosa);
  border: 0; border-radius: 0; padding: 10px 16px; cursor: pointer; text-decoration: none;
}
/* Knopf rosa, beim Drüberfahren grün: Grün = gut, das Ziel (Huyen 29.11.2026). */
.knopf:hover, .knopf:focus-visible { background: var(--lime); }
.knopf.aus, .knopf.aus:hover { background: #eee; color: #555; cursor: default; margin: 16px 0 0; }
.beendet { background: var(--lime); border-radius: 6px; padding: 12px 16px; font-weight: 600; }
.klein { font-size: 16px; }
.meldung { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.offen-hinweis { background: var(--lime); border-radius: 12px 18px 10px 16px / 16px 10px 18px 12px; padding: 24px; margin-top: 8px; transform: rotate(.6deg); }
.offen-hinweis h2 { font-size: 26px; margin: 0 0 8px; }
.offen-hinweis p { margin: 0; }

/* Abschnitte: Abstand statt Linien */
.abschnitt { margin-top: 80px; }
.abschnitt > h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.abschnitt > p { margin: 0 0 20px; max-width: 650px; }

/* Lade-/Fehlertext im 24.AI-Kalender. Alter bunter Kachel-Kalender entfernt (29.11.2026, steht in Git). */
.raster-hinweis { grid-column: 1 / -1; }

/* Fragen */
details { border-top: var(--rand); padding: 16px 0; }
details:last-of-type { border-bottom: var(--rand); }
summary { font-weight: 600; font-size: 20px; cursor: pointer; }
details p { margin: 12px 0 0; max-width: 650px; }

/* Von wem: eine Spalte, viel Luft, Icon + Name als ein Link (Huyen 28.11.2026). */
.promo { margin-top: 80px; background: var(--weiss); border: var(--rand); box-shadow: 6px 10px 0 var(--rosa); padding: 56px; }
.promo h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; margin: 0 0 12px; }
.promo .slogan { font-family: var(--vcr); font-size: clamp(18px, 2.2vw, 22px); margin: 0 0 24px; }
.promo p { margin: 0; max-width: 40em; font: 18px/1.6 Geist, Arial, sans-serif; }
.rahmen-knopf { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font: 16px var(--vcr); text-transform: uppercase; }
.rahmen-knopf:hover { background: var(--lime); color: var(--ink); }

/* Kursive Pixel-Serif: pixel.js rendert betonte Wörter als Pixelbild, der Text bleibt für Screenreader da */
.pixelwort { display: inline-block; vertical-align: baseline; }
.pixelwort canvas { display: inline-block; image-rendering: pixelated; vertical-align: -0.18em; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) { .promo { padding: 28px 24px; } }

/* Fuß */
.fuss { margin-top: 48px; padding: 24px 0 48px; font-size: 16px; display: flex; flex-wrap: wrap; gap: 16px 32px; }

/* Türchen-Seite und Rechtstexte */
.rechtstext { max-width: 760px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 64px; }
.tuer { max-width: 1280px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 64px; }
.zurueck { font-size: 16px; }
.tuer .label { display: table; margin-top: 24px; font-size: 16px; background: var(--rosa); border-radius: 6px; padding: 2px 8px; }
.tuer h1, .rechtstext h1 { font-size: clamp(34px, 6vw, 56px); }
.tuer h2, .rechtstext h2 { font-size: clamp(22px, 3.5vw, 30px); margin: 48px 0 12px; }
.tuer ol, .tuer ul, .rechtstext ul { padding-left: 24px; }
.tuer li { margin: 8px 0; }
.tuer .knopf { max-width: 320px; }
.tuer > p, .tuer > ol, .tuer > ul, .tuer > .codebox { max-width: 720px; }
.fehlt { background: var(--rosa); color: var(--ink); border-radius: 4px; padding: 0 4px; }
.entwurf { background: var(--rosa); border-radius: 6px; padding: 12px 16px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .chips a, .chips a::after { transition: none; }
  .chips a { --neck: 3px !important; }
}

/* Vorher/Nachher und Code-Box (Türchen mit Bildbeispielen) */
.bildpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.bildpaar figure { margin: 0; position: relative; }
.ki-hinweis { position: absolute; bottom: 38px; right: 8px; color: rgba(255,255,255,.75); font-size: 9px; letter-spacing: .02em; text-shadow: 0 0 2px rgba(0,0,0,.5); pointer-events: none; }
.ki-hinweis.hell { color: rgba(28,28,30,.7); text-shadow: 0 0 2px rgba(255,255,255,.5); }
.bildpaar img, .bildplatz { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; border: var(--rand); }
.bildplatz { display: grid; place-items: center; background: var(--rosa); font-size: 16px; text-align: center; padding: 8px; box-sizing: border-box; }
.bildpaar figcaption { font-size: 16px; color: var(--grau); margin-top: 6px; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; padding: 12px 12px 12px 16px; background: var(--lime); border-radius: 10px; }
.codebox code { font-family: var(--vcr); font-size: 22px; overflow-wrap: anywhere; }
/* Klemmbrett (Checklisten-Guides): dunkles Brett, weißes Blatt, Klammer in Lime. Ecken max. 6 px. */
.klemmbrett { position: relative; margin: 40px 0 16px; padding: 36px 16px 16px; background: var(--ink); border-radius: 6px; }
.klammer { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 132px; height: 34px; background: var(--lime); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 0 3px 0 var(--ink); }
.klammer::after { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 40px; height: 10px; background: var(--ink); border-radius: 3px; }
.papier { background: var(--weiss); border-radius: 4px; padding: 24px clamp(16px, 4vw, 32px); }
.papier h3 { font-family: var(--vcr); font-weight: 400; font-size: 20px; text-transform: uppercase; margin: 8px 0 4px; }
.papier h3 ~ h3 { margin-top: 28px; }
.tuer .klemm-liste { list-style: none; padding: 0; margin: 0; }
.klemm-liste li { margin: 0; border-bottom: 1px dashed #1c1c1e33; }
.klemm-liste label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; cursor: pointer; font-size: 18px; line-height: 1.45; }
.klemm-liste input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.klemm-liste strong { display: block; }
.klemm-liste .warum { display: block; color: var(--grau); }
.klemm-liste input:checked + span strong { text-decoration: line-through; }
.klemm-stand { margin: 16px 0 0; font-size: 16px; color: var(--grau); }
/* Langer Prompt: Kopieren-Knopf oben, Zeilenumbrüche bleiben, normale Textschrift (VCR ist für Fließtext zu schwer). */
.codebox.lang { flex-direction: column-reverse; align-items: stretch; }
.codebox.lang code { font-family: inherit; font-size: 18px; line-height: 1.5; white-space: pre-wrap; }
.codebox.lang button { align-self: flex-end; }
.codebox button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--weiss); font: inherit; font-size: 16px; cursor: pointer; }

/* Kalender 24.AI (Huyen 27.11.2026): Wort aus Mini-Loops, 24 Kacheln sind Türchen. */
/* Breiter als die Textspalte, damit die Kacheln am Desktop groß sind (Huyen 28.11.2026). */
.ai24 { padding: 96px 0; overflow: visible; width: min(100vw - 48px, 1760px); margin-left: calc(50% - min(50vw - 24px, 880px)); }
.ai24-wort { position: relative; width: max-content; max-width: 100%; margin: 0 auto; }
.ai24-zeile { display: flex; gap: var(--zelle); }
.ai24-zeile + .ai24-zeile { margin-top: calc(var(--zelle) * 2); }
.ai24-glyph { display: grid; gap: 3px; grid-template-rows: repeat(7, var(--zelle)); }
.ai24-px { width: var(--zelle); height: var(--zelle); position: relative; overflow: hidden; background: #eee; display: block; }
.ai24-px video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai24-px.ink { background: var(--ink); }
/* Zahlen (Huyen 27.11.2026): nur das heutige Türchen hat einen Kasten. Alle anderen sind durchsichtig,
   nur Ziffer mit feiner dunkler Kontur, damit man die Videos sieht. */
.ai24-nr { position: absolute; left: 0; bottom: 0; color: #fff; font: 16px/1 var(--vcr); padding: 3px 4px 2px;
  text-shadow: 1px 1px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink), 0 0 3px rgba(28,28,30,.6); }
/* Abgelaufen (Huyen 29.11.2026): klein, hellgrün, leicht blass, immer unten links. */
/* Kleiner, ohne schwarze Kontur (Huyen 29.11.2026). Größe wächst mit der Kachel, bleibt aber klein. */
.ai24-nr.alt { color: var(--lime); opacity: .75; text-shadow: none; font-size: clamp(10px, calc(var(--zelle) * .17), 13px); padding: 2px 3px; }
/* Legende (Huyen 29.11.2026): nur Schloss + Zahl, ohne Kästen, 12 oben, 12 unten (Handy 6 × 4).
   Offen = grünes offenes Schloss, anklickbar. Zu = grau mit rosa Schloss. Darunter: Hinweis, beim Zeigen der Titel. */
.tl-reihe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, max-content); justify-content: space-between; gap: 8px 12px; }
@media (max-width: 700px) { .tl-reihe { grid-template-columns: repeat(6, max-content); } }
.tl-reihe a, .tl-reihe span.zu { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font: 15px/1 var(--vcr); color: var(--ink); text-decoration: none; }
.tl-reihe a:hover, .tl-reihe a:focus-visible, .tl-reihe a.gewaehlt { text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 5px; }
.tl-reihe span.zu { color: var(--ink); }   /* schwarz wie der Rest der Seite (Huyen 29.11.2026) */
.tl-reihe svg { width: 14px; height: 14px; flex: none; }
.tl-info { margin: 14px 0 0; min-height: 32px; font-size: 16px; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.schloss-zu .buegel, .schloss-offen .buegel { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.schloss-zu .koerper, .schloss-offen .koerper { stroke: var(--ink); stroke-width: 1.25; }
.schloss-zu .koerper { fill: var(--rosa); }
.schloss-offen .koerper { fill: var(--lime); }
.tl-info svg { width: 20px; height: 20px; flex: none; margin-right: -6px; }
.tl-info strong { color: var(--ink); font-weight: 600; }
.tl-info a { background: var(--lime); color: var(--ink); text-decoration: none; font: 15px/1 var(--vcr); padding: 7px 9px 6px; }
.tl-info a:hover, .tl-info a:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 1px; }
/* Heute: auch ohne Kasten (Huyen 28.11.2026), Lime mit dunkler Kontur. Ecke ohne Gesicht wählt kalender-24ai.js. */
.ai24-frage { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: calc(var(--zelle) * .5)/1 var(--vcr); }
/* Ecke je Clip (kalender-auswahl.js), damit die Zahl nichts Wichtiges verdeckt. */
.ai24-nr.ecke-or, .ai24-nr.ecke-ur { left: auto; right: 0; }
.ai24-nr.ecke-ol, .ai24-nr.ecke-or { bottom: auto; top: 0; }
a.ai24-px:hover { outline: 1px solid var(--ink); outline-offset: 2px; }
.ai24-px.zu { cursor: default; }
.ai24-px.heute { overflow: visible; z-index: 2; animation: ai24-puls 1.6s ease-in-out infinite; }
.ai24-px.heute::before { content: ""; position: absolute; inset: -5px; border: 2px solid var(--lime); pointer-events: none; }
.ai24-px.heute .ai24-nr { color: var(--lime); font-size: 18px; }
.ai24-glanz { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ai24-glanz::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation: ai24-glanz 1.6s ease-in-out infinite; }
@keyframes ai24-puls { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.07); } }
@keyframes ai24-glanz { 0%, 35% { left: -60%; } 75%, 100% { left: 120%; } }
svg.ai24-linie { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
svg.ai24-linie polyline { fill: none; stroke: var(--ink); stroke-width: .75; stroke-linejoin: miter; }
svg.ai24-linie circle { fill: var(--ink); }
a.ai24-cta { position: absolute; z-index: 4; background: var(--lime); color: var(--ink); font: 18px/1 var(--vcr); padding: 8px 10px 7px;
  text-decoration: none; white-space: nowrap; transform: translateY(-50%); border-radius: 2px; }
/* CTA (Huyen 28.11.2026): Glanz läuft einmal drüber; Hover bleibt rosa und pulsiert dezent. */
a.ai24-cta { overflow: hidden; }
a.ai24-cta::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); animation: ai24-glanz 1.6s ease-in-out 1 both; }   /* nur einmal (Huyen) */
a.ai24-cta:hover, a.ai24-cta:focus-visible { animation: ai24-cta-puls 1.2s ease-in-out infinite; }
@keyframes ai24-cta-puls { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { a.ai24-cta::after, a.ai24-cta:hover, a.ai24-cta:focus-visible { animation: none; } }
@media (max-width: 760px) { .ai24-nr { padding: 2px 2px 1px; } }
@media (prefers-reduced-motion: reduce) { .ai24-px.heute, .ai24-glanz::after { animation: none; } }
/* Komma im Preis-Emoticon O,- bleibt sichtbar (Huyen 28.11.2026) */
.zunge .weit { letter-spacing: 0; }

/* Postkarten-Generator (Türchen 2, 28.11.2026). Handschriften liegen lokal in /fonts (CSP: font-src 'self'). */
@font-face { font-family: HandCaveat; src: url('/fonts/hand-caveat.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: HandDancing; src: url('/fonts/hand-dancing.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: HandKalam; src: url('/fonts/hand-kalam.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: HandShadows; src: url('/fonts/hand-shadows.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: HandNothing; src: url('/fonts/hand-nothing.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: HandZeyada; src: url('/fonts/hand-zeyada.woff2') format('woff2'); font-display: swap; }
.postkarte { display: grid; gap: 32px; margin: 24px 0; align-items: start; }
@media (min-width: 900px) { .postkarte { grid-template-columns: 1fr 360px; gap: 40px; } .pk-rechts { grid-column: 1; grid-row: 1; position: sticky; top: 24px; } .pk-links { grid-column: 2; grid-row: 1; } }
.pk-links, .pk-rechts { display: grid; gap: 16px; min-width: 0; }
.pk-datei { position: relative; display: grid; justify-items: center; gap: 4px; padding: 28px 16px; background: #f5f5f7; border-radius: 6px; cursor: pointer; text-align: center; transition: background .2s; }
.pk-datei:hover, .pk-datei.drueber { background: #ececf0; }
.pk-datei:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.pk-datei input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pk-plus { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: var(--weiss); font-size: 26px; line-height: 1; }
.pk-datei.gewaehlt .pk-plus { background: var(--lime); color: var(--ink); font-size: 20px; }
.pk-datei strong { font-size: 18px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-datei small { font-size: 16px; color: var(--grau); }
.pk-hinweis { margin: -4px 0 0; font-size: 16px; line-height: 1.45; color: var(--grau); }
.pk-label { margin: 8px 0 -8px; font-size: 16px; font-weight: 600; }
.pk-schriften { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pk-schrift { min-height: 52px; padding: 6px 4px; font-size: 18px; color: var(--ink); background: #f5f5f7; border: 2px solid transparent; border-radius: 6px; cursor: pointer; line-height: 1.1; }
.pk-schrift:hover { background: #ececf0; }
.pk-schrift[aria-checked="true"] { background: var(--lime); border-color: var(--ink); }
.pk-feldbox { display: grid; gap: 6px; }
.pk-feldbox span { font-size: 16px; font-weight: 600; }
.pk-feld { width: 100%; box-sizing: border-box; font: 400 18px/1.4 Geist, Arial, sans-serif; padding: 12px 14px; border: 2px solid transparent; border-radius: 6px; background: #f5f5f7; color: var(--ink); }
.pk-feld:focus { outline: none; border-color: var(--ink); background: var(--weiss); }
textarea.pk-feld { resize: vertical; }
.pk-vorschau { display: block; width: 100%; height: auto; border-radius: 6px; border: var(--rand); }
.pk-aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.pk-aktionen .knopf { flex: 1 1 200px; max-width: none; }
.knopf.zweit { background: var(--weiss); border: 1.5px solid var(--ink); }
/* Laufband-Galerie (Türchen 2): Paare echt + Postkarte, endlos von rechts nach links. */
.galerie { overflow: hidden; margin: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.galerie-band { display: flex; width: max-content; animation: galerie var(--dauer, 30s) linear infinite; }
.galerie:hover .galerie-band { animation-play-state: paused; }
.galerie-paar { display: flex; gap: 8px; margin: 0 32px 0 0; }
.galerie-bild { position: relative; }
.galerie-bild img { display: block; height: 260px; width: auto; border-radius: 10px; border: var(--rand); }
.galerie-bild .ki-hinweis { bottom: 8px; }
@keyframes galerie { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .galerie { overflow-x: auto; } .galerie-band { animation: none; } }
/* Beispielbilder in echtem Format (Türchen 1: Foto hoch + Character Sheet quer). */
.beispiel { display: flex; gap: 16px; align-items: flex-end; margin: 16px 0; overflow-x: auto; }
.beispiel figure { margin: 0; flex: none; }
.beispiel-bild { position: relative; }
.beispiel-bild img { display: block; height: clamp(180px, 28vw, 300px); width: auto; border: var(--rand); }
.beispiel-bild .ki-hinweis { bottom: 8px; }
.beispiel figcaption { font-size: 16px; color: var(--grau); margin-top: 6px; }
/* Hook (Türchen 1): Video + Prompt-Karte. Referenzen lime wie im Videotool, aber in Huyens Lime. */
.hook { display: grid; gap: 24px; margin: 16px 0; align-items: start; }
@media (min-width: 760px) { .hook { grid-template-columns: 220px 1fr; } }
.hook-video { position: relative; max-width: 220px; }
.hook-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.hook-video .ki-hinweis { bottom: 8px; right: auto; left: 8px; }
/* Kleiner Lautsprecher unten rechts; Klickfläche 44 px, sichtbar nur der Kreis. */
.hook-video .ton { position: absolute; bottom: 0; right: 0; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hook-video .ton svg { width: 28px; height: 28px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: rgba(28,28,30,.55); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hook-video .ton .box { fill: #fff; }
.hook-video .ton .wellen { display: none; }
.hook-video .ton[aria-pressed="true"] svg { background: var(--lime); stroke: var(--ink); }
.hook-video .ton[aria-pressed="true"] .box { fill: var(--ink); }
.hook-video .ton[aria-pressed="true"] .wellen { display: inline; }
.hook-video .ton[aria-pressed="true"] .kreuz { display: none; }
.hook-video .ton:focus-visible svg { outline: 2px solid var(--ink); outline-offset: 2px; }
.promptkarte { display: grid; gap: 16px; padding: 16px; background: #f5f5f7; border: var(--rand); }
.refs { display: flex; flex-wrap: wrap; gap: 12px; }
.ref { margin: 0; display: grid; gap: 6px; justify-items: start; }
.ref img, .ref-audio { display: block; width: 72px; height: 72px; object-fit: cover; border: 1.5px solid var(--ink); }
.ref-audio { display: grid; place-items: center; background: var(--weiss); font: 16px/1 var(--vcr); }
.ref-chip { background: var(--lime); color: var(--ink); padding: 0 4px; font-weight: 600; white-space: nowrap; }
.ref figcaption.ref-chip { font-size: 16px; }
.promptkarte code { font: 18px/1.5 inherit; font-family: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.promptkarte button { justify-self: end; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); background: var(--weiss); font: inherit; font-size: 16px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hook-video video { animation: none; } }
/* Pixelherz hinter dem Titel. */
.pixelherz { display: inline-block; width: .8em; height: auto; margin-left: .25em; vertical-align: -.02em; shape-rendering: crispEdges; }
/* CI (Huyen 28.11.2026): keine abgerundeten Rahmen auf Türchen-Seiten. Kreise nur für runde Symbole. */
.tuer .label, .tuer .entwurf, .tuer .beendet, .tuer .fehlt, .tuer .codebox, .tuer .codebox button, .tuer .knopf,
.tuer img, .tuer .bildplatz, .tuer .klemmbrett, .tuer .klammer, .tuer .papier,
.postkarte *:not(.pk-plus) { border-radius: 0; }
/* ===== Warteliste (Huyen 29.11.2026) ===== */
/* Formular direkt neben dem Text (Desktop) bzw. direkt danach (Handy), Video rückt nach hinten. */
.hero { grid-template-areas: "text" "form" "video"; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.5fr 1fr; grid-template-areas: "text form" "video form"; align-items: start; }
  #anmeldung-box { position: sticky; top: 24px; margin-top: 40px; }
}
.eyebrow { font: 16px/1.3 var(--vcr); text-transform: uppercase; margin: 0; letter-spacing: .02em; }
.eyebrow span { margin: 0 6px; }
.hero-text h1 { font-size: clamp(32px, 4vw, 52px); max-width: 17em; text-wrap: balance; }
.hero-text h1 .ki { white-space: nowrap; padding: 0 .12em; }
.hero-text .unterzeile { font-size: 22px; line-height: 1.5; max-width: 32em; }
.hero-body { margin-top: 28px; max-width: 36em; }
.hero-body p { margin: 0 0 12px; }
.liste-titel { font-weight: 600; margin-top: 20px !important; }
.erwartet { list-style: none; padding: 0; margin: 0 0 24px; }
.erwartet li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed #1c1c1e26; }
.erwartet li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 12px; height: 12px; background: var(--lime); border: 1.5px solid var(--ink); }
.preis { font: 18px/1.5 var(--vcr); text-transform: uppercase; margin: 0 0 18px !important; padding-bottom: 16px; border-bottom: 1px dashed #1c1c1e40; }
.offen-hinweis .preis { border-bottom-color: #1c1c1e59; }
/* 0 € ohne Kasten (Huyen 29.11.2026). */ .preis .null { font-weight: 400; }
.anmeldung input[type=email] { margin-bottom: 14px; font-size: 18px; min-height: 48px; }
.anmeldung input::placeholder { color: var(--grau); opacity: 1; }
.anmeldung .hinweis { font-size: 16px; line-height: 1.45; color: var(--grau); margin: 8px 0 0; }
.anmeldung .hinweis a { color: var(--grau); }
.offen-hinweis p + p { margin-top: 10px; }

/* Sperre über dem Kalender: graue, halbdurchsichtige Fläche, Clips laufen dahinter weiter. */
.kalender-bereich { position: relative; }
.sperre {
  position: absolute; top: 0; bottom: 0; z-index: 5; left: calc(50% - 50vw); width: 100vw;
  display: grid; place-items: center; padding: 24px 16px;
  background: rgb(52 52 56 / .52); backdrop-filter: blur(1.5px) grayscale(.25); -webkit-backdrop-filter: blur(1.5px) grayscale(.25);
  transition: opacity .6s ease;
}
.sperre[hidden] { display: none; }
.sperre.weg { opacity: 0; pointer-events: none; }
.sperre-karte { position: sticky; top: 30vh; background: var(--weiss); border: 1.5px solid var(--ink); padding: 32px clamp(20px, 4vw, 44px); width: min(100%, 560px); text-align: center; }
.sperre-schloss { width: 52px; height: 52px; display: block; margin: 0 auto 12px; }
.sperre-karte h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; }
.sperre-karte p { margin: 0 0 18px; }
.countdown-label { font: 16px var(--vcr); text-transform: uppercase; margin-bottom: 10px !important; }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.countdown span { display: grid; justify-items: center; min-width: 64px; }
.countdown b { font: 400 clamp(36px, 6vw, 52px)/1 var(--vcr); background: var(--lime); padding: 8px 8px 4px; min-width: 2.2ch; }
.countdown small { font-size: 16px; margin-top: 6px; color: var(--grau); }
.countdown i { font: clamp(30px, 5vw, 44px)/1.2 var(--vcr); font-style: normal; padding-top: 6px; }
.sperre-karte .knopf { width: auto; padding-inline: 24px; }
@media (max-width: 480px) { .countdown span { min-width: 54px; } .countdown { gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .sperre { transition: none; } }

/* Wortwitz BrAInfood wie wAIhnachten: AI groß im eckigen Lime-Kasten (Huyen 29.11.2026). */
.ai-wort { background: var(--lime); border-radius: 0; padding: 0 .12em; }

/* Kennzeichnung Partner-Türchen (Huyen 29.11.2026): klein, grau, nicht versteckt. */
.kooperation { margin: 12px 0 0; font-size: 16px; color: #626266; }
