/*
 * Design-Paket „finanzierungsexperten“ — CI des Portals finanzierungsexperten.org.
 *
 * Quelle der Werte: CI-Fassung 2 (A#953, Carsten 19./20.10.2026,
 * docs/befunde/A953-CI-FINANZIERUNGSEXPERTEN-V2.md), umgesetzt mit A#962. Grundlage
 * bleibt IP-FX-7 A (startklar-hub 2bc313b, Inhaltspaket §7.2); die Abweichungen
 * stehen dort in §8. Kontraste nach WCAG 2.1 nachgerechnet:
 *   Nachtblau auf Weiß 15,97 : 1 · Gold hell auf Nachtblau 9,23 : 1
 *   Grau auf Weiß 5,96 : 1 · Gold auf Weiß nur 3,09 : 1 → nie Fließtext auf Hell.
 *   Nachtblau auf Gold 5,17 : 1, auf Gold licht 6,63 : 1 → Schrift des Hauptknopfs.
 *
 * Die Farben stehen fest im Paket, nicht im Farbschema der Instanz: Das Paket gehört
 * zu genau einem Portal. Die DaisyUI-Variablen werden deshalb mit
 * `html[data-theme]` gesetzt — das schlägt die `[data-theme="…"]`-Blöcke eines
 * Farbschemas (branding_css) unabhängig von der Ladereihenfolge.
 *
 * Werte der DaisyUI-Variablen in OKLCH (L C H), umgerechnet aus den Hex-Werten.
 */

/* ── Schriften, selbst ausgeliefert (SIL OFL 1.1, siehe fonts/OFL.txt) ── */
/* Source Serif 4 als variable Schrift mit Achse „optische Größe“ (S1, A#962 Ä-7):
   große Titel bekommen feinere Serifen, jede Stärke von 200 bis 900 ist echt —
   `font-bold` fällt nicht mehr auf eine nachgerechnete 600 zurück (I-7). */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/source-serif-4-latin-opsz.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/source-sans-3-latin-700.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────────────────────── */
:root,
html[data-theme] {
  --fx-nachtblau: #14213d;
  --fx-gold: #b08d57;
  --fx-gold-licht: #c4a267;      /* Hauptknopf beim Überfahren: heller, nie dunkler */
  --fx-messing-dunkel: #8e6e3c;  /* 1-px-Kante des Hauptknopfs */
  --fx-gold-hell: #d9c29a;
  --fx-gold-dunkel: #7a5c2e;
  --fx-papier: #f7f5f0;
  --fx-weiss: #ffffff;
  --fx-grau: #5b6475;
  --fx-linie: #e2ddd1;
  --fx-feldrand: #8a919d;        /* Feldrahmen, 3,2 : 1 auf Weiß (WCAG 1.4.11) */

  /* Zustandsfarben, gedeckt (A#953 §4, AB-6): Farbe, Fläche, Text auf der Fläche. */
  --fx-erfolg: #2f6b4f;
  --fx-erfolg-flaeche: #e8f1ec;
  --fx-erfolg-text: #1f4a36;
  --fx-warnung: #8a5a00;
  --fx-warnung-flaeche: #f6edd9;
  --fx-warnung-text: #5e3e00;
  --fx-fehler: #a63a32;
  --fx-fehler-flaeche: #f7e5e3;
  --fx-fehler-text: #7a2821;
  --fx-hinweis: #2c4a7a;
  --fx-hinweis-flaeche: #e4eaf3;
  --fx-hinweis-text: #1d3357;

  --fx-schrift-titel: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --fx-schrift-text: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;
  /* Eckig nach IP-FX-7 (Knöpfe 0 bis 2 px). Abweichung von vrs-hub
     ui-daisyui-tailwind.md §5.4 (Knöpfe 8 px, Felder 4 px), festgehalten in
     CLAUDE.md: Die Werte folgen der CI, die Regel „Felder runden schwächer als
     Knöpfe“ bleibt — Felder 0 px, Knöpfe 2 px. Badges behalten ihre Pillenform. */
  --fx-rundung: 2px;
  --fx-rundung-feld: 0px;

  /* DaisyUI 4 */
  color-scheme: light;
  --p: 66.41% 0.0831 77.4;      /* Gold: Hauptknopf (K1, AB-4) */
  --pc: 25.22% 0.0562 264;      /* Nachtblau als Schrift auf Gold */
  --s: 66.41% 0.0831 77.4;      /* Gold: Akzente auf Nachtblau */
  --sc: 25.22% 0.0562 264;
  --a: 82.35% 0.0593 81.36;     /* Gold hell */
  --ac: 25.22% 0.0562 264;
  --n: 25.22% 0.0562 264;
  --nc: 100% 0 0;
  --b1: 100% 0 0;               /* Weiß: Karten, Formulare */
  --b2: 97.03% 0.007 88.64;     /* Papier: Seitenhintergrund */
  --b3: 89.82% 0.017 88.01;     /* Linie */
  --bc: 25.22% 0.0562 264;
  --su: 47.94% 0.078 161.08;    /* Erfolg, Tannengrün */
  --suc: 100% 0 0;
  --wa: 50.78% 0.108 73.3;      /* Warnung, Ocker */
  --wac: 100% 0 0;
  --er: 50.12% 0.144 27.66;     /* Fehler, Ziegelrot */
  --erc: 100% 0 0;
  --in: 41.04% 0.0886 259.41;   /* Hinweis, Taubenblau */
  --inc: 100% 0 0;
  --rounded-box: 0.25rem;
  --rounded-btn: var(--fx-rundung);
  --vrs-rounded-field: var(--fx-rundung-feld);
  --font-family: var(--fx-schrift-text);
}

