/* ============================================================
   FDP Hagen – Theme 2026
   Bootstrap 5 + Public Sans + FDP CI 2026
   Designumbau 16.11.2026, Vorlage fdp.de, fdp.nrw, demo.freie-demokraten.de
   (Analyse in dev/migration/design-referenz.md, Protokoll in dev/migration/design-umbau-protokoll.md)
   Sicherung des Stands davor: dev/webroot/_alt/css/vor-designumbau-20261116

   Inhalt
     0  Design-Tokens
     1  Basis, Typografie, Links, Fokus
     2  Layout, Abschnitte, Balken, Hintergründe
     3  Kopfzeile und Navigation
     4  Buttons (zwei Sorten, zwei Varianten, zwei Größen)
     5  Karten, Kacheln, Bilder, Personen, Linklisten
     6  Bausteine (Hero, Hinweisbox, Zitat, Fakten, Artikel)
     7  Kalender und Termine
     8  Formulare und Newsletter
     9  Footer
    10  Mobil, Bewegung, Bearbeitungsmodus
   ============================================================ */

/* ============================================================
   0  DESIGN-TOKENS
   Alles Umkehrbare steuert sich hier.

   Farben       --fdp-blau #032D67, --fdp-gelb #FFE000, --fdp-cyan #00A7E7 (CI)
                Button-Hover invertiert (Opus-Review): Primär gelb wird blau mit gelber Schrift,
                Sekundär blau wird gelb mit blauer Schrift, auf Blau wird Weiß mit blauer Schrift
                (--btn-hover-*). --fdp-blau-hover #053B86 ist Reserve und derzeit ungenutzt.
                --fdp-text #000 (Fließtext), --fdp-grau #F2F4F7 (Flächen),
                --fdp-grau-mid #5B6472 (Nebentext, 5.4:1 auch auf Grau), --fdp-feldrand #5F6E8C
                (Feldrand 3.1:1, WCAG 1.4.11), --fdp-feld-fokus
   Radien       --radius-ui 6px (Buttons, Felder, Chips)
                --radius-img 20px (Bilder, Karten, Boxen, Kacheln)
                50 % nur für runde Icons und Avatare, 0 nur für Vollflächen
   Schatten     --shadow-soft (nur hervorgehobene Teaser, Dropdowns)
   Abstände     --section-py (Abschnitt), --block-gap (zwischen Blöcken), --container, --gutter
   Schrift      --fs-body, --fs-small, --fs-lead, --lh-body, --lh-head, --ls-head, --fw-*
   Bewegung     --t (Farben, Zoom), --t-zoom (Bildzoom)
   Balken       --bar-h, --bar-w (Cyan unter H2, Gelb im Hero)
   ============================================================ */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/public-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}
/* NOTE: Font Awesome wird vom C5-Kern geladen (/concrete/css/fontawesome/all.css) */

:root {
  /* Farben */
  --fdp-blau:        #032D67;
  --fdp-blau-hover:  #053B86;
  --fdp-gelb:        #FFE000;
  --fdp-cyan:        #00A7E7;
  --fdp-schwarz:     #000000;
  --fdp-weiss:       #FFFFFF;
  --fdp-text:        #000000;
  --fdp-grau:        #F2F4F7;
  --fdp-grau-mid:    #5B6472;
  --fdp-grau-dark:   var(--fdp-text);          /* Altname, kein Grau mehr */
  --fdp-feldrand:    #5F6E8C;   /* 5,1 zu 1 auf Weiß, 4,7 auf Grau (WCAG 1.4.11 verlangt 3 zu 1) */
  --fdp-feld-fokus:  #E1F4FC;

  /* Button-Hover, invertiert */
  --btn-hover-prim-bg: var(--fdp-blau);  --btn-hover-prim-fg: var(--fdp-gelb);
  --btn-hover-sek-bg:  var(--fdp-gelb);  --btn-hover-sek-fg:  var(--fdp-blau);
  --btn-hover-onblau-bg: var(--fdp-weiss); --btn-hover-onblau-fg: var(--fdp-blau);

  /* Navigation, gelber Balken unter dem Text */
  --nav-bar-h: 4px;
  --nav-bar-offset: 0.4em;

  /* Radien */
  --radius-ui:  6px;
  --radius-img: 20px;

  /* Schatten */
  --shadow-soft: 0 3px 30px rgba(0, 0, 0, 0.16);
  --shadow-menu: 0 8px 30px rgba(3, 45, 103, 0.18);

  /* Schrift */
  --font-main:    'Public Sans', system-ui, -apple-system, sans-serif;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;
  --fs-body:      clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);   /* 16 bis 19 px */
  --fs-small:     clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  --fs-lead:      clamp(1.1875rem, 1.1rem + 0.45vw, 1.35rem);
  --lh-body:      1.5;
  --lh-head:      1.15;
  --ls-head:      -0.03em;

  /* Abstände und Raster */
  --header-h:     72px;
  --section-py:   clamp(2.5rem, 6vw, 5.5rem);
  --block-gap:    clamp(2rem, 4.5vw, 4rem);
  --container:    1140px;
  --gutter:       1.875rem;

  /* Bewegung */
  --t:      0.3s ease-in-out;
  --t-zoom: 0.6s cubic-bezier(0.4, 0, 0.6, 1);

  /* Balken */
  --bar-h: 5px;
  --bar-w: 5rem;
}

/* ============================================================
   1  BASIS, TYPOGRAFIE, LINKS, FOKUS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

body {
  font-family: var(--font-main);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fdp-text);
  background: var(--fdp-weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe, table { max-width: 100%; }
::selection { background: var(--fdp-gelb); color: var(--fdp-blau); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-head);
  letter-spacing: var(--ls-head);
  color: var(--fdp-blau);
  margin-top: 0;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: break-word;
}
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-main); font-weight: var(--fw-extrabold); line-height: var(--lh-head); letter-spacing: var(--ls-head); color: var(--fdp-blau); }
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.625rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.0625rem; }

p { margin-bottom: 1rem; }
p, li { text-wrap: pretty; }
@media (max-width: 767.98px) { #main-container :is(p, li) { hyphens: auto; hyphenate-limit-chars: 7 3 3; } }
strong, b { font-weight: var(--fw-bold); }
small, .p--small { font-size: var(--fs-small); }

/* Überschriften auf Gelb Black (900), auf Blau ExtraBold (800), Farbe nach CI */
.fdp-bg-gelb :is(h1, h2, h3, h4, h5, h6) { font-weight: var(--fw-black); color: var(--fdp-blau); }
.fdp-bg-blau :is(h1, h2, h3, h4, h5, h6),
.fdp-block-quote-blau :is(h1, h2, h3, h4, h5, h6) { color: var(--fdp-gelb); font-weight: var(--fw-extrabold); }
.fdp-bg-cyan :is(h1, h2, h3, h4, h5, h6) { color: var(--fdp-blau); }

.fdp-lead, .fdp-lead p { font-size: var(--fs-lead); line-height: 1.45; font-weight: var(--fw-medium); color: var(--fdp-blau); }
.fdp-kicker, .p--leistungen { font-size: 0.875rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); letter-spacing: 0; text-transform: none; }

