/* Design „wärmer“ (Andre 20.11.2026, Weg 1 aus entwuerfe/marketing-vorschlaege-2026-11-20.html).
   Liegt über startseite.css und inhalt.css: Das Gerüst (Logo, Stadtrot, Aufbau, Countdown) bleibt,
   der Ton wird freundlicher. Kursive Großschrift nur noch für Hauptüberschrift, Zahlen und Marke;
   sonst Figtree (OFL), runde statt schräg geschnittener Ecken, mehr Luft, Rheinblau als Zweitfarbe.
   Rückweg: Diese Datei aus layout.php nehmen. */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --text: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --rund: 14px;
  --rund-gross: 22px;
  --kante: none;            /* keine schräg geschnittenen Ecken mehr */
  --schatten: 0 1px 2px rgba(27, 25, 23, .06), 0 8px 24px rgba(27, 25, 23, .07);
}
html[data-theme="light"] {
  --sand: #f7f4ef;          /* warmer Grund */
  --rhein-tint: #eaf5fb;    /* sehr helles Rheinblau für Flächen */
  --rot-tint: #fdeeee;
}

body { font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; }

/* Überschriften und Bedienelemente: ruhige Textschrift statt kursiver Großbuchstaben */
h2, h3, .knopf, .menue, .chip, .mehr, .vermerk, .stempel, .raetsel-art, .live,
.titel, .spiel h3, .sieger-was, .uhr-kopf, .kennung, .marke-wort,
.seite h2, .seite h3, .ausschreibung-titel, .angaben dt, .mannschaft legend, .werte dt {
  font-family: var(--text); text-transform: none; font-style: normal; letter-spacing: 0;
}
.marke-wort { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.menue a { font-size: 1.0625rem; letter-spacing: 0; font-weight: 600; }

.titel { font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; }
.titel .nr { display: none; }
.kennung { font-size: .95rem; font-weight: 600; letter-spacing: .02em; }
.seite h2 { font-weight: 800; letter-spacing: -.01em; }

/* Knöpfe: rund statt geschnitten */
.knopf { clip-path: none; border-radius: 999px; font-weight: 700; font-size: 1.0625rem; letter-spacing: 0; padding-inline: 24px; }
.knopf.gross { font-size: 1.1875rem; min-height: 56px; padding-inline: 30px; }
.knopf.rot { box-shadow: 0 6px 18px rgba(205, 19, 22, .22); }
.knopf .pf { stroke-linecap: round; }

/* Kopf: Logo + Menü, ohne Schalter (die stehen jetzt im Fuß) */
html[data-theme="light"] .kopf { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); }

