@font-face { font-family: "CamMono"; src: url("cammono.ttf") format("truetype"); font-weight: 700; }
:root {
  --bg: #0d1117; --bg2: #151b24; --card: #1b2330; --ink: #eef1f5; --muted: #a3adbb;
  --rot: #e5484d; --warm: #ffc56b; --gruen: #46a758; --line: #2a3442;
  --mono: "CamMono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--warm); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.small, .hint { color: var(--muted); font-size: .9rem; }
.rec { font-family: var(--mono); color: var(--muted); letter-spacing: .08em; font-size: .9rem; margin: 0 0 .8em; }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; background: var(--rot); margin-right: .3em; animation: blink 1s steps(1) infinite; vertical-align: -.05em; }
@keyframes blink { 50% { opacity: .15; } }
.btn { display: inline-block; background: var(--warm); color: #1a1206; border: 0; border-radius: 999px; padding: .8em 1.6em; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; }
.btn.big { width: 100%; font-size: 1.15rem; padding: 1em; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:disabled { opacity: .5; cursor: wait; }

.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; max-width: 1150px; margin: 0 auto; padding: 4rem 1.25rem 3rem; }
.lead { font-size: 1.15rem; color: #cfd6df; max-width: 34em; }
.hero-video video { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #000; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1150px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.steps b { font-family: var(--mono); color: var(--warm); font-size: 1.4rem; }
.szenen, .order, .faq { max-width: 1150px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

.order form { max-width: 760px; margin: 0 auto; }
.order h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
fieldset { border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); padding: 1.2rem 1.3rem 1.4rem; margin: 0 0 1.2rem; }
legend { font-weight: 700; padding: 0 .4em; }
.drop { display: grid; place-items: center; min-height: 170px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; text-align: center; padding: 1rem; color: var(--muted); }
.drop.over { border-color: var(--warm); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop img { max-width: 100%; max-height: 320px; border-radius: 8px; margin-top: .6rem; }
.konfig { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; }
.konfig-bild { position: relative; background: #d9dadc; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.konfig-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.konfig-bild.ist-zufall::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 6rem/1 var(--mono); color: #fff; background: rgba(13,17,23,.55); }
.lbl { margin: .3em 0 .4em; font-weight: 600; font-size: .95rem; }
.chips, .swatches { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.chips input, .swatches input, .produkt input { position: absolute; opacity: 0; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; cursor: pointer; }
.chips input:checked + span { background: var(--warm); color: #1a1206; border-color: var(--warm); }
.swatches span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.swatches input:checked + span { outline: 3px solid var(--warm); outline-offset: 2px; }
.swatches .zufall { background: conic-gradient(#c62828, #1e5bb8, #2e7d32, #f2f2f2, #c62828); color: #fff; font: 700 1rem var(--mono); text-shadow: 0 1px 2px #000; }
.chips input:focus-visible + span, .swatches input:focus-visible + span, .produkt input:focus-visible ~ span { outline: 3px solid #fff; }
.produkt { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .6rem; cursor: pointer; color: var(--muted); font-size: .95rem; }
.produkt b { color: var(--ink); font-size: 1.02rem; }
.produkt:has(input:checked) { border-color: var(--warm); background: rgba(255,197,107,.07); }
.produkt.best b::after { content: " · beliebt"; color: var(--warm); font-weight: 600; font-size: .85rem; }
.preis { font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
.preis s { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.field { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .95rem; }
.field input, .field select { display: block; width: 100%; margin-top: .35rem; padding: .75em .9em; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); }

.narrow { max-width: 720px; margin: 0 auto; padding: 4rem 1.25rem; }
.wide { max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem; }
.aufnahme { margin: 2rem 0; }
.aufnahme video { width: 100%; border-radius: 12px; background: #000; }
.admin-order { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; background: var(--bg2); }
.admin-order.st-pruefung { border-color: var(--warm); }
.admin-order.st-fehler, .admin-order.st-wartet_fal { border-color: var(--rot); }
.admin-order.st-archiviert { opacity: .75; }
.admin-order h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.badge { display: inline-block; font: 700 .8rem/1 var(--mono); padding: .3rem .55rem; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; }
.b-bezahlt { --st: #9fb3c8; } .b-in_arbeit, .b-neu_rechnen { --st: #58a6ff; } .b-wartet_fal { --st: #f0883e; }
.b-fehler { --st: var(--rot); } .b-foto_ungeeignet { --st: #db61a2; } .b-pruefung { --st: var(--warm); }
.b-freigegeben { --st: #3fb950; } .b-abgerufen { --st: #39c5cf; } .b-archiviert { --st: #a371f7; } .b-geloescht { --st: #8b949e; }
.badge { color: var(--st); }
.admin-order h2 .badge { font-size: .95rem; }
.zaehler .badge { margin-right: .15rem; }
.ansicht a { display: inline-block; margin-right: .8rem; padding: .3rem 0; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.ansicht a.an { color: var(--ink); border-color: var(--warm); font-weight: 700; }
.leiste { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: .4rem 0 .6rem; counter-reset: s; }
.leiste li { counter-increment: s; font: .78rem/1 var(--mono); padding: .35rem .5rem; border-radius: 6px; background: var(--card); color: #5d6878; }
.leiste li::before { content: counter(s) ". "; }
.leiste li.done { color: var(--muted); }
.leiste li.done::before { content: "✓ "; }
.leiste li.jetzt { background: transparent; color: var(--st); border: 1px solid var(--st); font-weight: 700; }
.archiv-knopf { margin: .3rem 0 .6rem; }
.btn.small { padding: .3rem .7rem; font-size: .85rem; }
.admin-vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.admin-vids figure { margin: 0; }
.admin-vids video { width: 100%; border-radius: 8px; background: #000; }
.admin-vids p { grid-column: 1 / -1; }
.beispiele { max-width: 1150px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.beispiele > h2, .beispiele > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.beispiel { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; margin: 1.4rem 0; }
.paar { display: grid; grid-template-columns: 1fr auto 1fr; gap: .9rem; align-items: center; }
.paar figure { margin: 0; }
.paar img, .paar video { width: 100%; max-height: 520px; object-fit: contain; background: #000; border-radius: 10px; display: block; }
.paar figcaption { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: .4rem; text-align: center; }
.pfeil { font-size: 2rem; color: var(--warm); }
.vorlage h1 { margin-top: .2em; }
.brief-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; align-items: end; margin: 1.5rem 0; }
.brief-form .field { margin: 0; }
.brief { background: #fdf6e3; color: #3b2a1a; border-radius: 6px; padding: 2.2rem 2.4rem; margin: 1rem 0; box-shadow: 0 20px 50px rgba(0,0,0,.45);
  font: 1.12rem/1.7 "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; border: 6px double #c62828; }
.brief p { margin: 0 0 .9em; }
.brief-datum { text-align: right; font-size: .9rem; opacity: .75; }
.brief-gruss { margin-top: 1.4em !important; }
.brief-ps { font-size: .95rem; opacity: .85; }
.brief [data-f] { color: #a3201c; }
.cta-kamera { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.2rem; align-items: center; background: var(--bg2); border: 1px solid var(--warm);
  border-radius: 14px; padding: 1.1rem; margin: 2rem 0; }
.cta-kamera video { width: 100%; border-radius: 10px; background: #000; display: block; }
.cta-kamera h3 { margin: .2rem 0 .4rem; }
.cta-kamera p { color: var(--muted); font-size: .95rem; }
.streiche { padding-left: 0; list-style: none; }
.streiche li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.streiche li b { color: var(--ink); }
.streiche li.ohne-nr { border: 0; padding: 0; }
.vorlagen-liste li { margin: .4rem 0; }
@media (max-width: 640px) { .brief-form, .cta-kamera { grid-template-columns: 1fr; } .brief { padding: 1.4rem; } }
@media print {
  body { background: #fff; }
  body * { visibility: hidden; }
  .brief, .brief * { visibility: visible; }
  .brief { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
}
#wichtelfrau .paar { grid-template-columns: 1fr auto 2fr; }
#wichtelfrau .paar img { background: #d9dadc; }
.beispiel h3 { margin: .9rem 0 .2rem; }
@media (max-width: 700px) { .paar { grid-template-columns: 1fr; } .pfeil { transform: rotate(90deg); justify-self: center; } }
.szenen > h2, .szenen > .lead { text-align: center; margin-left: auto; margin-right: auto; }
.paket-foto { max-width: 420px; margin: 1rem auto 1.4rem; text-align: center; }
.paket-foto img { width: 100%; border-radius: 10px; display: block; }
.paket-foto span { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.szenen .grid4 { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 600px) { .szenen .grid4 { grid-template-columns: 1fr; } }
.card.nacht video { width: 100%; border-radius: 8px; background: #000; display: block; margin-bottom: .7rem; }
.kamera canvas { width: 100%; height: auto; display: block; border-radius: 12px; background: #000; cursor: pointer; }
.kamera-ui { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .6rem; }
.flash { background: rgba(70,167,88,.15); border: 1px solid var(--gruen); padding: .8rem 1rem; border-radius: 10px; }
.flash.err { background: rgba(229,72,77,.15); border-color: var(--rot); }
.legal h3 { font-size: 1.02rem; margin: 1.2rem 0 .3rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: .3rem 0; }
.legal h2 { font-size: 1.2rem; margin-top: 1.6rem; }
.legal .todo { background: #3b1d1d; border: 1px solid var(--rot); padding: .8rem 1rem; border-radius: 10px; }
.foot { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 2rem; }
  .steps, .grid4 { grid-template-columns: 1fr 1fr; }
  .konfig { grid-template-columns: 1fr; }
  .konfig-bild { max-width: 220px; }
}
@media (max-width: 520px) { .steps, .grid4 { grid-template-columns: 1fr; } }
.warn { color: var(--rot); font-weight: 700; }
.zub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.card.zub { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--ink); }
.card.zub img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.card.zub h3 { font-size: 1.02rem; margin: .3rem 0 0; }
.card.zub p { flex: 1; }
.card.zub .btn { text-align: center; margin-top: .4rem; }
.topnav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1.25rem; background: rgba(13,17,23,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topnav .logo { font-family: var(--mono); color: var(--ink); text-decoration: none; letter-spacing: .08em; font-size: .9rem; white-space: nowrap; }
.topnav div { display: flex; gap: .4rem; }
.topnav div a { color: var(--muted); text-decoration: none; padding: .4em .9em; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
.topnav div a.aktiv { background: var(--warm); color: #1a1206; font-weight: 700; }
@media (max-width: 520px) { .topnav .logo { display: none; } .topnav { justify-content: center; } }
/* mini Wichtel: smaller preview + badge */
.konfig-bild img { transition: transform .25s; }
.konfig-bild.ist-mini img { transform: scale(.55); transform-origin: 50% 92%; }
.konfig-bild.ist-mini::before { content: "MINI · ca. 5 cm"; position: absolute; top: .6rem; left: .6rem; z-index: 1; font: 700 .8rem/1 var(--mono); background: #0d1117; color: #fff; padding: .35rem .5rem; border-radius: 6px; }
#gebfeld input { max-width: 14rem; }
/* video watch pages */
.videoseite .hauptvideo { width: 100%; max-height: 75vh; border-radius: 12px; background: #000; display: block; margin: 1rem 0; }
.videoseite .quellfoto img { width: 100%; max-width: 520px; border-radius: 10px; display: block; }
.videoseite .quellfoto figcaption { font-size: .85rem; opacity: .75; margin-top: .4rem; }
.videoliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin: 1rem 0 2rem; }
.videoliste a { color: inherit; text-decoration: none; font-size: .9rem; }
.videoliste img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; display: block; margin-bottom: .35rem; }
.beispiel h3 a, .card h3 a { color: inherit; }