/* Links. Textlinks im Fließtext blau, fett, Cyan unterstrichen, Hover gelber Textmarker */
a { color: var(--fdp-blau); text-decoration: none; transition: color var(--t), background-color var(--t); }
a:hover { color: var(--fdp-blau); text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
#main-container :is(p, li, td, dd, blockquote) a:not([class]) {
  font-weight: var(--fw-bold);
  text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
#main-container :is(p, li, td, dd, blockquote) a:not([class]):hover { background: var(--fdp-gelb); box-shadow: 0 0 0 2px var(--fdp-gelb); text-decoration-color: var(--fdp-blau); }
/* Auf Blau */
.fdp-bg-blau a, .fdp-hero__text a, .fdp-block-quote-blau a, .fdp-box--blau a { color: var(--fdp-weiss); }
.fdp-bg-blau a:hover, .fdp-hero__text a:hover, .fdp-block-quote-blau a:hover, .fdp-box--blau a:hover { color: var(--fdp-blau); background: var(--fdp-gelb); text-decoration-color: var(--fdp-blau); }
/* Kein Unterstrich bei Navigation, Buttons, Kacheln */
.fdp-header a:hover, .fdp-footer a:hover, .fdp-btn:hover, .btn:hover, .fdp-pill-link:hover, .fdp-download-link:hover,
.fdp-cal-nav:hover, .fdp-social a:hover, .fdp-skip:hover { text-decoration: none; }

/* Fokus, global. Blau auf hellem Grund, Gelb auf Blau, nie nur Cyan */
:where(a, button, input, select, textarea, summary, label, [tabindex]):focus-visible {
  outline: 3px solid var(--fdp-blau);
  outline-offset: 2px;
}
.btn:focus-visible, .fdp-btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible, .form-check-input:focus-visible, .page-link:focus-visible {
  outline: 3px solid var(--fdp-blau);
  outline-offset: 2px;
  box-shadow: none;
}
:is(.fdp-bg-blau, .fdp-hero, .fdp-page-hero, .fdp-footer, .fdp-block-quote-blau, .fdp-box--blau) :focus-visible { outline-color: var(--fdp-gelb); }
.fdp-nl-hero__form :focus-visible { outline-color: var(--fdp-blau); }

/* Skip-Link, nur bei Fokus sichtbar */
.fdp-skip {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.fdp-skip:focus, .fdp-skip:focus-visible {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 2000; width: auto; height: auto; margin: 0; overflow: visible;
  clip: auto; clip-path: none; padding: 0.7rem 1.25rem; border-radius: var(--radius-ui);
  background: var(--fdp-gelb); color: var(--fdp-blau); font-weight: var(--fw-extrabold);
  outline: 3px solid var(--fdp-blau); outline-offset: 2px; box-shadow: 0 0 0 6px var(--fdp-gelb);
}

/* ============================================================
   2  LAYOUT, ABSCHNITTE, BALKEN, HINTERGRÜNDE
   ============================================================ */
.container { --bs-gutter-x: var(--gutter); }
@media (min-width: 1200px) { .container { max-width: var(--container); } }
.row > [class*="col-"] { min-width: 0; }

#main-container { overflow-wrap: break-word; min-height: 60vh; padding-top: 2rem; padding-bottom: var(--section-py); }
#main-container:has(.fdp-hero) { padding-top: 0; }
.main-area-wrapper { position: relative; }
.main-area-wrapper > .container, .main-area-wrapper > .ccm-layout-wrapper { margin-bottom: var(--block-gap); }
.main-area-wrapper:has(.fdp-hero) + .main-area-wrapper { padding-top: var(--block-gap); }
.mk-padding-divider { max-height: 30px; min-height: 1rem; }

.fdp-section     { padding: var(--section-py) 0; }
.fdp-section--sm { padding: 2rem 0; }
.fdp-section--lg { padding: calc(var(--section-py) * 1.2) 0; }

/* Hintergrundflächen */
.fdp-bg-blau { background: var(--fdp-blau); color: var(--fdp-weiss); }
.fdp-bg-gelb { background: var(--fdp-gelb); color: var(--fdp-blau); }
.fdp-bg-cyan { background: var(--fdp-cyan); color: var(--fdp-blau); }
.fdp-bg-grau { background: var(--fdp-grau); }
.white_content { background: var(--fdp-weiss); }
.gray_content  { background: var(--fdp-grau); }
.white_content h2, .white_content h3, .white_content h4 { line-height: var(--lh-head); }
.white_content h2 { margin: 1.75rem 0 0.75rem; }

/* Balken. Cyan unter H2 (CI, ein Drittel Logohöhe), Gelb im Hero. Kein Blau als Balkenfarbe */
.fdp-bar { display: block; width: var(--bar-w); height: var(--bar-h); background: var(--fdp-gelb); margin-bottom: 1rem; }
.fdp-bar--cyan { background: var(--fdp-cyan); }
.fdp-bar--lg   { height: 6px; }
.fdp-bar--full { width: 100%; }
.fdp-divider-gelb { height: 4px; background: var(--fdp-gelb); margin: 0; border: 0; }
.fdp-accent-left { border-left: 5px solid var(--fdp-gelb); padding-left: 1.25rem; }
.fdp-accent-left--cyan { border-left-color: var(--fdp-cyan); }
.page-partei .fdp-section-accent   { border-left: 4px solid var(--fdp-blau); }
.page-fraktion .fdp-section-accent { border-left: 4px solid var(--fdp-cyan); }

.fdp-section-heading { position: relative; padding-bottom: 0.75rem; margin-bottom: 1.5rem; }
h2.fdp-section-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: var(--bar-w); height: var(--bar-h); background: var(--fdp-cyan); }
.fdp-section-heading--gelb::after { background: var(--fdp-gelb); }
.fdp-section-heading--center::after { left: 50%; transform: translateX(-50%); }

/* Abschnittsüberschriften (Concrete "main text-center", Seitentitel) */
.main.text-center, .ccm-block-page-title.main { text-align: left !important; }
.main.text-center { margin: 1.5rem 0; }
.main.text-center h2, .ccm-block-page-title.main h2, .ccm-block-page-title h2.page-title { margin: 0 0 1.5rem; text-align: left; }
.fdp-section h2:not(.no-bar)::after, .main.text-center h2::after, .ccm-block-page-title h2.page-title::after {
  content: ''; display: block; width: var(--bar-w); height: var(--bar-h); margin-top: 0.75rem; background: var(--fdp-cyan);
}
/* Cyan-Balken nur unter H2 im Inhalt (Entscheidung 22.11.2026), nicht unter H3 und tiefer */
#main-container .row > [class*="col-"] > h2:not(.no-bar, .page-title)::after {
  content: ''; display: block; width: var(--bar-w); height: var(--bar-h); margin-top: 0.75rem; background: var(--fdp-cyan);
}
.row > [class*="col-"] > h2[style*="center"] { text-align: left !important; font-size: 1.5rem; margin-bottom: 1rem; }
.ccm-block-page-title.main { padding: 2rem 0 1rem; margin-bottom: 1rem; }
.ccm-block-page-title.main h1 { margin: 0; }

/* Breadcrumb */
.fdp-breadcrumb-bar { background: var(--fdp-grau); padding: 0.5rem 0; }
.fdp-breadcrumb-bar .breadcrumb { margin: 0; font-size: 0.875rem; color: var(--fdp-grau-mid); }
.fdp-breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before { color: var(--fdp-grau-mid); }
.fdp-breadcrumb-bar .breadcrumb-item a { color: var(--fdp-blau); }
.fdp-breadcrumb-bar .breadcrumb-item.active { color: var(--fdp-text); }

/* ============================================================
   3  KOPFZEILE UND NAVIGATION
   Desktop: Navigationspunkte 16/700 blau, Unterstreichung als gelber Balken (Hover, aktiv)
   ============================================================ */
.fdp-header {
  position: sticky; top: 0; z-index: 1050;
  background: var(--fdp-weiss);
  border-bottom: 1px solid rgba(3, 45, 103, 0.12);
  min-height: var(--header-h);
}
.fdp-header > .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; min-height: var(--header-h); padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.fdp-header__logo { flex-shrink: 0; display: block; line-height: 0; }
.fdp-header__logo img { height: 44px; width: auto; }

.fdp-header__toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem;
  background: none; border: 2px solid var(--fdp-blau); border-radius: var(--radius-ui);
  color: var(--fdp-blau); font: var(--fw-extrabold) 1rem var(--font-main); cursor: pointer;
  transition: background-color var(--t), color var(--t);
}
.fdp-header__toggle:hover, .fdp-header__toggle[aria-expanded="true"] { background: var(--fdp-blau); color: var(--fdp-weiss); }

.fdp-header__nav-collapse { display: flex; align-items: center; gap: 0.5rem; flex: 1; justify-content: flex-end; }
.collapsing { transition-duration: 0.15s; }
.fdp-header__nav { display: flex; align-items: center; }
.fdp-header__nav .ccm-responsive-navigation, .fdp-header__nav .ccm-responsive-menu-launch { display: none; }

/* autonav (header__list) und Bootstrap-Variante (fdp-mainnav) */
.fdp-header__nav .header__list, .fdp-header__nav .fdp-mainnav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.fdp-header__nav .header__item { position: relative; }
.fdp-header__nav .header__list > .header__item > .header__link, .fdp-mainnav .nav-link {
  position: relative; display: block; padding: 0.55rem 0.9rem;
  font-size: 1rem; font-weight: var(--fw-bold); color: var(--fdp-blau); white-space: nowrap;
}
/* Gelber Balken so lang wie der Text. Unterstreichung in Transparent, beim Hover und Fokus Gelb (Übergang),
   aktive Seite dauerhaft. Gilt für Haupt- und Untermenüpunkte. */
.fdp-header__nav .header__link, .fdp-mainnav .nav-link, .fdp-dropdown-item {
  text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: var(--nav-bar-h); text-underline-offset: var(--nav-bar-offset); text-decoration-skip-ink: none;
  transition: text-decoration-color var(--t), background-color var(--t);
}
.fdp-header__nav .header__link:is(:hover, :focus-visible),
.fdp-header__nav .header__item--nav-selected > .header__link,
.fdp-header__nav .header__item--nav-path-selected > .header__link,
.fdp-mainnav .nav-link:is(:hover, :focus-visible), .fdp-mainnav .nav-item.active > .nav-link,
.fdp-dropdown-item:is(:hover, :focus-visible), .fdp-dropdown-item.active {
  color: var(--fdp-blau); text-decoration: underline; text-decoration-color: var(--fdp-gelb);
  text-decoration-thickness: var(--nav-bar-h); text-underline-offset: var(--nav-bar-offset);
}
.fdp-mainnav .dropdown-toggle::after { margin-left: 0.3em; }

