/* =====================================================================
   Flottenwacht – Gestaltungsebene 2026, Fassung 3
   26.11.2026

   DER WEG HIERHER, WEIL ER DIE DATEI ERKLÄRT

   Fassung 1 (bei dir installiert) hat Textfarben fest zugewiesen. Auf
   dunklen Abschnitten ergab das dunkle Schrift auf dunklem Grund.
   Gemessen an der Startseite: 13 Stellen unter dem Kontrastgrenzwert,
   wo das Original 3 hat.

   Fassung 2 hat die Farben vererbbar gemacht, statt sie zuzuweisen.
   Startseite damit: 0 Fehler. Auf den LEISTUNGSSEITEN aber 7 statt 4 -
   weil ich die Liste der dunklen Flächen von der Startseite abgeleitet
   hatte und `.managed` dort eine helle Karte ist. Eine Klassenliste
   kann das nicht wissen.

   Fassung 3 zieht die Lehre: DIESE EBENE WEIST KEINE FARBEN ZU.
   Das Original ist farblich fast überall richtig - 0 bis 3 Fehler je
   Seite, und immer dieselben zwei Muster. Die werden gezielt behoben.
   Alles andere hier ist Geometrie, Rhythmus und Schrift. Da steckt
   ohnehin das meiste von „moderner", und es kann nichts unlesbar
   machen.

   DREI REGELN, DIE ICH MIR GESETZT HABE
   1. Kein `color:` ausser an den zwei gemessenen Fehlstellen.
   2. Kein `background:` auf Bausteinen, die eine dunkle Variante
      haben - sonst übermale ich sie (genau der Fehler aus Fassung 1
      bei `.fw-security-card`).
   3. Keine Markenfarbe wird getauscht. Die Hauptschaltfläche bleibt
      Petrol, wie sie ist.

   DUNKELMODUS ist hier NICHT enthalten. Website und Portal tragen
   zusammen über 300 Regeln mit fest eingetragenen Farbwerten; das ist
   ein eigener Schritt und keine Zutat.
   ===================================================================== */

/* ------------------------------------------------------------------
   1. Maße
   Nur Geometrie und Abstände - keine Farbe.
   ------------------------------------------------------------------ */
:root{
  --r-xs:8px; --r-sm:12px; --r-md:16px; --r-lg:22px;
  --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px;
  --s-8:32px; --s-10:40px; --s-12:48px;
  --section:clamp(44px,4.8vw,68px);
  --sh-1:0 1px 2px rgba(10,52,59,.05);
  --sh-2:0 1px 2px rgba(10,52,59,.06),0 6px 16px -6px rgba(10,52,59,.12);
  --sh-3:0 2px 4px rgba(10,52,59,.07),0 18px 36px -14px rgba(10,52,59,.18);
}

/* ------------------------------------------------------------------
   2. Die zwei gemessenen Kontrastfehler des Originals
   Nur diese beiden Regeln setzen in dieser Datei eine Farbe.
   ------------------------------------------------------------------ */

/* (a) Startseite: `.section.dark` setzt color:#fff, darin stehen aber
   drei HELLE Karten (`article.module`, Verlauf Weiss → #f7f3ee). Deren
   Überschriften sind dadurch weiss auf weiss - 1,0:1, also unsichtbar.
   Das ist ein Fehler der Seite, nicht meiner Ebene; er ist mir beim
   Messen aufgefallen. */