/* ── Grundlage ──────────────────────────────────────────────────── */
/* base_paket.html setzt `bg-base-100` (Weiß) fest an <body>; Papier ist laut CI
   der Seitenhintergrund, Weiß gehört Karten und Formularen. */
/* Fließtext 18/1,55 (S1). Tailwind-Größen in rem bleiben, was sie sind; geerbt wird 18 px. */
html body,
html body.bg-base-100 {
  background-color: var(--fx-papier);
  color: var(--fx-nachtblau);
  font-family: var(--fx-schrift-text);
  font-size: 1.125rem;
  line-height: 1.55;
}
/* Titel immer 600, auch mit `font-bold` im Plugin-Template: `html[data-theme]`
   hebt die Regel über die Tailwind-Klasse. */
h1, h2, h3, h4,
.fx-titel,
html[data-theme] :is(h1, h2, h3, h4, .fx-titel) {
  font-family: var(--fx-schrift-titel);
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--fx-nachtblau);
}
/* Überschriften ohne automatische Silbentrennung (A#955 B2: „Ein-trag“, A#962 Ä-8).
   Umbrüche setzt der Text selbst; !important schlägt Tailwinds hyphens-auto in
   Plugin-Templates. `text-wrap: balance` gleicht die Zeilen aus (S1). */
h1, h2, h3, h4, h5, h6,
.fx-titel {
  -webkit-hyphens: manual !important;
  hyphens: manual !important;
  text-wrap: balance;
}
.prose a {
  color: var(--fx-nachtblau);
  text-decoration: underline;
}
/* `text-primary` wäre mit `--p` jetzt Gold — auf Hell nur 3,09 : 1. Fremde Templates
   nutzen es für Icons und Akzente; das Paket setzt dafür Gold dunkel (6,18 : 1). */
html[data-theme] .text-primary { color: var(--fx-gold-dunkel); }

/* ── Knöpfe (K1, A#953 §4, A#962 Ä-4) ───────────────────────────── */
/* Knöpfe sind DaisyUI-Knöpfe (`btn btn-primary`, `btn btn-outline` …): Farbe aus `--p`,
   Rundung aus `--rounded-btn`. Das Paket gestaltet keine eigenen Knopfklassen, es
   setzt nur, was DaisyUI anders machen würde:
   - Hauptknopf Gold, Schrift Nachtblau 700, Kante 1 px Messing dunkel.
   - Maus: DaisyUI mischt 10 % Schwarz ins Gold — der Kontrast fiele. Hier Gold licht.
   - Gesperrt: Papier, Grau, Kante Linie (5,47 : 1). Die 45 % Deckkraft aus A#953 §4
     ergäben 1,78 : 1; der Auftrag verlangt 4,5 : 1 in allen Zuständen.
   - Zweitknopf (`btn-outline`, `btn-secondary`): Weiß, Rahmen und Schrift Nachtblau,
     Maus Papier.
     Auf Nachtblau (`.fx-band`, Hero-Band) transparent, Rahmen Gold hell, Schrift weiß.
   - Fokus: 2 px Nachtblau, auf Nachtblau Gold hell. */
