/*
Theme Name:   Feuerwehr-Infoportal
Theme URI:    https://feuerwehr-infoportal.de
Author:       Andreas Rothermund
Description:  Astra Child Theme – redaktionelles Informationsportal für Berufsfeuerwehr-Bewerber und aktive Beamte. Feuerrot (RAL 3000) als Primärfarbe, Anthrazit für dunkle Flächen, Amber als Akzent.
Version:      1.0.0
Template:     astra
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  feuerwehr-infoportal
*/

/* =====================================================================
   DESIGN TOKENS
   ===================================================================== */
:root {
  /* Feuerrot-Primär (RAL 3000) */
  --f-red-900: #5c0d11;
  --f-red-800: #7d1419;
  --f-red-700: #b21e23;
  --f-red-600: #cc2a2f;
  --f-red-500: #e23c3c;
  --f-red-100: #fae5e4;
  --f-red-50:  #fdf2f1;

  /* Amber / Akzent */
  --f-amber-700: #8a5300;
  --f-amber-600: #b3760f;
  --f-amber-500: #df9114;
  --f-amber-400: #f3b24a;
  --f-amber-100: #fbeccb;

  /* Anthrazit */
  --f-coal-900: #15171b;
  --f-coal-800: #1e2127;
  --f-coal-700: #2a2e36;

  /* Grautöne */
  --f-ink:      #14161a;
  --f-ink-2:    #20242b;
  --f-text:     #333a44;
  --f-muted:    #6a7280;
  --f-line:     #d9dde3;
  --f-line-2:   #e9ebef;
  --f-bg-soft:  #f6f7f8;
  --f-bg:       #ffffff;

  /* Status */
  --f-success: #197a4b;

  /* Aliase */
  --f-primary: var(--f-red-700);
  --f-accent:  var(--f-amber-500);

  /* Astra-Variablen überschreiben */
  --ast-global-color-0: #b21e23;
  --ast-global-color-1: #df9114;
  --ast-global-color-2: #15171b;
  --ast-global-color-3: #333a44;
  --ast-global-color-4: #6a7280;
  --ast-global-color-5: #ffffff;
}

/* =====================================================================
   TYPOGRAFIE
   ===================================================================== */
body {
  font-family: "Manrope", "Public Sans", system-ui, sans-serif;
  color: var(--f-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.ast-blog-single-element h1,
.entry-title,
.ast-archive-title {
  font-family: "Spectral", "Source Serif 4", Georgia, serif;
  color: var(--f-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
}

/* Monospace für Zahlen / Kennwerte */
.fw-mono,
td.fw-num,
.fw-stat {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

/* Eyebrow-Label */
.fw-eyebrow {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fw-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.fw-eyebrow.accent { color: var(--f-amber-700); }

/* =====================================================================
   LINKS
   ===================================================================== */
a,
.ast-header-break-point .main-header-menu a {
  color: var(--f-primary);
  text-decoration: none;
}
a:hover {
  color: var(--f-red-600);
}

/* =====================================================================
   UTILITY-STRIP (Astra Above Header / Top Header)
   ===================================================================== */
#ast-desktop-header .ast-above-header-wrap,
.ast-above-header,
.ast-desktop-header-top {
  background: var(--f-coal-900) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ast-above-header a,
.ast-desktop-header-top a {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* =====================================================================
   HAUPTHEADER
   ===================================================================== */
.main-header-bar,
.ast-primary-header-bar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--f-line-2);
  padding: 0 56px;
}

/* Navigation */
.main-navigation .menu-link,
.ast-header-break-point .main-navigation .menu-link {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--f-ink) !important;
  padding: 8px 12px;
  position: relative;
}

/* Nav list gap */
ul.ast-nav-menu.ast-flex {
  gap: 6px;
}

.main-navigation .current-menu-item > .menu-link,
.main-navigation .current_page_item > .menu-link {
  color: var(--f-primary) !important;
  font-weight: 700;
}

/* Aktiv-Unterstrich (Amber) */
.main-navigation .current-menu-item > .menu-link::after,
.main-navigation .current_page_item > .menu-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--f-accent);
}

/* Nav Hover */
.main-navigation .menu-link:hover {
  color: var(--f-primary) !important;
}

/* Site-Titel / Tagline */
.ast-site-title a {
  font-family: "Spectral", Georgia, serif;
  font-weight: 700;
  color: var(--f-ink) !important;
}
.ast-site-title a:hover {
  color: var(--f-primary) !important;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.ast-button,
.ast-button-wrap a,
.ast-header-button,
button.ast-button,
a.ast-button,
.wp-block-button__link,
input[type="submit"],
input[type="button"],
button[type="submit"],
.wpcf7-submit {
  border-radius: 999px !important;
  background: var(--f-primary) !important;
  color: #ffffff !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  border: none !important;
}

.ast-button:hover,
.ast-button-wrap a:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--f-red-600) !important;
}

/* Outline-Button */
.ast-outline-button,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--f-primary) !important;
  border: 1px solid var(--f-line) !important;
  border-radius: 999px !important;
}

