/* Funktionsseiten: dunkel wie die Startseite, hell ueber data-theme="hell" (theme.js). Alle Farben ueber Token. */
:root { --grund: #07070c; --flaeche: #111018; --flaeche-2: #17161f; --rand: rgba(255,255,255,.09); --text: #f2f1f8; --text-2: #a4a1b8; --akzent: #a78bfa; --akzent-tief: #7c5cfc; --akzent-weich: rgba(124,92,252,.14); }
:root[data-theme="hell"] { --grund: #f4f3f9; --flaeche: #ffffff; --flaeche-2: #f8f7fc; --rand: rgba(23,22,34,.1); --text: #17161f; --text-2: #5b5870; --akzent: #5b3fd6; --akzent-tief: #5b3fd6; --akzent-weich: #ece7fb; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.fk-innen { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.fk-kopf { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--grund) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rand); }
.fk-kopf .fk-innen { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.fk-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.fk-logo .punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-weich); }
.fk-nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: .95rem; }
.fk-nav a.an { color: var(--akzent); }
.fk-thema { background: none; border: 1px solid var(--rand); color: var(--text-2); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.fk-thema .material-icons { font-size: 18px; }
.fk-cta { background: var(--akzent-tief); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 700; display: inline-block; }
.fk-cta:hover { filter: brightness(1.08); }
.fk-leise { padding: 10px 14px; font-weight: 600; color: var(--text-2); }
.fk-main { max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; }
.kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); font-weight: 700; margin-bottom: 10px; }
.fk-hero { max-width: 760px; margin-bottom: 36px; }
.fk-hero h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.fk-hero .unter { font-size: 1.12rem; color: var(--text-2); max-width: 62ch; margin: 0 0 22px; }
.fk-knoepfe { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fk-kette { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.fk-kette span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rand); background: var(--flaeche); font-size: .86rem; font-weight: 600; }
.fk-kette i { font-style: normal; color: var(--akzent); font-weight: 700; }
.fk-bild { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--rand); background: #0f0d15; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.fk-bild img { display: block; width: 100%; height: auto; }
.fk-bild.gross { margin-bottom: 72px; }
.fk-block { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--rand); }
.fk-block.mit-bild { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.fk-block:nth-of-type(odd).mit-bild .text { order: 2; }
.fk-block h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; margin: 0 0 10px; text-wrap: balance; }
.fk-block p { color: var(--text-2); max-width: 60ch; margin: 0 0 12px; }
.fk-block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fk-block li { padding-left: 26px; position: relative; }
.fk-block li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%; background: var(--akzent-weich); box-shadow: inset 0 0 0 4px var(--akzent); }
.fk-faq { margin-top: 56px; border-top: 1px solid var(--rand); padding-top: 28px; max-width: 760px; }
.fk-faq h2, .fk-weiter h2, .fk-abschluss h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 1.4rem; margin: 0 0 14px; }
.fk-faq details { border: 1px solid var(--rand); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; background: var(--flaeche); }
.fk-faq summary { cursor: pointer; font-weight: 600; }
.fk-faq p { color: var(--text-2); margin: 8px 0 0; }
.fk-weiter { margin-top: 48px; }
.fk-weiter-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.fk-weiter-liste a { border: 1px solid var(--rand); border-radius: 12px; padding: 14px 16px; background: var(--flaeche); display: grid; gap: 4px; }
.fk-weiter-liste a:hover { border-color: var(--akzent); }
.fk-weiter-liste b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent); }
.fk-weiter-liste span { font-weight: 600; font-size: .95rem; }
.fk-abschluss { margin-top: 56px; border-radius: 20px; padding: 36px; background: linear-gradient(135deg, var(--akzent-weich), transparent 60%), var(--flaeche); border: 1px solid var(--rand); text-align: center; }
.fk-abschluss p { color: var(--text-2); max-width: 56ch; margin: 0 auto 18px; }
.fk-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.fk-karte { border: 1px solid var(--rand); border-radius: 18px; background: var(--flaeche); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.fk-karte:hover { transform: translateY(-2px); border-color: var(--akzent); }
.fk-karte img { width: 100%; height: 200px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--rand); }
.fk-karte .kicker { margin: 16px 18px 4px; }
.fk-karte h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; margin: 0 18px 10px; text-wrap: balance; }
.fk-karte ul { margin: 0 18px 12px; padding-left: 18px; color: var(--text-2); font-size: .92rem; }
.fk-karte .mehr { margin: auto 18px 16px; font-weight: 700; color: var(--akzent); display: inline-flex; align-items: center; gap: 4px; font-size: .92rem; }
.fk-karte .mehr .material-icons { font-size: 16px; }
.fk-fuss { border-top: 1px solid var(--rand); padding: 24px 0 40px; color: var(--text-2); font-size: .88rem; }
.fk-fuss .fk-innen { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fk-fuss a { color: var(--text); }
.pl-fein { font-size: .82rem; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fk-karte { transition: none; } }
@media (max-width: 820px) { .fk-block.mit-bild { grid-template-columns: 1fr; } .fk-block:nth-of-type(odd).mit-bild .text { order: 0; } .fk-nav { gap: 12px; font-size: .88rem; } .fk-nav .fk-leise { display: none; } }
/* v2: Gruppen auf der Uebersicht, Einstieg-Zeile, Karten ohne Bild */
.fk-gruppe { margin-top: 44px; }
.fk-gruppe-titel { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rand); }
.fk-karte .kicker { display: inline-flex; align-items: center; gap: 6px; }
.fk-karte .kicker .material-icons { font-size: 15px; }
.fk-karte p { margin: 0 18px 12px; color: var(--text-2); font-size: .92rem; }
.fk-karte-leer { height: 200px; display: flex; align-items: center; justify-content: center; background: var(--flaeche-2); border-bottom: 1px solid var(--rand); }
.fk-karte-leer .material-icons { font-size: 48px; color: var(--akzent); opacity: .6; }
.fk-einstieg { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: .86rem; color: var(--text-2); }
.fk-einstieg .material-icons { font-size: 16px; color: var(--akzent); }
.fk-nav .fm-ausloeser { color: var(--akzent); }