html[data-theme] .btn {
  font-weight: 700;
  font-size: 1.0625rem;
}
html[data-theme] .btn-sm { font-size: 0.9375rem; }
html[data-theme] .btn-xs { font-size: 0.75rem; }
html[data-theme] .btn-lg { font-size: 1.125rem; }
html[data-theme] .btn-primary {
  background-color: var(--fx-gold);
  border-color: var(--fx-messing-dunkel);
  color: var(--fx-nachtblau);
}
html[data-theme] .btn-primary:hover,
html[data-theme] .btn-primary:active {
  background-color: var(--fx-gold-licht);
  border-color: var(--fx-messing-dunkel);
  color: var(--fx-nachtblau);
}
/* `btn-secondary` ist ebenfalls Zweitknopf: Mit `--s` Gold stünden sonst zwei
   Goldknöpfe nebeneinander (Anmelden und Registrieren im Checkout). */
html[data-theme] .btn-outline,
html[data-theme] .btn-secondary {
  background-color: var(--fx-weiss);
  border-color: var(--fx-nachtblau);
  color: var(--fx-nachtblau);
}
html[data-theme] .btn-outline:hover,
html[data-theme] .btn-secondary:hover {
  background-color: var(--fx-papier);
  border-color: var(--fx-nachtblau);
  color: var(--fx-nachtblau);
}
/* Schmal dürfen Knöpfe zweizeilig werden, statt über den Rand zu laufen
   („Weiter zur Zusammenfassung“ neben „Zurück“ bei 390 px). */
@media (max-width: 640px) {
  html[data-theme] .btn {
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    flex-shrink: 1;
    flex-wrap: nowrap;
    min-width: 0;
  }
  html[data-theme] .btn-lg { font-size: 1.0625rem; }
}
html[data-theme] .btn:focus-visible {
  outline: 2px solid var(--fx-nachtblau);
  outline-offset: 2px;
}
html[data-theme] .btn:disabled,
html[data-theme] .btn[disabled],
html[data-theme] .btn.btn-disabled {
  background-color: var(--fx-papier);
  border-color: var(--fx-linie);
  color: var(--fx-grau);
  opacity: 1;
  cursor: not-allowed;
}
html[data-theme] :is(.fx-band, .vertrieb-angebot) .btn-outline {
  background-color: transparent;
  border-color: var(--fx-gold-hell);
  color: var(--fx-weiss);
}
html[data-theme] :is(.fx-band, .vertrieb-angebot) .btn-outline:hover {
  background-color: var(--fx-gold-hell);
  border-color: var(--fx-gold-hell);
  color: var(--fx-nachtblau);
}
html[data-theme] :is(.fx-band, .vertrieb-angebot) .btn:focus-visible { outline-color: var(--fx-gold-hell); }

/* ── Meldungen und Toasts (Ä-3) ─────────────────────────────────── */
/* DaisyUI füllt `.alert-*` mit der vollen Zustandsfarbe. Die CI will gedeckte Flächen
   mit Randstrich und dunklem Text wie im Designbaukasten (8,0 bis 10,4 : 1). */
html[data-theme] .alert {
  border-radius: var(--fx-rundung);
  border: 0;
  border-left: 4px solid currentColor;
}
html[data-theme] .alert-success { background-color: var(--fx-erfolg-flaeche); color: var(--fx-erfolg-text); border-left-color: var(--fx-erfolg); }
html[data-theme] .alert-warning { background-color: var(--fx-warnung-flaeche); color: var(--fx-warnung-text); border-left-color: var(--fx-warnung); }
html[data-theme] .alert-error { background-color: var(--fx-fehler-flaeche); color: var(--fx-fehler-text); border-left-color: var(--fx-fehler); }
html[data-theme] .alert-info { background-color: var(--fx-hinweis-flaeche); color: var(--fx-hinweis-text); border-left-color: var(--fx-hinweis); }

