/* ==========================================================================
   THIEME Adventskalender – festlicher Look (Chris, 26.10.2026: „warm & festlich“).
   Tiefrot mit Papierstruktur, Gold, Türchen aus gestanzter Pappe mit Perforation, die in 3D aufklappen.
   Hinter den Türchen liegt Stück für Stück ein Foto des Kunden (advent.js setzt die Bildausschnitte).
   Ergänzt template/css/style.css (Felder, Kacheln, Kopf, Footer). Alles Festliche hängt an body.ak-fest,
   damit teilnahme.html ruhig und lesbar bleibt.
   ========================================================================== */

:root {
  --fest-rot: #8b1a1f;
  --fest-rot-hell: #a8262c;
  --fest-rot-tief: #4a0a0e;
  --fest-gruen: #1d4634;
  --fest-creme: #f8f0e0;
  --fest-kraft: #e6d1a9;
  --fest-tinte: #2b1912;
  --fest-gold: #d4a245;
  --fest-gold-hell: #f6dc94;
  --fest-gold-verlauf: linear-gradient(135deg, #f8e6ab 0%, #d4a245 38%, #f3d07a 58%, #a8741f 100%);
  --fest-papier: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fest-papier-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 .09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
}

/* ---------- Reihenfolge: ohne Anmeldung zuerst Formular, danach Kalender als Vorschau ---------- */
main { display: flex; flex-direction: column; }
.ak-intro { order: 1; }
.ak-me { order: 2; }
.ak-cal { order: 3; }
.ak-how { order: 4; }
.is-dabei .ak-me { order: 1; }
.is-dabei .ak-intro { display: none; }
body:not(.is-dabei) .ak-me { display: none; }
.is-vorbei .ask { display: none; }

/* ==========================================================================
   Seite
   ========================================================================== */
body.ak-fest {
  --c-ink: var(--fest-creme);
  --c-muted: rgba(248, 240, 224, .74);
  --c-line: rgba(246, 220, 148, .3);
  background-color: var(--fest-rot-tief);
  background-image: var(--fest-papier), radial-gradient(130% 60% at 50% 0%, var(--fest-rot-hell) 0%, var(--fest-rot) 42%, var(--fest-rot-tief) 100%);
  background-attachment: scroll, fixed;
  color: var(--fest-creme);
}
.ak-fest > header, .ak-fest > section, .ak-fest > main, .ak-fest > footer { position: relative; z-index: 1; }
.ak-schnee { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; max-width: 100%; pointer-events: none; z-index: 0; }

.ak-fest .demo-bar { background: var(--fest-tinte); position: relative; z-index: 2; }
.ak-fest .top { --c-ink: var(--fest-tinte); background: var(--fest-creme); border-bottom: 0; color: var(--fest-tinte); }
.ak-fest .top__logo--text { font-family: var(--serif); font-size: 1.5rem; color: var(--fest-rot); }
.ak-fest, .ak-sheet { font-variant-numeric: lining-nums; }
.ak-fest .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--fest-gold-verlauf); }
.ak-fest .top__call { color: var(--fest-rot); }

/* Goldene Schrift */
.ak-gold { background: var(--fest-gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero: Schriftzug statt Foto ---------- */
.ak-hero { text-align: center; padding: 40px 0 8px; }
.ak-hero__von { font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--fest-gold-hell); }
.ak-hero h1 {
  font-family: var(--serif); font-weight: 600; text-transform: none; letter-spacing: -.01em;
  font-size: clamp(2.4rem, 12.8vw, 7.4rem); line-height: .95; margin: 10px auto 0; padding: 0 .04em .06em;
  background: var(--fest-gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25));
}
.ak-hero__zier { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px auto 0; color: var(--fest-gold); max-width: 280px; }
.ak-hero__zier::before, .ak-hero__zier::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--fest-gold)); }
.ak-hero__zier::after { transform: scaleX(-1); }
.ak-hero__zier svg { width: 16px; height: 16px; flex: none; }
.ak-hero__dat { margin-top: 12px; font-size: .95rem; letter-spacing: .04em; color: var(--fest-creme); opacity: .9; }

/* ---------- Einleitung + Hauptgewinn als Geschenkanhänger ---------- */
.ak-intro { padding-top: 18px; text-align: center; }
.ak-intro > .wrap > p:first-child { font-size: 1.08rem; line-height: 1.55; max-width: 30em; margin: 0 auto; color: var(--fest-creme); }
.ak-prize {
  position: relative; display: inline-grid; gap: 2px; text-align: left; margin: 26px auto 0; max-width: 340px;
  padding: 14px 20px 14px 46px; color: var(--fest-tinte); background-color: var(--fest-creme); background-image: var(--fest-papier-hell);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 50%); transform: rotate(-2deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3));
}
.ak-prize::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--fest-rot-tief); box-shadow: inset 0 1px 2px rgba(0,0,0,.6); }
.ak-prize strong { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fest-rot); }
.ak-prize span { font-family: var(--serif); font-weight: 600; font-size: 1.32rem; line-height: 1.15; }

