/* Advent-Designer – Look wie die Box: Eierschale, Cranberry, Tannengrün, Gold */
@font-face { font-family: 'BC'; font-weight: 700; src: url('/assets/fonts/google/font-barlow-condensed-latin-11.woff2') format('woff2'); }
@font-face { font-family: 'BC'; font-weight: 800; src: url('/assets/fonts/google/font-barlow-condensed-latin-13.woff2') format('woff2'); }
@font-face { font-family: 'BC'; font-weight: 900; src: url('/assets/fonts/google/font-barlow-condensed-latin-15.woff2') format('woff2'); }
@font-face { font-family: 'Pacifico'; font-weight: 400; src: url('/assets/fonts/advent/pacifico-latin.woff2') format('woff2'); }
:root {
  --papier: #f3ead6; --karte: #fffaf0; --linie: #e0d2b2; --cran: #9b2226; --cran-d: #6e1418; --tanne: #1f4d3a; --gold: #d9a441; --kakao: #3a241a; --leise: #7a6250;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--papier); }
body { color: var(--kakao); font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
button, input { font: inherit; color: inherit; }
h1, h2 { margin: 0; }
.av-app { max-width: 1440px; margin: 0 auto; padding: 22px 18px 30px; }
.av-kopf { text-align: center; margin-bottom: 18px; }
.av-eyebrow { font-family: BC, sans-serif; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--tanne); font-size: 13px; }
.av-kopf h1 { font-family: Pacifico, cursive; font-weight: 400; color: var(--cran); font-size: clamp(34px, 5vw, 52px); line-height: 1.2; }
.av-kopf p { margin: 4px auto 0; max-width: 60ch; color: var(--leise); }
.av-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.av-col { display: flex; flex-direction: column; gap: 14px; }
.av-block { background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.av-block h2 { font-family: BC, sans-serif; font-weight: 800; font-size: 20px; color: var(--tanne); display: flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.av-block h2 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cran); color: var(--papier); font-size: 15px; }
.av-klein { font-size: 13px; color: var(--leise); margin: 0; }
.av-editionen { display: grid; gap: 8px; }
.av-edition { text-align: left; border: 2px solid var(--linie); background: #fff; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.av-edition b { font-family: BC, sans-serif; font-weight: 800; font-size: 18px; color: var(--tanne); }
.av-edition .p { font-family: BC, sans-serif; font-weight: 900; font-size: 20px; color: var(--cran); align-self: center; grid-row: span 2; }
.av-edition small { color: var(--leise); }
.av-edition.aktiv { border-color: var(--cran); box-shadow: 0 0 0 3px #9b222622; }
.av-stile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.av-stil { border: 2px solid transparent; background: none; padding: 0; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--kakao); }
.av-stil canvas { width: 100%; height: auto; border-radius: 7px; box-shadow: 0 3px 8px #3a241a33; display: block; }
.av-stil.aktiv { border-color: var(--cran); }
.av-stil:focus-visible, .av-edition:focus-visible, .av-tag:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.av-feld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--tanne); }
.av-feld small { font-weight: 400; color: var(--leise); }
.av-feld input { border: 1px solid var(--linie); border-radius: 10px; padding: 9px 11px; background: #fff; }
.av-buehne { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 16px; }
.av-buehne-kopf { display: flex; gap: 10px; align-items: baseline; }
.av-buehne-kopf b { font-family: Pacifico, cursive; font-weight: 400; font-size: 26px; color: var(--cran); }
.av-karte-reihe { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.av-karte { width: min(360px, 72vw); aspect-ratio: 750 / 1039; position: relative; touch-action: none; }
.av-karte canvas { width: 100%; height: 100%; display: block; border-radius: 14px; box-shadow: 0 18px 30px -12px #3a241a88; cursor: grab; }
.av-karte canvas:active { cursor: grabbing; }
.av-pfeil { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linie); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--cran); }
.av-werkzeug { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.av-btn { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--cran); color: var(--cran); background: #fff; border-radius: 999px; padding: 9px 18px; font-family: BC, sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .03em; cursor: pointer; }
.av-btn.voll { background: var(--cran); color: var(--papier); }
.av-btn:disabled { opacity: .5; cursor: not-allowed; }
.av-regler { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; max-width: 380px; }
.av-regler label { display: flex; gap: 8px; align-items: center; width: 100%; font-size: 13px; font-weight: 600; color: var(--tanne); }
.av-regler input { flex: 1; accent-color: var(--cran); }
.av-buehne .av-feld { width: 100%; max-width: 380px; }
.av-drop { border: 2px dashed var(--gold); border-radius: 12px; padding: 14px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.av-drop b { font-family: BC, sans-serif; font-weight: 800; color: var(--cran); font-size: 17px; }
.av-drop span { font-size: 12px; color: var(--leise); }
.av-drop.ziel { background: #fdf3df; }
.av-fortschritt { height: 10px; border-radius: 99px; background: #eadfc4; overflow: hidden; }
.av-fortschritt div { height: 100%; width: 0; background: linear-gradient(90deg, var(--cran), var(--gold)); transition: width .3s; }
.av-preis { display: flex; justify-content: space-between; align-items: baseline; font-family: BC, sans-serif; }
.av-preis span { font-weight: 700; color: var(--tanne); font-size: 16px; }
.av-preis b { font-weight: 900; font-size: 34px; color: var(--cran); }
.av-frist { font-size: 13px; background: #fdf3df; border-radius: 10px; padding: 8px 10px; color: var(--kakao); }
.av-btn.warenkorb { justify-content: center; background: var(--tanne); border-color: var(--tanne); color: var(--papier); font-size: 18px; padding: 12px; }
.av-msg { font-size: 14px; border-radius: 10px; padding: 9px 11px; background: #eef7f0; color: var(--tanne); }
.av-msg.err { background: #fbeceb; color: var(--cran-d); }
.av-tage { margin-top: 18px; background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 16px; }
.av-tage-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; margin-bottom: 12px; }
.av-tage-kopf h2 { font-family: Pacifico, cursive; font-weight: 400; color: var(--cran); font-size: 26px; }
.av-tage-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.av-tag { border: 2px solid transparent; background: none; padding: 0; border-radius: 9px; cursor: pointer; position: relative; }
.av-tag canvas { width: 100%; height: auto; display: block; border-radius: 7px; box-shadow: 0 3px 8px #3a241a33; }
.av-tag.aktiv { border-color: var(--cran); }
.av-tag.leer::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; color: #fff; text-shadow: 0 1px 3px #0008; }
.av-tag.ziel { border-color: var(--gold); }
@media (max-width: 1100px) {
  .av-grid { grid-template-columns: 1fr; }
  .av-buehne { order: -1; }
  .av-tage-raster { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .av-tage-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