/* ── Formulare (A#953 §3, A#962 Ä-9) ───────────────────────────── */
/* Beschriftung 16 px halbfett, 4 px über dem Feld; Feld 48 px, Schrift 17 px, Rundung
   0 px; Hilfetext 14 px Grau, Fehler Ziegelrot; Fokus 2 px Gold. Auf Telefon und
   Tablet dieselben Werte — 17 px verhindert das Hineinzoomen in iOS (unter 16 px).
   `html[data-theme]` schlägt DaisyUIs Größenklassen (`input-sm`, `text-xs`) auch in
   Templates, die mit anderen Paketen geteilt sind (Anmeldeseite). */
html[data-theme] .label-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fx-nachtblau);
}
/* Häkchen, Schalter und Optionen: Beschriftung neben dem Feld, normal gewichtet. */
html[data-theme] .label:has(input[type="checkbox"], input[type="radio"]) .label-text {
  font-weight: 400;
}
html[data-theme] .label:has(+ :is(.input, .select, .textarea, input, select, textarea)) {
  padding: 0 0 0.25rem;
}
html[data-theme] .label-text-alt,
html[data-theme] .form-control :is(.text-base-content\/40, .text-base-content\/50,
                                    .text-base-content\/60, .text-base-content\/70) {
  font-size: 0.875rem;
  color: var(--fx-grau);
}
html[data-theme] :is(.input, .select, .textarea) {
  min-height: 3rem;
  font-size: 1.0625rem;
  color: var(--fx-nachtblau);
  background-color: var(--fx-weiss);
  border: 1px solid var(--fx-feldrand);
  border-radius: var(--fx-rundung-feld);
}
html[data-theme] :is(.input, .select) { height: 3rem; }
html[data-theme] :is(.input, .select, .textarea):is(:focus, :focus-within) {
  outline: 2px solid var(--fx-gold);
  outline-offset: 1px;
  border-color: var(--fx-nachtblau);
}
html[data-theme] :is(.input-error, .select-error, .textarea-error) {
  border-color: var(--fx-fehler);
}
html[data-theme] .form-control .text-error { color: var(--fx-fehler); }
/* Feld mit fester Endung (Adresse der Website, `label.input`): Das innere Feld darf
   schrumpfen, sonst schiebt die Endung die Seite bei 390 px über den Rand. */
html[data-theme] label.input > input { min-width: 0; width: 100%; }
html[data-theme] label.input > span { white-space: nowrap; }

/* ── Wortmarke und Monogramm ────────────────────────────────────── */
/* Logo W2 als Bild (static/logo/, A#962 Ä-1). Die Höhe bestimmt die Größe, die Breite
   folgt dem Seitenverhältnis 483 : 72. Nie kleiner als 28 px Höhe (Schutz der Wortmarke). */
