/*
Theme Name: Firmensonar
Theme URI: https://firmensonar.de
Author: Firmensonar
Description: Schlankes Verkaufsseiten-Theme fuer Firmensonar (B2B-Sales-Intelligence aus amtlichen Registern und offenen Daten). No-Build, keine externen Ressourcen, keine Webfonts, keine Tracker. Alle Texte, Preise und CTA-Ziele im Customizer pflegbar.
Version: 1.7.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firmensonar
Tags: business, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Petrol/Tiefsee mit Signalgrün — bewusst weg von Navy+Orange, das ist die
     Kombination des Marktbegleiters. Alle Paarungen erfüllen WCAG AA. */
  --fs-navy: #0b2b33;          /* Tiefsee: dunkle Flächen, Überschriften */
  --fs-navy-2: #11414e;        /* Tiefsee hell: Bänder, Fußbereich */
  --fs-accent: #0a7d63;        /* Signalgrün: Knöpfe auf hellem Grund (Weiß darauf 5,1:1) */
  --fs-accent-dark: #075d49;   /* gedrückt/überfahren */
  --fs-signal: #3fd6ab;        /* helle Variante — NUR auf dunklem Grund (8,1:1) */
  --fs-blue: #0b6b7a;          /* Links */
  --fs-text: #152229;
  --fs-muted: #5d7078;
  --fs-line: #dbe4e6;
  --fs-soft: #f2f6f6;
  --fs-card: #fff;
  --fs-ok: #2e9e5b;
  --fs-warn: #e0a11e;
  --fs-bad: #cc4433;
  --fs-radius: 10px;
  --fs-radius-lg: 16px;
  --fs-shadow: 0 1px 2px rgba(18, 35, 63, .06), 0 8px 24px rgba(18, 35, 63, .07);
  --fs-shadow-lg: 0 2px 6px rgba(18, 35, 63, .08), 0 24px 60px rgba(18, 35, 63, .14);
  --fs-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --fs-wrap: 1120px;
}

/* ==========================================================================
   2. Reset / Grundlagen
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--fs-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fs-text);
  background: var(--fs-card);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
img { border-radius: 6px; }

a { color: var(--fs-blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--fs-navy); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--fs-navy); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--fs-line); margin: 2.5rem 0; }
code, pre, kbd { font-family: var(--fs-mono); font-size: .92em; }
code { background: var(--fs-soft); padding: .1em .35em; border-radius: 4px; }
blockquote { margin: 0 0 1em; padding: .2em 0 .2em 1em; border-left: 3px solid var(--fs-accent); color: var(--fs-muted); }

:focus-visible { outline: 3px solid var(--fs-accent); outline-offset: 2px; border-radius: 4px; }

.fs-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--fs-navy); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0;
}
.fs-skip:focus { left: 0; color: #fff; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */

.fs-wrap { width: 100%; max-width: var(--fs-wrap); margin: 0 auto; padding: 0 20px; }
.fs-wrap--narrow { max-width: 780px; }

.fs-section { padding: 46px 0; }
.fs-section--soft { background: var(--fs-soft); }
.fs-section--line { border-top: 1px solid var(--fs-line); }

.fs-section__head { max-width: 720px; margin-bottom: 28px; }
.fs-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.fs-eyebrow {
  display: inline-block; margin: 0 0 .6rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--fs-accent-dark);
}
.fs-lead { font-size: 1.08rem; color: var(--fs-muted); margin-bottom: 0; }

.fs-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