.ast-outline-button:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--f-primary) !important;
  background: var(--f-red-50) !important;
}

/* CTA im Header (Bewerber-Bereich) */
.ast-header-button-1 a {
  background: var(--f-primary) !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* Such-Button */
.ast-search-icon,
.ast-header-search .ast-search-icon {
  color: var(--f-ink);
}

/* =====================================================================
   CONTENT-LAYOUT
   ===================================================================== */
.ast-container,
.site .ast-container {
  max-width: 1200px;
}

/* Full-Width für Hero- / CTA-Sektionen */
.alignfull,
.wp-block-cover.alignfull,
.wp-block-group.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Standard-Content-Padding */
.entry-content {
  font-family: "Spectral", Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--f-text);
}

/* =====================================================================
   KARTEN / ARTIKEL-GRID
   ===================================================================== */
.fw-card {
  border: 1px solid var(--f-line-2);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fw-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.1);
}

/* Tool-Kacheln (interaktive Karten) */
.fw-tool-card {
  border-radius: 16px !important;
  border: 1px solid var(--f-line-2);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fw-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.1);
}

/* Icon-Fläche */
.fw-icon-box {
  width: 50px; height: 50px;
  background: var(--f-red-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--f-primary);
  flex-shrink: 0;
}

/* =====================================================================
   INFO-BOXEN
   ===================================================================== */
.fw-info-box {
  background: var(--f-red-50);
  border-left: 4px solid var(--f-primary);
  padding: 20px 24px;
  border-radius: 0;
}

.fw-info-box.amber {
  background: var(--f-amber-100);
  border-left-color: var(--f-accent);
}

/* Blockquote */
blockquote,
.wp-block-quote {
  border-left: 4px solid var(--f-accent) !important;
  background: none;
  padding: 12px 24px !important;
  margin: 32px 0;
  font-family: "Spectral", Georgia, serif;
  font-size: 26px;
  font-style: italic;
  color: var(--f-primary);
  line-height: 1.4;
}

/* =====================================================================
   ARTIKEL-SINGLE
   ===================================================================== */
.single .entry-content > p:first-of-type::first-letter {
  font-family: "Spectral", Georgia, serif;
  font-size: 108px;
  font-weight: 700;
  color: var(--f-primary);
  float: left;
  line-height: 0.75;
  margin-right: 10px;
  margin-top: 8px;
}

/* Lesefortschritt-Bar */
#fw-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--f-accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =====================================================================
   TABELLEN (Vergleich / Besoldung)
   ===================================================================== */
.fw-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  border: 1px solid var(--f-line-2);
  border-radius: 0;
  overflow: hidden;
}

.fw-data-table thead th {
  background: var(--f-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
}

.fw-data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--f-line-2);
  vertical-align: middle;
}

.fw-data-table tbody tr:nth-child(even) td {
  background: var(--f-bg-soft);
}

.fw-data-table tbody tr:hover td {
  background: var(--f-red-50);
}