/* Handy (07.09.): Kopfzeile passt in 390 px — Textlinks weichen, Menue-Knopf und Start-Knopf bleiben */
@media (max-width: 760px) {
  .fk-kopf .fk-innen { height: 58px; }
  .fk-logo { font-size: 1.15rem; }
  .fk-nav { gap: 8px; font-size: .86rem; }
  .fk-nav > a:not(.fk-cta) { display: none; }
  .fk-nav .fk-cta { padding: 8px 12px; font-size: .84rem; }
}
@media (max-width: 760px) {
  .fk-kopf .fk-innen { gap: 10px; }
  .fk-nav .fk-cta { white-space: nowrap; }
  .fk-nav .fm-ausloeser { font-size: .86rem; padding: 6px 0; }
}
@media (max-width: 760px) {
  .fk-kopf .fk-innen { padding: 0 14px; gap: 8px; }
  .fk-nav { gap: 6px; }
  .fk-nav .fk-cta { padding: 7px 10px; font-size: .8rem; }
  #fk-thema { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .fk-logo { font-size: 1rem; }
  #fk-thema { display: none; }
  .fk-nav .fm-ausloeser .material-icons { display: none; }
}

/* Kopfzeile wie auf der Startseite (07.09.2026): gleiches Markup, gleiche Klassen.
   Der dunkle Grundzustand kommt aus den Tailwind-Klassen (output.css), der helle aus start-hell.css.
   Hier steht nur, was die Startseite in ihrem eigenen <style>-Block hat, plus der Platz unter der
   festen Kopfzeile (112 px hoch). */
main.fs-seite { padding-top: 112px; }
#main-header .fm-fenster { text-align: left; }
