/* United Chillaz - abgeleitet vom Logo: Fast-Schwarz, eisweiss, ein Hauch Blau.
   Kein JavaScript: das mobile Menue ist ein Checkbox-Schalter. */

@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.9e606da1cbeb.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.1c0792ac34ef.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.9e624ca74fb3.woff2") format("woff2"); }

:root {
  --grund: #0b0d10;
  --flaeche: #12161b;
  --flaeche-hell: #171c22;
  --linie: #222932;
  --text: #e8edf4;
  --leise: #98a3b3;
  --eis: #bcd4f6;
  --eis-hell: #e9f1ff;
  --schein: rgba(170, 200, 255, .18);
  --gefahr: #ff8a8a;
  --gut: #7fd8b0;
  --rund: 14px;
  --titel: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fliess: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 50% -200px, rgba(160, 195, 255, .07), transparent 70%), var(--grund);
  color: var(--text); font: 16px/1.65 var(--fliess);
}
main { flex: 1; }
a { color: var(--eis); text-decoration: none; }
a:hover { color: var(--eis-hell); text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titel); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: .02em; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--eis); outline-offset: 2px; }

/* --- Kopf ------------------------------------------------------------------ */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 16, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { max-width: 1160px; margin: 0 auto; padding: .7rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .7rem; color: var(--text); font-family: var(--titel);
  text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; font-weight: 600; }
