/* Inzeller Kreis e.V. – Gestaltung für Webseite und Mitgliederbereich
   Farben aus dem Logo (Taupe) und dem Inzell-Panorama (Tanne, Fels, Wiese). Schriften liegen auf dem eigenen Server. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --fels: #eef1ee;
  --fels-dunkel: #e2e7e3;
  --weiss: #ffffff;
  --tanne: #1d3a31;
  --tanne-hell: #2c5546;
  --taupe: #86715d;
  --taupe-dunkel: #6b5947;
  --taupe-hell: #d6c8ba;
  --sand: #f4efe9;
  --tinte: #18211d;
  --grau: #56615b;
  --linie: #d3dad5;
  --wiese: #5f8f3e;
  --warn: #9a5a12;
  --fehler: #a3342c;
  --schrift: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --titel: "Bricolage Grotesque", "Instrument Sans", Arial, sans-serif;
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --breite: 76rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--tinte); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titel); font-weight: 650; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--tanne); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--taupe-dunkel); }
:focus-visible { outline: 3px solid var(--taupe); outline-offset: 3px; border-radius: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
.icon { flex: none; vertical-align: -0.22em; }
[hidden] { display: none !important; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; background: var(--tanne); color: #fff; padding: 0.6rem 1rem; border-radius: 6px; z-index: 100; }
.sprung:focus { top: 1rem; color: #fff; }
.leise { color: var(--grau); }
.klein { font-size: 0.875rem; }
.gross { font-size: 1.1875rem; }
.textlink { font-weight: 600; }
.zurueck { font-size: 0.9375rem; margin-bottom: 1.2rem; }
.zurueck a::before { content: "‹ "; }
.leer { padding: 2.2rem 1.5rem; border: 1px dashed var(--linie); border-radius: var(--radius); color: var(--grau); text-align: center; background: var(--weiss); }

/* ---------- Knöpfe, Marken, Hinweise ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--tanne); background: var(--tanne); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2; transition: background-color 0.15s, color 0.15s; }
.knopf:hover { background: var(--tanne-hell); border-color: var(--tanne-hell); color: #fff; }
.knopf-zweit { background: transparent; color: var(--tanne); }
.knopf-zweit:hover { background: var(--tanne); color: #fff; }
.knopf-hell { background: #fff; border-color: #fff; color: var(--tanne); }
.knopf-hell:hover { background: var(--taupe-hell); border-color: var(--taupe-hell); color: var(--tanne); }
.knopf-klein { padding: 0.45rem 0.95rem; font-size: 0.9375rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }

.marke { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.12rem 0.6rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; line-height: 1.5; background: var(--fels-dunkel); color: var(--tanne); white-space: nowrap; }
.marke .icon { width: 14px; height: 14px; }
.marke-termin { background: var(--tanne); color: #fff; }
.marke-intern { background: var(--sand); color: var(--taupe-dunkel); box-shadow: inset 0 0 0 1px var(--taupe-hell); }
.marke-leise { background: transparent; color: var(--grau); box-shadow: inset 0 0 0 1px var(--linie); }
.marke-ok { background: #e3efd9; color: #35581c; }
.marke-warn { background: #f6e7d0; color: var(--warn); }

.hinweis { padding: 0.8rem 1.1rem; border-radius: var(--radius); margin-top: 0; margin-bottom: 1.2rem; border-left: 4px solid var(--wiese); background: #edf4e6; }
.hinweis-fehler { border-left-color: var(--fehler); background: #f8e9e7; color: #6f211b; }
.hinweis-info { border-left-color: var(--taupe); background: var(--sand); }
.hinweis-seite { max-width: var(--breite); margin: 1rem auto; width: calc(100% - 2 * var(--rand)); }

/* ---------- Öffentliche Seite: Kopf und Fuß ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0.7rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.kopf-logo img { width: 168px; }
.kopf-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.kopf-nav a:not(.knopf) { color: var(--tinte); text-decoration: none; font-weight: 500; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.kopf-nav a:not(.knopf):hover, .kopf-nav a[aria-current] { border-bottom-color: var(--taupe); }
.kopf-menu { display: none; align-items: center; gap: 0.4rem; background: none; border: 1.5px solid var(--linie); border-radius: 999px; padding: 0.4rem 0.9rem; font-weight: 600; }

.fuss { background: #12261f; color: #dfe7e2; padding: 3.5rem var(--rand) 1.5rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--taupe-hell); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.fuss-innen img { width: 170px; margin-bottom: 1rem; }
.fuss nav { display: grid; gap: 0.5rem; align-content: start; }
.fuss-zeile { max-width: var(--breite); margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.875rem; color: #b8c6be; }

/* ---------- Startseite ---------- */
.held { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.held-text { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); color: var(--tanne); }
.held h1 { font-size: clamp(2.7rem, 8vw, 6.75rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin: 0 0 0.3em -0.03em; }
.held-zeilen { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0.8rem clamp(2rem, 6vw, 6rem); align-items: end; }
.held-zweck { font-family: var(--titel); font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.01em; max-width: 22em; margin: 0; }
.held-unter { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grau); margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--taupe); }
.held-bild { margin-top: clamp(2rem, 4vw, 3.2rem); height: clamp(17rem, 42vw, 35rem); background: #a9cdea url("../img/inzell-panorama.jpg") center 52% / cover no-repeat; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 max(var(--rand), calc((100% - var(--breite)) / 2)); }
.held-termin { position: relative; margin-bottom: -2.6rem; background: var(--weiss); color: var(--tinte); text-decoration: none; padding: 1.3rem 1.6rem 1.2rem; border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(24, 33, 29, 0.55); display: grid; gap: 0.15rem; min-width: min(22rem, 100%); border-top: 5px solid var(--taupe); }
.held-termin:hover { color: var(--tinte); }
.held-termin-label { font-size: 0.9375rem; color: var(--taupe-dunkel); font-weight: 600; }
.held-termin strong { font-family: var(--titel); font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.01em; }
.held-termin-mehr { margin-top: 0.5rem; font-weight: 600; color: var(--tanne); text-decoration: underline; text-underline-offset: 0.18em; }

.abschnitt { padding: clamp(3.5rem, 8vw, 6.5rem) var(--rand); }
.abschnitt > * { max-width: var(--breite); margin-left: auto; margin-right: auto; }
.abschnitt-flaeche { background: var(--fels); }
.abschnitt-dunkel { background: var(--tanne); color: #e9efeb; }
.abschnitt-dunkel h2 { color: #fff; }
.abschnitt-dunkel a:not(.knopf) { color: #fff; }
.abschnitt-schmal-oben { padding-top: clamp(2.2rem, 5vw, 3.5rem); }
.abschnitt.schmal > *, .abschnitt.rechtstext > *, .abschnitt.beitrag-seite > * { max-width: 46rem; }
.ist-start #ziel { padding-top: clamp(5rem, 10vw, 8rem); }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.abschnitt-kopf h2, .abschnitt-kopf p { margin-bottom: 0; }
.spalten-text { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.4fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.prosa > :last-child { margin-bottom: 0; }
.prosa p, .prosa li { max-width: 68ch; }
.prosa ul { margin: 0 0 1em; }
.prosa li { margin-bottom: 0.3em; }

.grundsaetze { margin: 0; display: grid; }
.grundsaetze > div { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: 0.5rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--linie); }
.grundsaetze > div:first-child { border-top: 0; padding-top: 0; }
.grundsaetze dt { font-family: var(--titel); font-weight: 650; font-size: 1.3rem; line-height: 1.2; color: var(--tanne); hyphens: manual; }
.grundsaetze dd { margin: 0; max-width: 62ch; }

.meldungen { display: grid; border-top: 1px solid var(--linie); }
.meldung { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: 0.6rem 2rem; padding: 1.7rem 0; border-bottom: 1px solid var(--linie); align-items: start; }
.meldung-mit-bild { grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) 11rem; }
.meldung-datum { display: grid; gap: 0.3rem; justify-items: start; color: var(--grau); font-size: 0.9375rem; }
.meldung-datum strong { color: var(--tinte); font-size: 1rem; }
.meldung-text h3 { font-size: 1.45rem; margin-bottom: 0.35em; }
.meldung-text h3 a { color: var(--tinte); text-decoration: none; }
.meldung-text h3 a:hover { color: var(--tanne); text-decoration: underline; }
.meldung-text p { margin: 0; color: var(--grau); max-width: 60ch; }
.meldung-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.vorstand { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem clamp(2rem, 5vw, 4.5rem); }
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.person img { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; background: var(--fels-dunkel); }
.person h3 { font-size: 1.45rem; margin-bottom: 0.15em; }
.person-amt { color: var(--taupe-dunkel); font-weight: 600; margin-bottom: 0.7em; line-height: 1.4; }
.person-amt span { font-weight: 400; color: var(--grau); }
.person p:last-child { font-size: 0.9875rem; margin: 0; color: #2d3833; }

.zwischen { font-size: 1.35rem; margin-top: 2.4rem; }
.vorstand-leiste { margin: 0 0 1.8rem; padding: 0.8rem 1rem; background: var(--sand); border-radius: var(--radius); }
.blogliste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem clamp(1.5rem, 3vw, 2.5rem); }
.blogkarte { display: grid; gap: 0.9rem; align-content: start; }
.blogkarte-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--fels-dunkel); display: block; }
.blogkarte h3 { font-size: 1.45rem; line-height: 1.18; margin: 0 0 0.3em; }
.blogkarte h3 a { color: var(--tinte); text-decoration: none; }
.blogkarte h3 a:hover { color: var(--tanne); text-decoration: underline; }
.blogkarte-meta { color: var(--grau); font-size: 0.9375rem; margin: 0 0 0.5em; }
.blogkarte p { margin: 0; }
.blogkarte-text > p:not(.blogkarte-meta) { color: #2d3833; }
.blogkarte-ohne-bild { padding-top: 1.1rem; border-top: 4px solid var(--taupe); }
.terminliste { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.terminliste a { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr; gap: 0.2rem 1.5rem; padding: 0.9rem 1.2rem; background: var(--fels); border-radius: var(--radius); text-decoration: none; color: var(--tinte); border-left: 4px solid var(--tanne); }
.terminliste a:hover { background: var(--fels-dunkel); }

.beitrag-meta { color: var(--grau); display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: 0.9375rem; }
.terminbox { display: flex; flex-wrap: wrap; gap: 0.8rem 2.5rem; margin-top: 0; margin-bottom: 1.4rem; padding: 1rem 1.3rem; background: var(--fels); border-radius: var(--radius); border-left: 4px solid var(--tanne); }
.terminbox dt { font-size: 0.875rem; color: var(--grau); display: flex; align-items: center; gap: 0.35rem; }
.terminbox dt .icon { width: 16px; height: 16px; }
.terminbox dd { margin: 0; font-weight: 600; font-size: 1.0625rem; }
.galerie { display: grid; gap: 0.6rem; margin-top: 1.4rem; margin-bottom: 0; }
.galerie-2 { grid-template-columns: repeat(2, 1fr); }
.galerie-3 { grid-template-columns: repeat(3, 1fr); }
.galerie figure { margin: 0; }
.galerie a { display: block; position: relative; }
.galerie img { width: 100%; border-radius: 6px; background: var(--fels-dunkel); }
.galerie-2 img, .galerie-3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.galerie figcaption { font-size: 0.875rem; color: var(--grau); margin-top: 0.35rem; }
.galerie-mehr { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(24, 33, 29, 0.6); color: #fff; font-family: var(--titel); font-size: 1.8rem; border-radius: 6px; }

.rechtstext h1 { margin-bottom: 1em; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.2em; }
.rechtstext h3 { font-size: 1.125rem; margin-top: 1.6em; margin-bottom: 0.4em; font-family: var(--schrift); font-weight: 700; letter-spacing: 0; }
.rechtstext .prosa p, .rechtstext .prosa li { max-width: none; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 1.1rem; }
.formular label, .feld-info { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9375rem; }
.formular input[type="text"], .formular input[type="email"], .formular input[type="password"], .formular input[type="tel"], .formular input[type="date"], .formular input[type="number"], .formular input[type="search"], .formular select, .formular textarea, .suche input, .chat-eingabe textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--tinte); width: 100%; padding: 0.65rem 0.8rem; border: 1.5px solid #b9c3bd; border-radius: 8px; background: #fff; }
.formular textarea { resize: vertical; line-height: 1.5; }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible, .suche input:focus-visible, .chat-eingabe textarea:focus-visible { outline: 3px solid rgba(134, 113, 93, 0.45); outline-offset: 0; border-color: var(--taupe-dunkel); }
.formular .haken, .haken { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 400; font-size: 0.9375rem; }
.haken input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--tanne); flex: none; }
.formular h2 { font-size: 1.3rem; margin: 0; }
.formular fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.formular legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 0.5rem; }
.formular .knopf { justify-self: start; }
.felder-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.felder-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.felder-ungleich { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.feld-info strong { font-weight: 400; font-size: 1rem; padding: 0.65rem 0; }
.auswahl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auswahl legend { grid-column: 1 / -1; }
.auswahl-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auswahl label { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem 1rem; border: 1.5px solid var(--linie); border-radius: 8px; font-weight: 400; cursor: pointer; }
.auswahl label:has(input:checked) { border-color: var(--tanne); background: #f1f6f2; }
.auswahl input { margin-top: 0.3rem; accent-color: var(--tanne); }
.auswahl span { display: grid; color: var(--grau); }
.auswahl strong { color: var(--tinte); }
.dateifeld input[type="file"] { font: inherit; font-weight: 400; padding: 0.7rem; border: 1.5px dashed #b9c3bd; border-radius: 8px; background: var(--fels); width: 100%; }
input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 0.8rem; padding: 0.35rem 0.9rem; border-radius: 999px; border: 1.5px solid var(--tanne); background: #fff; color: var(--tanne); cursor: pointer; }
details > summary { cursor: pointer; font-weight: 600; color: var(--tanne); }
details[open] > summary { margin-bottom: 0.8rem; }

.anmeldung { min-height: 68vh; display: grid; place-items: center; padding: 3rem var(--rand); background: var(--fels); }
.karte { background: #fff; border-radius: 14px; padding: clamp(1.6rem, 4vw, 2.6rem); width: min(100%, 28rem); box-shadow: 0 20px 50px -30px rgba(24, 33, 29, 0.5); border-top: 5px solid var(--taupe); }
.karte h1 { font-size: 1.9rem; margin-bottom: 0.1em; }
.karte .knopf { justify-self: stretch; }
.karte p { margin: 0; }

/* ---------- Mitgliederbereich: Rahmen ---------- */
.intern { background: var(--fels); display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100vh; font-size: 1rem; }
.seitenleiste { background: var(--tanne); color: #dfe7e2; padding: 1.6rem 1rem 1.2rem; display: flex; flex-direction: column; gap: 1.8rem; position: sticky; top: 0; height: 100vh; }
.seitenleiste-logo { padding: 0 0.6rem; }
.seitenleiste-logo img { width: 160px; }
.seitenleiste-nav { display: grid; gap: 0.2rem; }
.seitenleiste-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.62rem 0.8rem; border-radius: 8px; color: #dfe7e2; text-decoration: none; font-weight: 500; }
.seitenleiste-nav a:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.seitenleiste-nav a[aria-current] { background: #fff; color: var(--tanne); font-weight: 600; }
.seitenleiste-ich { margin-top: auto; display: grid; gap: 0.35rem; padding: 1rem 0.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.seitenleiste-ich .ich { display: flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-weight: 600; margin-bottom: 0.4rem; overflow: hidden; }
.seitenleiste-ich .ich span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seitenleiste-ich .leise { color: #b8c6be; background: none; border: 0; padding: 0; text-align: left; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 0.18em; }
.seitenleiste-ich .leise:hover { color: #fff; }
.intern-inhalt { padding: clamp(1.4rem, 3.5vw, 2.8rem) clamp(1.1rem, 4vw, 3.2rem) 4rem; max-width: 78rem; width: 100%; }
.intern h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.15em; }
.intern h2 { font-size: 1.25rem; }
.seitenkopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.seitenkopf p { margin: 0; max-width: 60ch; }
.kasten { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid var(--linie); }
.kasten h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; font-family: var(--schrift); font-weight: 700; letter-spacing: 0; margin-bottom: 0.8rem; }
.kasten h2 .icon { color: var(--taupe-dunkel); }
.kasten > p:last-child { margin-bottom: 0; }
.breit { max-width: 52rem; margin-bottom: 1.5rem; }
.kasten.formular h2 { font-family: var(--titel); font-size: 1.3rem; font-weight: 650; }

.avatar { border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; flex: none; font-family: var(--titel); font-weight: 650; color: #fff; background: var(--taupe); line-height: 1; }
.avatar-s { width: 30px; height: 30px; font-size: 0.75rem; }
.avatar-m { width: 44px; height: 44px; font-size: 1rem; }
.avatar-l { width: 72px; height: 72px; font-size: 1.5rem; }
.avatar-xl { width: 136px; height: 136px; font-size: 2.8rem; }
.avatar-t1 { background: var(--taupe); }
.avatar-t2 { background: var(--tanne-hell); }
.avatar-t3 { background: #557a8c; }
.avatar-t4 { background: #8a6a3a; }
.online-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--wiese); margin-left: 0.45rem; vertical-align: 0.08em; }

/* ---------- Start: Feed ---------- */
.zweispalter { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.8rem; align-items: start; }
.feed { display: grid; gap: 1.3rem; }
.feedbeitrag { background: #fff; border-radius: var(--radius); border: 1px solid var(--linie); padding: clamp(1.2rem, 2.5vw, 1.9rem); }
.feedbeitrag.ist-angeheftet { border-top: 4px solid var(--taupe); }
.feed-marken { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.feedbeitrag h2 { font-size: 1.55rem; margin-bottom: 0.2em; }
.feedbeitrag h2 a { color: var(--tinte); text-decoration: none; }
.feedbeitrag h2 a:hover { text-decoration: underline; }
.feed-meta { color: var(--grau); font-size: 0.9375rem; margin-bottom: 1rem; }
.randspalte { display: grid; gap: 1.2rem; }
/* ---------- Brancheninsider ---------- */
.insider-stand { margin: -0.8rem 0 1.2rem; }
.insider-stand a { margin-left: 0.3rem; }
.insider-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; margin-bottom: 1.4rem; }
.insider-filter .suche { display: flex; gap: 0.5rem; align-items: center; flex: 1 1 16rem; min-width: 0; max-width: 30rem; }
.insider-filter .suche input { min-width: 0; flex: 1 1 auto; }
.insider-filter .suche .knopf { flex: none; }
.insider { max-width: 60rem; }
.insider-tag { font-size: 1.0625rem; font-family: var(--schrift); font-weight: 700; letter-spacing: 0; color: var(--taupe-dunkel); margin: 1.6rem 0 0.6rem; }
.insider-tag:first-child { margin-top: 0; }
.insider-liste { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.insider-liste li { padding: 0.85rem 1.2rem; border-top: 1px solid var(--fels-dunkel); }
.insider-liste li:first-child { border-top: 0; }
.insider-liste li > a { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--tinte); text-decoration: none; text-wrap: pretty; }
.insider-liste li > a:hover { color: var(--tanne); text-decoration: underline; }
.insider-liste li > a:visited { color: var(--grau); }
.insider-liste p { margin: 0.3rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.8rem; font-size: 0.875rem; color: var(--grau); }
.insider-quelle { font-weight: 600; color: var(--taupe-dunkel); }
.insider-seiten { margin: 1.4rem 0 0; }
.insider-hinweis { margin: 1.6rem 0 0; max-width: 60rem; }
.cron-adresse { font: inherit; font-size: 0.875rem; width: 100%; padding: 0.5rem 0.7rem; border: 1.5px solid #b9c3bd; border-radius: 8px; background: var(--fels); }
.kasten-liste a strong { font-weight: 600; }
.nav-kurz { display: none; }

/* ---------- Abstimmungen ---------- */
.abstimmung { background: #fff; border-radius: var(--radius); border: 1px solid var(--linie); border-left: 4px solid var(--taupe); padding: clamp(1.2rem, 2.5vw, 1.9rem); scroll-margin-top: 1rem; }
.abstimmung h2 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.9rem; max-width: 34em; text-wrap: pretty; }
.abstimmung .prosa { margin-bottom: 1rem; color: var(--grau); }
.abstimmung form { display: grid; gap: 1rem; }
.abstimmung form > p { margin: 0; }
.marke-abstimmung { background: var(--sand); color: var(--taupe-dunkel); box-shadow: inset 0 0 0 1px var(--taupe-hell); }
.abstimmung-wahl { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; min-width: 0; }
.abstimmung-wahl label { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.75rem 1rem; border: 1.5px solid var(--linie); border-radius: 8px; cursor: pointer; font-weight: 500; }
.abstimmung-wahl label:hover { border-color: #b9c3bd; }
.abstimmung-wahl label:has(input:checked) { border-color: var(--tanne); background: #f1f6f2; }
.abstimmung-wahl input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--tanne); flex: none; }
.ergebnis { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.95rem; }
.ergebnis-zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; flex-wrap: wrap; margin-bottom: 0.35rem; }
.ergebnis-antwort { font-weight: 600; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ergebnis-zahl { color: var(--grau); font-size: 0.9375rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ergebnis progress { display: block; width: 100%; height: 0.7rem; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; background: var(--fels-dunkel); overflow: hidden; }
.ergebnis progress::-webkit-progress-bar { background: var(--fels-dunkel); }
.ergebnis progress::-webkit-progress-value { background: var(--taupe); border-radius: 999px; }
.ergebnis progress::-moz-progress-bar { background: var(--taupe); border-radius: 999px; }
.ergebnis .ist-meine progress::-webkit-progress-value { background: var(--tanne); }
.ergebnis .ist-meine progress::-moz-progress-bar { background: var(--tanne); }
.abstimmung .feed-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
.feed-zwischen { margin: -0.5rem 0 0.2rem; font-size: 0.9375rem; }
.abstimmungen { display: grid; gap: 1.3rem; max-width: 52rem; }
.abstimmungen-titel { margin: 1rem 0 0; }
.tabelle-frage { min-width: 20rem; }
.nicht-umbrechen { white-space: nowrap; }
.tabelle-ergebnis { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.15rem; font-size: 0.875rem; max-width: 26rem; }
.tabelle-ergebnis li { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem 3.2rem; gap: 0.6rem; }
.tabelle-ergebnis strong, .tabelle-ergebnis .leise { text-align: right; font-variant-numeric: tabular-nums; }

.kasten-liste { list-style: none; padding: 0; margin: 0 0 0.8rem; display: grid; }
.kasten-liste li { padding: 0.6rem 0; border-top: 1px solid var(--fels-dunkel); display: grid; gap: 0.1rem; }
.kasten-liste li:first-child { border-top: 0; padding-top: 0; }
.kasten-liste a { text-decoration: none; color: var(--tinte); display: grid; gap: 0.1rem; }
.kasten-liste a:hover strong { text-decoration: underline; }
.kasten-liste span { color: var(--grau); font-size: 0.9rem; overflow-wrap: anywhere; }

/* ---------- Lobby ---------- */
.lobby { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.5rem; align-items: start; }
.chat { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); display: flex; flex-direction: column; height: min(70vh, 46rem); min-height: 24rem; }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; overscroll-behavior: contain; }
.chat-verlauf .leer { border: 0; margin: auto; }
.chat-tag { align-self: center; font-size: 0.8125rem; color: var(--grau); background: var(--fels); padding: 0.15rem 0.8rem; border-radius: 999px; }
.nachricht { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0.1rem 0.65rem; max-width: 46rem; }
.nachricht .avatar { grid-row: span 2; margin-top: 0.15rem; }
.nachricht-kopf { display: flex; align-items: baseline; gap: 0.6rem; font-size: 0.875rem; color: var(--grau); }
.nachricht-kopf strong { color: var(--tinte); font-size: 0.9375rem; }
.nachricht-weg { background: none; border: 0; padding: 0; font-size: 0.8125rem; color: var(--grau); text-decoration: underline; visibility: hidden; }
.nachricht:hover .nachricht-weg, .nachricht-weg:focus-visible { visibility: visible; }
.nachricht-text { grid-column: 2; background: var(--fels); border-radius: 4px 14px 14px 14px; padding: 0.5rem 0.85rem; justify-self: start; overflow-wrap: anywhere; }
.nachricht-text p { margin: 0 0 0.4em; }
.nachricht-text > :last-child { margin-bottom: 0; }
.nachricht-text ul { margin: 0; }
.nachricht-meins .nachricht-text { background: #e3ede6; }
.chat-eingabe { display: flex; gap: 0.6rem; padding: 0.8rem; border-top: 1px solid var(--linie); align-items: flex-end; }
.chat-eingabe textarea { resize: none; max-height: 9rem; line-height: 1.45; }
.chat-fehler { margin: 0 0.8rem 0.8rem; }
.online-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.online-liste li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9375rem; }
.online-liste a { color: var(--tinte); text-decoration: none; }
.online-liste a:hover { text-decoration: underline; }

/* ---------- Verzeichnis und Profil ---------- */
.suche input { min-width: min(20rem, 100%); border-radius: 999px; padding-left: 1.1rem; }
.verzeichnis { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 0.9rem; }
.mitglied { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--tinte); height: 100%; }
.mitglied:hover { border-color: var(--taupe); color: var(--tinte); }
.mitglied-text { display: grid; gap: 0.1rem; justify-items: start; min-width: 0; font-size: 0.9375rem; }
.mitglied-text strong { font-family: var(--titel); font-size: 1.125rem; font-weight: 650; }
.mitglied-text .marke { margin-top: 0.3rem; }
.profil-kopf { display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: center; margin-bottom: 2rem; }
.profil-kopf h1 { margin-bottom: 0.1em; }
.profil-rolle { font-size: 1.1875rem; font-weight: 600; color: var(--taupe-dunkel); margin-bottom: 0.3em; }
.profil-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.profil-inhalt section h2 { margin-top: 1.6rem; }
.profil-inhalt section h2:first-child { margin-top: 0; }
.kontakt { margin: 0; display: grid; gap: 0.8rem; }
.kontakt dt { font-size: 0.875rem; color: var(--grau); }
.kontakt dd { margin: 0; overflow-wrap: anywhere; }
.foto-feld { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; }
.foto-feld > div { display: grid; gap: 0.5rem; flex: 1; min-width: 14rem; }
.foto-feld input[type="file"] { font: inherit; font-weight: 400; }

/* ---------- Forum ---------- */
.forum-leiste { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 1.5rem; align-items: center; margin-bottom: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips a { padding: 0.35rem 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); text-decoration: none; color: var(--tinte); font-size: 0.9375rem; font-weight: 500; }
.chips a span { color: var(--grau); font-weight: 400; margin-left: 0.15rem; }
.chips a:hover { border-color: var(--taupe); }
.chips a[aria-current] { background: var(--tanne); border-color: var(--tanne); color: #fff; }
.chips a[aria-current] span { color: #c9d6cf; }
.themen { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.themen li + li { border-top: 1px solid var(--fels-dunkel); }
.thema { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 9.5rem; gap: 0.3rem 1.1rem; align-items: center; padding: 0.95rem 1.2rem; text-decoration: none; color: var(--tinte); }
.thema:hover { background: #f7f9f7; color: var(--tinte); }
.thema-text { display: grid; gap: 0.1rem; min-width: 0; }
.thema-text strong { font-family: var(--titel); font-size: 1.125rem; font-weight: 650; display: flex; align-items: center; gap: 0.35rem; }
.thema-text strong .icon { width: 16px; height: 16px; color: var(--taupe-dunkel); }
.thema-text span, .thema-zahlen, .thema-zuletzt { font-size: 0.9rem; color: var(--grau); }
.thema-zahlen { display: flex; gap: 0.9rem; align-items: center; white-space: nowrap; }
.thema-zahlen .icon { width: 16px; height: 16px; margin-right: 0.15rem; }
.thema-zuletzt { text-align: right; line-height: 1.35; }
.beitraege { display: grid; gap: 1rem; margin-bottom: 1.5rem; max-width: 56rem; }
.fbeitrag { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem 1.4rem; scroll-margin-top: 1rem; }
.fbeitrag:target { border-color: var(--taupe); box-shadow: 0 0 0 3px rgba(134, 113, 93, 0.2); }
.fbeitrag header { display: flex; flex-wrap: wrap; gap: 0.1rem 0.9rem; align-items: baseline; margin-bottom: 0.6rem; font-size: 0.9rem; }
.fbeitrag-name { font-weight: 700; font-size: 1rem; color: var(--tinte); text-decoration: none; }
a.fbeitrag-name:hover { text-decoration: underline; }
.fbeitrag header time { margin-left: auto; }
.anhaenge { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.anhaenge a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem; border: 1px solid var(--linie); border-radius: 8px; text-decoration: none; color: var(--tinte); background: var(--fels); max-width: 100%; }
.anhaenge a:hover { border-color: var(--taupe); }
.anhaenge a span:first-of-type { font-weight: 600; overflow-wrap: anywhere; }
.anhaenge .icon { color: var(--taupe-dunkel); }
.fbeitrag-aktion { margin-top: 0.8rem; }
.fbeitrag-aktion button { background: none; border: 0; padding: 0; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 0.18em; }
.fbeitrag-aktion button:hover { color: var(--fehler); }
.antwort { max-width: 56rem; }

/* ---------- Verwaltung ---------- */
.reiter { display: flex; flex-wrap: wrap; gap: 0.3rem; border-bottom: 1px solid var(--linie); margin-bottom: 1.6rem; }
.reiter a { padding: 0.6rem 1rem; text-decoration: none; color: var(--grau); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.reiter a:hover { color: var(--tinte); }
.reiter a[aria-current] { color: var(--tanne); border-bottom-color: var(--tanne); }
.tabelle-rahmen { position: relative; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow-x: auto; margin-bottom: 1.5rem; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tabelle th { position: relative; text-align: left; font-size: 0.8125rem; font-weight: 600; color: var(--grau); padding: 0.7rem 1rem; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--fels-dunkel); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle-titel { font-weight: 700; color: var(--tinte); text-decoration: none; }
a.tabelle-titel:hover { text-decoration: underline; }
.tabelle-aktionen { white-space: nowrap; text-align: right; }
.tabelle-aktionen > a, .tabelle-aktionen > form { display: inline-block; margin-left: 0.9rem; }
.tabelle-aktionen form button { background: none; border: 0; padding: 0; color: var(--tanne); text-decoration: underline; text-underline-offset: 0.18em; }
.tabelle-aktionen form button:hover { color: var(--fehler); }
.tabelle-form input[type="text"], .tabelle-form input[type="number"] { padding: 0.45rem 0.6rem; }
.tabelle-form input[type="number"] { width: 5rem; }
.mit-avatar { display: flex; align-items: center; gap: 0.6rem; }
.aktionsmenue { position: relative; display: inline-block; text-align: left; }
.aktionsmenue summary { list-style: none; padding: 0.3rem 0.8rem; border: 1px solid var(--linie); border-radius: 999px; font-size: 0.875rem; }
.aktionsmenue summary::-webkit-details-marker { display: none; }
.aktionsmenue[open] summary { margin-bottom: 0; background: var(--fels); }
.aktionsmenue form { position: absolute; right: 0; top: calc(100% + 0.3rem); z-index: 10; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 16px 36px -20px rgba(24, 33, 29, 0.6); padding: 0.4rem; display: grid; min-width: 16rem; white-space: normal; }
.aktionsmenue form button { text-align: left; padding: 0.5rem 0.7rem; border-radius: 6px; text-decoration: none; color: var(--tinte); }
.aktionsmenue form button:hover { background: var(--fels); color: var(--tinte); }
.aktionsmenue form span { padding: 0.5rem 0.7rem; }
.bildverwaltung { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.bildverwaltung li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.6rem; border: 1px solid var(--linie); border-radius: 8px; }
.bildverwaltung img { width: 7rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.linkbox { border-left: 4px solid var(--taupe); }
.linkbox ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.linkzeile { display: flex; gap: 0.5rem; margin-top: 0.4rem; }
.linkzeile input { flex: 1; font: inherit; font-size: 0.875rem; padding: 0.45rem 0.7rem; border: 1px solid var(--linie); border-radius: 8px; background: var(--fels); min-width: 0; }
.beitrag-seite h1 { margin-bottom: 0.3em; }
.intern .beitrag-seite { max-width: 46rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.4rem); }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1100px) {
  .zweispalter, .profil-inhalt, .lobby { grid-template-columns: minmax(0, 1fr); }
  .lobby-online { order: -1; }
  .online-liste { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 1rem; }
}
@media (max-width: 900px) {
  .spalten-text, .grundsaetze > div { grid-template-columns: minmax(0, 1fr); }
  .vorstand { grid-template-columns: minmax(0, 1fr); }
  .blogliste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .intern { grid-template-columns: minmax(0, 1fr); padding-bottom: 4.6rem; }
  .seitenleiste { position: static; height: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; gap: 1rem; }
  .seitenleiste-logo { padding: 0; }
  .seitenleiste-logo img { width: 130px; }
  .seitenleiste-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--tanne); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding: 0.3rem 0.3rem calc(0.3rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .seitenleiste-nav a { flex-direction: column; gap: 0.15rem; padding: 0.4rem 0; font-size: 0.65rem; text-align: center; min-width: 0; }
  .seitenleiste-nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .seitenleiste-nav .nav-lang { display: none; }
  .seitenleiste-nav .nav-kurz { display: inline; }
  .seitenleiste-nav a { font-size: 0.625rem; }
  .seitenleiste-ich { margin: 0; padding: 0; border: 0; grid-auto-flow: column; align-items: center; gap: 1rem; }
  .seitenleiste-ich .ich { display: none; }
  .thema { grid-template-columns: 44px minmax(0, 1fr); }
  .thema-zahlen, .thema-zuletzt { grid-column: 2; text-align: left; }
  .thema-zuletzt br { display: none; }
  .thema-zuletzt span::before { content: ", "; }
  .intern-inhalt { padding-bottom: 1.5rem; }
  .chat { height: calc(100vh - 28.5rem); height: calc(100dvh - 28.5rem); min-height: 14rem; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .kopf-menu { display: inline-flex; }
  .kopf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--rand) 1.2rem; }
  .kopf-nav.ist-offen { display: flex; }
  .kopf-nav a:not(.knopf) { padding: 0.8rem 0; border-bottom: 1px solid var(--fels-dunkel); }
  .kopf-nav .knopf { margin-top: 1rem; }
  .keinjs .kopf-nav { display: flex; position: static; }
  .held-zeilen { grid-template-columns: minmax(0, 1fr); }
  .held-bild { height: 19rem; background-position: 60% 55%; }
  .held-termin { width: 100%; margin-bottom: -4.5rem; }
  .ist-start #ziel { padding-top: 7.5rem; }
  .meldung, .meldung-mit-bild { grid-template-columns: minmax(0, 1fr); }
  .meldung-bild { max-width: 16rem; }
  .person { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .person img { width: 96px; height: 96px; }
  .terminliste a { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: 1fr; gap: 1.5rem; }
  .felder-2, .felder-3, .felder-ungleich, .auswahl { grid-template-columns: minmax(0, 1fr); }
  .blogliste { grid-template-columns: minmax(0, 1fr); }
  .galerie-3 { grid-template-columns: repeat(2, 1fr); }
  .fbeitrag { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .fbeitrag > .avatar { display: none; }
  .fbeitrag header time { margin-left: 0; width: 100%; }
  .bildverwaltung li { grid-template-columns: 5rem minmax(0, 1fr); }
  .avatar-xl { width: 104px; height: 104px; font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .knopf { transition: none; } }
@media print {
  .kopf, .fuss, .seitenleiste, .knopf, .chat-eingabe { display: none !important; }
  .intern { display: block; background: #fff; }
}

/* ---------- Spiel „Auf zum Tagungsraum“ ---------- */
.spiel { max-width: 60rem; margin-bottom: 2.2rem; }
.spiel-buehne { position: relative; aspect-ratio: 16 / 9; background: var(--sand); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
.spiel-flaeche { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.spiel-blatt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1rem, 5vw, 3.2rem); background: rgba(244, 239, 233, 0.94); overflow-y: auto; }
.spiel-blatt::before, .spiel-blatt::after { content: ""; flex: 1 0 0; }
.spiel-blatt > * { flex: none; }
.spiel-blatt h2 { font-size: clamp(1.4rem, 3.4vw, 2.3rem); margin-bottom: 0.4em; max-width: 22ch; }
.spiel-blatt p { max-width: 54ch; margin-bottom: 0.7em; }
.spiel-blatt .knopf { margin-top: 0.4rem; }
.spiel-nur-touch { display: none; }
.spiel-werte { display: grid; grid-template-columns: minmax(0, auto) auto; gap: 0.15rem 1.6rem; margin: 0 0 0.8rem; font-variant-numeric: tabular-nums; }
.spiel-werte dt { color: var(--grau); }
.spiel-werte dd { margin: 0; text-align: right; font-weight: 600; }
.spiel-werte dt:last-of-type, .spiel-werte dd:last-of-type { border-top: 1px solid var(--linie); padding-top: 0.35rem; margin-top: 0.2rem; color: var(--tinte); font-weight: 700; font-size: 1.2rem; font-family: var(--titel); }
.spiel-platz { font-weight: 600; color: var(--tanne); min-height: 1.6em; }
.spiel-tasten { display: none; justify-content: space-between; gap: 1rem; margin-top: 0.7rem; user-select: none; -webkit-user-select: none; }
.spiel-tasten > div { display: flex; gap: 0.6rem; }
.spiel-tasten button { min-width: 4.4rem; height: 4.4rem; border-radius: 16px; border: 1.5px solid var(--tanne); background: #fff; color: var(--tanne); font-size: 2rem; font-weight: 700; line-height: 1; touch-action: none; -webkit-touch-callout: none; }
.spiel-tasten .spiel-taste-sprung { min-width: 8rem; font-size: 1.05rem; background: var(--tanne); color: #fff; }
.spiel-tasten button.gedrueckt { background: var(--taupe-hell); color: var(--tanne); }
.spiel.mit-touch .spiel-tasten { display: flex; }
.spiel-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.6rem; margin-top: 0.7rem; }
.spiel-leiste span { margin-right: auto; }
.spiel-unten { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.8rem; align-items: start; max-width: 60rem; }
.spiel-h2 { font-size: 1.5rem; }
.bestenliste .zahl, .tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bestenliste .platz { font-family: var(--titel); font-weight: 650; color: var(--taupe-dunkel); width: 3.5rem; }
.bestenliste tr.bin-ich td { background: var(--sand); }
.link-knopf { background: none; border: 0; padding: 0; color: var(--grau); text-decoration: underline; text-underline-offset: 0.18em; }
.link-knopf:hover { color: var(--fehler); }
.punkte-liste { list-style: none; padding: 0; margin: 0 0 0.9rem; display: grid; }
.punkte-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--fels-dunkel); font-size: 0.9375rem; }
.punkte-liste li:first-child { border-top: 0; padding-top: 0; }
.punkte-liste strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.kasten-rang li { grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.3rem; }
.kasten-rang .rang { font-family: var(--titel); font-weight: 650; color: var(--taupe-dunkel); }
.kasten-rang strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (pointer: coarse) {
  .spiel-tasten { display: flex; }
  .spiel-nur-touch { display: block; }
  .spiel-nur-tasten, .spiel-leiste span { display: none; }
}
@media (max-width: 1100px) { .spiel-unten { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .seitenleiste-nav .nav-nur-gross { display: none; } }
@media (max-width: 640px) {
  .spiel-blatt { font-size: 0.875rem; line-height: 1.45; padding: 0.9rem 1.1rem; }
  .spiel-blatt h2 { font-size: 1.25rem; }
  .spiel-blatt p { margin-bottom: 0.5em; }
  .spiel-werte { margin-bottom: 0.5rem; }
  .spiel-werte dt:last-of-type, .spiel-werte dd:last-of-type { font-size: 1.05rem; }
  .spiel-blatt .knopf { padding: 0.55rem 1.1rem; }
}
@media (max-width: 640px) and (orientation: portrait) { .spiel-buehne { aspect-ratio: 1 / 1; } }
@media (orientation: landscape) and (max-height: 520px) {
  .spiel-feld { position: relative; width: min(100%, calc((100vh - 5rem) * 16 / 9)); width: min(100%, calc((100dvh - 5rem) * 16 / 9)); }
  .spiel-tasten { position: absolute; left: 0.4rem; right: 0.4rem; bottom: 0.3rem; margin: 0; pointer-events: none; }
  .spiel-tasten button { pointer-events: auto; height: 3rem; min-width: 3.8rem; background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.8); }
  .spiel-tasten .spiel-taste-sprung { min-width: 7rem; background: rgba(255, 255, 255, 0.6); color: var(--tanne); }
  .spiel:not(.laeuft) .spiel-tasten { visibility: hidden; }
  .spiel-blatt { font-size: 0.8125rem; line-height: 1.4; padding: 0.7rem 1.4rem; }
  .spiel-blatt h2 { font-size: 1.15rem; }
  .spiel-blatt p { margin-bottom: 0.35em; }
  .spiel-werte { margin-bottom: 0.35rem; gap: 0 1.6rem; }
  .spiel-blatt .knopf { padding: 0.45rem 1rem; }
}