/* Dropdown */
.fdp-header__nav .header__list--sub, .fdp-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 500;
  list-style: none; margin: 0; padding: 0.5rem 0;
  background: var(--fdp-weiss); border: 0; border-radius: var(--radius-ui); box-shadow: var(--shadow-menu);
}
.fdp-dropdown { position: relative; }
.fdp-dropdown-arrow { display: inline-block; vertical-align: middle; margin-left: 4px; transition: transform var(--t); }
@media (min-width: 992px) {
  .fdp-header__nav-collapse.collapse:not(.show) { display: flex; }
  /* Immer gerendert, nur unsichtbar. Kein display-Wechsel, damit nichts springt.
     Das Menü sitzt an der Unterkante der Kopfzeile, die Lücke überbrückt ::before. */
  .fdp-header__nav .header__list--sub, .fdp-dropdown-menu {
    display: block; top: calc(100% + var(--dd-gap, 0.9rem)); visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
  }
  .fdp-header__nav .header__list--sub::before, .fdp-dropdown-menu::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--dd-gap, 0.9rem) + 2px);
  }
  .fdp-header__nav .header__item:hover > .header__list--sub,
  .fdp-header__nav .header__item:focus-within > .header__list--sub,
  .fdp-dropdown:hover > .fdp-dropdown-menu,
  .fdp-dropdown:focus-within > .fdp-dropdown-menu {
    visibility: visible; opacity: 1; transform: none; transition-delay: 0s;
  }
  .fdp-dropdown:hover .fdp-dropdown-arrow { transform: rotate(180deg); }
  /* Escape schließt das offene Untermenü, bis die Maus oder der Fokus den Eintrag verlässt (js/nav.js) */
  .fdp-header__nav .header__item.is-closed.is-closed > .header__list--sub {
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition-delay: 0s;
  }
}
.fdp-header__nav .header__link--sub, .fdp-dropdown-item {
  display: block; padding: 0.55rem 1.25rem; font-size: 1rem; font-weight: var(--fw-medium);
  color: var(--fdp-blau); white-space: nowrap; max-width: 340px; overflow: hidden; text-overflow: ellipsis;
}
/* Untermenü dezenter, Fläche Grau plus derselbe Balken */
.fdp-header__nav .header__link--sub:is(:hover, :focus-visible), .fdp-dropdown-item:is(:hover, :focus-visible) { background: var(--fdp-grau); }
.fdp-header__nav .header__link--sub:focus-visible, .fdp-dropdown-item:focus-visible { outline-offset: -3px; }

/* Suche und Mitglied werden */
.fdp-header__nav-extras { display: flex; align-items: center; gap: 0.5rem; }
.fdp-header__search {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.65rem;
  color: var(--fdp-blau); font-weight: var(--fw-bold); border-radius: var(--radius-ui);
}
.fdp-header__search:hover { background: var(--fdp-grau); text-decoration: none; }
.fdp-header__cta i, .fdp-btn > i { display: none; }       /* Buttons tragen keine Symbole, Pfeile nur an Textlinks */
.fdp-subtoggle { display: none; }

/* Mobil */
@media (max-width: 991.98px) {
  .fdp-header__toggle { display: flex; }
  .fdp-header__nav-collapse.show, .fdp-header__nav-collapse.collapsing { display: flex; flex-direction: column; align-items: stretch; gap: 0; flex-basis: 100%; padding-bottom: 0.75rem; border-top: 1px solid rgba(3, 45, 103, 0.1); margin-top: 0.25rem; }
  .fdp-header__nav { display: block; width: 100%; }
  .fdp-header__nav .header__list, .fdp-header__nav .fdp-mainnav { flex-direction: column; align-items: stretch; width: 100%; }
  .fdp-header__nav .header__list > .header__item { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid rgba(3, 45, 103, 0.1); }
  .fdp-header__nav .header__list > .header__item > .header__link, .fdp-mainnav .nav-link { flex: 1; padding: 0.85rem 0.5rem; }
  .fdp-subtoggle { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; background: none; border: 0; color: var(--fdp-blau); cursor: pointer; }
  .fdp-subtoggle::before { content: '+'; font-size: 1.5rem; font-weight: var(--fw-bold); line-height: 1; }
  .fdp-subtoggle[aria-expanded="true"]::before { content: '\2212'; }
  .fdp-header__nav .header__list--sub, .fdp-dropdown-menu, .fdp-mainnav .dropdown-menu {
    display: none; position: static; flex-basis: 100%; width: 100%; min-width: 0; margin: 0 0 0.5rem; padding: 0.25rem 0;
    background: var(--fdp-grau); box-shadow: none; border-radius: var(--radius-ui);
  }
  .fdp-header__nav .header__item.is-open > .header__list--sub, .fdp-dropdown-menu.show, .fdp-mainnav .dropdown-menu.show { display: block; }
  .fdp-header__nav .header__link--sub, .fdp-dropdown-item { padding: 0.75rem 1rem; white-space: normal; max-width: none; }
  .fdp-dropdown-arrow { display: none; }
  .fdp-header__nav-extras { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 0.75rem; }
  .fdp-header__cta { align-self: flex-start; }
}
@media (max-width: 575.98px) { .fdp-header__logo img { height: 38px; } }

/* ============================================================
   4  BUTTONS
   Zwei Sorten  Primär gelb mit blauer Schrift (Standard), Sekundär blau mit weißer Schrift
   Varianten    --outline (Umriss), .fdp-link-arrow (Textlink mit Pfeil)
   Größen       --sm, --lg   Zusatz --block
   Hover        Inversion. Gelb wird Blau mit gelber Schrift, Blau wird Gelb mit blauer Schrift,
                auf Blau wird die gelbe Fläche Weiß mit blauer Schrift (Tokens --btn-hover-*).
                Primär zusätzlich 2px nach oben
   Alte Klassen laufen ins selbe System
     Primär     .fdp-btn, .fdp-btn--primary, a.btn--main, .btn-fdp-primary, .fdp-header__cta, input[type=submit].btn
     Sekundär   .fdp-btn--dark, .fdp-btn--secondary, .btn-fdp-secondary, .btn-primary, .btn-secondary
     Umriss     .fdp-btn--outline, .fdp-btn--ghost, .fdp-pill-link, .fdp-download-link
   Auf Blau (Hero, Spendenblock, Newsletter-Block, Footer) wird Sekundär gelb, Umriss weiß.
   ============================================================ */
.fdp-btn, a.btn--main, .btn-fdp-primary, .btn-fdp-secondary, .fdp-header__cta,
.btn-primary, .btn-secondary, input[type="submit"].btn, button[type="submit"].btn,
.fdp-pill-link, .fdp-download-link {
  --btn-bg: var(--fdp-gelb);  --btn-fg: var(--fdp-blau);  --btn-bd: var(--fdp-gelb);
  --btn-bg-h: var(--btn-hover-prim-bg); --btn-fg-h: var(--btn-hover-prim-fg); --btn-bd-h: var(--btn-hover-prim-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.65rem 1.5rem;
  font-family: var(--font-main); font-size: 1rem; font-weight: var(--fw-extrabold); line-height: 1.2; letter-spacing: 0;
  text-align: center; text-decoration: none; white-space: normal; cursor: pointer;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bd); border-radius: var(--radius-ui); box-shadow: none;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
  -webkit-appearance: none; appearance: none;
}
.fdp-btn:hover, a.btn--main:hover, .btn-fdp-primary:hover, .btn-fdp-secondary:hover, .fdp-header__cta:hover,
.btn-primary:hover, .btn-secondary:hover, input[type="submit"].btn:hover, button[type="submit"].btn:hover,
.fdp-pill-link:hover, .fdp-download-link:hover {
  color: var(--btn-fg-h); background: var(--btn-bg-h); border-color: var(--btn-bd-h); text-decoration: none; box-shadow: none;
}
/* Nur Primär hebt sich um 2px */
.fdp-btn:not(.fdp-btn--dark, .fdp-btn--secondary, .fdp-btn--outline, .fdp-btn--ghost):hover,
a.btn--main:hover, .btn-fdp-primary:hover, .fdp-header__cta:hover, input[type="submit"].btn:hover { transform: translateY(-2px); }
.fdp-btn:active { transform: none; }