.fw-data-table .fw-badge {
  display: inline-block;
  background: var(--f-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.fw-data-table .fw-badge.amber {
  background: var(--f-amber-500);
  color: var(--f-ink);
}

.fw-data-table .fw-success {
  color: var(--f-success);
  font-weight: 700;
}

.fw-data-table .fw-num {
  font-family: "IBM Plex Mono", monospace;
}

/* Filter-Chips */
.fw-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--f-line);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
  color: var(--f-text);
}

.fw-chip:hover,
.fw-chip.active {
  background: var(--f-ink);
  color: #fff;
  border-color: var(--f-ink);
}

.fw-chip.primary.active {
  background: var(--f-primary);
  border-color: var(--f-primary);
  color: #fff;
}

/* =====================================================================
   NEWSLETTER-SEKTION
   ===================================================================== */
.fw-newsletter {
  background: var(--f-coal-900);
  padding: 72px 56px;
  text-align: center;
  color: #fff;
}

.fw-newsletter h2 {
  font-family: "Spectral", Georgia, serif;
  font-size: 48px;
  color: #fff;
  margin-bottom: 16px;
}

.fw-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 24px auto 0;
}

.fw-newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 22px;
  border-radius: 999px 0 0 999px;
  border: none;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  outline: none;
}

.fw-newsletter-form button {
  border-radius: 0 999px 999px 0 !important;
  background: var(--f-accent) !important;
  color: var(--f-ink) !important;
  padding: 14px 22px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer,
.ast-footer-overlay,
#colophon {
  background: var(--f-coal-900) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
}

.site-footer a,
#colophon a {
  color: rgba(255, 255, 255, 0.78) !important;
  transition: color 0.15s ease;
}

.site-footer a:hover,
#colophon a:hover {
  color: var(--f-amber-400) !important;
}

/* Footer-Spaltenüberschriften */
.site-footer .widget-title,
.site-footer .ast-widget-title,
.footer-widget-area .widget-title {
  color: var(--f-amber-400) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Footer — alle Bereiche anthrazit */
.ast-small-footer,
.ast-footer-copyright,
.ast-above-footer-bar,
.ast-above-footer,
.ast-below-footer-bar,
.ast-below-footer,
.footer-widget-area,
.ast-footer-widget-area,
.ast-small-footer-wrap,
.ast-small-footer-section,
.ast-footer-overlay,
#ast-copyright,
.ast-copyright,
.site-footer > * {
  background: var(--f-coal-900) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.ast-small-footer,
.ast-footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 12px;
}

/* =====================================================================
   HELDEN-SEKTION (verwendet als Block-Muster)
   ===================================================================== */
.fw-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 64px 56px;
  align-items: center;
  max-width: 1560px;
  margin: 0 auto;
}

.fw-hero h1 {
  font-size: 54px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.fw-hero h1 em {
  color: var(--f-primary);
  font-style: italic;
}

.fw-hero-image {
  background: var(--f-coal-800);
  aspect-ratio: 16/10;
  border-radius: 0;
}

/* =====================================================================
   BREADCRUMB
   ===================================================================== */
.ast-breadcrumbs,
.ast-breadcrumbs-wrapper {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--f-muted);
}

.ast-breadcrumbs a {
  color: var(--f-muted) !important;
}

.ast-breadcrumbs .current {
  color: var(--f-primary) !important;
}

/* =====================================================================
   HINTERGRUND-HELFER
   ===================================================================== */
.fw-bg-soft  { background: var(--f-bg-soft); }
.fw-bg-red   { background: var(--f-red-50); }
.fw-bg-coal  { background: var(--f-coal-900); color: #fff; }
.fw-bg-amber { background: var(--f-amber-100); }

/* =====================================================================
   RESPONSIVE (< 860 px)
   ===================================================================== */
@media (max-width: 860px) {
  .main-header-bar,
  .ast-primary-header-bar {
    padding: 0 18px;
  }

  .fw-hero {
    grid-template-columns: 1fr;
    padding: 32px 18px;
    gap: 28px;
  }

  .fw-hero h1 {
    font-size: 36px;
  }

  .fw-newsletter {
    padding: 48px 20px;
  }

  .fw-newsletter h2 {
    font-size: 32px;
  }

  .fw-newsletter-form {
    flex-direction: column;
  }

  .fw-newsletter-form input[type="email"] {
    border-radius: 999px;
  }

  .fw-newsletter-form button {
    border-radius: 999px !important;
    margin-top: 10px;
  }
}

/* =====================================================================
   UTILITY-STRIP (eigenes HTML-Element, wp_body_open)
   ===================================================================== */
.fw-utility-strip {
  background: var(--f-coal-900);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 56px;
  font-size: 12px;
  font-family: "Manrope", system-ui, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 100;
}

.fw-utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fw-utility-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--f-amber-500);
  border-radius: 999px;
  flex-shrink: 0;
}

