/* Leonida Zone – ruhiges Abend-Design: tiefes Violett, Pfirsich-Knöpfe, große schmale Überschriften.
   Eigene Formen, freie selbst gehostete Schriften (Anton, Inter; SIL OFL). */
@font-face { font-family: 'Anton'; src: url('/static/fonts/anton-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/inter-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #1d1626;
  --bg2: #18121f;
  --schwarz: #09070c;
  --karte: #271d33;
  --karte2: #31253f;
  --karte3: #3d2f4f;
  --linie: rgba(255, 255, 255, .08);
  --text: #ffffff;
  --text2: rgba(255, 255, 255, .86);
  --leise: rgba(255, 255, 255, .62);
  --pfirsich: #ffd3a8;
  --pfirsich2: #ffe4c9;
  --rosa: #ffc2d2;
  --orange: #ffad3b;
  --lila: #b48ae0;
  --tuerkis: #8de6da;
  --rot: #ff6b81;
  --pink: var(--rosa);
  --gold: var(--pfirsich);
  --abend: linear-gradient(180deg, #2b2050 0%, #5a3477 42%, #a2507f 72%, #ec8c6b 100%);
  --abend-weich: linear-gradient(180deg, rgba(90, 52, 119, .55) 0%, rgba(39, 29, 51, 0) 100%);
  --verlauf: linear-gradient(95deg, #ffe0b8 0%, #ffb08a 45%, #ff9fbf 100%);
  --rund: 16px;
  --rund-gross: 24px;
  --luft: clamp(3rem, 7vw, 5.5rem);
  --sanft: cubic-bezier(.2, .7, .2, 1);
  --schatten: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --titel: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --schrift: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text2); font: 400 16px/1.65 var(--schrift); min-height: 100vh; overflow-x: hidden; }
a { color: var(--pfirsich); text-decoration: none; transition: color .3s var(--sanft); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--text); line-height: 1.05; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font: 400 clamp(2.6rem, 7vw, 5.6rem)/.95 var(--titel); text-transform: uppercase; letter-spacing: .005em; }
h2 { font: 400 clamp(1.8rem, 3.6vw, 2.9rem)/1 var(--titel); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-weight: 800; font-size: 1.14rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.leise { color: var(--leise); }
.klein { font-size: .88rem; }
:focus-visible { outline: 3px solid var(--pfirsich); outline-offset: 3px; border-radius: 6px; }
.springen { position: absolute; left: -999px; top: 0; background: var(--pfirsich); color: #000; padding: .6em 1em; z-index: 99; }
.springen:focus { left: 1rem; }

/* Kopf */
.hinweis-leiste { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .78); background: #000; padding: .45rem 1rem; }
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(9, 7, 12, .92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: .9rem clamp(1rem, 3vw, 2rem); display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--text); flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo-zeichen { width: 34px; height: 34px; }
.logo-text { font: 400 1.4rem/1 var(--titel); text-transform: uppercase; letter-spacing: .03em; }
.logo-text b { font-weight: 400; color: var(--pfirsich); margin-left: .22em; }
.nav { display: flex; gap: 1.6rem; flex: 1; justify-content: center; }
.nav a { position: relative; color: rgba(255, 255, 255, .78); font-weight: 800; font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; padding: .5rem 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--pfirsich); transform: scaleX(0); transition: transform .45s var(--sanft); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: #fff; }
.kopf-rechts { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.chip { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .42rem .7rem; border-radius: 4px; color: var(--bg); background: var(--rosa); white-space: nowrap; }
.chip:hover { color: #000; background: #ffd6e1; }
.sprach-knopf { font-weight: 800; font-size: .8rem; color: var(--text); border: 1.5px solid rgba(255, 255, 255, .25); padding: .42rem .7rem; border-radius: 999px; transition: border-color .3s, background .3s; }
.sprach-knopf:hover { border-color: #fff; }
.konto-menue { position: relative; }
.konto-menue summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--text); padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .25); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konto-menue summary::-webkit-details-marker { display: none; }
.menue-box { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--karte2); border-radius: 16px; padding: .5rem; min-width: 180px; display: grid; gap: .2rem; box-shadow: var(--schatten); }
.menue-box a, .menue-box .link-knopf { padding: .6rem .8rem; border-radius: 10px; color: var(--text); text-align: left; width: 100%; }
.menue-box a:hover, .menue-box .link-knopf:hover { background: rgba(255, 255, 255, .07); }

/* Handy-Menü (ohne Skript, über <details>) */
.menue-mobil { display: none; position: static; }
.menue-mobil summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.menue-mobil summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--sanft), opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.menue-mobil[open] .burger { background: transparent; }
.menue-mobil[open] .burger::before { transform: translateY(5px) rotate(45deg); }
.menue-mobil[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }
.menue-mobil-box { position: absolute; left: 0; right: 0; top: 100%; background: var(--schwarz); border-bottom: 1px solid var(--linie); padding: .5rem 1rem 1.2rem; display: grid; gap: .1rem; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); animation: herab .35s var(--sanft); }
.menue-mobil-box a { color: var(--text); font: 400 1.7rem/1.2 var(--titel); text-transform: uppercase; letter-spacing: .01em; padding: .55rem .2rem; border-bottom: 1px solid var(--linie); }
.menue-mobil-box a[aria-current] { color: var(--pfirsich); }
.menue-mobil-box .chip { display: inline-block; justify-self: start; margin-top: .9rem; border-bottom: 0; font: 800 .74rem/1.2 var(--schrift); padding: .45rem .7rem; color: var(--bg); }
@keyframes herab { from { opacity: 0; transform: translateY(-8px); } }

/* Knöpfe */
.knopf, button.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; font: 700 1rem/1 var(--schrift); letter-spacing: -.005em; color: var(--bg); background: var(--pfirsich); padding: 1.05rem 1.8rem; border-radius: 999px; transition: transform .45s var(--sanft), background .3s, box-shadow .45s var(--sanft); text-align: center; }
.knopf:hover { color: #000; background: var(--pfirsich2); transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(255, 211, 168, .7); }
.knopf:active { transform: translateY(0); }
.knopf-geist, button.knopf-geist { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.knopf-geist:hover { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; }
.knopf-tuerkis { background: #f4eff8; color: var(--bg); }
.knopf-tuerkis:hover { background: #fff; color: #000; box-shadow: 0 16px 34px -16px rgba(255, 255, 255, .5); }
.knopf-klein, button.knopf-klein { padding: .6rem 1.05rem; font-size: .84rem; }
.knopf-voll { width: 100%; margin-top: 1.2rem; }
.knopf-gefahr, button.knopf-gefahr { background: var(--rot); color: #1a0b14; box-shadow: none; }
button.knopf-klein:not(.knopf-gefahr):not(.knopf-geist) { border: 0; border-radius: 999px; background: var(--pfirsich); color: var(--bg); font-weight: 700; cursor: pointer; }
button.knopf-klein { border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; }
.knopf-reihe { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.knopf-reihe form { margin: 0; }
.link-knopf { background: none; border: 0; color: var(--leise); cursor: pointer; font: inherit; padding: 0; }
.link-knopf:hover { color: #fff; }

/* Layout */
.haupt { max-width: 1240px; margin: 0 auto; padding: 2rem clamp(1rem, 3vw, 2rem) 5rem; }
.haupt.mit-leiste { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.spalte-leiste { position: sticky; top: 100px; display: grid; gap: 1.2rem; min-width: 0; }
.spalte-haupt { min-width: 0; }
.krumen { max-width: 1240px; margin: 0 auto; padding: 1.4rem clamp(1rem, 3vw, 2rem) 0; font-size: .84rem; font-weight: 600; color: var(--leise); display: flex; flex-wrap: wrap; gap: .35rem; }
.krumen a { color: var(--leise); }
.krumen > * + *::before { content: '/'; margin-right: .35rem; opacity: .45; }
.krumen a:hover { color: #fff; }
.krumen span { overflow-wrap: anywhere; }
.seiten-kopf { margin: 1.5rem 0 3rem; max-width: 900px; }
.seiten-kopf p { color: var(--leise); font-size: 1.12rem; }
.kopf-mit-knopf { display: flex; justify-content: space-between; gap: 1.5rem 2rem; align-items: flex-end; max-width: none; flex-wrap: wrap; }
.kopf-mit-knopf > div:first-child { max-width: 780px; min-width: 0; }
.ueberzeile { font-size: .76rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa) !important; margin-bottom: .9rem; display: flex; align-items: center; gap: .55rem; }
.ueberzeile a { color: inherit; }
.block { background: var(--karte); border-radius: var(--rund-gross); padding: clamp(1.3rem, 3.4vw, 2.6rem); margin: 0 0 2.2rem; min-width: 0; }
.block > h2 { margin-bottom: 1.2rem; }
.block-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; }
.block-kopf h2 { margin: 0; display: flex; align-items: center; gap: .7rem; }
.block-kopf a { font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--text); padding: .55rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background .3s, box-shadow .3s; }
.block-kopf a:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px #fff; }
.schmal { max-width: 740px; margin-left: auto; margin-right: auto; }

/* Startseite: offene Abschnitte mit viel Luft statt Kästen */
.start > .block, .start .raster-start > .block:not(.ticker-block) { background: none; padding: 0; border-radius: 0; margin-bottom: var(--luft); }

/* Held */
.held { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; min-height: 600px; padding: clamp(1.8rem, 5vw, 4.5rem); margin: .5rem 0 var(--luft); border-radius: 32px; overflow: hidden; isolation: isolate; background: var(--abend); }
.held::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 15% 20%, rgba(29, 22, 38, .75), transparent 70%), linear-gradient(90deg, rgba(29, 22, 38, .65), rgba(29, 22, 38, 0) 70%); }
.held::after { content: ''; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(transparent, rgba(29, 22, 38, .55)); z-index: -1; }
.held-text { animation: auftauchen 1s var(--sanft) both; min-width: 0; }
.held .ueberzeile { display: inline-flex; background: var(--rosa); color: var(--bg) !important; padding: .35rem .6rem; border-radius: 4px; letter-spacing: .08em; }
.held h1 { font-size: clamp(3rem, 8.4vw, 7.2rem); line-height: .9; margin-bottom: .35em; }
.verlauf { color: var(--pfirsich); display: inline-block; }
.held-unter { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #fff; max-width: 560px; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.held-bild { width: 100%; max-width: 540px; justify-self: end; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); animation: auftauchen 1s .1s var(--sanft) both, schweben 12s 1.2s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-8px); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(18px); } }

.countdown { display: flex; gap: .7rem; margin: 1.8rem 0 .4rem; flex-wrap: wrap; }
.cd-feld { background: rgba(9, 7, 12, .45); border-radius: 16px; padding: .85rem .9rem .7rem; min-width: 86px; text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cd-feld b { display: block; font: 400 2.8rem/1 var(--titel); color: #fff; font-variant-numeric: tabular-nums; }
.cd-feld span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.countdown.fertig { flex-direction: column; gap: .2rem; }
.countdown.fertig strong { font: 400 2.2rem/1 var(--titel); text-transform: uppercase; color: var(--pfirsich); }

/* Startseiten-Raster */
.raster-start { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.raster-start .ticker-block { position: sticky; top: 100px; }

/* News */
.news-liste { display: grid; gap: 1rem; }
.news-karte { padding: 1.5rem 1.7rem; border-radius: var(--rund-gross); background: var(--karte); transition: transform .5s var(--sanft), background .4s; min-width: 0; }
.news-karte:hover { background: var(--karte2); transform: translateY(-3px); }
.news-karte.gross { background: var(--abend-weich), var(--karte2); padding: 2rem 2rem 1.8rem; }
.news-karte.gross h3 { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.05 var(--titel); text-transform: uppercase; letter-spacing: .005em; }
.news-karte h3 { margin: .35rem 0 .5rem; overflow-wrap: anywhere; }
.news-karte h3 a { color: var(--text); }
.news-karte h3 a:hover { color: var(--pfirsich); }
.news-meta { font-size: .8rem; color: var(--leise); margin: 0; }
.quelle { font-weight: 800; color: var(--rosa); }
.sprache { font-size: .64rem; font-weight: 800; letter-spacing: .06em; padding: .12rem .4rem; border-radius: 4px; background: rgba(255, 255, 255, .1); color: var(--text2); vertical-align: middle; }
.anriss { color: var(--leise); font-size: .96rem; margin: 0 0 .6rem; }
.news-links { font-size: .86rem; margin: 0; font-weight: 700; }
.quelle-box { background: var(--karte2); padding: 1rem 1.2rem; border-radius: var(--rund); overflow-wrap: anywhere; }

/* Ticker */
.live-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); display: inline-block; box-shadow: 0 0 0 0 rgba(255, 107, 129, .7); animation: puls 2.4s infinite; flex-shrink: 0; }
@keyframes puls { 70% { box-shadow: 0 0 0 10px rgba(255, 107, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 129, 0); } }
.ticker-liste { list-style: none; margin: 0; padding: 0; display: grid; }
.ticker-eintrag { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .9rem; padding: .85rem .3rem; border-bottom: 1px solid var(--linie); font-size: .94rem; }
.ticker-eintrag:last-child { border-bottom: 0; }
.ticker-eintrag time { color: var(--leise); font-size: .74rem; font-weight: 700; white-space: nowrap; grid-row: span 3; padding-top: .2rem; min-width: 64px; }
.ticker-eintrag a { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.ticker-eintrag a:hover { color: var(--pfirsich); }
.ticker-quelle { grid-column: 2; font-size: .75rem; color: var(--leise); overflow-wrap: anywhere; }
.ticker-eintrag.ist-fund { background: linear-gradient(90deg, rgba(141, 230, 218, .1), transparent 75%); border-radius: 12px; }
.ticker-eintrag.neu { animation: einblenden 1.6s var(--sanft); }
@keyframes einblenden { from { background: rgba(255, 211, 168, .2); opacity: .2; } }
.fund-marke { display: inline-block; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0b2622; background: var(--tuerkis); padding: .14rem .45rem; border-radius: 4px; margin-right: .3rem; vertical-align: middle; }
.ticker-eintrag .fund-marke { grid-column: 2; justify-self: start; }
.ticker-liste.gross { background: var(--karte); border-radius: var(--rund-gross); padding: .6rem clamp(.8rem, 2.5vw, 1.8rem); }
.ticker-liste.gross .ticker-eintrag { font-size: 1.02rem; padding: 1.05rem .4rem; }
.ticker-liste.klein .ticker-eintrag { font-size: .88rem; }
.filter-leiste { display: flex; gap: .5rem; margin: 0 0 1.4rem; flex-wrap: wrap; }
.filter-leiste a { padding: .55rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: var(--text2); font-weight: 700; font-size: .88rem; transition: background .3s, color .3s; }
.filter-leiste a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.filter-leiste a[aria-current] { background: #fff; color: var(--bg); box-shadow: none; }

/* Karten (große Kacheln mit Abendhimmel-Kopf) */
.karten-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1.2rem; }
.artikel-karte, .bereich-karte { position: relative; padding: 7.2rem 1.6rem 1.7rem; border-radius: var(--rund-gross); background: var(--karte2); transition: transform .55s var(--sanft), background .4s; overflow: hidden; min-width: 0; }
.artikel-karte::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5.6rem; background: var(--abend); opacity: .85; transition: opacity .5s, height .55s var(--sanft); }
.artikel-karte:nth-child(3n+2)::before { background: linear-gradient(180deg, #1f2d55 0%, #44508a 50%, #c2779a 100%); }
.artikel-karte:nth-child(3n)::before { background: linear-gradient(180deg, #3b1f45 0%, #8a3f6e 55%, #f2a072 100%); }
.artikel-karte:hover, .bereich-karte:hover { transform: translateY(-5px); background: var(--karte3); }
.artikel-karte:hover::before { opacity: 1; height: 6rem; }
.artikel-karte h3 { font-size: 1.22rem; overflow-wrap: break-word; }
.artikel-karte h3 a { color: var(--text); }
.artikel-karte h3 a::after { content: ''; position: absolute; inset: 0; }
.artikel-karte p { color: var(--leise); font-size: .94rem; margin: 0; }
.artikel-karte .ueberzeile { position: relative; z-index: 1; }
.bereich-karte { color: var(--text); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem; background: var(--abend); }
.bereich-karte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(29, 22, 38, .75)); z-index: 0; transition: opacity .5s; }
.bereich-karte > * { position: relative; z-index: 1; }
.bereich-karte:nth-child(3n+2) { background: linear-gradient(180deg, #1f2d55 0%, #44508a 50%, #c2779a 100%); }
.bereich-karte:nth-child(3n) { background: linear-gradient(180deg, #3b1f45 0%, #8a3f6e 55%, #f2a072 100%); }
.bereich-karte:hover::after { opacity: .7; }
.bereich-karte h2 { font-size: 2.2rem; margin-bottom: .3rem; }
.bereich-karte p { color: rgba(255, 255, 255, .88); margin-bottom: .6rem; }
.bereich-karte .leise { color: rgba(255, 255, 255, .75); font-weight: 700; font-size: .85rem; }
.bereich-karte:hover { color: var(--text); }
.chip-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-liste a { display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; background: var(--karte2); color: var(--text); font-weight: 700; font-size: .93rem; transition: background .35s, color .35s, transform .45s var(--sanft); }
.chip-liste a:hover { background: var(--pfirsich); color: var(--bg); transform: translateY(-2px); }
.link-liste { margin: 0; padding-left: 1.1rem; }
.link-liste li { margin: .45rem 0; }

/* Forum */
.kat-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.kat-karte { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 180px minmax(0, 270px); gap: 1.4rem; align-items: center; padding: 1.6rem 1.8rem 1.6rem 2.1rem; border-radius: var(--rund-gross); background: var(--karte); overflow: hidden; transition: background .4s, transform .5s var(--sanft); }
.kat-karte::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--rosa); }
.kat-karte.kat-orange::before { background: var(--pfirsich); }
.kat-karte.kat-tuerkis::before { background: var(--lila); }
.kat-karte:hover { background: var(--karte2); transform: translateY(-2px); }
.kat-name { font: 400 1.85rem/1.05 var(--titel); text-transform: uppercase; color: var(--text); }
.kat-karte p { margin: .35rem 0 0; color: var(--leise); font-size: .93rem; }
.kat-zahlen { display: flex; gap: 1.2rem; font-size: .82rem; color: var(--leise); }
.kat-zahlen b { color: var(--text); font: 400 1.6rem/1 var(--titel); display: block; }
.kat-letztes { display: grid; font-size: .88rem; min-width: 0; }
.kat-letztes a { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.themen-liste { list-style: none; margin: 0; padding: 0; }
.start .themen-liste, .spalte-haupt > .themen-liste, .haupt > .themen-liste { background: var(--karte); border-radius: var(--rund-gross); padding: .4rem clamp(1rem, 2.5vw, 1.8rem); }
.thema-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem .2rem; border-bottom: 1px solid var(--linie); }
.thema-zeile:last-child { border-bottom: 0; }
.thema-zeile.angepinnt { background: rgba(255, 211, 168, .06); border-radius: 12px; padding-left: .8rem; padding-right: .8rem; }
.thema-titel { color: var(--text); font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.thema-titel:hover { color: var(--pfirsich); }
.thema-meta { font-size: .82rem; color: var(--leise); margin-top: .3rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.thema-zahlen { display: grid; text-align: right; font-size: .82rem; color: var(--leise); }
.thema-zahlen b { color: var(--text); }
.kat-chip { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 4px; background: var(--rosa); color: var(--bg); }
.kat-chip:hover { color: #000; }
.kat-chip.kat-orange { background: var(--pfirsich); }
.kat-chip.kat-tuerkis { background: #d9c4f2; }
.abzeichen { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .12rem .4rem; border-radius: 4px; vertical-align: middle; }
.abz-admin { background: var(--pfirsich); color: var(--bg); }
.abz-bot { background: rgba(141, 230, 218, .16); color: var(--tuerkis); }
.thema-kopf h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin-top: .8rem; overflow-wrap: anywhere; }
.admin-leiste { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; }
.beitraege { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.beitrag { background: var(--karte); border-radius: var(--rund-gross); padding: 1.5rem 1.7rem; scroll-margin-top: 100px; min-width: 0; }
.beitrag:target { box-shadow: inset 0 0 0 2px var(--pfirsich); }
.beitrag-kopf { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; font-size: .92rem; min-width: 0; }
.beitrag-kopf strong { color: var(--text); overflow-wrap: anywhere; }
.beitrag-kopf .leise { font-size: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 400 1.35rem/1 var(--titel); background: var(--abend); color: #fff; flex-shrink: 0; }
.beitrag-nr { margin-left: auto; color: var(--leise); font-size: .8rem; }
.beitrag-text { overflow-wrap: anywhere; color: var(--text2); }
.beitrag-text p:last-child { margin-bottom: 0; }
.beitrag-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: .7rem; margin-top: 1.1rem; }
.beitrag-bilder img { border-radius: 14px; width: 100%; height: 200px; object-fit: cover; background: var(--bg2); transition: transform .5s var(--sanft); }
.beitrag-bilder a:hover img { transform: scale(1.02); }
.beitrag-aktionen { display: flex; gap: 1rem; justify-content: flex-end; align-items: center; margin-top: .9rem; font-size: .85rem; flex-wrap: wrap; }
.beitrag-aktionen form { margin: 0; }
.melden summary { cursor: pointer; color: var(--leise); list-style: none; }
.melden summary::-webkit-details-marker { display: none; }
.melden[open] form { display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; margin-top: .5rem; }
.seiten-nav { display: flex; justify-content: center; gap: 1rem; align-items: center; margin: 2rem 0; color: var(--leise); font-weight: 700; flex-wrap: wrap; }
.seiten-nav a { padding: .6rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); color: var(--text); }
.seiten-nav a:hover { background: rgba(255, 255, 255, .08); }

/* Formulare */
.formular { display: grid; gap: .55rem; min-width: 0; }
.formular.schmal, .schmal .formular { background: var(--karte); border-radius: var(--rund-gross); padding: clamp(1.4rem, 4vw, 2.6rem); margin: 1rem auto 1.8rem; }
.formular h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
label { font-weight: 700; font-size: .92rem; margin-top: .5rem; color: var(--text); }
input[type=text], input[type=search], input[type=password], input:not([type]), textarea, select { width: 100%; min-width: 0; font: inherit; color: var(--text); background: var(--bg2); border: 1.5px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: .9rem 1.05rem; transition: border-color .3s, box-shadow .3s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--pfirsich); box-shadow: 0 0 0 4px rgba(255, 211, 168, .16); }
input[type=file] { color: var(--leise); font-size: .9rem; max-width: 100%; }
input[type=file]::file-selector-button { font: 700 .85rem var(--schrift); border: 0; border-radius: 999px; padding: .6rem 1.05rem; margin-right: .8rem; background: rgba(255, 255, 255, .12); color: var(--text); cursor: pointer; }
textarea { resize: vertical; min-height: 130px; }
.formular button.knopf { justify-self: start; margin-top: 1rem; }
.haken { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--text2); }
.haken input { margin-top: .3rem; accent-color: var(--pfirsich); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255, 211, 168, .1); box-shadow: inset 0 0 0 1px rgba(255, 211, 168, .35); }
.meldung-fehler { background: rgba(255, 107, 129, .12); box-shadow: inset 0 0 0 1px rgba(255, 107, 129, .5); }
.meldung-ok { background: rgba(141, 230, 218, .1); box-shadow: inset 0 0 0 1px rgba(141, 230, 218, .4); margin-bottom: 1rem; }
.gefahr-zone { box-shadow: inset 0 0 0 1px rgba(255, 107, 129, .35); }
.suchfeld { display: flex; gap: .6rem; margin-top: 1.2rem; max-width: 680px; }
.suchfeld input { flex: 1; border-radius: 999px; padding-left: 1.3rem; }
.leer-hinweis { text-align: center; padding: 3rem 1.2rem; background: var(--karte); border-radius: var(--rund-gross); color: var(--leise); margin-bottom: 2rem; }
.leer-hinweis.gross { padding: 6rem 1.2rem; }
.leer-hinweis .knopf { margin: .3rem; }
.fehler-text { color: var(--rot); }

/* Artikel */
.artikel-meta { font-size: .9rem !important; }
.stand { color: var(--tuerkis); font-weight: 700; }
.artikel-titelbild { border-radius: var(--rund-gross); margin-bottom: 2rem; width: 100%; }
.artikel-text { font-size: 1.08rem; line-height: 1.8; max-width: 760px; color: var(--text2); overflow-wrap: break-word; }
.artikel-text h2 { margin-top: 2.8rem; scroll-margin-top: 100px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.artikel-text h3 { margin-top: 1.8rem; scroll-margin-top: 100px; }
.artikel-text img { border-radius: var(--rund); margin: 1.2rem 0; }
.artikel-text a { text-decoration: underline; text-decoration-color: rgba(255, 211, 168, .45); text-underline-offset: 3px; overflow-wrap: anywhere; }
.artikel-text ul, .artikel-text ol { padding-left: 1.3rem; }
.artikel-text li { margin: .35rem 0; }
.artikel-text blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--rosa); background: var(--karte); border-radius: 0 14px 14px 0; }
.artikel-text code { background: rgba(255, 255, 255, .08); padding: .1rem .35rem; border-radius: 6px; font-size: .92em; overflow-wrap: anywhere; }
.artikel-text pre { overflow-x: auto; max-width: 100%; }
.artikel-text table, .tabelle { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; display: block; overflow-x: auto; max-width: 100%; }
.artikel-text th, .artikel-text td, .tabelle th, .tabelle td { border-bottom: 1px solid var(--linie); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.artikel-text th, .tabelle th { color: var(--pfirsich); font-weight: 800; }
.artikel ol, .artikel ul { padding-left: 1.3rem; }
.inhalt-nav ol { margin: 0; padding-left: 1.2rem; font-size: .93rem; }
.inhalt-nav li { margin: .45rem 0; }
.inhalt-nav a { color: var(--leise); }
.inhalt-nav a:hover { color: #fff; }
.inhalt-nav h2 { font-size: 1.4rem; }
.teilen { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 2.4rem 0; font-size: .9rem; }
.teilen span { color: var(--leise); font-weight: 700; margin-right: .3rem; }
.teilen a, .teilen button { padding: .55rem 1.05rem; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); color: var(--text); background: transparent; font: 700 .86rem var(--schrift); cursor: pointer; transition: background .3s, box-shadow .3s; }
.teilen a:hover, .teilen button:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .07); color: #fff; }
.platzhalter { background: rgba(255, 211, 168, .2); color: var(--pfirsich); padding: 0 .3rem; border-radius: 4px; }

/* Admin */
.admin-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.admin-liste li { background: var(--karte2); border-radius: 14px; padding: 1rem 1.1rem; overflow-wrap: anywhere; }
.admin-liste blockquote { margin: .4rem 0 .7rem; color: var(--leise); font-size: .9rem; overflow-wrap: anywhere; }

/* Werbung: feste Höhe, damit nichts springt */
.werbeplatz { position: relative; min-height: 280px; margin: 1.8rem 0; border-radius: var(--rund); background: rgba(255, 255, 255, .02); overflow: hidden; }
.werbeplatz-seite { min-height: 600px; margin: 0; }
li.werbeplatz { list-style: none; }
.werbung-label { position: absolute; top: .3rem; left: .7rem; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }

/* Fuß */
.fuss { background: #000; margin-top: 2rem; }
.fuss-innen { max-width: 1240px; margin: 0 auto; padding: 4rem clamp(1rem, 3vw, 2rem) 2rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.fuss-hinweis { color: var(--leise); font-size: .9rem; max-width: 540px; margin-top: 1.2rem; }
.fuss-hinweis strong { color: var(--text); }
.fuss-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fuss-spalten h2 { font-size: 1.15rem; margin-bottom: .9rem; }
.fuss-spalten a { display: block; color: var(--leise); padding: .28rem 0; font-size: .92rem; }
.fuss-spalten a:hover { color: #fff; }
.fuss-klein { text-align: center; color: var(--leise); font-size: .8rem; padding: 0 1rem 2.4rem; margin: 0; }

/* Tablet */
@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .kopf-innen { gap: 1.2rem; }
  .chip { display: none; }
}
@media (max-width: 1000px) {
  .haupt.mit-leiste { grid-template-columns: minmax(0, 1fr); }
  .spalte-leiste { position: static; }
  .werbeplatz-seite { display: none; }
  .raster-start { grid-template-columns: minmax(0, 1fr); }
  .raster-start .ticker-block { position: static; }
  .held { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .held-bild { position: absolute; right: -90px; top: auto; bottom: 90px; width: 340px; max-width: none; opacity: .2; z-index: -1; animation: none; }
  .kat-karte { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
}
/* Handy */
@media (max-width: 860px) {
  .nav { display: none; }
  .menue-mobil { display: block; }
  .kopf-rechts { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --luft: 3.2rem; }
  .kopf-innen { gap: .6rem; padding: .7rem 1rem; }
  .kopf-rechts { gap: .45rem; }
  .logo-text { font-size: 1.2rem; }
  .logo-zeichen { width: 30px; height: 30px; }
  .konto-menue summary { max-width: 96px; padding: .42rem .7rem; font-size: .8rem; }
  .kopf-rechts > .knopf-klein { padding: .5rem .8rem; font-size: .78rem; }
  .fuss-innen { grid-template-columns: minmax(0, 1fr); }
  .thema-zeile { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .thema-zahlen { text-align: left; display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
  .cd-feld { min-width: 0; flex: 1; padding: .7rem .3rem .55rem; }
  .countdown { gap: .45rem; flex-wrap: nowrap; }
  .cd-feld b { font-size: 2.1rem; }
  .cd-feld span { font-size: .6rem; letter-spacing: .08em; }
  .block { border-radius: 20px; }
  .beitrag { padding: 1.1rem 1.1rem 1rem; }
  .held { border-radius: 24px; padding: 1.8rem 1.3rem 2rem; margin-top: 0; }
  .held h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .held-knoepfe .knopf { flex: 1 1 auto; }
  .news-karte, .news-karte.gross { padding: 1.3rem 1.25rem; }
  .artikel-karte { padding: 6.4rem 1.3rem 1.4rem; }
  .artikel-karte::before { height: 4.8rem; }
  .kat-karte { padding: 1.3rem 1.2rem 1.3rem 1.6rem; }
  .suchfeld { flex-wrap: wrap; }
  .suchfeld .knopf { flex: 1; }
  .block-kopf { flex-wrap: wrap; align-items: center; }
  .seiten-kopf { margin-bottom: 2rem; }
  .kopf-mit-knopf .knopf-reihe, .kopf-mit-knopf > .knopf { width: 100%; }
  .kopf-mit-knopf .knopf-reihe .knopf, .kopf-mit-knopf > .knopf { flex: 1; }
  .tabelle td, .tabelle th { white-space: nowrap; }
}
@media (max-width: 440px) {
  .menue-wort { display: none; }
  .menue-mobil summary { padding: .55rem .65rem; }
  .logo-text { font-size: 1.1rem; }
}
@media (max-width: 360px) {
  .sprach-knopf { padding: .4rem .5rem; }
  .logo-text b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