.fx-wortmarke {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.fx-wortmarke__bild {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: none;
}

/* ── Winkelmotiv (A#953 §5, A#962 Ä-11) ──────────────────────────── */
/* Zwei Goldwinkel oben rechts und unten links wie im Zeichen W2. `.fx-winkel` zeichnet
   sie mit ::before und ::after, ohne zusätzliches Markup. Größe und Strich über
   --fx-winkel-mass, --fx-winkel-strich und --fx-winkel-abstand. */
.fx-winkel,
.fx-winkelrahmen,
.fx-band,
.vertrieb-angebot {
  position: relative;
  --fx-winkel-mass: 12px;
  --fx-winkel-strich: 2px;
  --fx-winkel-abstand: 4px;
}
.fx-winkel::before, .fx-winkel::after,
.fx-winkelrahmen::before, .fx-winkelrahmen::after,
.fx-band::before, .fx-band::after,
.vertrieb-angebot::before, .vertrieb-angebot::after {
  content: '';
  position: absolute;
  width: var(--fx-winkel-mass);
  height: var(--fx-winkel-mass);
  border: 0 solid var(--fx-gold);
  pointer-events: none;
}
.fx-winkel::before, .fx-winkelrahmen::before, .fx-band::before, .vertrieb-angebot::before {
  top: var(--fx-winkel-abstand);
  right: var(--fx-winkel-abstand);
  border-top-width: var(--fx-winkel-strich);
  border-right-width: var(--fx-winkel-strich);
}
.fx-winkel::after, .fx-winkelrahmen::after, .fx-band::after, .vertrieb-angebot::after {
  bottom: var(--fx-winkel-abstand);
  left: var(--fx-winkel-abstand);
  border-bottom-width: var(--fx-winkel-strich);
  border-left-width: var(--fx-winkel-strich);
}

/* Winkelrahmen für Bilder, Zeichnungen und Zitate. */
.fx-winkelrahmen {
  --fx-winkel-mass: 28px;
  --fx-winkel-strich: 4px;
  --fx-winkel-abstand: 0px;
  display: block;
  margin: 0;
  padding: 1.75rem 2rem;
  background: var(--fx-weiss);
}
.fx-winkelrahmen > img { display: block; width: 100%; height: auto; }
blockquote.fx-winkelrahmen {
  font-family: var(--fx-schrift-titel);
  font-size: 1.375rem;
  line-height: 1.45;
}

/* Hero-Band H2 (Portal-Hero): Nachtblau, große Goldwinkel, weiße Serifenüberschrift,
   Text gold hell, Haupt- und Zweitknopf. `.vertrieb-angebot` ist die oberste Sektion
   der Vertriebsseiten (portal_vertrieb/angebot.html) — dort trägt das Paket das Band,
   ohne den Wortlaut zu ändern. */
.fx-band,
.vertrieb-angebot {
  --fx-winkel-mass: 100px;
  --fx-winkel-strich: 6px;
  --fx-winkel-abstand: 24px;
  background: var(--fx-nachtblau);
  color: var(--fx-weiss);
  overflow: hidden;
}
.fx-band::after,
.vertrieb-angebot::after { width: 76px; height: 76px; left: 18px; }
html[data-theme] :is(.fx-band, .vertrieb-angebot) :is(h1, h2, h3) { color: var(--fx-weiss); }
html[data-theme] :is(.fx-band, .vertrieb-angebot) :is(p, li, i, .text-gray-500, .text-gray-600) {
  color: var(--fx-gold-hell);
}
:is(.fx-band, .vertrieb-angebot) > * { position: relative; z-index: 1; }
@media (max-width: 640px) {
  .fx-band, .vertrieb-angebot { --fx-winkel-mass: 56px; --fx-winkel-strich: 4px; --fx-winkel-abstand: 12px; }
  .fx-band::after, .vertrieb-angebot::after { width: 44px; height: 44px; left: 10px; }
}

/* Themen-Hero H1: Papier, rechts eine Linienzeichnung im Winkelrahmen (Themenseiten). */
.fx-themenhero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  gap: 2.5rem;
  align-items: center;
  background: var(--fx-papier);
}
@media (max-width: 900px) {
  .fx-themenhero { grid-template-columns: minmax(0, 1fr); }
}

/* Themen-Icons und Winkelkachel (Ä-10): in der Kachel 32 px auf 58 px, frei 24 bis 32 px. */
.fx-themen-icon { display: block; flex: 0 0 auto; }
.fx-kachel {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.fx-kachel__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--fx-weiss);
  border: 1px solid var(--fx-linie);
}
.fx-kachel--dunkel .fx-kachel__icon {
  background: var(--fx-nachtblau);
  border-color: #2a3a5e;
}
.fx-kachel--dunkel .fx-kachel__text { color: var(--fx-gold-hell); }

/* Monogramm: Papier mit Goldwinkeln statt Goldfläche (AB-3). */
.fx-monogramm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--fx-papier);
  color: var(--fx-nachtblau);
  font-family: var(--fx-schrift-titel);
  font-weight: 600;
  font-size: 1.125rem;
  --fx-winkel-mass: 10px;
}
.fx-monogramm--gross { width: 4rem; height: 4rem; font-size: 1.5rem; --fx-winkel-mass: 12px; }