.fw-utility-right {
  display: flex;
  gap: 22px;
}

.fw-utility-right a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  transition: color 0.15s;
}

.fw-utility-right a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: none;
}

.fw-utility-login {
  color: var(--f-amber-400) !important;
}

/* Logo amber dot (injected via JS) */
.fw-dot { color: var(--f-amber-500); }

/* Site tagline (native Astra + injected) */
.ast-site-description,
.site-description,
.fw-site-tagline {
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--f-muted) !important;
  margin-top: 2px;
  display: block;
}

/* =====================================================================
   HOMEPAGE — Container-Reset für Full-Width-Sektionen
   ===================================================================== */
.home .entry-content,
.page-template-default.home .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
}

.home .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .entry-header { display: none; }

/* =====================================================================
   TOOL-KACHELN GRID (Startseite)
   ===================================================================== */
.fw-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 56px 48px;
  border-bottom: 1px solid var(--f-line-2);
}

.fw-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--f-line-2);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.fw-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.10);
  text-decoration: none !important;
  color: inherit;
}

.fw-tile-icon {
  width: 50px;
  height: 50px;
  background: var(--f-red-50);
  color: var(--f-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 22px;
  flex-shrink: 0;
}

.fw-tile-title {
  font-family: "Spectral", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--f-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.fw-tile-sub {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  color: var(--f-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.fw-tile-cta {
  margin-top: auto;
  color: var(--f-primary);
  font-weight: 700;
  font-size: 13px;
  font-family: "Manrope", system-ui, sans-serif;
  padding-top: 8px;
}

/* =====================================================================
   ZWEI WEGE (Startseite)
   ===================================================================== */
.fw-zwei-wege {
  padding: 64px 56px;
  background: var(--f-bg-soft);
  border-bottom: 1px solid var(--f-line-2);
}

.fw-zwei-wege-header {
  text-align: center;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fw-zwei-wege-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.fw-weg-card {
  background: #fff;
  border: 1px solid var(--f-line-2);
  padding: 36px;
  display: flex;
  gap: 24px;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fw-weg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 22, 26, 0.10);
  color: inherit;
  text-decoration: none !important;
}

.fw-weg-icon {
  width: 64px;
  height: 64px;
  background: var(--f-red-50);
  color: var(--f-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}

.fw-weg-title {
  font-family: "Spectral", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--f-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.fw-weg-text {
  margin-top: 8px;
  color: var(--f-text);
  font-size: 14px;
  line-height: 1.6;
}

.fw-weg-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--f-primary) !important;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid var(--f-accent);
  padding-bottom: 2px;
  text-decoration: none !important;
  font-family: "Manrope", system-ui, sans-serif;
}

/* =====================================================================
   AUS DER REDAKTION (Startseite)
   ===================================================================== */
.fw-redaktion {
  padding: 64px 56px;
  border-bottom: 1px solid var(--f-line-2);
}

.fw-redaktion-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}

.fw-redaktion-alle {
  font-size: 13px;
  color: var(--f-primary);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  text-decoration: none !important;
  font-family: "Manrope", system-ui, sans-serif;
}

.fw-redaktion-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.fw-artikel-bild {
  background: var(--f-bg-soft);
  aspect-ratio: 4/3;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--f-muted);
  font-size: 11px;
  font-family: "Manrope", system-ui, sans-serif;
}

.fw-artikel-kat {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--f-amber-700);
}

.fw-artikel-titel-lg {
  font-family: "Spectral", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--f-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 8px;
}

.fw-artikel-excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--f-muted);
  font-family: "Manrope", system-ui, sans-serif;
}

