/*
 * Stile für Gäste-App, Leinwand und Kopplungsseite.
 * Aktiv über <html data-style="...">, gewählt im Admin-Bereich.
 * Jeder Stil setzt die Grundfarben und Schriften; einige ergänzen eigene Effekte.
 * Bewusst einfaches CSS, damit auch ältere Fernseher-Browser es darstellen.
 */

/* Zusätzliche Schriften der Stile (lokal ausgeliefert) */
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded/unbounded-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Orbitron'; src: url('/fonts/orbitron/orbitron-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'VT323'; src: url('/fonts/vt323/vt323-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-garamond/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root { --chip: rgba(30,33,48,.92); --table: #221D1A; --label: rgba(20,22,31,.78); --label-text: #F5EFE3; }

/* ---------- Nacht (Standard) ---------- */
/* entspricht den Grundwerten aus style.css */

/* ---------- Minimal (hell, ruhig) ---------- */
html[data-style="minimal"] {
  --night: #F6F5F1; --panel: #FFFFFF; --line: #DEDBD3; --cream: #141414; --muted: #55534E; --soft: #8A877F;
  --gold: #141414; --gold-hi: #333333; --warn: #B4472B;
  --display: 'Inter', system-ui, sans-serif; --chip: rgba(255,255,255,.95); --table: #ECEAE4; --label: rgba(255,255,255,.9); --label-text: #141414;
  color-scheme: light;
}
html[data-style="minimal"] .hero, html[data-style="minimal"] h1, html[data-style="minimal"] h2 { font-weight: 700 !important; letter-spacing: -.02em; }
html[data-style="minimal"] .btn-gold { color: #FFFFFF; }
html[data-style="minimal"] .cell, html[data-style="minimal"] .ft-img, html[data-style="minimal"] .lb-item, html[data-style="minimal"] .wf-item { border-radius: .4vh; }
html[data-style="minimal"] .tile, html[data-style="minimal"] .btn, html[data-style="minimal"] .input, html[data-style="minimal"] .check { border-radius: 6px; }
html[data-style="minimal"] .qrchip { box-shadow: 0 .4vh 1.6vh rgba(0,0,0,.08); }

/* ---------- Elegant (Hochzeit, Jubiläum) ---------- */
html[data-style="elegant"] {
  --night: #FBF8F2; --panel: #FFFFFF; --line: #E6DFD2; --cream: #2B2A26; --muted: #5F5A50; --soft: #8E877A;
  --gold: #A8854A; --gold-hi: #BE9A5C; --warn: #A6452E;
  --display: 'Cormorant Garamond', Georgia, serif; --chip: rgba(255,255,255,.95); --table: #EFE8DC; --label: rgba(255,255,255,.9); --label-text: #2B2A26;
  color-scheme: light;
}
html[data-style="elegant"] .hero, html[data-style="elegant"] h1, html[data-style="elegant"] h2 { font-weight: 600 !important; }
html[data-style="elegant"] .btn-gold { color: #FFFFFF; }
html[data-style="elegant"] .cell, html[data-style="elegant"] .ft-img { box-shadow: inset 0 0 0 1px #E6DFD2; }

/* ---------- Neon (cool, dunkel) ---------- */
html[data-style="neon"] {
  --night: #07080C; --panel: #11131B; --line: #262A3A; --cream: #EEF4FF; --muted: #A9B4CC; --soft: #77819A;
  --gold: #00E5FF; --gold-hi: #6CF2FF; --warn: #FF4F8B;
  --display: 'Unbounded', 'Inter', sans-serif; --chip: rgba(17,19,27,.92);
}
html[data-style="neon"] .hero, html[data-style="neon"] .head h1 { text-shadow: 0 0 18px rgba(0,229,255,.45); }
html[data-style="neon"] .cell, html[data-style="neon"] .ft-img, html[data-style="neon"] .lb-item, html[data-style="neon"] .wf-item { box-shadow: 0 0 0 1px rgba(0,229,255,.25), 0 0 2vh rgba(0,229,255,.08); }
html[data-style="neon"] .cell.isnew, html[data-style="neon"] .ft-img.isnew { box-shadow: 0 0 0 .4vh #FF2BD6, 0 0 3vh rgba(255,43,214,.6); }
html[data-style="neon"] .btn-gold { box-shadow: 0 0 20px rgba(0,229,255,.35); }

/* ---------- 70er ---------- */
html[data-style="siebziger"] {
  --night: #F2E6CF; --panel: #FBF3E4; --line: #DCC7A2; --cream: #3B2416; --muted: #6E4F36; --soft: #957556;
  --gold: #D9661F; --gold-hi: #E8833F; --warn: #A6342A;
  --display: 'Shrikhand', Georgia, serif; --chip: rgba(251,243,228,.96); --table: #6E4326; --label: rgba(59,36,22,.82); --label-text: #FBF3E4;
  color-scheme: light;
}
html[data-style="siebziger"] body { background: #F2E6CF; }
html[data-style="siebziger"] .btn-gold { color: #FFF7EA; }
html[data-style="siebziger"] .cell, html[data-style="siebziger"] .ft-img, html[data-style="siebziger"] .lb-item, html[data-style="siebziger"] .wf-item, html[data-style="siebziger"] .tile { border-radius: 2.4vh; }
html[data-style="siebziger"] .head { border-bottom: .6vh solid #D9661F; box-shadow: 0 .9vh 0 #E8B04B, 0 1.8vh 0 #6E4326; padding-bottom: .8vh; margin-bottom: 3.6vh; }

/* ---------- 80er (Synthwave) ---------- */
html[data-style="achtziger"] {
  --night: #12021F; --panel: #23083A; --line: #4A1A6B; --cream: #FCEBFF; --muted: #D7B5E6; --soft: #A684B8;
  --gold: #FF2BD6; --gold-hi: #FF6BE3; --warn: #FFB13B;
  --display: 'Orbitron', 'Inter', sans-serif; --chip: rgba(35,8,58,.92); --table: #1A0530;
}
html[data-style="achtziger"] body {
  background-color: #12021F;
  background-image: linear-gradient(rgba(255,43,214,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,.12) 1px, transparent 1px), linear-gradient(#2A0845, #12021F 55%);
  background-size: 6vh 6vh, 6vh 6vh, 100% 100%;
}
html[data-style="achtziger"] .hero, html[data-style="achtziger"] .head h1 { color: #FFE9FB; text-shadow: 0 0 6px #FF2BD6, 0 0 22px #FF2BD6, 3px 3px 0 #00E5FF; }
html[data-style="achtziger"] .head .sub, html[data-style="achtziger"] .date { color: #00E5FF; }
html[data-style="achtziger"] .cell, html[data-style="achtziger"] .ft-img { box-shadow: 0 0 0 1px rgba(255,43,214,.5), 0 0 2.4vh rgba(255,43,214,.25); }

/* ---------- 90er (Desktop-Look) ---------- */
html[data-style="neunziger"] {
  --night: #008080; --panel: #C0C0C0; --line: #808080; --cream: #FFFFFF; --muted: #E6F2F2; --soft: #CDE6E6;
  --gold: #FFFF00; --gold-hi: #FFFF66; --warn: #FF5555;
  --display: 'VT323', 'Courier New', monospace; --chip: #C0C0C0; --table: #006A6A; --label: #000080; --label-text: #FFFFFF;
}
html[data-style="neunziger"] .hero { font-size: clamp(64px, 20vw, 96px) !important; font-weight: 400 !important; }
html[data-style="neunziger"] .head h1 { font-weight: 400; font-size: 5.4vh; }
html[data-style="neunziger"] .btn, html[data-style="neunziger"] .input, html[data-style="neunziger"] .tile,
html[data-style="neunziger"] .cell, html[data-style="neunziger"] .ft-img, html[data-style="neunziger"] .lb-item, html[data-style="neunziger"] .wf-item, html[data-style="neunziger"] .qrchip, html[data-style="neunziger"] .check {
  border-radius: 0 !important; border: 2px solid; border-color: #FFFFFF #404040 #404040 #FFFFFF;
}
html[data-style="neunziger"] .btn-gold { background: #C0C0C0; color: #000000; }
html[data-style="neunziger"] .btn-ghost, html[data-style="neunziger"] .pill, html[data-style="neunziger"] .btn-icon { background: #C0C0C0; color: #000000; border-radius: 0; }
html[data-style="neunziger"] .input { background: #FFFFFF; color: #000000; border-color: #404040 #FFFFFF #FFFFFF #404040; }
html[data-style="neunziger"] .check { background: #C0C0C0; color: #000000; }
html[data-style="neunziger"] .check small { color: #303030; }
html[data-style="neunziger"] .cell, html[data-style="neunziger"] .ft-img, html[data-style="neunziger"] .lb-item, html[data-style="neunziger"] .wf-item { padding-top: 2.6vh; background: #C0C0C0; }
html[data-style="neunziger"] .cell::before, html[data-style="neunziger"] .ft-img::before, html[data-style="neunziger"] .lb-item::before, html[data-style="neunziger"] .wf-item::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2.4vh; background: linear-gradient(90deg, #000080, #1084D0); z-index: 2;
}
html[data-style="neunziger"] .cell .pic, html[data-style="neunziger"] .ft-img .pic { top: 2.6vh; height: calc(100% - 2.6vh); }
html[data-style="neunziger"] .nm { top: .2vh; left: .6vh; background: transparent; border-radius: 0; padding: 0 .4vh; font-family: 'VT323', monospace; font-size: 2vh; font-weight: 400; }
html[data-style="neunziger"] .qrchip b, html[data-style="neunziger"] .qrchip span { color: #000000; }
html[data-style="neunziger"] .live, html[data-style="neunziger"] .ft-lbl { color: #FFFFFF; }

/* Gemeinsame Anpassungen, die Variablen der Stile nutzen */
.qrchip { background: var(--chip) !important; }
.pt { background: var(--table) !important; }
.nm, .tm { background: var(--label); color: var(--label-text); }
.tm { color: var(--gold); }
html[data-style="minimal"] .tm, html[data-style="elegant"] .tm, html[data-style="siebziger"] .tm { color: var(--label-text); }