/* ── Kopf ───────────────────────────────────────────────────────── */
/* Den <header> stellt vrs-core (base_paket.html); das Paket gestaltet ihn. */
header[data-vrs-navbar] {
  background: var(--fx-weiss);
  border-bottom: 3px solid var(--fx-gold);
  box-shadow: none;
  min-height: 0;
  padding: 0;
  position: relative;
  z-index: 30;
}
header[data-vrs-navbar] > .flex-1 { min-width: 0; }

.fx-kopf {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
  width: 100%;
}
.fx-kopf__marke { text-decoration: none; flex: 0 0 auto; }
.fx-kopf__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1 1 auto;
}
.fx-kopf__aktionen {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.fx-kopf__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  color: var(--fx-nachtblau);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.fx-kopf__link:hover,
.fx-kopf__link--aktiv { border-bottom-color: var(--fx-gold); }
.fx-kopf__link--klein { font-weight: 400; color: var(--fx-grau); }
.fx-kopf__link i { color: var(--fx-gold-dunkel); }

.fx-konto { position: relative; }
.fx-konto > summary { list-style: none; }
.fx-konto > summary::-webkit-details-marker { display: none; }
.fx-konto__liste {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 12rem;
  background: var(--fx-weiss);
  border: 1px solid var(--fx-linie);
  border-top: 3px solid var(--fx-gold);
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.fx-konto__liste a {
  padding: 0.625rem 1rem;
  color: var(--fx-nachtblau);
  text-decoration: none;
}
.fx-konto__liste a:hover { background: var(--fx-papier); }

/* Menü-Schaltfläche (nur schmal) */
.fx-kopf__menue { display: none; margin-left: auto; }
/* Die Schaltfläche ist ein DaisyUI-Knopf (`btn btn-sm btn-outline`); hier nur das
   Dreieck von details/summary ausblenden. */
.fx-kopf__menue > summary { list-style: none; }
.fx-kopf__menue > summary::-webkit-details-marker { display: none; }
.fx-kopf__menue-liste {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--fx-weiss);
  border-bottom: 3px solid var(--fx-gold);
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 40;
}
.fx-kopf__menue-liste a {
  padding: 0.75rem 1rem;
  color: var(--fx-nachtblau);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--fx-linie);
}
.fx-kopf__menue-liste a:first-child { border-top: 0; }

@media (max-width: 1023px) {
  .fx-kopf__nav,
  .fx-kopf__aktionen { display: none; }
  .fx-kopf__menue { display: block; }
}
@media (max-width: 400px) {
  .fx-kopf .fx-wortmarke__bild { height: 1.875rem; }
  .fx-kopf { gap: 0.75rem; }
}