.section.dark .module:not(.darkcard){color:#33454a}
.section.dark .module:not(.darkcard) h2,
.section.dark .module:not(.darkcard) h3,
.section.dark .module:not(.darkcard) h4,
.section.dark .module:not(.darkcard) b,
.section.dark .module:not(.darkcard) strong{color:#101a1d}
.section.dark .module:not(.darkcard) a{color:#0f4c55}

/* (b) Leistungsseiten: die Augenbraue `.ey` steht in Koralle #c33a18
   auf dunklem Petrol #0d4048 - 1,8:1.

   DER AUFSCHLUSSREICHE TEIL: site.css hat die dunkle Variante LÄNGST
   richtig - `.svc-dark .ey{color:#ffb29f}`. Sie kommt nur nicht zum
   Tragen, weil der <style>-Block jeder Seite `.ey{color:#c33a18
   !important}` setzt und damit das eigene Stylesheet aussticht.

   Ich erfinde deshalb keine Farbe, sondern nehme die vorhandene -
   nur mit demselben Gewicht. Dauerhaft gehört das !important aus den
   Seitenblöcken entfernt; das ist ein Eingriff ins Markup und steht
   im nächsten Schritt. */
.svc-dark .ey,.section.dark .ey,.svc-final .ey,.fw-price-cta .ey,
.fw-founder-offer .ey,.featurepanel.pet .ey{color:#ffb29f!important}

/* (c) Wo `.svc-heading` in einem dunklen Abschnitt steht, färbt
   site.css den Absatz mit `.svc-heading > p{color:#5e7074}` - ein
   helles Grau auf dunklem Petrol, 1,85:1. Statt einer neuen Farbe
   erbt er hier einfach das Weiss, das `.svc-dark` ohnehin setzt. */
.svc-dark .svc-heading>p,.section.dark .svc-heading>p,
.svc-dark .svc-heading>div,.section.dark .svc-heading>div{color:inherit}

/* ------------------------------------------------------------------
   3. Schrift
   Eine Stufenleiter, die der Gliederung folgt. Vorher stand H2 je nach
   Seite auf 60 oder auf 24 Pixeln - damit lässt sich eine Hierarchie
   nicht erfassen.
   ------------------------------------------------------------------ */
h1,h2,h3,h4{font-weight:800;letter-spacing:-.028em;text-wrap:balance}
h1{font-size:clamp(2.4rem,1.2rem + 3.8vw,4.1rem);line-height:1.05;letter-spacing:-.042em}
h2{font-size:clamp(1.8rem,1.1rem + 2.2vw,2.95rem);line-height:1.1;letter-spacing:-.034em}
h3{font-size:clamp(1.12rem,1rem + .45vw,1.35rem);line-height:1.3;letter-spacing:-.018em}
h4{font-size:1rem;line-height:1.4;letter-spacing:-.01em}
.hero h1{font-size:clamp(2.4rem,1rem + 4.4vw,4.3rem)!important}
.svc-hero h1{font-size:clamp(2.2rem,1rem + 3.6vw,3.6rem)}

/* Der Wortbruch in der H1: `overflow-wrap:anywhere` bricht an
   beliebiger Stelle, noch bevor die deutsche Silbentrennung greifen
   kann - „Fuhrparkmana-gement" wird dann zu „Fuhrparkmanag-ement".
   `break-word` bricht nur, wenn ein Wort allein nicht in die Zeile
   passt, und überlässt den Rest der Trennung. */
h1,h2,h3,.hero h1,.svc-hero h1{
  overflow-wrap:break-word!important;word-break:normal!important;
  hyphens:auto;-webkit-hyphens:auto;
}

body{font-size:17px;line-height:1.62;letter-spacing:-.004em;
  -webkit-font-smoothing:antialiased;font-synthesis-weight:none}
p,li{max-width:74ch}
@media(max-width:700px){p,li{max-width:none}}

.ey,.eyebrow,.seo-ey,.lp-ey,.cp-ey{
  font-size:.7rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
}
.lead,.sub,.svc-hero .lead,.cp-lead,.lp-lead,.ws-lead{
  font-size:clamp(1.05rem,1rem + .35vw,1.2rem);line-height:1.6;font-weight:400;
}

/* ------------------------------------------------------------------
   4. Flächen – nur Kante, Radius, Schatten. Kein Grund.
   Die Radien der Seite reichen von 9 bis 30 Pixeln; das wirkt
   zufällig. Vier Stufen, nach Größe des Bausteins.
   ------------------------------------------------------------------ */
.card,.svc-card,.svc-step,.fw-scope-card,.fw-price-card,.fw-addons article,
.fw-preview-window,.fw-trust-facts article,.seo-card,.lp-card,.cp-box,
.ws-card,.fw-contact-form,.fw-price-faq>div,.fw-security-card,
.svc-roles article,.fw-model-card,.module{
  border-radius:var(--r-md);
  box-shadow:var(--sh-1);
  transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease;
}
.fw-model-card,.fw-founder-offer,.svc-final,.fw-price-cta,.svc-pricebox,
.fw-contact-form,.productshot,.featurepanel{border-radius:var(--r-lg)}
.fw-price-card.featured{box-shadow:var(--sh-2)}
a.seo-card:hover,a.lp-card:hover{box-shadow:var(--sh-2);transform:translateY(-2px)}
.svc-card{min-height:0!important;padding:var(--s-6)!important}
.svc-num,.fw-scope-no,.fw-security-icon{border-radius:var(--r-xs)}

/* ------------------------------------------------------------------
   5. Schaltflächen
   Form, Größe, Gewicht - die Farben bleiben, wie die Seite sie setzt.
   46 Pixel Höhe, damit sie auf dem Handy sicher zu treffen sind.
   ------------------------------------------------------------------ */
.btn,.fw-cta,.seo-button,.lp-btn,.cp-btn,.ws-button,
.svc-actions .btn,.svc-final .btn{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:46px;padding:.7rem 1.15rem!important;border-radius:var(--r-sm)!important;
  font-weight:700!important;font-size:.95rem;letter-spacing:-.005em;
  text-decoration:none!important;
  transition:transform .12s ease,box-shadow .16s ease;
}
.btn:hover,.fw-cta:hover,.svc-actions .btn:hover,.svc-final .btn:hover{
  transform:translateY(-1px);box-shadow:var(--sh-2);
}

a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid currentColor!important;outline-offset:2px!important;border-radius:4px;
}

/* ------------------------------------------------------------------
   6. Rhythmus
   Die Abschnitte standen zwischen 36 und 110 Pixeln auseinander. Ein
   gleichmäßiger Takt macht eine lange Seite erst erfassbar.
   ------------------------------------------------------------------ */
.svc-section,.section,.fw-scope,.fw-pricing,.fw-team-security,.fw-product-preview{
  padding-top:var(--section)!important;padding-bottom:var(--section)!important;
}
.svc-hero{padding:clamp(48px,5.5vw,74px) 0 clamp(44px,5vw,66px)!important}
.svc-heading{margin-bottom:var(--s-8)!important;gap:var(--s-10)!important}
.svc-grid,.fw-scope-grid,.fw-price-grid,.svc-steps,.fw-preview-grid,
.seo-cards,.cards,.module-grid{gap:var(--s-4)!important}
.fw-price-hints{margin:var(--s-5) 0 var(--s-4)!important}
.fw-addons,.fw-price-faq,.fw-price-cta{margin-top:var(--s-4)!important}
.fw-price-card,.fw-model-card{padding:var(--s-6)!important}
.fw-price-for{min-height:0!important}

/* Kopfzeile: 76 auf 68 Pixel. Sie soll begleiten, nicht dominieren.
   Dazu die Sprungziele, die sonst darunter verschwinden. */
.fw-nav,.fw-nav-wrap{height:68px!important;min-height:68px!important}
.fw-nav{backdrop-filter:saturate(1.4) blur(14px)!important}
html{scroll-padding-top:84px;-webkit-text-size-adjust:100%}
h1,h2,h3,[id]{scroll-margin-top:92px}
.fw-links>a,.fw-services>summary{font-weight:600!important;font-size:.93rem}
.fw-dropdown{border-radius:var(--r-md);box-shadow:var(--sh-3)}
.fw-dropdown a{border-radius:var(--r-xs)}

/* ------------------------------------------------------------------
   7. Häufige Fragen
   Vorher eine Wand aus Text. Als ruhige Liste mit eigenem
   Aufklapp-Zeichen ist sie überfliegbar.
   ------------------------------------------------------------------ */
.seo-faq details{border-radius:var(--r-sm);margin:.5rem 0;overflow:hidden}
.seo-faq summary{
  list-style:none;cursor:pointer;position:relative;
  padding:.95rem 2.6rem .95rem 1.05rem;font-weight:650;
}
.seo-faq summary::-webkit-details-marker{display:none}
.seo-faq summary::after{
  content:"";position:absolute;right:1.05rem;top:1.25rem;width:9px;height:9px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  opacity:.45;transform:rotate(45deg);transition:transform .18s ease;
}
.seo-faq details[open] summary::after{transform:rotate(-135deg);top:1.45rem}
.seo-faq details>p{margin:0;padding:0 1.05rem 1.05rem}

/* ------------------------------------------------------------------
   8. Lesbarkeit im Inhalt
   Unterstreichungen mit Abstand statt durch die Unterlängen hindurch.
   Nur Dicke und Lage - die Verweisfarbe bleibt.
   ------------------------------------------------------------------ */
.seo-copy a,.seo-body a,.svc-section p a,.lead a,.fine a,.seo-foot-note a{
  text-decoration-line:underline;text-decoration-thickness:1px;
  text-underline-offset:.18em;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);
}
.seo-copy a:hover,.seo-body a:hover,.svc-section p a:hover{text-decoration-color:currentColor}

.seo-body table,.svc-section table{
  width:100%;border-collapse:collapse;font-size:.94rem;
  border-radius:var(--r-sm);overflow:hidden;
}
.seo-body th,.svc-section th{
  text-align:left;font-size:.74rem;letter-spacing:.07em;text-transform:uppercase;
  font-weight:700;padding:.65rem .85rem;
}
.seo-body td,.svc-section td{padding:.65rem .85rem}
img{max-width:100%;height:auto}
.seo-body img,.svc-section img{border-radius:var(--r-md)}
.fw-preview-window>header{padding:.6rem .9rem!important}
.fw-mini-kpis i,.fw-preview-line{border-radius:var(--r-xs)!important;font-size:.82rem}
.fw-mini-kpis b{font-size:1.18rem!important;font-weight:750;letter-spacing:-.02em}
.svc-fit{padding:var(--s-6)!important}
.fw-field input,.fw-field select,.fw-field textarea{
  border-radius:var(--r-sm)!important;padding:.78rem .9rem!important;
}
.fw-field label,.fw-field>span{font-weight:650!important;font-size:.88rem}
.fw-option{border-radius:var(--r-sm)!important}

/* ------------------------------------------------------------------
   9. Handy
   ------------------------------------------------------------------ */
@media(max-width:700px){
  body{font-size:16px}
  .fw-nav,.fw-nav-wrap{height:60px!important;min-height:60px!important}
  html{scroll-padding-top:72px}
  .svc-grid,.fw-scope-grid,.fw-price-grid,.svc-steps,.seo-cards,.cards,
  .module-grid{gap:var(--s-3)!important}
  .card,.svc-card,.fw-price-card,.fw-scope-card,.seo-card{padding:var(--s-5)!important}
  .svc-actions .btn,.hero-actions .btn,.fw-price-card>.btn{width:100%;min-height:50px}
  .hero h1{font-size:clamp(2rem,8.5vw,2.9rem)!important;line-height:1.08!important}
  h2{font-size:clamp(1.6rem,6.5vw,2.1rem)!important}
  .seo-faq summary{padding:.85rem 2.3rem .85rem .9rem}
  .seo-faq details>p{padding:0 .9rem .9rem}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  a.seo-card:hover,.btn:hover,.fw-cta:hover{transform:none!important}
}