/* Sekundär */
.fdp-btn--dark, .fdp-btn--secondary, .btn-fdp-secondary, .btn-primary, .btn-secondary {
  --btn-bg: var(--fdp-blau); --btn-fg: var(--fdp-weiss); --btn-bd: var(--fdp-blau);
  --btn-bg-h: var(--btn-hover-sek-bg); --btn-fg-h: var(--btn-hover-sek-fg); --btn-bd-h: var(--btn-hover-sek-bg);
}
/* Cyan (Link-Vorlage Button Cyan) */
.fdp-btn--cyan {
  --btn-bg: var(--fdp-cyan); --btn-fg: var(--fdp-blau); --btn-bd: var(--fdp-cyan);
  --btn-bg-h: var(--fdp-blau); --btn-fg-h: var(--fdp-weiss); --btn-bd-h: var(--fdp-blau);
}
/* Umriss */
.fdp-btn--outline, .fdp-btn--ghost, .fdp-pill-link, .fdp-download-link {
  --btn-bg: transparent; --btn-fg: var(--fdp-blau); --btn-bd: var(--fdp-blau);
  --btn-bg-h: var(--fdp-blau); --btn-fg-h: var(--fdp-weiss); --btn-bd-h: var(--fdp-blau);
}
/* Größen */
.fdp-btn--sm, .fdp-header__cta { padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.fdp-btn--lg { min-height: 3.25rem; padding: 0.8rem 1.75rem; font-size: 1.125rem; }
.fdp-btn--block { display: flex; width: 100%; }
/* Auf Blau. Beide Sorten gelb, Hover Weiß mit blauer Schrift */
:is(.fdp-bg-blau, .fdp-hero, .fdp-page-hero, .fdp-footer) :is(.fdp-btn:not(.fdp-btn--outline, .fdp-btn--ghost), a.btn--main, .btn-fdp-primary, .btn-fdp-secondary, .btn-primary, .btn-secondary, input[type="submit"].btn, button[type="submit"].btn) {
  --btn-bg: var(--fdp-gelb); --btn-fg: var(--fdp-blau); --btn-bd: var(--fdp-gelb);
  --btn-bg-h: var(--btn-hover-onblau-bg); --btn-fg-h: var(--btn-hover-onblau-fg); --btn-bd-h: var(--btn-hover-onblau-bg);
}
/* Weiße Formularkarte im Newsletter-Block liegt auf Blau, ist aber selbst hell */
.fdp-hero .fdp-nl-hero__form .fdp-btn:not(.fdp-btn--outline, .fdp-btn--ghost) {
  --btn-bg: var(--fdp-gelb); --btn-fg: var(--fdp-blau); --btn-bd: var(--fdp-gelb);
  --btn-bg-h: var(--btn-hover-prim-bg); --btn-fg-h: var(--btn-hover-prim-fg); --btn-bd-h: var(--btn-hover-prim-bg);
}
:is(.fdp-bg-blau, .fdp-hero, .fdp-page-hero, .fdp-footer) :is(.fdp-btn--outline, .fdp-btn--ghost, .fdp-pill-link) {
  --btn-fg: var(--fdp-weiss); --btn-bd: var(--fdp-weiss); --btn-bg-h: var(--fdp-weiss); --btn-fg-h: var(--fdp-blau); --btn-bd-h: var(--fdp-weiss);
}
/* Auf Gelb (Newsletter-Band) ist Sekundär blau, Hover Weiß mit blauer Schrift und blauem Rand (Gelb auf Gelb wäre unsichtbar) */
.fdp-newsletter-band .fdp-btn--dark { --btn-bg: var(--fdp-blau); --btn-fg: var(--fdp-weiss); --btn-bd: var(--fdp-blau); --btn-bg-h: var(--fdp-weiss); --btn-fg-h: var(--fdp-blau); --btn-bd-h: var(--fdp-blau); }

/* Pfeil an Buttons und Textlinks per CSS statt im Linktext (Entscheidung 22.11.2026), reiner Schmuck, nicht im Linktext */
.fdp-btn--pfeil::after, .fdp-pfeil::after { content: '\2192'; content: '\2192' / ''; margin-left: 0.5rem; font-weight: var(--fw-extrabold); }
.fdp-btn--pfeil::after { margin-left: 0; }

/* Textlink mit Pfeil */
.fdp-link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  font-weight: var(--fw-bold); color: var(--fdp-blau); text-decoration: none;
}
.fdp-link-arrow::after {
  content: ''; width: 1.1em; height: 0.8em; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M1 7h19M14 1l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M1 7h19M14 1l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fdp-link-arrow:hover { text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fdp-bg-blau .fdp-link-arrow, .fdp-hero .fdp-link-arrow { color: var(--fdp-weiss); }

/* Button-Zeilen im Inhalt. Zwei Buttons in einem Absatz bekommen Abstand */
p:has(> .fdp-btn + .fdp-btn) { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-center:has(> a.btn), .text-center:has(> a.btn--main) { text-align: left !important; }
.main-button, p:has(> a.btn--main) { margin: 1.25rem 0 0; }
.ccm-block-page-list + p, .leistungen + .text-center, .leistungen ~ .text-center { margin-top: 1.5rem; clear: both; }
.btn--third, .btn--small { white-space: normal; max-width: 100%; }

/* Netzwerk-Links, schlichte Umriss-Buttons, zentriert */
.fdp-pill-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 62rem; margin: 0 auto; padding: 0.5rem 0; }
.fdp-pill-link { padding: 0.55rem 1.25rem; border-width: 1px; }
.fdp-pill-link svg { display: none; }

/* ============================================================
   5  KARTEN, KACHELN, BILDER, PERSONEN, LINKLISTEN
   Ein Mechanismus. Karten und Kacheln ohne Rahmen, Bild mit Radius, Hover nur leichter Bildzoom
   und unterstrichener Titel. Kein Anheben, kein wachsender Schatten.
   ============================================================ */
.fdp-underline-hover, .leistungen__inner:is(:hover, :focus-visible) h3, .fdp-news-card:is(:hover, :focus-visible) .fdp-news-card__title, .fdp-card:is(:hover, :focus-within) .fdp-card__title,
.fdp-event-teaser__link:is(:hover, :focus-visible) .fdp-event-teaser__name {
  text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px;
}

/* Vorschaubild */
.fdp-thumb { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-img); background: var(--fdp-grau); }
.fdp-thumb img, .leistungen__inner .fdp-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto;
  object-fit: cover; padding: 0; background: transparent; transition: transform var(--t-zoom);
}
.fdp-thumb--leer { background: var(--fdp-blau) url('../img/logo-gelb.svg') center / 42% auto no-repeat; }
.leistungen__inner:hover .fdp-thumb img, .fdp-news-card:hover .fdp-news-card__img img { transform: scale(1.03); }

/* Beitragskacheln (Meldungen, Themen, Personenlisten über page_list) */
.leistungen .row { row-gap: 2.25rem; }
.leistungen__item { min-width: 0; margin-bottom: 0.5rem; }
.leistungen__inner { display: block; height: 100%; color: var(--fdp-blau); overflow-wrap: break-word; }
.leistungen__inner:hover { text-decoration: none; }
.leistungen__inner:focus-visible, .fdp-news-card:focus-visible { outline-offset: 6px; border-radius: var(--radius-img); }
.leistungen__inner picture, .leistungen__inner img { display: block; width: 100%; }
.leistungen__inner img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); background: var(--fdp-grau); }
.leistungen__content { min-width: 0; padding: 1rem 0 0; overflow-wrap: anywhere; }
.leistungen__content h3, .leistungen__content .h3 { hyphens: auto; hyphenate-limit-chars: 10 4 4; overflow-wrap: anywhere; margin: 0; font-weight: var(--fw-extrabold); color: var(--fdp-blau); font-size: clamp(1.25rem, 0.9vw + 1rem, 1.5rem); line-height: 1.2; }
.p--leistungen { margin: 0 0 0.35rem; }
.leistungen__inner:not(:has(img, .fdp-thumb)) { display: flex; align-items: center; min-height: 5rem; padding: 1.25rem; background: var(--fdp-grau); border-radius: var(--radius-img); }
.leistungen__inner:not(:has(img, .fdp-thumb)) .leistungen__content { padding: 0; }
.page-slug-kreisvorstand .leistungen__inner img, .page-slug-ratsmitglieder .leistungen__inner img, .page-slug-ausschussmitglieder .leistungen__inner img { aspect-ratio: 4 / 5; object-position: center top; }

