/* SETLON Feedback-Portal – Stil wie das Erklärvideo: dunkler Grund, weinrotes Leuchten, ein Akzent */
:root {
  --grund: #121214;
  --flaeche: #1c1c20;
  --flaeche2: #25252a;
  --linie: rgba(255, 255, 255, .1);
  --text: #f4f4f6;
  --leise: #9a9aa2;
  --rosa: #e0567a;
  --kreuz: #ff3d6e;
  --wein: #8C1A37;
  --gruen: #7ed957;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Calibri, Carlito, 'Segoe UI', system-ui, sans-serif; color: var(--text); background: var(--grund);
  background-image: radial-gradient(70% 60% at 85% 0%, rgba(140, 26, 55, .45), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(140, 26, 55, .28), transparent 70%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--rosa); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--rosa); }
.leise { color: var(--leise); }
[hidden] { display: none !important; }

/* Tasten */
.taste { border: 1px solid var(--linie); background: var(--flaeche2); border-radius: 12px; padding: 10px 18px; cursor: pointer; font-weight: 600; transition: background .15s, border-color .15s; }
.taste:hover { border-color: rgba(255, 255, 255, .25); }
.taste.haupt { background: var(--rosa); border-color: var(--rosa); color: #fff; box-shadow: 0 6px 24px rgba(224, 86, 122, .35); }
.taste.haupt:hover { background: #ea6a8c; }
.taste.klein { padding: 6px 12px; font-size: 14px; border-radius: 9px; }
.taste:disabled { opacity: .5; cursor: default; }

/* Anmelden */
.anmelden { min-height: 100%; display: grid; place-items: center; padding: 24px; }
.karte { width: min(420px, 100%); background: rgba(28, 28, 32, .85); border: 1px solid var(--linie); border-radius: 22px; padding: 36px 34px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); }
.karte .logo { height: 34px; display: block; margin-bottom: 26px; }
.karte h1 { font-size: 34px; font-weight: 300; letter-spacing: -.02em; margin: 8px 0 24px; }
.feld { display: block; margin-bottom: 16px; }
.feld span { display: block; font-size: 13px; color: var(--leise); margin-bottom: 6px; }
.feld input, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linie); background: #0f0f12; outline: none; }
.feld input:focus, textarea:focus { border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(224, 86, 122, .2); }
.karte .taste.haupt { width: 100%; padding: 13px; margin-top: 6px; font-size: 17px; }
.fehler { color: #ff8aa5; min-height: 22px; margin: 10px 0 0; font-size: 15px; }
.fuss { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--leise); }
.fuss img { height: 18px; opacity: .85; }

/* Kopfzeile */
.kopf { height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 24px; border-bottom: 1px solid var(--linie); background: rgba(18, 18, 20, .7); backdrop-filter: blur(10px); position: relative; z-index: 5; }
.kopf .logo { height: 22px; }
.kopf .titel { font-size: 18px; font-weight: 300; color: var(--leise); padding-left: 18px; border-left: 1px solid var(--linie); }
.version { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--flaeche); border: 1px solid rgba(224, 86, 122, .45); box-shadow: 0 0 20px rgba(224, 86, 122, .18); }
.version b { background: var(--rosa); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 16px; letter-spacing: .02em; }
.version small { color: var(--leise); font-size: 13px; }
.kopf .luft { flex: 1; }
.chip { font-size: 13px; color: var(--leise); border: 1px solid var(--linie); border-radius: 999px; padding: 5px 12px; }
.chip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); margin-right: 7px; box-shadow: 0 0 8px var(--gruen); }
.wer { font-weight: 600; }

/* Bühne mit dem Gerät */
.buehne { height: calc(100% - 64px); display: grid; place-items: center; position: relative; overflow: hidden; }
.halter { position: relative; }
.geraet { position: absolute; left: 0; top: 0; width: 1076px; height: 652px; padding: 26px; border-radius: 34px; transform-origin: 0 0;
  background: linear-gradient(160deg, #2c2c30, #0b0b0d 42%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .09), 0 50px 120px rgba(0, 0, 0, .75), 0 0 160px rgba(224, 86, 122, .3); }
.schirm { position: relative; width: 1024px; height: 600px; border-radius: 8px; overflow: hidden; background: #000; }
.schirm iframe { width: 1024px; height: 600px; border: 0; display: block; }
.kreuz-ebene { position: absolute; inset: 0; cursor: none; z-index: 2; background: rgba(0, 0, 0, .12); }
.kreuz-ebene .h, .kreuz-ebene .v { position: absolute; background: var(--kreuz); box-shadow: 0 0 6px rgba(255, 61, 110, .9); pointer-events: none; }
.kreuz-ebene .h { left: 0; right: 0; height: 1.5px; }
.kreuz-ebene .v { top: 0; bottom: 0; width: 1.5px; }
.kreuz-ebene .ring { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--kreuz), 0 0 18px rgba(255, 61, 110, .9); pointer-events: none; }
.kreuz-ebene .punkt { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--kreuz); pointer-events: none; }

.hinweis { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 6; background: rgba(28, 28, 32, .92); border: 1px solid rgba(224, 86, 122, .6); border-radius: 999px; padding: 10px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); font-size: 16px; white-space: nowrap; }
.hinweis b { color: var(--rosa); }