/* Mehrere Gewinne: Liste mit Goldlinien, der Hauptgewinn als goldene Zeile oben */
.ak-gewinne__h { margin: 28px 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--fest-gold-hell); }
.ak-gewinne { list-style: none; margin: 0 auto; padding: 0; max-width: 440px; text-align: left; }
.ak-gewinne li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "platz wert" "titel wert"; column-gap: 14px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid rgba(212, 162, 69, .38); color: var(--fest-creme);
}
.ak-gewinne__platz { grid-area: platz; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.ak-gewinne strong { grid-area: titel; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.ak-gewinne__wert { grid-area: wert; font-weight: 700; font-size: .95rem; white-space: nowrap; color: var(--fest-gold-hell); }
.ak-gewinne li.is-haupt {
  padding: 16px 18px; margin-bottom: 4px; border: 0; border-radius: 6px; color: #1e2323;
  background: linear-gradient(135deg, #f8e6ab 0%, #d4a245 40%, #f3d07a 62%, #b8862b 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}
.ak-gewinne li.is-haupt .ak-gewinne__platz { opacity: .8; font-weight: 700; }
.ak-gewinne li.is-haupt strong { font-size: 1.4rem; }
.ak-gewinne li.is-haupt .ak-gewinne__wert { color: #1e2323; font-size: 1.1rem; }
.ak-nur { margin: 18px auto 0; max-width: 30em; font-size: .9rem; line-height: 1.5; color: var(--fest-creme); opacity: .82; }
.ak-nur--form { margin: 4px 0 12px; padding: 10px 12px; max-width: none; font-size: .84rem; text-align: left; color: var(--c-ink); opacity: 1; background: var(--c-soft); border-left: 3px solid var(--fest-gold); }

/* ---------- Anmeldung: Karte aus Papier mit Goldrahmen ---------- */
/* Anmeldung liegt als Deckel auf dem Kalender (.ak-stapel weiter unten) */
.ak-fest .ask__box {
  --c-ink: var(--fest-tinte); --c-muted: #7a6155; --c-line: rgba(90, 50, 20, .22); --c-surface: #fffaf0; --c-soft: #efe2c8;
  --c-primary: var(--fest-rot); --c-primary-ink: var(--fest-rot); --c-on-primary: var(--fest-creme);
  position: relative; margin-inline: 0; padding: 26px 20px 24px; color: var(--fest-tinte);
  background-color: var(--fest-creme); background-image: var(--fest-papier-hell);
  box-shadow: 0 0 0 1px var(--fest-gold), 0 18px 40px rgba(0, 0, 0, .35); border-radius: 4px;
}
.ak-fest .ask__box::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212, 162, 69, .55); border-radius: 2px; pointer-events: none; }
.ak-fest .ask__title { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--fest-rot); letter-spacing: -.01em; }
.ask .ask__title, .ask .ask__sub { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.ak-fest .ask__sub { color: #6d5548; }
.ak-form .step legend { font-size: 1.02rem; margin-bottom: 10px; }
.ak-form .step legend small { font-weight: 400; color: var(--c-muted); font-size: .85rem; }
.ak-form .tiles { margin-bottom: 14px; }
.ak-form .tile span { min-height: 52px; padding: 12px 40px 12px 14px; }
.ak-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin: 4px 0 12px; font-size: .86rem; line-height: 1.45; cursor: pointer; }
.ak-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--fest-rot); cursor: pointer; }
.ak-check input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }
.ak-form .btn { width: 100%; margin-top: 6px; }
.ak-form .quiz__legal { display: block; }
.ak-schon h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; color: var(--fest-rot); }

/* Goldene Hauptknöpfe */
.ak-fest .btn {
  background: var(--fest-gold-verlauf); color: var(--fest-rot-tief); font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 2px 0 #8a5d17, 0 8px 18px rgba(0, 0, 0, .22); border-radius: 6px; text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.ak-fest .btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #8a5d17; }

/* ---------- Begrüßung, Lose, Countdown ---------- */
.ak-me { padding-top: 26px; text-align: center; }
.ak-me h2 { font-family: var(--serif); font-weight: 600; text-transform: none; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -.01em; background: var(--fest-gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ak-me__status { margin-top: 6px; font-size: 1.02rem; color: var(--fest-creme); }
.ak-countdown { margin-top: 10px; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fest-gold-hell); }
.ak-countdown:empty { display: none; }
.ak-countdown b { font-variant-numeric: tabular-nums; font-size: 1.05rem; letter-spacing: .04em; color: var(--fest-creme); }
.ak-me__leiste { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin-top: 18px; font-size: .9rem; }
.ak-me__lose {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--fest-gold-verlauf); color: var(--fest-rot-tief); font-weight: 800; box-shadow: 0 2px 0 #8a5d17;
}
.ak-me__lose::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--stern) no-repeat center / contain; mask: var(--stern) no-repeat center / contain; }
.ak-me__lose.is-plus { animation: ak-plopp .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ak-plopp { 40% { transform: scale(1.18); } }
.ak-me__leiste a, .ak-me__leiste button { background: none; border: 0; padding: 6px 0; font-weight: 600; color: var(--fest-creme); text-decoration: underline; text-decoration-color: var(--fest-gold); text-underline-offset: 4px; cursor: pointer; font-size: inherit; }
:root { --stern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.6 7.9H23l-6.8 4.9 2.6 7.9L12 17.3 5.2 22.2l2.6-7.9L1 9.4h8.4z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   Kalender: Brett mit Goldrahmen, Türchen aus Pappe
   ========================================================================== */
.ak-cal { padding-top: 30px; scroll-margin-top: 8px; }
.ak-cal__h { font-family: var(--serif); font-weight: 600; text-transform: none; font-size: 2rem; text-align: center; margin-bottom: 14px; color: var(--fest-gold-hell); }
.ak-cal__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ak-brett {
  position: relative; margin-inline: calc(var(--gutter) * -1 + 6px); padding: 10px; border-radius: 6px;
  background: rgba(30, 4, 6, .38); box-shadow: inset 0 0 0 1px rgba(246, 220, 148, .45), inset 0 10px 30px rgba(0, 0, 0, .35);
}
.ak-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 7px; }
.ak-grid li { display: flex; min-width: 0; }
.ak-grid li.is-gross { grid-column: span 2; grid-row: span 2; }
.ak-grid li.is-breit { grid-column: span 2; }

.ak-door {
  position: relative; flex: 1; aspect-ratio: 1 / 1; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 700px; -webkit-tap-highlight-color: transparent; color: var(--fest-tinte); font: inherit;
}
.is-breit .ak-door { aspect-ratio: 2 / 1; }

/* Innen: dunkle Nische, darin der Bildausschnitt (advent.js) oder warmes Licht */
.ak-door__innen {
  position: absolute; inset: 0; border-radius: 4px; overflow: hidden;
  background-color: #2a0709; background-image: radial-gradient(circle at 50% 55%, rgba(246, 210, 120, .55), rgba(120, 30, 10, .2) 55%, transparent 75%);
  background-repeat: no-repeat; box-shadow: inset 0 0 14px rgba(0, 0, 0, .75);
}
.ak-door__innen::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 12px rgba(0, 0, 0, .65); border-radius: inherit; }
.ak-door::after {
  content: attr(data-tag); position: absolute; right: 6px; bottom: 4px; z-index: 1; font-family: var(--serif); font-weight: 600; font-size: .95rem;
  color: var(--fest-creme); text-shadow: 0 1px 3px rgba(0, 0, 0, .9); opacity: 0; transition: opacity .3s ease .35s;
}
.ak-door.is-offen::after { opacity: 1; }