/* Filter der Meldungslisten (Links mit ?kategorie=, seit 22.11.2026 serverseitig) und Seitenzahlen */
.leistungen ul.filters { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.leistungen ul.filters li { margin: 0; }
.leistungen ul.filters a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem;
  border: 2px solid var(--fdp-blau); border-radius: var(--radius-ui);
  font-weight: var(--fw-extrabold); font-size: 1rem; color: var(--fdp-blau); background: var(--fdp-weiss);
  transition: background-color var(--t), color var(--t);
}
.leistungen ul.filters a:hover { background: var(--fdp-grau); text-decoration: none; }
.leistungen ul.filters a.fdp-filter-active, .leistungen ul.filters a.fdp-filter-active:hover { background: var(--fdp-blau); color: var(--fdp-weiss); }
.fdp-pagination { margin: 2rem 0 1rem; }
.fdp-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.fdp-pagination .page-item { margin: 0; }
.fdp-pagination .page-link { font-weight: var(--fw-bold); text-decoration: none; }
.fdp-pagination .page-item.disabled .page-link { color: var(--fdp-grau-mid); background: var(--fdp-grau); }
.ccm-block-topic-list-header h4 { font-size: 1.0625rem; margin: 0 0 0.5rem; }
.ccm-block-topic-list ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ccm-block-topic-list ul li a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.9rem; background: var(--fdp-grau); border-radius: var(--radius-ui); font-weight: var(--fw-bold); }
#main-container .ccm-block-topic-list ul li a { text-decoration: none; font-weight: var(--fw-bold); }
.ccm-block-topic-list ul li a:hover { background: var(--fdp-blau); color: var(--fdp-weiss); text-decoration: none; }


/* Alte Meldungskarte (news_cards) und Karte allgemein */
.fdp-card, .fdp-news-card { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; color: inherit; height: 100%; }
.fdp-news-card { text-decoration: none; }
.fdp-news-card:hover { color: inherit; text-decoration: none; }
.fdp-card__img img, .fdp-news-card__img { border-radius: var(--radius-img); }
.fdp-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fdp-news-card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--fdp-grau); }
.fdp-news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-zoom); }
.fdp-news-card__img--placeholder { display: flex; align-items: flex-end; padding: 1rem; }
.fdp-news-card__img--placeholder .fdp-bar { width: 100%; height: var(--bar-h); margin: 0; }
.fdp-card__body, .fdp-news-card__body { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 0 0; }
.fdp-card__label, .fdp-news-card__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: var(--fw-bold); color: var(--fdp-blau); }
.fdp-news-card__topic { padding: 0.1rem 0.5rem; background: var(--fdp-grau); border-radius: var(--radius-ui); }
.fdp-news-card__date { color: var(--fdp-grau-mid); font-weight: var(--fw-regular); }
.fdp-card__title, .fdp-news-card__title { margin: 0; font-size: 1.375rem; font-weight: var(--fw-extrabold); line-height: 1.2; color: var(--fdp-blau); }
.fdp-card__excerpt, .fdp-news-card__desc { flex: 1; margin: 0; font-size: var(--fs-small); color: var(--fdp-text); }
.fdp-news-card__more { margin-top: auto; font-weight: var(--fw-bold); color: var(--fdp-blau); }
/* Hervorgehobener Großteaser, genau einer pro Abschnitt */
.fdp-card--raised { background: var(--fdp-weiss); border-radius: var(--radius-img); box-shadow: var(--shadow-soft); overflow: hidden; }
.fdp-card--raised .fdp-card__body { padding: 1.5rem; }

/* Meldungen als Liste (page_list) */
.ccm-block-page-list article { padding: 1.5rem 0; }
.ccm-block-page-list h2 a { color: var(--fdp-blau); font-size: 1.25rem; }
.ccm-block-page-list .ccm-page-list-date { font-size: 0.875rem; font-weight: var(--fw-bold); color: var(--fdp-blau); }

/* Linklisten (Programmkacheln) */
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.link-list a, .link-list .btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; max-width: 100%;
  min-height: 4.5rem; padding: 1rem 1.25rem; text-align: left; white-space: normal; overflow-wrap: break-word;
  background: var(--fdp-grau); color: var(--fdp-blau); border: 0; border-radius: var(--radius-img);
  font-size: var(--fs-small); font-weight: var(--fw-extrabold); line-height: 1.25;
}
/* Pfeil absolut, damit die Hover-Unterstreichung nur den Text trifft */
.link-list a, .link-list .btn { position: relative; padding-right: 3rem; }
.link-list a::after, .link-list .btn::after { content: '\2192'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-weight: var(--fw-extrabold); }
.link-list a:hover, .link-list .btn:hover { background: var(--fdp-grau); color: var(--fdp-blau); text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Themenlinks */
.fdp-themen-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 0; }
.fdp-themen-links li { width: 100%; }
.fdp-themen-links a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; color: var(--fdp-blau); font-weight: var(--fw-bold); }
.fdp-themen-links a::before { content: ''; width: 1rem; height: 3px; background: var(--fdp-cyan); flex: none; transition: width var(--t); }
.fdp-themen-links a:hover::before { width: 1.5rem; }

/* Personenkarten (Express-Liste Kreisvorstand, Ratsmitglieder) */
.fdp-persons__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 2rem 1.5rem; }
.fdp-person, .fdp-person__body, .fdp-person__text, .fdp-person__text * { min-width: 0; max-width: 100%; }
.fdp-person { display: flex; flex-direction: column; }
.fdp-person__media { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-img); background: var(--fdp-grau); max-width: 100%; }
.fdp-person__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--fdp-gelb); }
.page-fraktion .fdp-person__media::after { background: var(--fdp-cyan); }
.fdp-person__media picture { position: absolute; inset: 0; }
.fdp-person__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 18%; display: block; }
.fdp-person__media--leer { background: var(--fdp-blau); }
.fdp-person__monogramm { font-size: clamp(3rem, 12vw, 4.5rem); font-weight: var(--fw-black); letter-spacing: var(--ls-head); color: var(--fdp-gelb); line-height: 1; }
.fdp-person__body { padding: 1rem 0 0; display: grid; gap: 0.35rem; }
.fdp-person__name { margin: 0; font-size: 1.25rem; font-weight: var(--fw-extrabold); line-height: 1.2; }
.fdp-person__rolle, .fdp-person__mail { margin: 0; display: flex; align-items: flex-start; gap: 0.55rem; font-size: var(--fs-small); line-height: 1.35; overflow-wrap: anywhere; }
.fdp-person__rolle { font-weight: var(--fw-bold); }
.fdp-person__mail a { font-weight: var(--fw-medium); }
.fdp-person i { flex: 0 0 1rem; margin-top: 0.2rem; color: var(--fdp-cyan); text-align: center; }
.fdp-person__text { font-size: var(--fs-small); overflow-wrap: anywhere; }
.fdp-person__text ul { padding-left: 1.1rem; margin: 0.4rem 0 0; }
/* Ältere Personenkarte */
.fdp-person-card { padding: 1.5rem; text-align: center; background: var(--fdp-grau); border-radius: var(--radius-img); }
.fdp-person-card__img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; }
.fdp-person-card__name { font-size: 1.125rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); margin-bottom: 0.25rem; }
.fdp-person-card__role { font-size: var(--fs-small); color: var(--fdp-grau-mid); margin-bottom: 0.75rem; }

/* Bildklassen für den Editor */
.ccm-image-block { border-radius: var(--radius-img); }
.row > [class*="col-md-6"] img { width: 100%; max-height: 380px; object-fit: cover; object-position: center top; }
.fdp-bild-3-2 img  { aspect-ratio: 3 / 2;  width: 100%; object-fit: cover; border-radius: var(--radius-img); }
.fdp-bild-16-9 img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--radius-img); }
.fdp-bild-rahmen img { border-radius: var(--radius-img); }
.fdp-bild-rund img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 18rem; }

/* ============================================================
   6  BAUSTEINE
   ============================================================ */