.marke:hover { color: var(--eis-hell); text-decoration: none; }
.marke b { font-weight: 800; }
/* Hauptrubriken links neben dem Logo, Sprache und Konto getrennt rechts */
.kopf-menue { flex: 1; display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.navi { display: flex; align-items: center; gap: .25rem; margin-left: 1.4rem; }
.navi a { position: relative; padding: .5rem .85rem; border-radius: 8px; color: var(--leise);
  font: 700 .8rem var(--titel); text-transform: uppercase; letter-spacing: .16em; }
.navi a:hover { color: var(--text); background: var(--flaeche-hell); text-decoration: none; }
.navi a[aria-current="page"] { color: var(--eis-hell); }
.navi a[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem;
  height: 2px; border-radius: 2px; background: var(--eis); box-shadow: 0 0 12px var(--schein); }
.kopf-aktionen { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.kopf-aktionen form { margin: 0; }
.zahl { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--eis);
  color: var(--grund); font-size: .72rem; letter-spacing: 0; text-align: center; }
.sprache { display: flex; border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; }
.sprache button { background: none; border: 0; color: var(--leise); padding: .25rem .6rem; font: 600 .75rem var(--titel);
  letter-spacing: .1em; cursor: pointer; }
.sprache button[aria-current] { background: var(--flaeche-hell); color: var(--eis-hell); }
.menue-schalter, .menue-knopf { display: none; }

@media (max-width: 860px) {
  .menue-knopf { display: block; margin-left: auto; width: 2.4rem; height: 2.4rem; cursor: pointer; position: relative; }
  .menue-knopf i, .menue-knopf i::before, .menue-knopf i::after {
    position: absolute; left: .5rem; right: .5rem; height: 2px; background: var(--text); content: ""; }
  .menue-knopf i { top: 50%; }
  .menue-knopf i::before { top: -7px; left: 0; right: 0; }
  .menue-knopf i::after { top: 7px; left: 0; right: 0; }
  .kopf-menue { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 1rem; padding: .6rem 1.2rem 1.2rem; background: var(--grund);
    border-bottom: 1px solid var(--linie); }
  .menue-schalter:checked ~ .kopf-menue { display: flex; }
  .navi { flex-direction: column; align-items: stretch; gap: .1rem; margin-left: 0; }
  .navi a { padding: .75rem .4rem; }
  .navi a[aria-current="page"]::after { left: .4rem; right: auto; width: 1.6rem; bottom: .35rem; }
  .kopf-aktionen { margin-left: 0; justify-content: space-between; }
}

/* --- Knoepfe ---------------------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.15rem; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(180deg, var(--eis-hell), var(--eis));
  color: var(--grund); font: 700 .9rem var(--titel); letter-spacing: .03em; cursor: pointer;
  box-shadow: 0 0 0 0 var(--schein); transition: box-shadow .2s, transform .2s;
}
.knopf:hover { color: var(--grund); text-decoration: none; box-shadow: 0 0 24px 2px var(--schein); transform: translateY(-1px); }
.knopf-leise { background: transparent; color: var(--text); border-color: var(--linie); }
.knopf-leise:hover { color: var(--eis-hell); border-color: var(--eis); }
.knopf-gefahr { background: transparent; color: var(--gefahr); border-color: rgba(255, 138, 138, .35); }
.knopf-gefahr:hover { color: var(--gefahr); box-shadow: none; }
.knopf-steam { background: linear-gradient(180deg, #1f2a38, #171d26); color: var(--eis-hell); border-color: #2c3e55; }
.knopf-steam:hover { color: #fff; }
.link-gefahr { background: none; border: 0; padding: 0; color: var(--gefahr); font: inherit; cursor: pointer; }

/* --- Startseite ---------------------------------------------------------------- */
.held { position: relative; max-width: 1160px; margin: 0 auto; text-align: center; }
.held picture img { display: block; width: 100%; border-radius: 0 0 var(--rund) var(--rund);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.held-text { margin-top: -3.5rem; position: relative; padding: 0 1.2rem 1rem; }
.unterzeile { font-family: var(--titel); text-transform: uppercase; letter-spacing: .32em; color: var(--leise); font-size: .85rem; }
.knoepfe { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* --- Inhalt ------------------------------------------------------------------ */
.inhalt { width: 100%; max-width: 1100px; margin: 0 auto; padding: 2rem 1.2rem 3rem; }
.startseite .inhalt { padding-top: 1rem; }
.block { margin: 2.5rem 0; }
.ueberschrift { font-size: .8rem; text-transform: uppercase; letter-spacing: .26em; color: var(--leise);
  padding-bottom: .7rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--linie); }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .zweispaltig { grid-template-columns: 1fr; } }
.seitenkopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.seitenkopf h1 { margin: 0; }
.pfad { color: var(--leise); font-size: .9rem; margin: 0 0 .4rem; }
.leise { color: var(--leise); }
.datum { color: var(--leise); font-size: .82rem; margin: 0 0 .4rem; letter-spacing: .02em; }
.mehr { font-weight: 600; font-size: .9rem; }
.hinweis { color: var(--leise); font-size: .85rem; }
.marker { display: inline-block; font: 700 .68rem var(--titel); text-transform: uppercase; letter-spacing: .12em;
  padding: .1rem .5rem; border-radius: 999px; background: rgba(188, 212, 246, .14); color: var(--eis-hell); vertical-align: middle; }
.marker-leise { background: var(--flaeche-hell); color: var(--leise); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1.3rem 1.4rem;
  transition: border-color .2s, box-shadow .2s; }
.karte:hover { border-color: #33404f; box-shadow: 0 8px 30px -12px var(--schein); }
.karte h2, .karte h3 { margin-bottom: .5rem; }
.karte h2 a, .karte h3 a { color: var(--text); }
.karte-breit { margin-bottom: 1.2rem; }
.vorschau { color: #c3cbd6; margin-bottom: .6rem; }

.server { list-style: none; margin: 0; padding: 0; }
.server li { display: flex; flex-direction: column; padding: .75rem 0; border-bottom: 1px solid var(--linie); }
.server li span { color: var(--leise); font-size: .92rem; }
.server li.server-mit-knopf { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
.server-text { display: flex; flex-direction: column; min-width: 0; }
.knopf-klein { flex-shrink: 0; padding: .4rem .95rem; font-size: .8rem; }

/* --- Listen (Forum, Verwaltung) -------------------------------------------------- */
.liste { border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; background: var(--flaeche); }
.zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.2rem;
  border-bottom: 1px solid var(--linie); color: var(--text); }
.zeile:last-child { border-bottom: 0; }
/* Hinweis in einer leeren Liste ("Hier ist es noch ruhig.") - Polster wie eine Zeile */
.liste > p { margin: 0; padding: .95rem 1.2rem; }
a.zeile:hover { background: var(--flaeche-hell); text-decoration: none; color: var(--text); }
.zeile-haupt { display: flex; flex-direction: column; min-width: 0; }
.zeile-haupt small, .zeile-neben small { color: var(--leise); }
.zeile-neben { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-size: .9rem;
  color: var(--leise); flex-shrink: 0; }
/* Verwaltung: Datenauskunft und Freischalten/Sperren - brechen schmal untereinander um */
.zeile-knoepfe { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; flex-shrink: 1; }
.zeile-knoepfe form { display: flex; gap: .5rem; margin: 0; }
.entwuerfe { margin-bottom: 2rem; }

/* --- Beitraege ------------------------------------------------------------------- */
.beitrag { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund); margin-bottom: 1rem; }
.beitrag > header { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem; border-bottom: 1px solid var(--linie); }
.beitrag > header span { display: flex; flex-direction: column; }
.beitrag > header small { color: var(--leise); }
.beitrag-aktionen { margin-left: auto; flex-direction: row !important; gap: .8rem; font-size: .85rem; }
.beitrag-aktionen form { margin: 0; }
.beitrag .markdown { padding: 1rem 1.2rem; }
.avatar { border-radius: 50%; flex-shrink: 0; width: 40px; height: 40px; object-fit: cover; }
.avatar-leer { display: inline-flex; align-items: center; justify-content: center; background: var(--flaeche-hell);
  border: 1px solid var(--linie); color: var(--leise); font: 800 1.1rem var(--titel); }
.moderation { display: flex; gap: .5rem; flex-wrap: wrap; }

.markdown > :first-child { margin-top: 0; }
.markdown > :last-child { margin-bottom: 0; }
.markdown code { background: var(--flaeche-hell); padding: .1em .35em; border-radius: 6px; font-size: .92em; }
.markdown pre { background: #0e1115; border: 1px solid var(--linie); padding: 1rem; border-radius: 10px; overflow-x: auto; }
.markdown pre code { background: none; padding: 0; }
.markdown blockquote { margin: 1rem 0; padding: .2rem 1rem; border-left: 3px solid var(--eis); color: #c3cbd6; }
.markdown table { border-collapse: collapse; }
.markdown th, .markdown td { border: 1px solid var(--linie); padding: .4rem .7rem; }

.text { max-width: 760px; }
/* Name und Anschrift des Betreibers (Impressum, Datenschutz): sichtbar, aber
   nicht zu markieren oder zu kopieren - Wunsch des Betreibers 2026-10-29. Jedes
   Vorkommen des Namens auf oeffentlichen Seiten steckt darin (Test). Bewusst Text
   im HTML statt Bild: lesbar ohne CSS und fuer Screenreader, "staendig
   verfuegbar" nach § 18 MStV. */
.anschrift { -webkit-user-select: none; user-select: none; }
.text h2 { margin-top: 1.8rem; }
.aktionen { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; }

/* --- Formulare --------------------------------------------------------------------- */
.formular { max-width: 820px; }
.formular fieldset { border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem 1.2rem; margin: 0 0 1.2rem; }
.formular legend { font: 700 .8rem var(--titel); text-transform: uppercase; letter-spacing: .18em; color: var(--leise); padding: 0 .4rem; }
.formular .reihe { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-end; }
.feld { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.feld label { font-weight: 600; font-size: .9rem; }
.feld-haken label { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
input[type="text"], input[type="datetime-local"], textarea {
  width: 100%; padding: .65rem .8rem; border-radius: 10px; border: 1px solid #28313c; background: #0e1217;
  color: var(--text); font: inherit; }
textarea { resize: vertical; min-height: 6rem; }
input:focus, textarea:focus { border-color: var(--eis); outline: none; box-shadow: 0 0 0 3px rgba(188, 212, 246, .15); }
.feld-fehler input, .feld-fehler textarea { border-color: var(--gefahr); }
.fehlertext { color: var(--gefahr); font-size: .85rem; margin: 0; }
.antwort { margin-top: 2rem; }
.eintragen { display: flex; gap: .7rem; max-width: 640px; margin-bottom: .6rem; }
.eintragen input { flex: 1; }
@media (max-width: 520px) { .eintragen { flex-direction: column; } }

/* --- Meldungen, Anmeldung, Fehler ---------------------------------------------------- */
.meldungen { margin-bottom: 1.5rem; }
.meldung { padding: .8rem 1.1rem; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche); margin: 0 0 .6rem; }
.meldung-success { border-color: rgba(127, 216, 176, .4); }
.meldung-error { border-color: rgba(255, 138, 138, .45); }
.anmeldung { max-width: 520px; margin: 3rem auto; text-align: center; background: var(--flaeche); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: 2.5rem 2rem; }
.konto-loeschen { text-align: left; }
.konto-loeschen h1 { text-align: center; }
.konto-loeschen ul { padding-left: 1.2rem; }
.konto-loeschen .knoepfe { margin-top: 1.5rem; }
.fehlerseite { text-align: center; padding: 4rem 1rem; }
.fehlercode { font: 800 clamp(3.5rem, 12vw, 6rem)/1 var(--titel); letter-spacing: .12em; color: var(--eis);
  margin: 0 0 1rem; text-shadow: 0 0 40px var(--schein); }

/* --- Umfrage (Forum) ------------------------------------------------------------------- */
/* Balken als <progress> - eine Breite per style="" liesse die CSP nicht zu */
.umfrage { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.umfrage h2 { font-size: 1.1rem; margin-bottom: .8rem; }
.umfrage form { margin: 0; }
.umfrage-option { display: grid; grid-template-columns: 1.4rem 1fr auto; align-items: center; gap: .35rem .7rem;
  padding: .7rem 0; border-bottom: 1px solid var(--linie); cursor: pointer; }
.umfrage-option input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--eis); cursor: pointer; }
.umfrage-zahl { font-family: var(--titel); color: var(--eis-hell); }
.umfrage-option progress, .umfrage-option small { grid-column: 2 / 4; }
.umfrage-option small { color: var(--leise); font-size: .82rem; }
.umfrage progress { width: 100%; height: 6px; border: 0; border-radius: 99px; background: var(--flaeche-hell);
  -webkit-appearance: none; appearance: none; }
.umfrage progress::-webkit-progress-bar { background: var(--flaeche-hell); border-radius: 99px; }
.umfrage progress::-webkit-progress-value { background: var(--eis); border-radius: 99px; }
.umfrage progress::-moz-progress-bar { background: var(--eis); border-radius: 99px; }
.umfrage-fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.umfrage .hinweis { margin: .6rem 0 0; }

/* --- Team ------------------------------------------------------------------------------ */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.2rem; }
.spieler { display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 1.7rem 1rem 1.3rem;
  text-align: center; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--rund);
  color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.spieler:hover { color: var(--text); text-decoration: none; border-color: #33404f; transform: translateY(-2px);
  box-shadow: 0 10px 30px -14px var(--schein); }
.spieler .avatar { width: 88px; height: 88px; margin-bottom: .4rem; font-size: 2rem;
  box-shadow: 0 0 0 3px var(--flaeche), 0 0 0 4px var(--linie); }
.spieler b { font-family: var(--titel); font-size: 1.05rem; letter-spacing: .02em; overflow-wrap: anywhere; }
.spieler small { color: var(--leise); font-size: .8rem; }

.seiten { display: flex; justify-content: center; gap: 1.5rem; margin: 2rem 0; color: var(--leise); }

/* --- Datenauskunft (Verwaltung) ----------------------------------------------------- */
.admin-kasten { max-width: 760px; margin-bottom: 2.5rem; padding: 1.1rem 1.4rem; border: 1px dashed var(--eis);
  border-radius: var(--rund); background: var(--flaeche); }
.admin-kasten h2 { font-size: 1.05rem; }
.admin-kasten ol { padding-left: 1.2rem; }
.admin-kasten code { overflow-wrap: anywhere; font-size: .88em; }
.auskunft h3 { margin-top: 1.8rem; }
.auskunft-tabelle { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.auskunft-tabelle th, .auskunft-tabelle td { text-align: left; vertical-align: top; padding: .45rem .7rem;
  border-bottom: 1px solid var(--linie); overflow-wrap: anywhere; }
.auskunft-tabelle th { width: 38%; font-weight: 600; color: var(--leise); }
.auskunft-liste th { width: auto; }
.auskunft-tabelle .avatar { vertical-align: middle; margin-right: .5rem; }
.rohtext { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 1rem; padding: .7rem .9rem;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 10px; }

/* --- Fuss ---------------------------------------------------------------------------- */
.fuss { border-top: 1px solid var(--linie); color: var(--leise); font-size: .85rem; }
.fuss-innen { max-width: 1160px; margin: 0 auto; padding: 1.5rem 1.2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.fuss nav { display: flex; gap: 1.2rem; }
.fuss a { color: var(--leise); }
.fuss a:hover { color: var(--text); }
.fuss .leise { margin-left: auto; letter-spacing: .08em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* --- Druck: schwarz auf weiss ohne Kopf, Fuss und Admin-Kasten (Datenauskunft als PDF) --- */
@media print {
  :root { --grund: #fff; --flaeche: #fff; --flaeche-hell: #f0f0f0; --linie: #bbb; --text: #000; --leise: #444;
    --eis: #000; --eis-hell: #000; color-scheme: light; }
  body { background: #fff; font-size: 11pt; }
  .kopf, .fuss, .meldungen, .nur-bildschirm { display: none !important; }
  .inhalt, .text { max-width: none; padding: 0; }
  .auskunft-eintrag, .auskunft-tabelle tr { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