.fab { position: fixed; right: 28px; bottom: 26px; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 16px 26px 16px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--rosa); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 10px 40px rgba(224, 86, 122, .5), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.fab svg { width: 26px; height: 26px; }
.fab.aktiv { background: #2a2a30; box-shadow: 0 10px 40px rgba(0, 0, 0, .5), 0 0 0 1.5px var(--rosa) inset; }
.unten { position: fixed; left: 24px; bottom: 22px; z-index: 6; font-size: 13px; color: var(--leise); display: flex; gap: 14px; align-items: center; }
.unten button { background: none; border: 0; color: var(--leise); text-decoration: underline; cursor: pointer; padding: 0; }

/* Feedback-Fenster */
.schleier { position: fixed; inset: 0; z-index: 20; background: rgba(5, 5, 7, .7); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; }
.fenster { width: min(1080px, 100%); max-height: 100%; overflow: auto; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 22px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); display: grid; grid-template-columns: 1.35fr 1fr; }
.fenster .vorschau { padding: 24px; border-right: 1px solid var(--linie); background: rgba(0, 0, 0, .2); }
.fenster canvas { width: 100%; border-radius: 10px; display: block; box-shadow: 0 0 0 1px var(--linie), 0 10px 30px rgba(0, 0, 0, .5); }
.fenster .meta { margin-top: 14px; font-size: 13px; color: var(--leise); line-height: 1.6; }
.fenster .meta b { color: var(--text); font-weight: 600; }
.fenster .eingabe { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.fenster h2 { margin: 2px 0 0; font-size: 28px; font-weight: 300; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl button { border: 1px solid var(--linie); background: var(--flaeche2); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.wahl button.an { background: rgba(224, 86, 122, .18); border-color: var(--rosa); color: #fff; font-weight: 700; }
textarea { min-height: 190px; resize: vertical; line-height: 1.45; }
.zaehler { font-size: 12px; color: var(--leise); text-align: right; margin-top: -8px; }
.reihe { display: flex; gap: 10px; justify-content: flex-end; margin-top: auto; }
.toast { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 30; background: #1f1f24; border: 1px solid rgba(126, 217, 87, .5); border-radius: 999px; padding: 12px 24px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); font-size: 16px; }
.toast b { color: var(--gruen); }

/* Admin */
.seite { max-width: 1200px; margin: 0 auto; padding: 34px 24px 60px; }
.seite h1 { font-size: 40px; font-weight: 300; margin: 6px 0 22px; letter-spacing: -.02em; }
.seite h2 { font-size: 24px; font-weight: 300; margin: 40px 0 14px; }
.tafel { background: rgba(28, 28, 32, .85); border: 1px solid var(--linie); border-radius: 18px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--leise); padding: 14px 14px 10px; border-bottom: 1px solid var(--linie); font-weight: 700; }
td { padding: 12px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.nr { font-weight: 700; color: var(--rosa); white-space: nowrap; }
td .text { color: var(--leise); font-size: 14px; margin-top: 3px; max-width: 420px; }
.status { border-radius: 999px; padding: 3px 11px; font-size: 13px; border: 1px solid var(--linie); background: none; cursor: pointer; white-space: nowrap; }
.status.offen { border-color: var(--rosa); color: var(--rosa); }
.status.erledigt { border-color: rgba(126, 217, 87, .6); color: var(--gruen); }
.filter { display: flex; gap: 8px; margin-bottom: 14px; }
.leer { padding: 30px; text-align: center; color: var(--leise); }
.formular { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; padding: 18px; border-top: 1px solid var(--linie); }
.formular .feld { margin: 0; }
.formular .feld input { width: 220px; }
.haken { display: flex; gap: 8px; align-items: center; padding-bottom: 12px; }
a.taste { text-decoration: none; display: inline-block; }

/* Schmale Bildschirme (Tablet hochkant, Handy): Kopf verdichten, Gerät füllt die Breite */
body { overflow-x: hidden; }
.kreuz-ebene { touch-action: none; }
@media (max-width: 1100px) {
  .kopf .titel, .chip { display: none; }
}
@media (max-width: 760px) {
  .kopf { gap: 10px; padding: 0 12px; }
  .kopf .logo { height: 18px; }
  .version small { display: none; }
  .version { padding: 4px; }
  .unten { left: 12px; right: 12px; bottom: 84px; font-size: 12px; justify-content: center; text-align: center; flex-wrap: wrap; }
  .fab { right: 50%; transform: translateX(50%); bottom: 16px; padding: 12px 22px 12px 16px; font-size: 16px; }
  .fenster { grid-template-columns: 1fr; }
  .fenster .vorschau { border-right: 0; border-bottom: 1px solid var(--linie); padding: 14px; }
  .fenster .eingabe { padding: 16px; }
  .hinweis { white-space: normal; width: calc(100% - 24px); text-align: center; font-size: 14px; }
}