/* Hero (Startseite, Spendenblock, Unterseiten) */
.fdp-hero { position: relative; display: flex; align-items: center; min-height: 380px; overflow: hidden; background: var(--fdp-blau); }
.fdp-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.fdp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(3, 45, 103, 0.9) 0%, rgba(3, 45, 103, 0.6) 55%, rgba(3, 45, 103, 0.2) 100%); }
.fdp-hero__content { position: relative; z-index: 1; width: 100%; padding: 3.5rem 0 3rem; }
.fdp-hero__text::before, .fdp-page-hero h1::before { content: ''; display: block; width: var(--bar-w); height: 6px; margin-bottom: 1.25rem; background: var(--fdp-gelb); }
.fdp-hero__text { color: var(--fdp-weiss); }
.fdp-hero__text h1, .fdp-hero__text h2 { color: var(--fdp-gelb); margin: 0; line-height: 1.05; }
.fdp-hero__text h1, .fdp-hero__text .background_main_header { font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.75rem); }
.fdp-hero__text h3, .fdp-hero__text p.background_secondary_header { color: var(--fdp-weiss); font-size: clamp(1.1875rem, 1.2vw + 0.8rem, 1.625rem); margin: 0 0 0.35rem; }
/* Vorzeile eines Hero (seit 22.11.2026 ein Absatz statt H3 vor der H1), sieht aus wie die frühere H3 */
.fdp-hero__text p.background_secondary_header { text-wrap: balance; font-weight: var(--fw-extrabold); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.fdp-hero__text p { color: var(--fdp-weiss); font-size: var(--fs-lead); line-height: 1.45; }
.unterseite .fdp-hero { min-height: 190px; }
/* Hero als Kasten im Inhalt (Spendenblock, Newsletter-Block). Keine Vollfläche, daher Radius wie Karten,
   Text mit Innenabstand statt bündig an der Kante, Abstand nach oben und unten */
.container .fdp-hero { border-radius: var(--radius-img); }
.container .fdp-hero:not(.unterseite > .fdp-hero) { margin-block: 1.5rem; }
.container .fdp-hero .container { padding-inline: clamp(1.5rem, 4vw, 3.5rem); }
.unterseite .fdp-hero__content { padding: 2.25rem 0 2rem; }
.unterseite .fdp-hero__text h1 { font-size: clamp(2rem, 3.5vw + 0.8rem, 3rem); }
.fdp-page-hero { background: var(--fdp-blau); color: var(--fdp-weiss); padding: 3rem 0; }
.fdp-page-hero h1 { color: var(--fdp-gelb); margin-bottom: 0.5rem; }
.fdp-page-hero p { color: var(--fdp-weiss); max-width: 680px; margin-bottom: 0; }

/* Hinweisboxen. Fläche in Grau, Gelb, Blau oder Cyan, ohne Seitenkante */
.fdp-box { background: var(--fdp-grau); padding: 1.5rem 1.75rem; margin-bottom: 1rem; border-radius: var(--radius-img); }
.fdp-box > :last-child { margin-bottom: 0; }
.fdp-box--gelb { background: var(--fdp-gelb); color: var(--fdp-blau); }
.fdp-box--blau { background: var(--fdp-blau); color: var(--fdp-weiss); }
.fdp-box--blau :is(h2, h3, h4) { color: var(--fdp-gelb); }
.fdp-box--cyan { background: var(--fdp-cyan); color: var(--fdp-blau); }
.fdp-info-box { background: var(--fdp-feld-fokus); padding: 1.25rem 1.5rem; margin: 1.5rem 0; border-radius: var(--radius-img); font-size: var(--fs-small); }
.fdp-fact-box { background: var(--fdp-grau); padding: 1.5rem 2rem; margin: 1.5rem 0; border-radius: var(--radius-img); }
.fdp-fact-box__number { display: block; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: var(--fw-black); color: var(--fdp-blau); line-height: 1; letter-spacing: var(--ls-head); }
.fdp-fact-box__label { font-size: 1rem; font-weight: var(--fw-medium); }
.fdp-karte { background: var(--fdp-grau); padding: 1.5rem; margin-bottom: 1rem; border-radius: var(--radius-img); }
.fdp-zahl, .fdp-zahlen strong { display: inline-block; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: var(--fw-black); letter-spacing: var(--ls-head); line-height: 1; color: var(--fdp-blau); }
.fdp-mark { background: var(--fdp-gelb); padding: 0.05em 0.3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Zitate */
.fdp-zitat { margin: 1.5rem 0; font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); font-weight: var(--fw-extrabold); line-height: 1.25; letter-spacing: -0.02em; color: var(--fdp-blau); text-wrap: balance; }
.fdp-zitat::before { content: ''; display: block; width: var(--bar-w); height: var(--bar-h); margin-bottom: 1rem; background: var(--fdp-cyan); }
.fdp-block-quote-blau { position: relative; margin: 2rem 0; padding: 2.5rem; background: var(--fdp-blau); color: var(--fdp-weiss); border-radius: var(--radius-img); }
.fdp-block-quote-blau::before { content: '\201C'; position: absolute; top: 0.5rem; left: 1.5rem; font-size: 6rem; line-height: 1; font-weight: var(--fw-black); color: var(--fdp-gelb); }
.fdp-block-quote-blau p { margin: 0 0 1rem 2rem; font-size: 1.25rem; font-weight: var(--fw-medium); line-height: 1.5; }
.fdp-block-quote-blau cite { display: block; margin-left: 2rem; font-size: var(--fs-small); font-style: normal; color: var(--fdp-gelb); }
.fdp-block-quote-gelb { margin: 2rem 0; padding: 2rem 2.5rem; background: var(--fdp-gelb); color: var(--fdp-blau); border-radius: var(--radius-img); }
.fdp-block-quote-gelb p { margin: 0; font-size: 1.25rem; font-weight: var(--fw-bold); line-height: 1.45; }

/* Autor (Artikelende) */
.fdp-author { margin-top: 2.5rem; padding: 1.5rem; background: var(--fdp-grau); border-radius: var(--radius-img); }
.fdp-author__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.fdp-author__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fdp-author__info { display: flex; flex-direction: column; gap: 0.2rem; }
.fdp-author__name { font-weight: var(--fw-extrabold); color: var(--fdp-blau); }
.fdp-author__date, .fdp-author__reading { display: flex; align-items: center; gap: 0.3rem; font-size: 0.875rem; color: var(--fdp-grau-mid); }
.fdp-author__bio { font-size: var(--fs-small); }
.fdp-author__bio p:last-child { margin-bottom: 0; }

/* Dokument-Download */
.fdp-download-link::before { content: '\2193'; font-weight: var(--fw-black); }
.fdp-btn__icon { margin-right: 0.35rem; }
.fdp-btn > i.fdp-btn__icon, .fdp-btn > .fdp-btn__icon { display: inline-block; }

/* Badges, klein, fett, ohne Versalien */
.fdp-badge-partei, .fdp-badge-fraktion { display: inline-block; padding: 0.1rem 0.55rem; border-radius: var(--radius-ui); font-size: 0.8125rem; font-weight: var(--fw-extrabold); line-height: 1.5; }
.fdp-badge-partei { background: var(--fdp-blau); color: var(--fdp-weiss); }
.fdp-badge-fraktion { background: var(--fdp-cyan); color: var(--fdp-blau); }
.fdp-partei-accent   { border-left: 4px solid var(--fdp-blau); padding-left: 1rem; }
.fdp-fraktion-accent { border-left: 4px solid var(--fdp-cyan); padding-left: 1rem; }

/* Artikel, Lesespalte 800 px */
.fdp-article-header { padding: 2.5rem 0 2rem; margin-bottom: 2rem; }
.fdp-article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; margin-bottom: 1rem; font-size: var(--fs-small); color: var(--fdp-grau-mid); }
.fdp-article-title { margin-bottom: 0.5rem; }
.fdp-article-body { max-width: 800px; }
.fdp-article-body p { margin-bottom: 1.25rem; }
.fdp-article-body h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem); margin: 2.5rem 0 0.75rem; }
.fdp-article-body h3 { margin: 2rem 0 0.5rem; }
.fdp-article-body img { max-width: 100%; height: auto; margin: 1.5rem 0; border-radius: var(--radius-img); }
.fdp-article-body blockquote { margin: 1.5rem 0; padding: 1.25rem 1.75rem; background: var(--fdp-grau); border-radius: var(--radius-img); font-size: 1.25rem; font-weight: var(--fw-medium); color: var(--fdp-blau); }
.fdp-article-body ul, .fdp-article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.fdp-article-body li { margin-bottom: 0.4rem; }

/* Seitennummerierung */
.pagination .page-link { color: var(--fdp-blau); border-color: var(--fdp-feldrand); border-radius: var(--radius-ui); min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; }
.pagination .page-item.active .page-link { background: var(--fdp-blau); border-color: var(--fdp-blau); color: var(--fdp-weiss); }

/* Platzhalter für Bearbeiter, Inhalte ohne Bild und Logo-Seiten */
.fdp-system-pad { padding: 2rem 0; }

/* ============================================================
   7  KALENDER UND TERMINE
   ============================================================ */
/* Terminliste (Kalender-Block) */
.ccm-calendar-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ccm-calendar-event-list__item { position: relative; padding: 1.25rem 1.5rem; background: var(--fdp-grau); border-radius: var(--radius-img); }
.ccm-calendar-event-list__header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.ccm-calendar-event-list__header p { margin: 0; font-size: 0.875rem; font-weight: var(--fw-bold); color: var(--fdp-blau); }
.ccm-calendar-event-list__header p.p--main { padding: 0.05rem 0.6rem; background: var(--fdp-blau); color: var(--fdp-weiss); border-radius: var(--radius-ui); }
.ccm-calendar-event-list__header p.fdp-kat { padding: 0.05rem 0.6rem; font-size: 0.8125rem; font-weight: var(--fw-extrabold); border-radius: var(--radius-ui); }
.ccm-calendar-event-list__header p.fdp-kat--partei { background: var(--fdp-gelb); color: var(--fdp-blau); }
.ccm-calendar-event-list__header p.fdp-kat--fraktion { background: var(--fdp-cyan); color: var(--fdp-blau); }
.ccm-calendar-event-list__item :is(h3, h4) { margin: 0 0 0.35rem; font-size: 1.25rem; line-height: 1.2; }
.ccm-calendar-event-list__description p { margin: 0; font-size: var(--fs-small); line-height: 1.5; }