@media (min-width: 700px) {
  .fs-grid--2, .fs-grid--3, .fs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .fs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   4. Buttons, Badges, Chips
   ========================================================================== */

.fs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.4em; border-radius: var(--fs-radius); border: 1px solid var(--fs-line);
  background: var(--fs-card); color: var(--fs-navy); font-size: 1rem;
  /* 500 statt 600: In der Preistabelle stehen die Knöpfe direkt unter den Leistungen
     und wirkten schwerer als die Preise darüber. */
  font-weight: 500; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.fs-btn:hover { background: var(--fs-soft); color: var(--fs-navy); border-color: #c9d3e0; }
.fs-btn--primary { background: var(--fs-accent); border-color: var(--fs-accent); color: #fff; }
.fs-btn--primary:hover { background: var(--fs-accent-dark); border-color: var(--fs-accent-dark); color: #fff; }
.fs-btn--navy { background: var(--fs-navy); border-color: var(--fs-navy); color: #fff; }
.fs-btn--navy:hover { background: var(--fs-navy-2); border-color: var(--fs-navy-2); color: #fff; }
.fs-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.fs-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.fs-btn--block { width: 100%; }
.fs-btn--sm { padding: .5em 1em; font-size: .92rem; }

.fs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

.fs-badge {
  display: inline-block; padding: .18em .6em; border-radius: 999px; font-size: .76rem;
  font-weight: 700; letter-spacing: .02em; background: var(--fs-soft); color: var(--fs-muted);
  border: 1px solid var(--fs-line);
}
.fs-badge--ok { background: #eaf7ef; color: #1d6e3d; border-color: #cbe9d6; }
.fs-badge--warn { background: #fdf4e2; color: #8a6413; border-color: #f2e0b8; }
.fs-badge--bad { background: #fbecea; color: #9a3025; border-color: #f2cec9; }
.fs-badge--accent { background: #e6f5f0; color: #0a6a55; border-color: #bfe6d8; }

.fs-chip {
  display: inline-block; padding: .3em .75em; margin: 0 6px 6px 0; border-radius: 999px;
  background: var(--fs-card); border: 1px solid var(--fs-line); font-size: .86rem; color: var(--fs-text);
}

/* ==========================================================================
   5. Kopfbereich
   ========================================================================== */

/* Deckend, nicht durchscheinend: bei ausgeklapptem Menü würde sonst der Hero
   durch die Menüfläche schimmern. */
.fs-head {
  position: sticky; top: 0; z-index: 40; background: #fff;
  border-bottom: 1px solid var(--fs-line);
}
body.admin-bar .fs-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fs-head { top: 46px; } }

/* flex-wrap ist wichtig: das ausgeklappte Menü ist 100 % breit und muss auf eine
   eigene Zeile rutschen, statt neben dem Logo zusammengequetscht zu werden. */
.fs-head__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; min-height: 64px; }

.fs-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.fs-brand__mark { flex: 0 0 auto; display: block; }
.fs-brand__text { font-size: 1.22rem; font-weight: 700; color: var(--fs-navy); letter-spacing: -.02em; }
.fs-brand__text b { font-weight: 700; color: var(--fs-accent); }
.fs-brand img { max-height: 40px; width: auto; border-radius: 0; }

/* Der Umschalter wird erst von theme.js eingeblendet: ohne JavaScript bleibt das
   Menü dauerhaft ausgeklappt und damit bedienbar. */
.fs-nav__toggle {
  display: none; align-items: center; gap: 8px; padding: .5em .8em; border-radius: 8px;
  border: 1px solid var(--fs-line); background: #fff; color: var(--fs-navy); font: inherit;
  font-size: .92rem; font-weight: 600; cursor: pointer;
}
.fs-nav__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.fs-nav__bars::before, .fs-nav__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.fs-nav__bars::before { top: -6px; }
.fs-nav__bars::after { top: 6px; }

.fs-nav__panel { display: block; width: 100%; }
.fs-nav__panel.is-closed { display: none; }

.fs-nav__list { list-style: none; margin: 0; padding: 0; }
.fs-nav__list li { border-top: 1px solid var(--fs-line); }
.fs-nav__list a {
  display: block; padding: .8em 0; color: var(--fs-navy); text-decoration: none; font-weight: 600;
}
.fs-nav__list a:hover, .fs-nav__list .current-menu-item > a { color: var(--fs-accent-dark); }
.fs-head__cta { display: none; }
/* display:flex statt block: .fs-btn zentriert seine Beschriftung über
   justify-content — mit display:block fiel diese Zentrierung weg und die
   Beschriftung stand als einzige im Menü linksbündig. */
.fs-nav__panel .fs-head__cta--mobile { display: flex; margin: 14px 0 18px; }

@media (min-width: 900px) {
  .fs-nav__toggle { display: none !important; }
  .fs-nav__panel { display: block !important; width: auto; }
  .fs-nav__list { display: flex; align-items: center; gap: 22px; }
  .fs-nav__list li { border-top: 0; }
  .fs-nav__list a { padding: .3em 0; font-size: .97rem; }
  .fs-head__cta { display: inline-flex; }
  .fs-nav__panel .fs-head__cta--mobile { display: none; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.fs-hero {
  background:
    radial-gradient(1100px 460px at 80% -10%, rgba(232, 145, 45, .22), transparent 60%),
    linear-gradient(170deg, var(--fs-navy) 0%, #071e24 100%);
  color: #fff; padding: 48px 0 54px;
}
.fs-hero h1 { color: #fff; font-size: 2.05rem; margin-bottom: .45em; }
.fs-hero__eyebrow { color: #3fd6ab; }
.fs-hero__text { font-size: 1.1rem; color: #c3d6d9; max-width: 46ch; }
.fs-hero__note { margin: 20px 0 0; font-size: .88rem; color: #8fa8ad; }
.fs-hero__note a { color: #3fd6ab; }
.fs-hero__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.fs-hero__points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.fs-hero__points li { padding-left: 26px; position: relative; color: #d3e2e4; font-size: .98rem; }
.fs-hero__points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--fs-accent); border-bottom: 2.5px solid var(--fs-accent);
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .fs-hero { padding: 74px 0 80px; }
  .fs-hero h1 { font-size: 2.9rem; }
  .fs-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 46px; }
}

/* Vertrauensleiste */
/* Wert über Text, nicht daneben: Nebeneinander brach der Text neben der fetten
   Zahl um und die vier Spalten wirkten wie ein zerrissener Fließtext. */
.fs-trust { background: var(--fs-navy-2); color: #cfe0e2; padding: 26px 0; }
.fs-trust__grid { display: grid; gap: 22px 30px; grid-template-columns: minmax(0, 1fr); }
.fs-trust__item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fs-trust__val {
  font-weight: 700; color: #fff; font-size: 1.32rem; line-height: 1.2;
  letter-spacing: -.01em;
}
.fs-trust__lab { font-size: .92rem; line-height: 1.45; color: #9fbcc0; max-width: 30ch; }

@media (min-width: 700px) {
  .fs-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .fs-trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Feine Trennlinien zwischen den Spalten — hält die vier Aussagen auseinander,
     ohne wie eine Tabelle zu wirken. */
  .fs-trust__item + .fs-trust__item {
    padding-left: 30px; border-left: 1px solid rgba(255, 255, 255, .13);
  }
}

/* ==========================================================================
   7. Karten, Screenshot-Rahmen, Modulblöcke
   ========================================================================== */

.fs-card {
  background: var(--fs-card); border: 1px solid var(--fs-line); border-radius: var(--fs-radius);
  padding: 20px; box-shadow: 0 1px 2px rgba(18, 35, 63, .04);
}
.fs-card h3 { margin-bottom: .35em; }
.fs-card p:last-child { margin-bottom: 0; }
.fs-card__icon { display: inline-flex; color: var(--fs-accent-dark); margin-bottom: 10px; }

.fs-shot {
  border: 1px solid var(--fs-line); border-radius: var(--fs-radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--fs-shadow-lg);
}
.fs-shot__bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: linear-gradient(180deg, #f6fafa, #eef2f7); border-bottom: 1px solid var(--fs-line);
}
.fs-shot__dot { width: 9px; height: 9px; border-radius: 50%; background: #cdd6e2; flex: 0 0 auto; }
.fs-shot__url {
  margin-left: 8px; font-size: .74rem; color: var(--fs-muted); font-family: var(--fs-mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fs-shot img { display: block; width: 100%; border-radius: 0; }
.fs-shot__ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 220px; padding: 28px 20px; text-align: center;
  background:
    repeating-linear-gradient(135deg, #f6fafa 0 12px, #f1f4f9 12px 24px);
  color: var(--fs-muted);
}
.fs-shot__ph strong { color: var(--fs-navy); font-size: .98rem; }
.fs-shot__ph code { background: #fff; border: 1px solid var(--fs-line); }
.fs-shot__cap { margin: 10px 0 0; font-size: .84rem; color: var(--fs-muted); }

.fs-module { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: 30px 0; }
.fs-module + .fs-module { border-top: 1px solid var(--fs-line); }
.fs-module__body h3 { font-size: 1.35rem; }
@media (min-width: 960px) {
  .fs-module { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; padding: 40px 0; }
  .fs-module--flip .fs-module__shot { order: -1; }
}

.fs-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.fs-list li { position: relative; padding-left: 26px; }
.fs-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--fs-ok); border-bottom: 2.5px solid var(--fs-ok);
  transform: rotate(-45deg);
}
.fs-list--dash li::before {
  content: ""; top: .72em; width: 12px; height: 0; border-left: 0;
  border-bottom: 2.5px solid var(--fs-muted); transform: none;
}
.fs-list--no li::before {
  content: "\00d7"; top: 0; width: auto; height: auto; border: 0; transform: none;
  color: var(--fs-bad); font-weight: 700; font-size: 1.1em; line-height: 1.5;
}

/* ==========================================================================
   8. USP-Block
   ========================================================================== */

.fs-usp {
  background: linear-gradient(160deg, var(--fs-navy) 0%, #0f3a46 100%);
  color: #fff; border-radius: var(--fs-radius-lg); padding: 28px 22px;
}
.fs-usp h2 { color: #fff; }
.fs-usp p { color: #c3d6d9; }
.fs-usp__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.fs-usp__tags { margin: 16px 0 0; }
.fs-usp__tags .fs-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.fs-usp__note { font-size: .88rem; color: #9fbcc0; }
@media (min-width: 900px) {
  .fs-usp { padding: 40px 38px; }
  .fs-usp__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; }
}

/* ==========================================================================
   9. Preise
   ========================================================================== */

.fs-price {
  position: relative;
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius); padding: 22px;
  /* Tarifname, Preis, Beschreibung und Knopf mittig — die Leistungsliste
     nimmt das unten wieder zurück. Aufgezählte Leistungen liest man an einer
     gemeinsamen linken Kante deutlich schneller als mittig ausgerichtet. */
  text-align: center;
}
.fs-price--featured { border-color: var(--fs-accent); box-shadow: var(--fs-shadow); }
/* Die Auszeichnung sitzt auf der Kartenkante, damit alle Karten gleich hoch beginnen. */
.fs-price__flag {
  position: absolute; top: -11px; right: 16px; background: #e6f5f0;
}
.fs-price h3 { margin-bottom: .2em; }
.fs-price__amount { font-size: 1.9rem; font-weight: 700; color: var(--fs-navy); line-height: 1.1; }
.fs-price__period { font-size: .88rem; color: var(--fs-muted); margin-left: .25em; font-weight: 500; }
.fs-price__desc { font-size: .93rem; color: var(--fs-muted); margin: 10px 0 0; min-height: 0; }
.fs-price .fs-list { margin-top: 16px; font-size: .95rem; text-align: left; }
.fs-price__foot { margin-top: auto; padding-top: 20px; }
.fs-price__note { margin: 16px 0 0; font-size: .88rem; color: var(--fs-muted); }

.fs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--fs-line); border-radius: var(--fs-radius); background: #fff; }
.fs-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.fs-table th, .fs-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--fs-line); vertical-align: top; }
.fs-table thead th { background: var(--fs-soft); color: var(--fs-navy); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.fs-table tbody tr:nth-child(even) { background: #fafbfd; }
.fs-table tbody tr:last-child td { border-bottom: 0; }
.fs-table td small { color: var(--fs-muted); }

/* ==========================================================================
   10. FAQ
   ========================================================================== */

.fs-faq { display: grid; gap: 10px; }
.fs-faq__item { border: 1px solid var(--fs-line); border-radius: var(--fs-radius); background: #fff; }
.fs-faq__item[open] { border-color: #c9d3e0; box-shadow: 0 1px 2px rgba(18, 35, 63, .05); }
.fs-faq__q {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 15px 18px; font-weight: 650; color: var(--fs-navy); cursor: pointer; list-style: none;
}
.fs-faq__q::-webkit-details-marker { display: none; }
.fs-faq__q::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--fs-accent-dark); flex: 0 0 auto; }
.fs-faq__item[open] .fs-faq__q::after { content: "\2013"; }
.fs-faq__a { padding: 0 18px 16px; color: var(--fs-text); }
.fs-faq__a p:last-child { margin-bottom: 0; }

/* ==========================================================================
   11. Abschluss-CTA
   ========================================================================== */

.fs-cta {
  background: linear-gradient(160deg, var(--fs-navy) 0%, #08242c 100%);
  color: #fff; text-align: center; padding: 44px 0;
}
.fs-cta h2 { color: #fff; }
.fs-cta p { color: #c3d6d9; max-width: 60ch; margin-left: auto; margin-right: auto; }
.fs-cta .fs-actions { justify-content: center; }
.fs-cta__note { font-size: .87rem; color: #8fa8ad; margin-top: 18px; }

/* ==========================================================================
   12. Formular
   ========================================================================== */

.fs-form { display: grid; gap: 16px; }
.fs-field { display: grid; gap: 6px; }
.fs-field label { font-weight: 600; font-size: .95rem; color: var(--fs-navy); }
.fs-field .fs-hint { font-size: .84rem; color: var(--fs-muted); }
.fs-field input[type="text"],
.fs-field input[type="email"],
.fs-field input[type="tel"],
.fs-field select,
.fs-field textarea {
  width: 100%; padding: .7em .85em; border: 1px solid var(--fs-line); border-radius: 8px;
  font: inherit; font-size: 1rem; color: var(--fs-text); background: #fff;
}
.fs-field textarea { min-height: 150px; resize: vertical; }
.fs-field input:focus, .fs-field select:focus, .fs-field textarea:focus { border-color: var(--fs-blue); outline: 2px solid rgba(28, 78, 157, .18); outline-offset: 0; }
.fs-field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; }
.fs-field--check input { margin-top: .35em; }
.fs-field--check label { font-weight: 500; font-size: .92rem; color: var(--fs-text); }
.fs-req { color: var(--fs-bad); }
.fs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 700px) { .fs-form__row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fs-notice { border-radius: var(--fs-radius); padding: 14px 16px; border: 1px solid var(--fs-line); background: var(--fs-soft); margin: 0 0 20px; }
.fs-notice--ok { background: #eaf7ef; border-color: #cbe9d6; color: #1d6e3d; }
.fs-notice--bad { background: #fbecea; border-color: #f2cec9; color: #9a3025; }
.fs-notice p:last-child { margin-bottom: 0; }

/* ==========================================================================
   13. Inhaltsseiten / Blog / 404
   ========================================================================== */

.fs-page-head { background: var(--fs-soft); border-bottom: 1px solid var(--fs-line); padding: 34px 0; }
.fs-page-head h1 { margin-bottom: .25em; }
.fs-page-head p { color: var(--fs-muted); max-width: 65ch; margin-bottom: 0; }

.fs-prose { max-width: 760px; }
.fs-prose h2 { margin-top: 1.6em; }
.fs-prose h3 { margin-top: 1.3em; }
.fs-prose ul li, .fs-prose ol li { margin-bottom: .35em; }
.fs-prose table { width: 100%; border-collapse: collapse; }
.fs-prose img { border-radius: var(--fs-radius); }

.fs-entry { padding: 22px 0; border-bottom: 1px solid var(--fs-line); }
.fs-entry h2 { font-size: 1.3rem; margin-bottom: .3em; }
.fs-entry__meta { font-size: .86rem; color: var(--fs-muted); margin-bottom: .6em; }
.fs-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.fs-pagination .page-numbers {
  display: inline-block; padding: .45em .8em; border: 1px solid var(--fs-line);
  border-radius: 8px; text-decoration: none; color: var(--fs-navy); background: #fff;
}
.fs-pagination .page-numbers.current { background: var(--fs-navy); color: #fff; border-color: var(--fs-navy); }

.fs-404 { text-align: center; padding: 60px 0; }
.fs-404__code { font-size: 3.4rem; font-weight: 700; color: var(--fs-accent); line-height: 1; margin-bottom: .1em; }

.fs-searchform { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.fs-searchform input[type="search"] {
  flex: 1 1 200px; padding: .7em .85em; border: 1px solid var(--fs-line); border-radius: 8px; font: inherit;
}

/* ==========================================================================
   14. Fußbereich
   ========================================================================== */

.fs-foot { background: var(--fs-navy); color: #a9c2c6; padding: 40px 0 26px; font-size: .95rem; }
.fs-foot a { color: #d6e6e8; text-decoration: none; }
.fs-foot a:hover { color: #fff; text-decoration: underline; }
.fs-foot h2, .fs-foot h3 { color: #fff; font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .9em; }
.fs-foot__grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.fs-foot__brand .fs-brand__text { color: #fff; }
.fs-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fs-foot__bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .87rem; color: #84a3a8;
}
.fs-foot__src { font-size: .84rem; color: #84a3a8; line-height: 1.6; }
@media (min-width: 760px) { .fs-foot__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* ==========================================================================
   15. Kleine Hilfsklassen (statt Inline-Stilen — Medienabfragen greifen sonst nicht)
   ========================================================================== */

.fs-shot-figure { margin: 0; }
.fs-card__title { font-size: 1.22rem; }
.fs-mt-s { margin-top: 12px; }
.fs-mt { margin-top: 18px; }
.fs-mt-l { margin-top: 28px; }
.fs-mb-0 { margin-bottom: 0; }
.fs-actions--center { justify-content: center; }
.fs-eyebrow--light { color: #3fd6ab; }
.fs-usp__label { color: #9fbcc0; font-size: .88rem; margin-bottom: 8px; }
.fs-foot__src strong { color: #d6e6e8; }
.fs-table th[scope="row"] { font-weight: 600; }
.fs-hint--muted { color: var(--fs-muted); font-size: .88rem; }

/* ==========================================================================
   16. Druck
   ========================================================================== */

@media print {
  .fs-head, .fs-foot, .fs-cta, .fs-actions { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .fs-hero { background: none !important; color: #000; }
  .fs-hero h1, .fs-hero__text { color: #000; }
}

/* ==========================================================================
   13. Branchen-Landingpages (/leads/<branche>/)
   ========================================================================== */

.fs-leadpage__hero { background: var(--fs-soft); padding: 44px 0 38px; border-bottom: 1px solid var(--fs-line); }
.fs-leadpage__hero h1 { font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.4rem); margin-bottom: .45em; }
.fs-leadpage__intro { font-size: 1.1rem; line-height: 1.6; color: var(--fs-text); margin: 0; max-width: 62ch; }

/* Dreispaltige Belegzeile — dieselbe Optik wie die Vertrauensleiste der Startseite */
@media (min-width: 1000px) {
  .fs-trust__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Nummerierte Schritte: Die Ziffer sitzt in einem Kreis links, der Text daneben —
   als schlichte <ol> gingen die Schritte im Fließtext unter. */
.fs-steps { list-style: none; counter-reset: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.fs-steps li { display: flex; gap: 14px; align-items: flex-start; }
.fs-steps__nr {
  flex: 0 0 28px; height: 28px; border-radius: 999px;
  background: var(--fs-navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .86rem; font-weight: 700; margin-top: 1px;
}

.fs-chiprow { display: flex; flex-wrap: wrap; gap: 0; margin-top: 14px; }
.fs-chiprow .fs-chip { text-decoration: none; transition: border-color .15s, background .15s; }
.fs-chiprow .fs-chip:hover { border-color: var(--fs-accent); background: #e6f5f0; color: var(--fs-navy); }

/* Zielgruppen-Kacheln: Titel ohne Unterstrich, Knopf immer am unteren Rand.
   Ohne die Flex-Spalte hing der Knopf direkt unter dem letzten Listenpunkt —
   bei unterschiedlich langen Texten standen die Knöpfe versetzt. */
.fs-zg { display: flex; flex-direction: column; height: 100%; }
.fs-zg__title { font-size: 1.18rem; margin-bottom: .5em; }
/* Überall derselbe Abstand von 18 px. Vorher addierten sich der Absatz-Abstand
   (1em) und der Listen-Abstand (14px) über der Aufzählung zu rund 31 px, während
   darunter nur 18 px standen — die Kachel wirkte oben auseinandergezogen. */
.fs-zg__text { color: var(--fs-muted); margin-bottom: 18px; }
.fs-zg__quellen { font-size: .93rem; margin-top: 0; }
.fs-zg .fs-mt-s { margin-top: auto; padding-top: 18px; }

/* Die Kacheln müssen gleich hoch sein, damit "unten" auch wirklich unten ist */
.fs-grid > .fs-zg { align-self: stretch; }

/* Die beiden Karten im Branchenblock gleich hoch, Text oben bündig */
.fs-leadpage .fs-grid--2 > .fs-card { display: flex; flex-direction: column; }

/* Ein Rhythmus für alle Karten: überall 18 px zwischen den Blöcken.
   Ohne das addierten sich Überschriften- und Listenabstand oben auf rund 24 px,
   während der Link darunter direkt an der Liste klebte. */
.fs-leadpage .fs-card > h3 { margin-bottom: 18px; }
.fs-leadpage .fs-card > p { margin-bottom: 18px; }
.fs-leadpage .fs-card > .fs-list { margin-top: 0; margin-bottom: 0; }
.fs-leadpage .fs-card > .fs-mt-s { margin-top: auto; padding-top: 18px; margin-bottom: 0; }

/* Knöpfe in den Preiskarten immer einzeilig. „Gespräch vereinbaren" brach sonst
   um, wurde dadurch höher als die anderen und riss die Reihe auseinander.
   Der seitliche Abstand darf dafür kleiner ausfallen — die Karte gibt die
   Breite ohnehin vor. */
.fs-price .fs-btn {
  white-space: nowrap;
  padding-left: .9em; padding-right: .9em;
}
/* Bei sehr schmalen Karten lieber etwas kleinere Schrift als ein Umbruch */
@media (min-width: 1000px) and (max-width: 1180px) {
  .fs-price .fs-btn { font-size: .94rem; }
}

/* Überschriften, die zugleich Link sind, tragen KEINEN Unterstrich — er wirkt dort
   wie ein Fehler. Im Fließtext bleiben Links unterstrichen; das ist die Stelle,
   an der man sie auch als Link erkennen muss. */
h1 a, h2 a, h3 a, h4 a { color: inherit; text-decoration: none; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: var(--fs-accent-dark); text-decoration: underline; }

/* Anmelde-Knopf im Kopfbereich — führt zur Anwendung, nicht zu einer Seite
   dieser Website. Deshalb zurückhaltend gestaltet: Der Haupt-Handlungsaufruf
   („Demo anfordern") soll weiter der auffälligste bleiben. */
.fs-head__login {
  display: none; align-items: center; gap: .45em;
  margin-left: auto; flex: 0 0 auto; white-space: nowrap;
}
.fs-head__login + .fs-head__cta { margin-left: 10px; }
.fs-head__login svg { opacity: .75 }
.fs-head__login:hover svg { opacity: 1 }

/* Im aufgeklappten Menü steht er als eigene Zeile über dem Handlungsaufruf */
.fs-head__login--mobile { display: flex; margin-top: 14px; }

@media (min-width: 900px) {
  .fs-head__login { display: inline-flex; }
  .fs-head__login--mobile { display: none; }
  /* Der Handlungsaufruf hatte bisher den Automatik-Abstand — jetzt hat ihn
     der Anmelde-Knopf, sonst kleben beide am Menü. */
  .fs-head__login ~ .fs-head__cta { margin-left: 0; }
}