.fw-artikel-small {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  text-decoration: none !important;
  color: inherit;
  transition: opacity 0.15s;
}

.fw-artikel-small:hover { opacity: 0.8; }

.fw-artikel-small-bild {
  background: var(--f-bg-soft);
  aspect-ratio: 1;
}

.fw-artikel-titel-sm {
  font-family: "Spectral", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--f-ink);
  line-height: 1.25;
  margin-top: 5px;
}

/* =====================================================================
   LÄNDER-STRIP (Startseite)
   ===================================================================== */
.fw-laender {
  padding: 64px 56px;
  border-bottom: 1px solid var(--f-line-2);
}

.fw-laender-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.fw-vergleich-table {
  background: var(--f-bg-soft);
  padding: 4px;
}

.fw-vergleich-head {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.8fr 0.8fr;
  padding: 10px 14px;
  font-size: 11px;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--f-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--f-line);
  font-weight: 700;
}

.fw-vergleich-row {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 0.8fr 0.8fr;
  padding: 13px 14px;
  font-size: 14px;
  font-family: "Manrope", system-ui, sans-serif;
  border-top: 1px solid var(--f-line-2);
  color: var(--f-ink);
}

.fw-vergleich-row .bf-name { font-weight: 700; }

.fw-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: var(--f-ink);
  color: #fff !important;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  font-family: "Manrope", system-ui, sans-serif;
  border-radius: 0;
  transition: background 0.15s;
}

.fw-btn-dark:hover {
  background: var(--f-coal-700);
  color: #fff !important;
}

/* =====================================================================
   RESPONSIVE — Neue Sektionen (< 860 px)
   ===================================================================== */
@media (max-width: 860px) {
  .fw-utility-strip {
    padding: 7px 18px;
  }
  .fw-utility-right {
    display: none;
  }

  .fw-tile-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 32px;
    gap: 14px;
  }

  .fw-zwei-wege {
    padding: 40px 18px;
  }

  .fw-zwei-wege-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fw-redaktion {
    padding: 40px 18px;
  }

  .fw-redaktion-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fw-laender {
    padding: 40px 18px;
  }

  .fw-laender-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fw-weg-card {
    padding: 22px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================================
   GRAVITY FORMS — NEWSLETTER-SEKTION
   ===================================================================== */
.fw-newsletter .gform_wrapper {
  max-width: 560px;
  margin: 28px auto 0;
  text-align: left;
}

/* Labels weiß */
.fw-newsletter .gfield_label,
.fw-newsletter .ginput_complex label,
.fw-newsletter .name_sub_label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fw-newsletter .name_sub_label {
  font-weight: 400;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Pflichtfeld-Stern */
.fw-newsletter .gfield_required,
.fw-newsletter .gfield_required_text {
  color: var(--f-amber-400) !important;
}

/* Inputs — semitransparentes Weiß auf dunklem Grund */
.fw-newsletter .gfield input[type="text"],
.fw-newsletter .gfield input[type="email"],
.fw-newsletter .gfield select {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 6px !important;
}

.fw-newsletter .gfield input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.fw-newsletter .gfield select option {
  background: #1a1a1a;
  color: #fff;
}

/* Submit-Button */
.fw-newsletter .gform_footer {
  text-align: center;
  margin-top: 8px;
}

.fw-newsletter .gform_footer input[type="submit"] {
  background: var(--f-accent) !important;
  color: var(--f-ink) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 40px !important;
  font-weight: 700 !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 14px !important;
  cursor: pointer;
  width: auto !important;
}

/* Einwilligung */
.fw-newsletter .gfield_consent_label,
.fw-newsletter .gfield_consent_label a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.fw-newsletter .gfield_consent_label a {
  color: var(--f-amber-400) !important;
  text-decoration: underline;
}

/* Validierungsfehler */
.fw-newsletter .validation_message {
  color: #fca5a5 !important;
}

/* Bestätigung */
.fw-newsletter .gform_confirmation_message {
  color: #fff !important;
  font-size: 18px;
  padding: 24px;
}