.ccm-calendar-event-list__item :is(h3, h4) a { color: var(--fdp-blau); }
.ccm-calendar-event-list__item:hover :is(h3, h4) a, .ccm-calendar-event-list__item:focus-within :is(h3, h4) a { text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ccm-calendar-event-list__item:has(a.stretched-link:focus-visible) { outline: 3px solid var(--fdp-blau); outline-offset: 2px; }
.ccm-calendar-event-list__item a.stretched-link:focus-visible { outline: none; }
.ccm-calendar-event-list__description a { position: relative; z-index: 2; }

/* Termin-Teaser (Startseite) */
.fdp-event-teaser__list { list-style: none; margin: 0; padding: 0; }
.fdp-event-teaser__item { border-bottom: 1px solid rgba(3, 45, 103, 0.12); }
.fdp-event-teaser__item:last-child { border-bottom: 0; }
.fdp-event-teaser__link { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; color: inherit; }
.fdp-event-teaser__link:hover { text-decoration: none; }
.fdp-event-teaser__date { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; min-width: 3rem; height: 3rem; background: var(--fdp-blau); color: var(--fdp-weiss); border-radius: var(--radius-ui); }
.fdp-event-teaser__date strong { font-size: 1.125rem; line-height: 1; font-weight: var(--fw-black); }
.fdp-event-teaser__date span { font-size: 0.75rem; }
.fdp-event-teaser__info { display: flex; flex-direction: column; min-width: 0; }
.fdp-event-teaser__time { font-size: 0.875rem; color: var(--fdp-grau-mid); }
.fdp-event-teaser__name { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--fdp-blau); }
.fdp-event-teaser__more { display: inline-block; margin-top: 0.75rem; font-weight: var(--fw-bold); color: var(--fdp-blau); }

/* Monatsansicht */
.fdp-calendar { --cal-border: rgba(3, 45, 103, 0.14); }
.fdp-cal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.fdp-cal-title { font-size: 1.25rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); }
.fdp-cal-nav { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 2px solid var(--fdp-blau); border-radius: var(--radius-ui); color: var(--fdp-blau); transition: background-color var(--t), color var(--t); }
.fdp-cal-nav:hover { background: var(--fdp-blau); color: var(--fdp-weiss); }
.fdp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.fdp-cal-weekdays { margin-bottom: 4px; }
.fdp-cal-wd { padding: 0.25rem 0; text-align: center; font-size: 0.8125rem; font-weight: var(--fw-extrabold); color: var(--fdp-grau-mid); }
.fdp-cal-day { min-height: 80px; padding: 0.35rem; border: 1px solid var(--cal-border); border-radius: var(--radius-ui); background: var(--fdp-weiss); vertical-align: top; }
.fdp-cal-day--empty { background: transparent; border-color: transparent; }
.fdp-cal-day--today { background: var(--fdp-grau); border-color: var(--fdp-blau); }
.fdp-cal-day--today .fdp-cal-day__num { width: 1.6rem; height: 1.6rem; display: inline-flex; align-items: center; justify-content: center; background: var(--fdp-blau); color: var(--fdp-weiss); border-radius: 50%; }
.fdp-cal-day__num { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: var(--fw-medium); color: var(--fdp-grau-mid); }
.fdp-cal-day__events { display: flex; flex-direction: column; gap: 2px; }
.fdp-cal-ev { padding: 1px 4px; font-size: 0.75rem; line-height: 1.3; border-radius: var(--radius-ui); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fdp-cal-ev a { display: block; color: inherit; }
.fdp-cal-ev__time { margin-right: 3px; font-weight: var(--fw-bold); }
.fdp-cal-ev--partei   { background: rgba(3, 45, 103, 0.12);  color: var(--fdp-blau); }
.fdp-cal-ev--fraktion { background: rgba(0, 167, 231, 0.18); color: var(--fdp-blau); }
.fdp-cal-ev--public   { background: rgba(255, 224, 0, 0.45); color: var(--fdp-blau); }
.fdp-cal-ev--default  { background: rgba(3, 45, 103, 0.07);  color: var(--fdp-text); }
.fdp-cal-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: 0.875rem; }
.fdp-cal-legend__item { padding: 2px 8px; border-radius: var(--radius-ui); font-weight: var(--fw-medium); }

