/* Landingpage LEITSTAND - dieselbe Handschrift wie das Panel selbst:
   dunkler Grund, ein warmer Akzent, viel Ruhe. Bewusst ohne Framework und
   ohne Schriftart von aussen: eine Verkaufsseite, die Google Fonts nachlaedt,
   braucht wegen der uebertragenen IP-Adresse sofort eine Einwilligung. */

:root {
  --bg: #0d1117;
  --bg-2: #11161d;
  --panel: #161b22;
  --rand: #30363d;
  --text: #e6edf3;
  --leise: #8b949e;
  --akzent: #e07b39;
  --ok: #3fb950;
  --radius: 10px;
  --breite: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--akzent); }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 22px; }

/* ---------- Kopf ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
}
header .huelle { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.marke { font-size: 19px; letter-spacing: 4px; font-weight: 600; text-decoration: none; color: var(--text); }
.marke span { color: var(--akzent); letter-spacing: 0; font-size: 12px; margin-left: 8px; }
nav a { color: var(--leise); text-decoration: none; margin-left: 22px; font-size: 14px; }
nav a:hover { color: var(--text); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block; padding: 12px 22px; border-radius: 7px;
  background: var(--akzent); color: #14100c; font-weight: 600; text-decoration: none;
  border: 1px solid var(--akzent);
}
.knopf:hover { filter: brightness(1.08); }
.knopf.leise { background: transparent; color: var(--text); border-color: var(--rand); }
.knopf.leise:hover { border-color: var(--akzent); color: var(--akzent); }

/* ---------- Aufmacher ---------- */
.aufmacher { padding: 80px 0 60px; border-bottom: 1px solid var(--rand); }
.aufmacher h1 { font-size: 42px; line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.5px; }
.aufmacher p.gross { font-size: 19px; color: var(--leise); max-width: 620px; margin: 0 0 30px; }
.aufmacher .zeile { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.aufmacher .klein { color: var(--leise); font-size: 14px; margin-top: 16px; }

/* ---------- Abschnitte ---------- */
section { padding: 66px 0; border-bottom: 1px solid var(--rand); }
section h2 { font-size: 27px; margin: 0 0 10px; }
section p.unter { color: var(--leise); max-width: 620px; margin: 0 0 34px; }

.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.text-seite pre { background: #0d1117; border: 1px solid var(--rand); border-radius: 6px; padding: 12px 14px;
  overflow-x: auto; font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; line-height: 1.5; }
.text-seite code { font-family: ui-monospace, Consolas, monospace; font-size: 0.93em; }
.karte {
  background: var(--panel); border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px;
}
.karte h3 { margin: 0 0 8px; font-size: 17px; }
.karte p { margin: 0; color: var(--leise); font-size: 15px; }
.karte .zeichen { font-size: 22px; margin-bottom: 10px; display: block; }

/* ---------- Spieleliste ---------- */
.spiele { display: flex; flex-wrap: wrap; gap: 10px; }
.spiel {
  padding: 8px 16px; border: 1px solid var(--rand); border-radius: 20px;
  background: var(--bg-2); font-size: 14px;
}
.spiel.bald { color: var(--leise); border-style: dashed; }

/* ---------- Preis ---------- */
/* Mehrere Angebote nebeneinander; ab Werk eines, aber die Spalten wachsen mit.
   auto-fit statt fester Spaltenzahl: bei einem Angebot bleibt es schmal, bei
   dreien teilt sich die Breite von selbst. */
.angebote {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  gap: 20px;
  align-items: start;
}
.preis-karte {
  background: var(--panel); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 30px;
}
.preis-karte.hervor { border-color: var(--akzent); }
.angebot-name { font-size: 19px; font-weight: 600; }
.angebot-unter { color: var(--leise); font-size: 14px; margin-top: 2px; margin-bottom: 16px; }
.preis { font-size: 44px; font-weight: 700; letter-spacing: -1px; }
.preis small { font-size: 15px; color: var(--leise); font-weight: 400; letter-spacing: 0; }
.preis-karte ul { list-style: none; padding: 0; margin: 22px 0 26px; }
.preis-karte li { padding: 7px 0 7px 26px; position: relative; color: var(--text); }
.preis-karte li::before { content: "✓"; color: var(--ok); position: absolute; left: 0; }
.preis-karte li.aus { color: var(--leise); }
.preis-karte li.aus::before { content: "–"; color: var(--leise); }

/* ---------- Fuß ---------- */
footer { padding: 40px 0 60px; color: var(--leise); font-size: 14px; }
footer a { color: var(--leise); margin-right: 20px; }
footer a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.text-seite { padding: 50px 0 70px; max-width: 780px; }
.text-seite h1 { font-size: 30px; margin: 0 0 6px; }
.text-seite h2 { font-size: 19px; margin: 34px 0 8px; }
.text-seite h3 { font-size: 16px; margin: 22px 0 6px; }
.text-seite p, .text-seite li { color: var(--text); }
.text-seite .leise { color: var(--leise); }
.text-seite table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.text-seite th, .text-seite td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.text-seite th { color: var(--leise); font-weight: 600; font-size: 14px; }
.kasten { background: var(--panel); border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }

/* ---------- Shop ---------- */
.text-seite.shop { max-width: 980px; }
.bestellung { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: start; }
.bestellung .kasten { margin: 0; }
.zusammenfassung ul { list-style: none; padding: 0; margin: 16px 0; }
.zusammenfassung li { padding: 6px 0 6px 26px; position: relative; }
.zusammenfassung li::before { content: "✓"; color: var(--ok); position: absolute; left: 0; }
.zusammenfassung li.aus { color: var(--leise); }
.zusammenfassung li.aus::before { content: "–"; color: var(--leise); }
.summe { display: flex; justify-content: space-between; align-items: baseline;
         border-top: 1px solid var(--rand); padding-top: 14px; margin-top: 6px; font-size: 16px; }
.summe strong { font-size: 28px; }
.formular label { display: block; margin: 16px 0 6px; font-size: 14px; color: var(--leise); }
.formular label:first-of-type { margin-top: 0; }
.formular input:not([type="checkbox"]) {
  width: 100%; padding: 11px 12px; background: var(--bg); color: var(--text);
  border: 1px solid var(--rand); border-radius: 7px; font: inherit;
}
.formular input:focus { outline: none; border-color: var(--akzent); }
.formular .leise { font-size: 13px; margin-top: 4px; }
.formular .haken { display: flex; gap: 10px; align-items: flex-start; color: var(--text);
                   font-size: 14px; margin-top: 18px; cursor: pointer; }
.formular .haken input { margin-top: 3px; flex-shrink: 0; }
.knopf.gross { display: block; width: 100%; text-align: center; font-size: 16px; padding: 14px;
               margin-top: 22px; cursor: pointer; font-family: inherit; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kasten.fehler { border-color: rgba(248,81,73,.5); background: rgba(248,81,73,.08); }
.kasten.schluessel { border-color: var(--ok); }
.kasten.schluessel code { display: block; margin-top: 8px; font-family: ui-monospace, Consolas, monospace;
                          font-size: 13px; word-break: break-all; user-select: all; }
.shop ol li { margin: 6px 0; }
@media (max-width: 760px) { .bestellung { grid-template-columns: 1fr; } }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--panel); border-top: 1px solid var(--rand);
  padding: 18px 0;
}
.cookie .huelle { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: 14px; color: var(--leise); max-width: 700px; }
.cookie .knoepfe { display: flex; gap: 10px; }

@media (max-width: 640px) {
  .aufmacher h1 { font-size: 32px; }
  nav a { margin-left: 14px; font-size: 13px; }
  header .huelle { height: 56px; }
}