/* Vorderseite: Pappe mit Perforation */
.ak-door__front {
  position: absolute; inset: 0; z-index: 2; border-radius: 4px; transform-origin: 0 50%;
  display: grid; place-items: center; padding: 8px;
  background-color: var(--fest-creme); background-image: var(--fest-papier-hell);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .28), 0 4px 10px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .75s cubic-bezier(.25, .8, .25, 1), box-shadow .75s ease;
  backface-visibility: hidden;
}
.ak-door__front::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed currentColor; border-radius: 3px; opacity: .3; pointer-events: none; }
.ak-door__n { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 8.6vw, 2.5rem); line-height: 1; font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.ak-door__s {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); white-space: nowrap;
  font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.ak-door__s:empty { display: none; }

/* Papiersorten (vom Build pro Türchen verteilt) */
.ak-door.v1 .ak-door__front { background-color: var(--fest-creme); color: var(--fest-rot); }
.ak-door.v2 .ak-door__front { background-color: var(--fest-kraft); color: var(--fest-tinte); }
.ak-door.v3 .ak-door__front { background-color: var(--fest-gruen); color: var(--fest-gold-hell); }
.ak-door.v4 .ak-door__front { background-color: #6c1015; color: var(--fest-gold-hell); }
.ak-door.v3 .ak-door__n, .ak-door.v4 .ak-door__n { background: var(--fest-gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* kleine Sterne als Schmuck */
.ak-door.v3 .ak-door__front::after, .ak-door.v1 .ak-door__front::after {
  content: ""; position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; background: var(--fest-gold);
  -webkit-mask: var(--stern) no-repeat center / contain; mask: var(--stern) no-repeat center / contain;
}

/* 24: großes goldenes Türchen, 6: Nikolaus in Rot */
.is-gross .ak-door .ak-door__front { background-color: #d9ad55; background-image: var(--fest-papier), var(--fest-gold-verlauf); color: var(--fest-rot-tief); }
.is-gross .ak-door .ak-door__n { font-size: clamp(4rem, 22vw, 7rem); background: none; color: var(--fest-rot-tief); text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.is-gross .ak-door .ak-door__front::after {
  content: ""; position: absolute; inset: 14px auto auto 50%; width: 22px; height: 22px; margin-left: -11px; background: var(--fest-rot-tief);
  -webkit-mask: var(--stern) no-repeat center / contain; mask: var(--stern) no-repeat center / contain;
}
.is-breit .ak-door .ak-door__front { background-color: var(--fest-rot-hell); color: var(--fest-creme); }
.is-breit .ak-door .ak-door__n { font-size: clamp(2.4rem, 12vw, 3.6rem); background: none; color: var(--fest-creme); }

@media (hover: hover) {
  .ak-door:not(.is-offen):hover .ak-door__front { transform: rotateY(-8deg); box-shadow: 4px 4px 14px rgba(0, 0, 0, .35); }
}
.ak-door:focus-visible { outline: 3px solid var(--fest-gold-hell); outline-offset: 3px; border-radius: 4px; }

/* heute: goldenes Leuchten + Etikett */
.ak-door.is-heute:not(.is-offen) { z-index: 3; }
.ak-door.is-heute:not(.is-offen) .ak-door__front { animation: ak-leuchten 2.4s ease-in-out infinite; }
@keyframes ak-leuchten {
  0%, 100% { box-shadow: 0 0 0 2px var(--fest-gold), 0 0 14px 2px rgba(246, 214, 130, .45); }
  50% { box-shadow: 0 0 0 2px var(--fest-gold-hell), 0 0 26px 8px rgba(246, 214, 130, .75); }
}
.ak-door.is-heute .ak-door__s { padding: 3px 7px; border-radius: 999px; }
.ak-door.is-heute .ak-door__s { background: var(--fest-rot); color: var(--fest-creme); }
/* verpasst (Standard): Tür bleibt zu, wirkt verblasst, mit kleinem Etikett */
.ak-door.is-verpasst .ak-door__front { filter: saturate(.25) brightness(.62); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.ak-door.is-verpasst .ak-door__s { padding: 3px 7px; border-radius: 999px; background: rgba(20, 2, 4, .75); color: var(--fest-creme); filter: none; }
.ak-door.is-verpasst { cursor: not-allowed; }
/* nachholbar (nur wenn advent.json "nachholen": true): kleiner Goldpunkt */
.ak-door.is-nachholbar .ak-door__s { font-size: 0; bottom: auto; top: 8px; left: 10px; transform: none; width: 8px; height: 8px; border-radius: 50%; background: var(--fest-gold-hell); box-shadow: 0 0 0 2px rgba(0,0,0,.15), 0 0 8px var(--fest-gold); }

/* offen: Tür steht schräg auf, dahinter das Bild */
.ak-door.is-offen .ak-door__front { transform: rotateY(-74deg); box-shadow: 6px 4px 14px rgba(0, 0, 0, .45); }
.is-breit .ak-door.is-offen .ak-door__front, .is-gross .ak-door.is-offen .ak-door__front { transform: rotateY(-66deg); }
.ak-door.is-laedt .ak-door__front { animation: ak-ruckeln .6s ease-in-out infinite; }
@keyframes ak-ruckeln { 50% { transform: rotateY(-6deg); } }
.ak-door.is-wackel .ak-door__front { animation: ak-wackel .4s ease; }
@keyframes ak-wackel { 20% { transform: rotate(-3deg); } 40% { transform: rotate(3deg); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(1deg); } }

.ak-info { min-height: 1.5em; margin-top: 12px; text-align: center; font-size: .95rem; font-weight: 600; color: var(--fest-gold-hell); }

/* ---------- So funktioniert es ---------- */
.ak-how { text-align: center; }
.ak-how h2 { font-family: var(--serif); font-weight: 600; text-transform: none; font-size: 1.9rem; color: var(--fest-gold-hell); letter-spacing: -.01em; }
.ak-how p { margin: 12px auto 0; color: var(--c-muted); font-size: 1rem; max-width: 34em; }
.ak-how a { color: var(--fest-creme); text-decoration-color: var(--fest-gold); }

/* ---------- Footer ---------- */
.ak-fest .foot { margin-top: 56px; background: rgba(20, 2, 4, .45); border-top: 1px solid rgba(246, 220, 148, .25); color: rgba(248, 240, 224, .7); }
.ak-fest .foot a { color: var(--fest-creme); }
.ak-fest .thieme { border-color: rgba(246, 220, 148, .3); color: rgba(248, 240, 224, .7); }

/* ==========================================================================
   Türchen-Inhalt (Dialog): Papierkarte mit Goldkante
   ========================================================================== */
.ak-sheet {
  --c-ink: var(--fest-tinte); --c-muted: #7a6155; --c-line: rgba(90, 50, 20, .2); --c-surface: #fffaf0; --c-soft: #efe2c8;
  --c-primary: var(--fest-rot); --c-primary-ink: var(--fest-rot); --c-on-primary: var(--fest-creme);
  border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: none; max-height: 92svh; overflow: auto;
  background-color: var(--fest-creme); background-image: var(--fest-papier-hell); color: var(--fest-tinte); border-radius: 16px 16px 0 0;
}
.ak-sheet::backdrop { background: rgba(28, 3, 5, .72); backdrop-filter: blur(2px); }
.ak-sheet[open] { animation: ak-hoch .42s cubic-bezier(.2, .9, .25, 1.05); }
@keyframes ak-hoch { from { transform: translateY(60px) scale(.98); opacity: 0; } }
.ak-sheet__in { position: relative; padding: 26px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.ak-sheet__in::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--fest-gold-verlauf); }
.ak-sheet__x { position: absolute; top: 12px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: #7a6155; cursor: pointer; }
.is-sheet { overflow: hidden; }
.ak-konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

.ak-tuer__kopf { display: flex; gap: 12px; align-items: center; padding-right: 44px; }
.ak-tuer__n {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: var(--fest-gold-verlauf); color: var(--fest-rot-tief); font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1; font-variant-numeric: lining-nums;
  box-shadow: 0 2px 0 #8a5d17, inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.ak-tuer__typ { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--fest-rot); }
.ak-tuer__titel { font-family: var(--serif); font-weight: 600; text-transform: none; font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.02; letter-spacing: -.01em; margin: 14px 0 12px; color: var(--fest-rot); }
.ak-tuer__text { font-size: 1.06rem; line-height: 1.6; max-width: 32em; }
.ak-tuer__klein { margin-top: 10px; font-size: .82rem; color: var(--c-muted); }
.ak-tuer__lose { margin-top: 24px; padding-top: 12px; border-top: 1px dashed rgba(90, 50, 20, .3); font-size: .88rem; color: var(--c-muted); }
.ak-big { margin-top: 16px; font-family: var(--serif); font-weight: 600; font-size: 5rem; line-height: 1; background: var(--fest-gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(138, 93, 23, .5)); }
.ak-big::after { content: " Los"; font-size: 1.6rem; }
.ak-sheet .btn { background: var(--fest-rot); color: var(--fest-creme); box-shadow: 0 2px 0 var(--fest-rot-tief); text-shadow: none; }
.ak-sheet .btn--ghost { background: transparent; color: var(--fest-rot); box-shadow: inset 0 0 0 1.5px var(--fest-rot); }

.ak-frage { font-weight: 700; font-size: 1.18rem; line-height: 1.3; margin-bottom: 12px; }
.ak-opts { display: grid; gap: 8px; }
.ak-opt { min-height: 54px; padding: 12px 16px; text-align: left; background: #fffaf0; border: 1px solid rgba(90, 50, 20, .22); border-radius: 6px; font-weight: 600; cursor: pointer; color: var(--fest-tinte); }
.ak-opt:disabled { cursor: default; }
@media (hover: hover) { .ak-opt:not(:disabled):hover { border-color: var(--fest-rot); } }
.ak-opt.is-gewaehlt { border-color: var(--fest-tinte); }
.ak-opt.is-richtig { border-color: #1f6b43; box-shadow: inset 0 0 0 1px #1f6b43; background: #e9f3ea; color: #14532f; }
.ak-opt.is-falsch { border-color: #b3261e; color: #8c1d18; background: #fbeceb; }

.ak-res { margin-top: 16px; padding: 14px 16px; background: #efe2c8; border-left: 3px solid var(--fest-gold); border-radius: 0 6px 6px 0; }
.ak-res__h { font-weight: 800; margin-bottom: 4px; color: var(--fest-rot); }
.ak-bonus { margin-top: 14px; padding: 12px 14px; border: 1.5px dashed var(--fest-gold); border-radius: 6px; font-size: .98rem; background: rgba(246, 220, 148, .2); }

.ak-code { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 2px dashed var(--fest-rot); border-radius: 8px; background: #fffaf0; }
.ak-code__l { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.ak-code__c { font-size: 1.3rem; letter-spacing: .08em; margin-right: auto; color: var(--fest-rot); }
.ak-code__b { background: none; border: 0; padding: 8px 0; font-weight: 800; color: var(--fest-rot); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ak-anruf { width: 100%; margin-top: 16px; }

.ak-termin { margin-top: 16px; }
.ak-termin .btn { width: 100%; }

.ak-rad { margin-top: 16px; display: grid; justify-items: center; gap: 16px; }
.ak-rad__b { position: relative; width: 290px; max-width: 100%; aspect-ratio: 1; padding: 7px; border-radius: 50%; background: var(--fest-gold-verlauf); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.ak-rad__c { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ak-rad__z { position: absolute; top: -10px; left: 50%; z-index: 1; width: 0; height: 0; transform: translateX(-50%);
  border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 26px solid var(--fest-rot-tief); filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.ak-rad__btn { width: 100%; max-width: 320px; }
.ak-rad__erg { width: 100%; }

/* ---------- Teilnahmebedingungen (ruhig, ohne Festlook) ---------- */
.ak-recht { padding: 40px 0 0; max-width: 760px; }
.ak-recht h1 { font-size: calc(clamp(1.9rem, 7vw, 2.8rem) * var(--head-scale)); margin-bottom: 20px; }
.ak-recht h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 26px 0 8px; }
.ak-recht p, .ak-recht li { color: var(--c-ink); font-size: .98rem; }
.ak-recht .m { color: var(--c-muted); font-size: .88rem; }

/* ==========================================================================
   Größere Bildschirme
   ========================================================================== */
@media (min-width: 720px) {
  .ak-hero { padding-top: 64px; }
  .ak-fest .ask__box { padding: 36px 40px 34px; }
  .ak-brett { margin-inline: 0; padding: 14px; }
  .ak-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .ak-grid li.is-breit { grid-column: span 2; grid-row: span 2; }
  .is-breit .ak-door { aspect-ratio: 1 / 1; }
  .ak-door__n { font-size: 2.6rem; }
  .ak-door__s { font-size: .6rem; }
  .ak-sheet { margin: auto; width: min(560px, calc(100% - 48px)); border-radius: 10px; max-height: 88vh; }
  .ak-sheet__in { padding: 36px 40px 38px; }
}
@media (min-width: 1024px) {
  .ak-intro .wrap, .ak-me .wrap, .ask .wrap, .ak-how .wrap { max-width: 720px; }
  .ak-cal .wrap { max-width: 900px; }
}

@media (prefers-reduced-motion: reduce) {
  .ak-door__front, .ak-door::after { transition: none; }
  .ak-door.is-heute .ak-door__front, .ak-door.is-wackel .ak-door__front, .ak-door.is-laedt .ak-door__front, .ak-sheet[open], .ak-me__lose.is-plus { animation: none; }
  .ak-schnee { display: none; }
}

/* ==========================================================================
   Testleiste (nur Beispielseiten): Tag simulieren, ohne Anmeldung klicken
   ========================================================================== */
.ak-test {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(30, 18, 12, .96); color: var(--fest-creme); border-top: 2px solid var(--fest-gold); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35);
}
.ak-test__info { font-size: .74rem; line-height: 1.35; opacity: .85; margin-bottom: 8px; text-align: center; }
.ak-test__info strong { color: var(--fest-gold-hell); letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.ak-test__zeile { display: flex; align-items: center; justify-content: center; gap: 8px; }
.ak-test__pfeil { width: 44px; height: 40px; border: 1px solid rgba(246, 220, 148, .5); border-radius: 6px; background: none; color: var(--fest-gold-hell); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ak-test__pfeil:disabled { opacity: .3; cursor: default; }
.ak-test__tag { min-width: 118px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--fest-gold-hell); font-variant-numeric: lining-nums; }
.ak-test__neu { margin-left: 4px; height: 40px; padding: 0 12px; white-space: nowrap; border: 0; border-radius: 6px; background: var(--fest-gold-verlauf); color: var(--fest-rot-tief); font-weight: 800; font-size: .85rem; cursor: pointer; }
.ak-test ~ .foot { padding-bottom: 150px; }
@media (min-width: 720px) { .ak-test { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); border: 1px solid var(--fest-gold); border-radius: 10px; width: max-content; } }

/* ==========================================================================
   Deckel: Formular liegt auf dem Kalender, der Kalender ist verschwommen und mit Schleife verpackt.
   Nach der Anmeldung (body.is-frei) fliegt der Deckel weg und der Kalender wird scharf.
   ========================================================================== */
.ak-stapel { position: relative; display: grid; }
.ak-stapel > .ak-brett, .ak-stapel > .ak-deckel { grid-area: 1 / 1; }
.ak-brett { transition: filter .9s ease; }
body:not(.is-frei) .ak-brett { filter: blur(3px) saturate(.75) brightness(.5); pointer-events: none; user-select: none; }
.ak-schleife { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s ease, transform .8s cubic-bezier(.5, 0, .2, 1); transform-origin: 50% 0; }
.ak-schleife::before { content: ""; position: absolute; top: -2px; bottom: -2px; left: 50%; width: 30px; margin-left: -15px; background: var(--fest-gold-verlauf); box-shadow: 0 0 0 1px rgba(120, 80, 20, .35), 0 4px 14px rgba(0, 0, 0, .35); }
.ak-schleife::after { content: ""; position: absolute; left: -2px; right: -2px; top: 62%; height: 30px; background: var(--fest-gold-verlauf); box-shadow: 0 0 0 1px rgba(120, 80, 20, .35), 0 4px 14px rgba(0, 0, 0, .35); }
.is-frei .ak-schleife { opacity: 0; transform: scaleY(0); }

.ak-deckel { position: relative; z-index: 5; align-self: start; justify-self: center; width: calc(100% - 40px); max-width: 460px; margin-top: 74px; transition: opacity .55s ease, transform .75s cubic-bezier(.5, -.3, .3, 1); }
/* Schleife oben auf der Karte */
.ak-deckel::before {
  content: ""; position: absolute; left: 50%; top: -34px; z-index: 2; width: 96px; height: 58px; margin-left: -48px;
  background: var(--fest-gold-verlauf); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 58'%3E%3Cpath d='M48 26C36 4 8-2 5 12c-3 15 22 21 43 14zM48 26c12-22 40-28 43-14 3 15-22 21-43 14z'/%3E%3Crect x='41' y='20' width='14' height='13' rx='4'/%3E%3Cpath d='M43 31 31 58l9-4 6 4 2-27zM53 31l12 27-9-4-6 4-2-27z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 58'%3E%3Cpath d='M48 26C36 4 8-2 5 12c-3 15 22 21 43 14zM48 26c12-22 40-28 43-14 3 15-22 21-43 14z'/%3E%3Crect x='41' y='20' width='14' height='13' rx='4'/%3E%3Cpath d='M43 31 31 58l9-4 6 4 2-27zM53 31l12 27-9-4-6 4-2-27z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ak-fest .ak-deckel .ask__box { padding: 32px 18px 20px; }
.ak-deckel .ak-form { margin-top: 16px; }
.ak-deckel .field { margin-bottom: 10px; }
.ak-deckel .field input { min-height: 48px; }
.ak-deckel .ask__title { font-size: 1.8rem; }
.is-frei .ak-deckel { opacity: 0; transform: translateY(-60px) rotate(-4deg) scale(.92); pointer-events: none; }
.ak-ohne { display: block; margin: 14px auto 0; padding: 8px 4px; border: 0; background: none; font-size: .82rem; font-weight: 700; color: #7a6155; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 720px) { .ak-deckel { margin-top: 56px; } .ak-schleife::before { width: 40px; margin-left: -20px; } .ak-schleife::after { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .ak-deckel, .ak-schleife, .ak-brett { transition: none; } }

/* ==========================================================================
   Stil „thieme“ (advent.json → "stil": "thieme"): THIEME-Look, weihnachtlich.
   Signature-Verlauf Teal → Dunkel, Gotham, Gold als Weihnachtsakzent. Setzt nur die Festfarben um,
   der Aufbau bleibt gleich. Für THIEME selbst und Kunden, die ihre Hausfarbe statt Rot wollen.
   ========================================================================== */
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

body.ak-stil-thieme {
  --fest-rot: #076266;
  --fest-rot-hell: #0a8287;
  --fest-rot-tief: #1e2323;
  --fest-gruen: #2e2e2e;
  --fest-creme: #f5f2ec;
  --fest-kraft: #e4ded2;
  --fest-tinte: #1f2526;
  --serif: "Gotham", "Manrope", system-ui, sans-serif;
  --font-body: "Gotham", "Manrope", system-ui, sans-serif;
  font-family: var(--font-body);
  background-image: var(--fest-papier), radial-gradient(140% 70% at 50% 0%, #0a7a7f 0%, #076266 22%, #1d4142 48%, #2e2e2e 78%);
}
.ak-stil-thieme .ak-sheet, .ak-stil-thieme .ask__box { --fest-rot: #076266; --fest-rot-tief: #1e2323; }
/* Kopf dunkel mit weißem Logo */
.ak-stil-thieme .top { --c-ink: #f5f2ec; background: #262b2c; color: #f5f2ec; }
.ak-stil-thieme .top__call { color: var(--fest-gold-hell); }
/* Schrift: Gotham fett und gesperrt statt Antiqua */
.ak-stil-thieme .ak-hero h1 { font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.5rem, 6.5vw, 5rem); line-height: 1; }
.ak-stil-thieme .ak-hero__von { letter-spacing: .3em; }
.ak-stil-thieme .ak-me h2, .ak-stil-thieme .ak-how h2, .ak-stil-thieme .ak-tuer__titel, .ak-stil-thieme .ask__title, .ak-stil-thieme .ak-schon h3 { font-weight: 700; letter-spacing: -.01em; }
.ak-stil-thieme .ak-tuer__titel { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.1; }
.ak-stil-thieme .ask__title { font-size: 1.55rem !important; }
.ak-stil-thieme .ak-prize span { font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.ak-stil-thieme .ak-gewinne strong { font-weight: 700; letter-spacing: -.01em; }
.ak-stil-thieme .ak-door__n { font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.5rem, 7.6vw, 2.2rem); }
.ak-stil-thieme .is-gross .ak-door .ak-door__n { font-size: clamp(3.4rem, 19vw, 6rem); }
.ak-stil-thieme .ak-tuer__n { font-weight: 700; font-size: 1.35rem; }
.ak-stil-thieme .ak-test__tag { font-weight: 700; font-size: 1.1rem; }
/* Türchen: Creme, Sand, Anthrazit, Tiefteal; 6 in Teal, 24 in Gold */
.ak-stil-thieme .ak-door.v1 .ak-door__front { color: #076266; }
.ak-stil-thieme .ak-door.v4 .ak-door__front { background-color: #0b4f52; }
.ak-stil-thieme .is-breit .ak-door .ak-door__front { background-color: #076266; }
.ak-stil-thieme .is-gross .ak-door .ak-door__n, .ak-stil-thieme .is-gross .ak-door .ak-door__front::after { color: #1e2323; }
.ak-stil-thieme .is-gross .ak-door .ak-door__front::after { background: #1e2323; }
.ak-stil-thieme .ak-brett { background: rgba(10, 20, 20, .38); }
.ak-stil-thieme body:not(.is-frei) .ak-brett, body.ak-stil-thieme:not(.is-frei) .ak-brett { filter: blur(3px) saturate(.8) brightness(.55); }
.ak-stil-thieme .ak-door.is-heute .ak-door__s { background: #076266; }
/* ==========================================================================
   THIEME-Look (Chris, 27.10.2026: „der Kalender soll anders aussehen als bei Kunden“):
   Glas-Türchen statt Pappe, die nach oben wegschieben; dahinter je ein Teamporträt (advent.json →
   tuer_bilder, Build setzt --tbild + data-wer). Klare dunkle Anmeldekarte mit Icon-Siegel statt Schleife.
   Fläche: reiner Verlauf ohne Papier. Gold nur noch bei den Gewinnen.
   ========================================================================== */
body.ak-stil-thieme { background-image: radial-gradient(150% 75% at 50% 0%, #0a7a7f 0%, #076266 20%, #1d4142 50%, #2e2e2e 80%); background-attachment: fixed; }
.ak-stil-thieme .ak-schnee { opacity: .5; }
.ak-stil-thieme .top::after { background: linear-gradient(90deg, transparent, #12a8ae, transparent); height: 1px; bottom: -1px; }
.ak-stil-thieme .top__call { color: #fff; }

/* Hero: weiße Schrift, Teal-Linie, Foto von Chris */
.ak-stil-thieme .ak-hero__von { color: rgba(255, 255, 255, .72); }
.ak-stil-thieme .ak-hero h1 { background: none; color: #fff; filter: none; -webkit-background-clip: border-box; background-clip: border-box; }
.ak-stil-thieme .ak-hero__zier { color: #12a8ae; }
.ak-stil-thieme .ak-hero__zier::before, .ak-stil-thieme .ak-hero__zier::after { background: linear-gradient(90deg, transparent, #12a8ae); }
.ak-hero__foto { position: relative; margin: 26px auto 0; max-width: 640px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .1); }
.ak-hero__foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 45%; }
.ak-hero__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 22, 23, .8), transparent 45%); pointer-events: none; }
.ak-hero__foto figcaption { position: absolute; left: 16px; bottom: 13px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; }

.ak-stil-thieme .ak-me h2 { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
.ak-stil-thieme .ak-countdown { color: #7fd3d6; }
.ak-stil-thieme .ak-me__leiste a, .ak-stil-thieme .ak-me__leiste button { text-decoration-color: #12a8ae; }
.ak-stil-thieme .ak-how h2 { color: #fff; }
.ak-stil-thieme .ak-how a { text-decoration-color: #12a8ae; }
.ak-stil-thieme .ak-gewinne__h { color: rgba(255, 255, 255, .72); }

/* Brett: dunkle Glasfläche mit feiner Linie */
.ak-stil-thieme .ak-brett { background: rgba(8, 14, 15, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); border-radius: 14px; }
.ak-stil-thieme .ak-schleife { display: none; }

/* Türchen aus Glas */
.ak-stil-thieme .ak-door { perspective: none; overflow: hidden; border-radius: 10px; color: #fff; }
.ak-stil-thieme .ak-door__innen {
  border-radius: 10px; background-color: #142021; background-position: center 18%; background-size: cover; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.ak-stil-thieme .ak-door__innen::after { box-shadow: none; background: linear-gradient(to top, rgba(10, 16, 17, .82), transparent 50%); }
.ak-stil-thieme .ak-door::after { font-family: inherit; font-weight: 700; font-size: .8rem; right: 7px; bottom: 5px; }
.ak-stil-thieme .ak-door[data-wer]::before {
  content: attr(data-wer); position: absolute; left: 7px; bottom: 6px; right: 26px; z-index: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left;
  font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s ease .45s;
}
.ak-stil-thieme .ak-door.is-offen[data-wer]::before { opacity: 1; }
.ak-stil-thieme .ak-door__front {
  border-radius: 10px; transform-origin: 50% 0; color: #fff;
  background-color: #1f2c2d;
  background-image: linear-gradient(150deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .04) 48%, rgba(255, 255, 255, .09) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .13), 0 8px 18px rgba(0, 0, 0, .22);
  transition: transform .85s cubic-bezier(.7, 0, .2, 1), box-shadow .4s ease;
}
.ak-stil-thieme .ak-door__front::before { inset: 0; border: 0; border-radius: inherit; opacity: 1; background: linear-gradient(118deg, transparent 32%, rgba(255, 255, 255, .1) 44%, transparent 58%); }
.ak-stil-thieme .ak-door__front::after, .ak-stil-thieme .ak-door.v1 .ak-door__front::after, .ak-stil-thieme .ak-door.v3 .ak-door__front::after { content: none; }
.ak-stil-thieme .ak-door.v1 .ak-door__front { background-color: #1f2c2d; color: #fff; }
.ak-stil-thieme .ak-door.v2 .ak-door__front { background-color: #0a5559; color: #fff; }
.ak-stil-thieme .ak-door.v3 .ak-door__front { background-color: #171c1d; color: #fff; }
.ak-stil-thieme .ak-door.v4 .ak-door__front { background-color: #133a3c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(18, 168, 174, .55), 0 8px 18px rgba(0, 0, 0, .22); }
.ak-stil-thieme .ak-door .ak-door__n { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.ak-stil-thieme .is-breit .ak-door .ak-door__front { background-color: #076266; }
/* 24: Glas mit THIEME-Icon und feiner Goldlinie */
.ak-stil-thieme .is-gross .ak-door .ak-door__front {
  background-color: #1a2425; background-image: linear-gradient(150deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .04) 48%, rgba(255, 255, 255, .09) 100%); color: #fff; padding-top: 22%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(212, 162, 69, .75), 0 10px 24px rgba(0, 0, 0, .3);
}
.ak-stil-thieme .is-gross .ak-door .ak-door__front::after {
  content: ""; position: absolute; top: 15%; left: 50%; width: 22%; height: auto; aspect-ratio: 1; margin: 0; transform: translateX(-50%);
  background: center / contain no-repeat; -webkit-mask: none; mask: none;
}
.ak-stil-thieme .is-gross .ak-door .ak-door__n { color: #fff; text-shadow: none; }
/* Bewegung: Glas schiebt sich nach oben weg */
@media (hover: hover) { .ak-stil-thieme .ak-door:not(.is-offen):hover .ak-door__front { transform: translateY(-5%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.2), 0 12px 24px rgba(0,0,0,.3); } }
.ak-stil-thieme .ak-door.is-offen .ak-door__front,
.ak-stil-thieme .is-breit .ak-door.is-offen .ak-door__front,
.ak-stil-thieme .is-gross .ak-door.is-offen .ak-door__front { transform: translateY(-102%); box-shadow: none; }
.ak-stil-thieme .ak-door.is-laedt .ak-door__front { animation: ak-glas-ruck .6s ease-in-out infinite; }
@keyframes ak-glas-ruck { 50% { transform: translateY(-7%); } }
.ak-stil-thieme .ak-door:focus-visible { outline-color: #7fd3d6; border-radius: 10px; }
/* heute: Teal-Leuchten */
.ak-stil-thieme .ak-door.is-heute:not(.is-offen) { overflow: visible; }
.ak-stil-thieme .ak-door.is-heute:not(.is-offen) .ak-door__front { animation: ak-glas-leuchten 2.4s ease-in-out infinite; }
@keyframes ak-glas-leuchten {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 2px #12a8ae, 0 0 14px 2px rgba(18, 168, 174, .4); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 0 0 2px #7fd3d6, 0 0 26px 8px rgba(18, 168, 174, .6); }
}
.ak-stil-thieme .ak-door.is-heute .ak-door__s { background: #fff; color: #076266; }
.ak-stil-thieme .ak-door.is-verpasst .ak-door__front { filter: saturate(.3) brightness(.6); }
.ak-stil-thieme .ak-door.is-verpasst .ak-door__s { background: rgba(0, 0, 0, .55); color: #fff; }

/* Anmeldekarte: dunkles Glas, Teal-Linie, Icon-Siegel */
.ak-stil-thieme .ak-deckel::before {
  top: -30px; width: 60px; height: 60px; margin-left: -30px; border-radius: 50%; filter: none;
  -webkit-mask: none; mask: none; background: #076266 center / 46% no-repeat;
  box-shadow: 0 0 0 4px rgba(18, 168, 174, .25), 0 8px 18px rgba(0, 0, 0, .35);
}
.ak-stil-thieme .ask__box {
  --c-ink: #f2f5f5; --c-muted: #a9b5b5; --c-line: rgba(255, 255, 255, .18); --c-surface: rgba(255, 255, 255, .06); --c-soft: rgba(255, 255, 255, .07);
  --c-primary: #12a8ae; --c-primary-ink: #7fd3d6; --c-on-primary: #fff;
  color: #f2f5f5; background-color: rgba(22, 32, 33, .94); background-image: linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 40%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .45); border-radius: 14px; border-top: 3px solid #12a8ae;
}
.ak-stil-thieme .ask__box::before { content: none; }
.ak-stil-thieme .ask__title, .ak-stil-thieme .ak-schon h3 { color: #fff; }
.ak-stil-thieme .ask__sub { color: #c4cfcf; }
.ak-stil-thieme .ask__box .field input { color: #fff; }
.ak-stil-thieme .ask__box .field input:focus { background: rgba(255, 255, 255, .1); }
.ak-stil-thieme .ask__box a { color: #7fd3d6; }
.ak-stil-thieme .ak-check input { accent-color: #12a8ae; }
.ak-stil-thieme .ak-nur--form { border-left-color: #12a8ae; }
.ak-stil-thieme .ak-ohne { color: #a9b5b5; }
.ak-stil-thieme .btn {
  background: linear-gradient(180deg, #0a8287, #076266); color: #fff; text-shadow: none; border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(18, 168, 174, .5), 0 10px 22px rgba(0, 0, 0, .3);
}
.ak-stil-thieme .btn:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(18, 168, 174, .5); }

/* Türchen-Inhalt: hell und klar, Teal statt Gold */
.ak-stil-thieme .ak-sheet { --c-surface: #fff; --c-soft: #e8eeee; --c-muted: #5f6a68; --c-line: #d5dcdc; background-color: #f6f8f8; background-image: none; }
.ak-stil-thieme .ak-sheet__in::before { background: #076266; height: 4px; }
.ak-stil-thieme .ak-tuer__n { background: #076266; color: #fff; box-shadow: none; }
.ak-stil-thieme .ak-sheet .btn { background: #076266; box-shadow: none; }
.ak-tuer__wer { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: .78rem; font-weight: 700; color: #46504f; }
.ak-tuer__wer img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center 18%; }

/* Kundenlogos */
.ak-logos { order: 5; text-align: center; }
.ak-logos h2 { font-size: .74rem !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-bottom: 18px; }
/* Logos wie auf thiemeconsulting.de: Originalfarben auf weißem Band (viele Logos haben weißen Grund) */
.ak-logos__liste { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #e2e8e8; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.ak-logos__liste li { display: grid; place-items: center; height: 64px; padding: 10px 12px; background: #fff; }
.ak-logos__liste img { max-width: 100%; max-height: 32px; width: auto; height: auto; object-fit: contain; }
@media (min-width: 720px) { .ak-logos__liste { grid-template-columns: repeat(8, minmax(0, 1fr)); } .ak-logos__liste li { height: 78px; } .ak-logos__liste img { max-height: 34px; } }

/* eigene Seite von THIEME: kein „Umgesetzt von“-Badge */
.ak-eigen .thieme { display: none; }

/* Hinweis unter einem Formularfeld (z. B. Telefon „für die Auslosung“) */
.field__hinweis { display: block; margin-top: 5px; font-size: .78rem; line-height: 1.4; color: var(--c-muted); }

/* Tagespreis (Rath, 08.11.2026): Produktfoto im Türchen und hinter der geöffneten Tür */
.ak-preis { display: flex; gap: 14px; align-items: center; margin: 4px 0 16px; padding: 10px; background: #fff; border: 1px solid #e6dcc6; border-radius: 8px; }
.ak-preis img { width: 96px; height: 96px; object-fit: contain; flex: none; }
.ak-preis__t { display: grid; gap: 2px; }
.ak-preis__t strong { font-size: 1.05rem; line-height: 1.3; }
.ak-preis__l { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fest-rot); font-weight: 700; }
.ak-preis .ak-tuer__klein { margin-top: 2px; }
.ak-door__innen.is-preis { background-color: #fff; background-size: 78% auto; background-repeat: no-repeat; background-position: center; }
.ak-verlost { margin-top: 6px; font-size: .85rem; opacity: .85; }
.ak-verlost:empty { display: none; }
@media (min-width: 560px) { .ak-preis img { width: 120px; height: 120px; } }

/* Wieder rein mit der E-Mail (08.11.2026) */
.ak-login-auf { margin-top: 6px; }
.ak-login__p { font-size: .92rem; margin: 0 0 12px; text-align: center; }
.ak-login-auf[hidden], #ak-login[hidden] { display: none; }

/* Vorab-Sperre („Ab … verfügbar“) */
body.is-bald .ak-deckel .ask__box > :not(.ak-bald) { display: none !important; }
body.is-bald .ak-bald { display: block !important; text-align: center; padding: 8px 0 6px; }
body.is-bald .ak-bald .ask__sub { margin-top: 10px; }

/* Einleitung mit eigenem Titel und mehreren Absätzen (Rath) */
.ak-intro > .wrap > p.ak-intro__titel:first-child { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.2; color: var(--fest-gold-hell); margin-bottom: 4px; }
.ak-intro p + p { margin-top: 10px; }
.ak-how p + p { margin-top: 10px; }
.ak-gewinne li:has(.ak-gewinne__text) { grid-template-areas: "platz wert" "titel wert" "text text"; }
.ak-gewinne__text { grid-area: text; margin-top: 4px; font-size: .9rem; line-height: 1.4; }

/* Rath 16.11.2026: Logo als Link, Produktlink bei Gewinnen */
.top__home { display: inline-flex; align-items: center; }
.ak-gewinne li:has(.ak-gewinne__link) { grid-template-areas: "platz wert" "titel wert" "text text" "link link"; }
.ak-gewinne__link { grid-area: link; justify-self: start; margin-top: 6px; font-size: .86rem; font-weight: 700; color: var(--fest-gold-hell); text-decoration: underline; text-underline-offset: 3px; }
.ak-gewinne li.is-haupt .ak-gewinne__link { color: #1e2323; }