/* Kompakte Liste und Jahresübersicht */
.fdp-cal-list__title { margin-bottom: 0.75rem; font-size: 1.125rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); }
.fdp-cal-list__items, .fdp-cal-jahres-list { list-style: none; margin: 0; padding: 0; }
.fdp-cal-list__item { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--cal-border); font-size: var(--fs-small); }
.fdp-cal-list__item a { display: contents; color: inherit; }
.fdp-cal-list__item a:hover .fdp-cal-list__name, .fdp-cal-jahres-item a:hover .fdp-cal-jahres-name { text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fdp-cal-list__date { flex-shrink: 0; min-width: 200px; color: var(--fdp-grau-mid); }
.fdp-cal-list__name { font-weight: var(--fw-bold); color: var(--fdp-blau); }
.fdp-cal-jahr-nav { display: flex; align-items: center; gap: 1.5rem; }
.fdp-cal-jahres-accordion { border-top: 1px solid var(--cal-border); }
.fdp-cal-jahres-month { border-bottom: 1px solid var(--cal-border); }
.fdp-cal-jahres-toggle { display: flex; align-items: center; gap: 0.75rem; width: 100%; min-height: 2.75rem; padding: 0.85rem 0; background: none; border: 0; text-align: left; cursor: pointer; font: var(--fw-extrabold) 1.125rem var(--font-main); color: var(--fdp-blau); }
.fdp-cal-jahres-toggle:hover { text-decoration: underline; text-decoration-color: var(--fdp-cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fdp-cal-jahres-count { margin: 0 0.5rem 0 auto; font-size: 0.875rem; font-weight: var(--fw-regular); color: var(--fdp-grau-mid); }
.fdp-cal-jahres-chevron { flex-shrink: 0; color: var(--fdp-grau-mid); transition: transform var(--t); }
.fdp-cal-jahres-toggle[aria-expanded="false"] .fdp-cal-jahres-chevron { transform: rotate(-90deg); }
.fdp-cal-jahres-body { padding: 0 0 0.75rem; }
.fdp-cal-jahres-item { display: flex; gap: 1rem; padding: 0.5rem 0; font-size: var(--fs-small); }
.fdp-cal-jahres-item a { display: flex; gap: 1rem; width: 100%; color: inherit; }
.fdp-cal-jahres-date { flex-shrink: 0; min-width: 200px; color: var(--fdp-grau-mid); }
.fdp-cal-jahres-name { font-weight: var(--fw-bold); color: var(--fdp-blau); }

/* ============================================================
   8  FORMULARE UND NEWSLETTER
   ============================================================ */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], textarea, select,
.form-control, .form-select, .fdp-nl-form__input, .fdp-nl-hero__input {
  min-height: 2.75rem; padding: 0.45rem 0.8rem;
  font: inherit; font-size: 1.0625rem; color: var(--fdp-text);
  background-color: var(--fdp-weiss); border: 2px solid var(--fdp-feldrand); border-radius: var(--radius-ui); box-shadow: none;
}
.form-control:focus, .form-select:focus, .fdp-nl-form__input:focus, .fdp-nl-hero__input:focus { border-color: var(--fdp-blau); background-color: var(--fdp-weiss); box-shadow: none; }
legend { font-size: 1.25rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); letter-spacing: -0.02em; }
label, .ccm-block-form label, .form-group label, .form-label { font-weight: var(--fw-bold); color: var(--fdp-blau); font-size: var(--fs-small); }
.ccm-input-captcha, .captcha { margin-bottom: 0.75rem; }

/* Newsletter-Band (Footer, auf Gelb) */
.fdp-newsletter-band { padding: 1.5rem 0; background: var(--fdp-gelb); color: var(--fdp-blau); }
.fdp-newsletter-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.fdp-newsletter-band__intro { flex: 1 1 16rem; min-width: 0; }
.fdp-newsletter-band__title { display: block; font-size: 1.375rem; font-weight: var(--fw-black); letter-spacing: var(--ls-head); line-height: 1.15; }
.fdp-newsletter-band__text { display: block; font-weight: var(--fw-medium); }
.fdp-nl-form { position: relative; flex: 1 1 24rem; max-width: 36rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; margin: 0; }
.fdp-nl-form__input { flex: 1 1 14rem; min-width: 0; border-color: var(--fdp-blau); }
.fdp-nl-form__hint, .fdp-nl-hero__hint { margin: 0; font-size: 0.875rem; line-height: 1.45; }
.fdp-nl-form__hint { flex: 1 0 100%; }
.fdp-nl-form__hint a, .fdp-nl-hero__hint a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fdp-nl-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Newsletter-Block (groß, auf Blau, Formular als weiße Karte) */
.fdp-hero--newsletter { min-height: 20rem; }
.fdp-hero--newsletter .fdp-hero__content { padding: 3.5rem 0; }
.fdp-hero--newsletter .fdp-hero__text p { max-width: 30rem; margin-top: 0.75rem; }
.fdp-nl-hero__form { padding: 1.875rem; background: var(--fdp-weiss); color: var(--fdp-text); border-radius: var(--radius-img); box-shadow: var(--shadow-soft); }
.fdp-nl-hero__label { display: block; margin-bottom: 0.5rem; font-weight: var(--fw-extrabold); color: var(--fdp-blau); }
.fdp-nl-hero__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fdp-nl-hero__input { flex: 1 1 14rem; min-width: 0; min-height: 3.25rem; }
.fdp-nl-hero__hint { margin-top: 0.9rem; color: var(--fdp-text); }
.fdp-nl-hero__hint a { color: var(--fdp-blau); background: none; }

/* Soziale Netze, runde Icons 50 % */
.fdp-social, .fdp-footer__social-row, .fdp-footer .ccm-block-social-links ul, .fdp-footer .ccm-block-social-links .list-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.fdp-social { margin-top: 1rem; }
.fdp-footer .ccm-block-social-links li, .fdp-footer .ccm-block-social-links .list-inline-item { margin: 0; padding: 0; }

/* ============================================================
   9  FOOTER (Blau, Titel Gelb, Links Weiß)
   ============================================================ */
.fdp-footer { background: var(--fdp-blau); color: rgba(255, 255, 255, 0.9); }
.fdp-footer__top { padding: 3.5rem 0 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.fdp-footer .row.g-4 { --bs-gutter-y: 2.5rem; }
.fdp-footer__logo img { height: 44px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.fdp-footer__name { margin: 1rem 0 0.5rem; font-weight: var(--fw-bold); color: var(--fdp-weiss); }
.fdp-footer__addr { margin: 0; font-size: var(--fs-small); line-height: 1.7; color: rgba(255, 255, 255, 0.85); }
.fdp-footer__col-label, .fdp-footer h5 { margin-bottom: 1rem; font-size: 1.0625rem; font-weight: var(--fw-extrabold); color: var(--fdp-gelb); }
.fdp-footer__col-label--sub { margin-top: 1.25rem; }
.fdp-footer a { display: inline-block; padding: 0.35rem 0; color: var(--fdp-weiss); }
.fdp-footer a:hover { color: var(--fdp-weiss); text-decoration: underline; text-decoration-color: var(--fdp-gelb); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fdp-footer ul { list-style: none; margin: 0; padding: 0; }
.fdp-footer ul li { margin-bottom: 0.25rem; font-size: var(--fs-small); }
.fdp-footer .ccm-block-global-area { padding: 0; }
.fdp-footer__bottom { padding: 0.75rem 0; background: rgba(0, 0, 0, 0.2); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); }
.fdp-footer__bottom a { padding: 0.5rem 0.25rem; color: rgba(255, 255, 255, 0.85); }
.fdp-footer__bottom nav ul, .fdp-footer__bottom nav .ccm-block-global-area ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; }
.fdp-footer__bottom nav ul li { margin: 0; }
.fdp-footer__social { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.fdp-footer__social a { display: inline-flex; align-items: center; gap: 0.6rem; }
.fdp-footer__social i { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--fdp-gelb); color: var(--fdp-blau); }
/* Runde Social-Icons, gelb mit blauem Symbol, 44 px Trefferfläche */
.fdp-social a, .fdp-footer__social-row a, .fdp-footer a[href*="facebook.com"], .fdp-footer a[href*="instagram.com"], .fdp-footer a[href*="mastodon"], .fdp-footer a[href*="youtube.com"], .fdp-footer a[href*="linkedin.com"] {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; min-width: 2.75rem; padding: 0; margin: 0;
  border-radius: 50%; background: var(--fdp-gelb); color: var(--fdp-blau); font-size: 1.0625rem;
  transition: background-color var(--t);
}
.fdp-social a:hover, .fdp-footer__social-row a:hover, .fdp-footer a[href*="facebook.com"]:hover, .fdp-footer a[href*="instagram.com"]:hover, .fdp-footer a[href*="mastodon"]:hover, .fdp-footer a[href*="youtube.com"]:hover, .fdp-footer a[href*="linkedin.com"]:hover { background: var(--fdp-weiss); color: var(--fdp-blau); text-decoration: none; }
.fdp-footer a[href*="facebook.com"] *, .fdp-footer a[href*="instagram.com"] * { color: inherit; }
.fdp-footer .fdp-footer__social a[href*="instagram.com"] { display: inline-flex; width: auto; height: auto; border-radius: 0; background: none; color: var(--fdp-weiss); }

/* ============================================================
   10  MOBIL, BEWEGUNG, BEARBEITUNGSMODUS
   ============================================================ */
@media (max-width: 767.98px) {
  .container { --bs-gutter-x: 2rem; }
  .fdp-hero { min-height: 300px; }
  .fdp-hero__content { padding: 3rem 0 2rem; }
  .unterseite .fdp-hero { min-height: 180px; }
  .leistungen .row { row-gap: 1.75rem; }
  .fdp-btn, a.btn--main, .btn-fdp-primary { min-height: 3rem; }
  .fdp-nl-form, .fdp-newsletter-band__intro { flex: 0 0 auto; width: 100%; max-width: none; }
  .fdp-nl-form .fdp-btn { flex: 1 0 100%; }
  .fdp-newsletter-band .container { flex-direction: column; align-items: stretch; }
  .fdp-footer .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
  .fdp-footer__bottom .container { flex-direction: column; align-items: flex-start !important; }
  .fdp-persons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .fdp-person__name { font-size: 1.0625rem; }
  .fdp-person__rolle, .fdp-person__mail { font-size: 0.875rem; }
  .ccm-calendar-event-list__item { padding: 1rem 1.1rem; }
  .fdp-pill-links { gap: 0.5rem; }
  .fdp-pill-link { padding: 0.5rem 0.9rem; font-size: 0.9375rem; }
  .fdp-block-quote-blau { padding: 2rem 1.5rem; }
  .fdp-box { padding: 1.25rem; }
  .ccm-image-block.img-fluid, picture > img.ccm-image-block { max-width: 260px; margin-left: auto; margin-right: auto; display: block; }
  .ccm-image-block[data-src*="Quadrat"], .ccm-image-block[src*="Quadrat"] { max-width: 220px; margin-left: 0; }
}
@media (max-width: 575.98px) {
  .fdp-hero { min-height: 16rem; }
  .breadcrumb-item.active { display: none; }
  .fdp-nl-hero__row .fdp-btn { flex: 1 0 100%; }
  .fdp-nl-hero__form { padding: 1.25rem; }
  .fdp-cal-day { min-height: 48px; padding: 0.2rem; }
  .fdp-cal-ev__time { display: none; }
  .fdp-cal-list__date, .fdp-cal-jahres-date { min-width: 0; }
  .fdp-cal-jahres-item { flex-direction: column; gap: 0.2rem; }
}
@media (max-width: 991.98px) {
  .fdp-hero--newsletter { min-height: 0; }
  .fdp-nl-hero__form { margin-top: 1.5rem; }
  #main-container table { display: block; overflow-x: auto; }
}
@media (max-width: 420px) {
  .fdp-persons__grid { grid-template-columns: 1fr; }
  .fdp-person { flex-direction: row; gap: 1rem; align-items: flex-start; }
  .fdp-person__media { flex: 0 0 38%; }
  .fdp-person__body { padding-top: 0; flex: 1; }
}
@media (hover: none) {
  .fdp-btn:hover, a.btn--main:hover, .btn-fdp-primary:hover, .fdp-header__cta:hover { transform: none; }
  .leistungen__inner:hover .fdp-thumb img, .fdp-news-card:hover .fdp-news-card__img img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Concrete-Bearbeitungsleiste */
.ccm-toolbar-visible .fdp-header { top: 48px; }

/* Bis zur Freigabe ausgeblendete Inhalte (nicht gelöscht, Klasse im Editor entfernen zum Einblenden) */
.fdp-ausblenden { display: none !important; }