/* Auftakt */
html[data-theme="light"] .auftakt { background:
  radial-gradient(55% 65% at 80% 40%, rgba(0, 159, 223, .12), transparent 70%),
  radial-gradient(45% 55% at 10% 90%, rgba(205, 19, 22, .07), transparent 70%),
  linear-gradient(#ffffff, var(--sand)); }
h1 .t2 { text-shadow: none; }
html[data-theme="light"] h1 .t2 { text-shadow: none; }
.vorspann { font-size: 1.3rem; line-height: 1.55; }
.ruf-fakten { font-weight: 600; color: inherit; opacity: .85; }
.ecke { display: none; }
html[data-theme="light"] .buehne { padding: 0; }
.buehne img, html[data-theme="light"] .buehne img { clip-path: none; border-radius: var(--rund-gross); box-shadow: 0 20px 50px rgba(11, 30, 50, .22); }

/* Countdown (Schachuhr): bleibt als Blickfang, aber weich */
.schachuhr { clip-path: none; border-radius: var(--rund-gross); overflow: hidden; }
html[data-theme="light"] .schachuhr { background: #fff; box-shadow: var(--schatten), inset 0 0 0 1px rgba(27, 25, 23, .12); }
.uhr-seite::before { border-radius: 0 0 6px 6px; }
.uhr-kopf { font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Abschnitte: helle Flächen im Wechsel statt harter Kanten */
.block { padding-block: clamp(56px, 7vw, 104px); }
html[data-theme="light"] .block { background: #fff; }
html[data-theme="light"] .block.dunkel { background: var(--sand); border-block: 0; }
html[data-theme="light"] #raetsel { background: var(--rhein-tint); }


/* Termine */
html[data-theme="light"] .spielplan { border-top: 0; background: #fff; border-radius: var(--rund-gross); box-shadow: var(--schatten); padding: 6px 24px; }
.spiel-nr { font-family: var(--text); font-style: normal; font-weight: 800; font-size: 1.15rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; -webkit-text-stroke: 0; color: var(--grau); }
html[data-theme="light"] .spiel-nr { -webkit-text-stroke: 0; color: #6d6862; background: var(--sand); }
html[data-theme="light"] .ist-offen .spiel-nr { color: #fff; background: var(--rot); }
.spiel.ist-offen::before { display: none; }
html[data-theme="light"] .spiel:last-child { border-bottom: 0; }
.spiel h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.005em; }
.chip { border-radius: 999px; font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.mehr { letter-spacing: 0; font-size: 1.0625rem; text-decoration-thickness: 2px; }

/* Ergebnisse: Podest runder */
.sieger-was { font-weight: 800; letter-spacing: -.01em; }
.stufe-block { border-radius: 12px 12px 0 0; }
.stufe-1 .stufe-block { box-shadow: none; }

/* Rätsel */
.brett, html[data-theme="light"] .brett { border-radius: 10px; overflow: hidden; }
html[data-theme="light"] .brett { border: 0; box-shadow: 0 20px 44px rgba(0, 80, 130, .18), 0 0 0 1px rgba(27, 25, 23, .12); }
.meldung.gut { clip-path: none; border-radius: 12px; }
.fig.s, html[data-theme="light"] .fig.w { stroke-linejoin: round; }

/* Partner */
.partner a { font-family: var(--text); text-transform: none; font-size: 1.3rem; letter-spacing: -.01em; }
html[data-theme="light"] .partner li { background: #fff; border-top: 0; border-radius: var(--rund); box-shadow: var(--schatten); padding: 18px 20px; }

/* Fuß: Darstellungsschalter unten */
.fuss .schalter { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linie); gap: 4px 22px; }
.fuss .ruhe, .fuss .thema { color: var(--grau); font-size: .95rem; }
.ruhe-bahn { border-radius: 999px; }
.ruhe-bahn::after { border-radius: 50%; }

/* Unterseiten */
.seite h1 { letter-spacing: -.01em; }
html[data-theme="light"] .seite { background: var(--sand); }
.angaben dt { font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.ausschreibung-titel { font-weight: 800; letter-spacing: -.01em; }
.mannschaft legend { font-weight: 800; font-size: 1.3rem; }

/* ===== Stufe 2 (Andre 20.11.2026: „kaum ein Unterschied“): Titel, Bild und Zahlen sichtbar freundlicher ===== */
/* Tagbild im hellen Modus, Nachtbild nur im Dunkelmodus */
.buehne .bild-tag { display: none; }
html[data-theme="light"] .buehne .bild-tag { display: block; }
html[data-theme="light"] .buehne .bild-nacht { display: none; }
html[data-theme="light"] .buehne img.bild-tag { border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 24px 30px rgba(0, 60, 100, .12)); }
html[data-theme="light"] .buehne::before { display: none; }

/* Haupttitel: kräftig, aber aufrecht und in normaler Schreibweise */
h1, .seite h1, .fuss-marke {
  font-family: var(--text); font-style: normal; text-transform: none; font-weight: 800; letter-spacing: -.035em;
}
.auftakt h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1; }
.seite h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.fuss-marke { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.kennung { color: var(--blau-hell); font-weight: 700; }
html[data-theme="light"] .kennung { color: #006c9e; }
.kennung::before { border-radius: 4px; }

/* Heller, freundlicher Kopfbereich: Rheinblau statt Rot-Schimmer */
html[data-theme="light"] .auftakt { background:
  radial-gradient(60% 75% at 78% 50%, rgba(0, 159, 223, .16), transparent 70%),
  radial-gradient(35% 45% at 8% 100%, rgba(255, 196, 0, .10), transparent 70%),
  linear-gradient(#ffffff, #f4f9fc); }

/* Zahlen (Countdown, Podest, Kennzahlen) aufrecht in der Textschrift */
.schachuhr .uhr-zahl, .anzeige-zahl, .werte dd, .sieger-zahlen dd, .stufe-block, .bz-nr {
  font-family: var(--text); font-style: normal; letter-spacing: -.03em;
}
.schachuhr .uhr-zahl span { text-transform: none; letter-spacing: 0; font-weight: 700; }
html[data-theme="light"] .uhr-seite.an { background: var(--rot-tint); }
/* Das Tagbild hat einen fast weißen statt durchsichtigen Grund: multiplizieren, damit kein heller Kasten sichtbar ist */
html[data-theme="light"] .buehne img.bild-tag { mix-blend-mode: multiply; filter: none; }
.uhr-fuss { font-family: var(--text); text-transform: none; letter-spacing: 0; }

/* Fotos „Impressionen“ (Andre 23.11.2026): ungeschnitten 16:9, weil die Quellen nur 640 px breit sind */
html[data-theme="light"] .block.turniertag { background: var(--rhein-tint); }
.turniertag-text { margin-top: 12px; max-width: 42rem; font-size: 1.1875rem; }
.fotos { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fotos img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rund-gross); box-shadow: var(--schatten); }
.fotos figcaption { margin-top: 10px; font-weight: 600; }
@media (max-width: 720px) { .fotos { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Drei Fotos (Andre 23.11.2026): Tisch 1 groß, rechts Spielsaal und Siegerbild übereinander */
@media (min-width: 721px) {
  .fotos { grid-template-columns: minmax(0, 2.29fr) minmax(0, 1fr); }
  .fotos li:first-child { grid-row: span 2; }
  .fotos li:first-child figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
  .fotos li:first-child img { height: 100%; aspect-ratio: auto; }
}

/* Termine: eigene und fremde Turniere getrennt (Andre 23.11.2026) */
.termin-gruppe { margin-top: 30px; }
.termin-gruppe + .termin-gruppe { margin-top: 36px; }
.termin-gruppe-titel { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.termin-gruppe .spielplan { margin-top: 12px; }


/* Live-Knopf am Turniertag: Punkt auf Rot sichtbar (T29) */
.knopf .live-punkt, html[data-theme="light"] .knopf .live-punkt { background: #fff; flex: none; }

.ruf .knopf.gross { white-space: normal; }
