@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --akzent: #C9A96C;
  --grund: #0c0b0a;
  --flaeche: #171513;
  --text: #f3ede2;
  --text2: #b9b0a1;
  --rand: rgba(201, 169, 108, .32);
  --fehler: #ff8f86;
  --gut: #8fd9a0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: radial-gradient(120% 70% at 50% -10%, #2a2318 0%, #0c0b0a 60%) fixed, #0c0b0a;
  color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-size: 18px; line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
.seite { max-width: 520px; margin: 0 auto; padding: 22px 18px 56px; }
.breit { max-width: 980px; }
h1, h2, h3 { font-family: 'Montserrat', 'Inter', system-ui, sans-serif; font-weight: 800; color: var(--akzent); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
p { margin: 0 0 .9em; }
a { color: var(--akzent); text-underline-offset: 3px; }
.klein { font-size: 15px; color: var(--text2); }
.mitte { text-align: center; }
.kopf { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 18px; text-align: center; }
.kopf img { width: 120px; height: auto; max-height: 100px; object-fit: contain; }
.kopf .unter { font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--text2); }

.glas {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid var(--rand); border-radius: 22px; padding: 20px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.block { margin-top: 18px; }

label { display: block; font-weight: 500; margin: 14px 0 6px; }
label .opt { color: var(--text2); font-weight: 400; font-size: 15px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], input[type=search], textarea, select {
  width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; color: var(--text);
  background: #100f0d; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--akzent); box-shadow: 0 0 0 3px rgba(201,169,108,.25); }
textarea { min-height: 96px; resize: vertical; }
input[type=date] { min-height: 56px; }
.geb-reihe { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; }
.geb-reihe select { min-width: 0; min-height: 56px; padding-right: 30px; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--akzent) 50%), linear-gradient(135deg, var(--akzent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.haken { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.haken input { flex: 0 0 30px; width: 30px; height: 30px; margin: 2px 0 0; accent-color: var(--akzent); }
.haken label { margin: 0; font-weight: 400; }

.knopf {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px;
  padding: 14px 20px; border: 0; border-radius: 16px; font: inherit; font-weight: 700; font-size: 19px;
  color: #1a1308; background: linear-gradient(180deg, #e2c58e, var(--akzent)); cursor: pointer; text-decoration: none;
  margin-top: 16px; box-shadow: 0 8px 22px rgba(201,169,108,.25);
}
.knopf:active { transform: translateY(1px); }
.knopf[disabled] { opacity: .5; cursor: default; }
.knopf.zwei { background: transparent; color: var(--text); border: 1px solid var(--rand); box-shadow: none; font-weight: 500; }
.knopf.gefahr { background: transparent; color: var(--fehler); border: 1px solid rgba(255,143,134,.5); box-shadow: none; font-weight: 500; }
.knopf.schmal { min-height: 48px; font-size: 16px; width: auto; padding: 8px 16px; margin-top: 0; }

.meldung { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: 17px; }
.meldung.fehler { color: var(--fehler); border-color: rgba(255,143,134,.55); background: rgba(255,143,134,.08); }
.meldung.gut { color: var(--gut); border-color: rgba(143,217,160,.5); background: rgba(143,217,160,.08); }
.versteckt { display: none !important; }

.vorteile { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.vorteile li { display: flex; gap: 12px; align-items: flex-start; }
.vorteile li::before { content: ''; flex: 0 0 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--akzent); }

/* Stempelkreise */
.kreise { display: grid; gap: 12px; margin: 18px 0 26px; justify-items: center; }
.kreis {
  width: 100%; max-width: 72px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative;
  border: 2px dashed rgba(201,169,108,.45); color: rgba(201,169,108,.28); background: rgba(0,0,0,.25); --ko: #1b1915;
}
.kreis svg { width: 52%; height: 52%; }
.kreis svg.sy { width: 74%; height: 74%; }
.sy-ko { stroke: var(--ko); }
.sy-kof { fill: var(--ko); }
.kreis.voll { border: 2px solid #e9cf96; color: #2a1c08; --ko: #d9bc80;
  background: radial-gradient(circle at 34% 28%, #fbeac2 0, #e3c78c 38%, var(--akzent) 70%, #a8864b 100%);
  box-shadow: 0 0 0 3px rgba(201,169,108,.18), 0 6px 18px rgba(0,0,0,.45), inset 0 -3px 6px rgba(90,60,20,.35); }
.kreis.voll::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgba(42,28,8,.45); pointer-events: none; }
.kreis.praemie { border-style: solid; border-color: rgba(201,169,108,.75); }
.kreis.praemie img { width: 84%; height: auto; opacity: .6; }
.kreis.praemie.voll img { filter: brightness(0) sepia(1) saturate(3) hue-rotate(-10deg) brightness(.35); opacity: .92; }
.praemie-wort { position: absolute; bottom: -19px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); white-space: nowrap; }
.kreis.neu { animation: stempel .9s cubic-bezier(.2,1.4,.4,1); }
@keyframes stempel { 0% { transform: scale(2.6) rotate(-25deg); opacity: 0; } 55% { transform: scale(.88) rotate(4deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
.zaehler { font-family: 'Montserrat', 'Inter', system-ui, sans-serif; font-size: 44px; font-weight: 700; color: var(--text); text-align: center; line-height: 1; }
.zaehler small { display: block; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 400; color: var(--text2); margin-top: 6px; letter-spacing: .08em; text-transform: uppercase; }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.karte-kopf img { height: 54px; width: auto; max-width: 140px; object-fit: contain; }
.karte-kopf .name { font-size: 15px; color: var(--text2); text-align: right; }

.qr-kachel { background: #fff; border-radius: 18px; padding: 16px; margin: 14px auto 6px; width: 100%; max-width: 300px; }
.qr-kachel svg { display: block; width: 100%; height: auto; }
.code-zeile { text-align: center; font-weight: 700; letter-spacing: .22em; font-size: 24px; color: var(--text); font-variant-numeric: tabular-nums; }

.banner { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid var(--akzent); background: rgba(201,169,108,.14); font-weight: 700; margin-top: 16px; }
.toast {
  position: fixed; left: 14px; right: 14px; top: 14px; z-index: 50; max-width: 492px; margin: 0 auto;
  background: linear-gradient(180deg, #2b2418, #1b1710); border: 1px solid var(--akzent); color: var(--text);
  padding: 16px 18px; border-radius: 16px; font-weight: 700; font-size: 20px; text-align: center;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); animation: rein .4s ease-out;
}
@keyframes rein { from { transform: translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.aktuelles { border-left: 4px solid var(--akzent); padding: 6px 0 6px 14px; }
.aktuelles h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; font-family: 'Inter', sans-serif; color: var(--text2); }

.schalter { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; }
.schalter .rechts { flex: 0 0 auto; }
.fuss { margin-top: 28px; display: grid; gap: 10px; text-align: center; }
.fuss a, .linkknopf { background: none; border: 0; color: var(--text2); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; padding: 10px; }
.linkknopf.rot { color: var(--fehler); }

.dialog-hintergrund { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 18px; }
.dialog { background: #1a1815; border: 1px solid var(--rand); border-radius: 20px; padding: 22px; max-width: 420px; width: 100%; }

/* Kasse und Inhaber */
.pinfeld { text-align: center; font-size: 34px; letter-spacing: .5em; }
.kunde-gross { font-family: 'Montserrat', 'Inter', system-ui, sans-serif; font-size: 40px; font-weight: 700; color: var(--text); line-height: 1.1; }
.status-zeile { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.video-rahmen { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 1; border: 1px solid var(--rand); margin-top: 14px; }
.video-rahmen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-rahmen .ziel { position: absolute; inset: 18%; border: 3px solid var(--akzent); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.35); }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.03); }
.liste .gedimmt { opacity: .5; text-decoration: line-through; }
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zahl { padding: 16px; border: 1px solid var(--rand); border-radius: 16px; background: rgba(255,255,255,.04); }
.zahl b { display: block; font-family: 'Montserrat', 'Inter', system-ui, sans-serif; font-size: 40px; color: var(--akzent); line-height: 1; }
.zahl span { font-size: 15px; color: var(--text2); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 48px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--rand); background: transparent; color: var(--text); font: inherit; font-size: 17px; cursor: pointer; }
.tab[aria-selected=true] { background: var(--akzent); color: #1a1308; font-weight: 700; }
.tage { display: flex; flex-wrap: wrap; gap: 8px; }
.tage label { margin: 0; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; font-size: 16px; font-weight: 400; }
.tage input { width: 22px; height: 22px; accent-color: var(--akzent); }
table.tab-liste { width: 100%; border-collapse: collapse; font-size: 16px; }
table.tab-liste th, table.tab-liste td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
table.tab-liste th { color: var(--text2); font-weight: 500; font-size: 14px; }
.tabelle-rahmen { overflow-x: auto; }
.rechtstext h2 { font-size: 22px; margin-top: 1.4em; }
.rechtstext .muster { border: 1px solid var(--akzent); border-radius: 14px; padding: 14px 16px; background: rgba(201,169,108,.12); font-weight: 700; }
.rechtstext ul { padding-left: 1.2em; }
@media (min-width: 900px) {
  .seite { padding-top: 40px; }
  .zahlen { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .kreis.neu, .toast { animation: none; } }
.oben { margin-top: 8px; }
.null { margin: 0; }
hr.trenn { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 22px 0 6px; }