/* ── Fuß ────────────────────────────────────────────────────────── */
.fx-fuss {
  background: var(--fx-nachtblau);
  color: var(--fx-weiss);
  border-top: 3px solid var(--fx-gold);
  margin-top: 3rem;
}
.fx-fuss__innen {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
}
.fx-fuss__marke { text-decoration: none; display: inline-block; margin-bottom: 1rem; }
.fx-fuss__marke .fx-wortmarke__bild { height: 2.5rem; }
.fx-fuss__anbieter { margin: 0 0 1rem; }
.fx-fuss__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
.fx-fuss__links a,
.fx-fuss__cookie {
  color: var(--fx-gold-hell);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.fx-fuss__links a:hover,
.fx-fuss__cookie:hover { color: var(--fx-weiss); }
.fx-fuss__cookie[hidden] { display: none; }
.fx-fuss__hinweis {
  font-size: 0.8125rem;
  color: var(--fx-gold-hell);
  margin: 0;
  max-width: 48rem;
}
.fx-fuss__hinweis a { color: inherit; }

/* Pflicht-Footer von vrs-core (_pflicht.html, außerhalb jedes Blocks): als
   letzte Zeile derselben Fußzeile gestaltet, nicht als zweite Fußzeile. */
/* `html body` hebt die Spezifität über die Hilfsklassen am Element
   (text-base-content/50, border-base-300). */
html body .vrs-pflicht-footer {
  background: var(--fx-nachtblau);
  color: var(--fx-gold-hell);
  border-top: 1px solid rgba(217, 194, 154, 0.25);
  opacity: 1;
}
html body .vrs-pflicht-footer a { color: inherit; }
/* Schmal liegt der Knopf zum Wiederöffnen des Cookie-Hinweises (fest unten links)
   über der letzten Zeile der Fußzeile. Platz darunter hält den Text frei. */
@media (max-width: 640px) {
  html body .vrs-pflicht-footer { padding-bottom: 4.5rem; }
}

/* ── Anmeldeseite ───────────────────────────────────────────────── */
.fx-login__marke { margin-bottom: 1.25rem; }
.fx-login__marke .fx-wortmarke__bild { height: 2.5rem; }
/* Die Wortmarke bricht nicht um; unter 400 px passt sie sonst nicht in die Karte. */
@media (max-width: 400px) {
  .fx-login__marke .fx-wortmarke__bild { height: 1.875rem; }
}
.fx-login__titel { font-size: 1.375rem; margin: 0; }
.fx-login__anbieter {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--fx-linie);
  color: var(--fx-grau);
  font-size: 0.8125rem;
  text-align: center;
}
.fx-login__zurueck {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--fx-nachtblau);
  text-decoration: underline;
  font-weight: 600;
}
body .card { border-radius: 0.25rem; border-top: 3px solid var(--fx-gold); }

/* ── Cookie-Hinweis (Plugin consent, F-22) ──────────────────────── */
/* Das Plugin rechnet die DaisyUI-Variablen mit hsl() — DaisyUI 4 liefert OKLCH.
   Die Farben werden ungültig, der Knopf „Einstellungen“ war kaum lesbar.
   Hier feste CI-Werte mit gesichertem Kontrast; die ID-Selektoren schlagen die
   Klassenregeln des Plugins. */
#vrs-consent-banner .consent-card {
  background-color: var(--fx-weiss);
  color: var(--fx-nachtblau);
  border-radius: var(--fx-rundung);
  border-top: 3px solid var(--fx-gold);
}
#vrs-consent-banner .consent-title { font-family: var(--fx-schrift-titel); }
#vrs-consent-banner .consent-title i { color: var(--fx-gold-dunkel); }
#vrs-consent-banner .consent-desc { opacity: 1; color: var(--fx-grau); }
#vrs-consent-banner .consent-desc a { color: var(--fx-nachtblau); }
#vrs-consent-banner .consent-btn { border-radius: var(--fx-rundung); font-weight: 600; }
/* Hauptknopf wie im Rahmen (Ä-6): Gold, Schrift Nachtblau, Kante Messing dunkel. */
#vrs-consent-banner .consent-btn-primary {
  background-color: var(--fx-gold);
  border-color: var(--fx-messing-dunkel);
  color: var(--fx-nachtblau);
  font-weight: 700;
}
/* Das Plugin dunkelt beim Überfahren per filter ab; die CI hellt auf. */
#vrs-consent-banner .consent-btn-primary:hover {
  background-color: var(--fx-gold-licht);
  filter: none;
}
#vrs-consent-banner .consent-btn-outline {
  background-color: var(--fx-weiss);
  border-color: var(--fx-nachtblau);
  color: var(--fx-nachtblau);
}
#vrs-consent-banner .consent-btn-outline:hover,
#vrs-consent-banner .consent-btn-ghost:hover { background-color: var(--fx-papier); }
#vrs-consent-banner .consent-btn-ghost {
  color: var(--fx-nachtblau);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#vrs-consent-banner .consent-cat { background-color: var(--fx-papier); }
#vrs-consent-banner .consent-cat .cat-desc { opacity: 1; color: var(--fx-grau); }
#vrs-consent-banner .consent-cat .cat-badge {
  background-color: var(--fx-linie);
  color: var(--fx-nachtblau);
}
/* `html body` vor der ID: Der Stilblock des Plugins steht später im Dokument. */
html body #vrs-consent-reopen {
  background-color: var(--fx-nachtblau);
  color: var(--fx-gold-hell);
  border-radius: var(--fx-rundung);
}
