/*
  ╔══════════════════════════════════════════════════════════╗
  ║  RICHTER IMMOBILIEN – Wir kaufen                         ║
  ║  Global CSS                                              ║
  ║                                                          ║
  ║  Einbinden: Elementor → Seite bearbeiten →               ║
  ║  Einstellungen → Custom CSS                              ║
  ║  ODER: als erstes HTML-Widget oben auf der Seite         ║
  ╚══════════════════════════════════════════════════════════╝
*/

/* Fonts kommen self-hosted aus /assets/fonts/instrument-sans.css (Layout-Shell,
   build.mjs) — das frühere Google-Fonts-@import wurde 2026-08-04 entfernt (DSGVO). */

/* ═══════════════════════════════════════════════════════════
   SVG RESET – verhindert Elementor/Theme fill:currentColor
═══════════════════════════════════════════════════════════ */
[class*="wk-"] svg {
  fill: none;
}
/* Ausnahmen die explizit gefüllt sein sollen */
[class*="wk-"] svg[fill]:not([fill="none"]) {
  fill: currentColor;
}


[class*="wk-"] {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
[class*="wk-"]::before,
[class*="wk-"]::after {
  box-sizing: border-box;
}


/* ═══════════════════════════════════════════════════════════
   FARBEN (Variablen)
═══════════════════════════════════════════════════════════ */
:root {
  --wk-blue-dark:    #103A66;
  --wk-blue:         #004A95;
  --wk-blue-mid:     #2B589D;
  --wk-blue-light:   #1E66B3;
  --wk-blue-hover:   #003B78;
  --wk-bg-1:         #F8FAFC;
  --wk-bg-2:         #F2F6FB;
  --wk-bg-icon:      #EEF4FB;
  --wk-white:        #FFFFFF;
  --wk-text-dark:    #103A66;
  --wk-text-mid:     #1F3A5A;
  --wk-text-body:    #4A6580;
  --wk-text-muted:   #7A94A8;
  --wk-border:       #D8E6F2;
  --wk-border-dark:  #A8C4DC;
  --wk-overlay:      rgba(14, 24, 36, 0.72);
  --wk-dark-bg:      #0E1824;
}


/* ═══════════════════════════════════════════════════════════
   SECTION – Grundstruktur
═══════════════════════════════════════════════════════════ */
.wk-section {
  font-family: "Instrument Sans", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  padding: 100px 40px !important;
}
.wk-section--bg1  { background: var(--wk-bg-1) !important; }
.wk-section--bg2  { background: var(--wk-bg-2) !important; }
.wk-section--dark { background: var(--wk-dark-bg) !important; }
.wk-section--blue { background: var(--wk-blue-mid) !important; }

.wk-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.wk-inner--narrow { max-width: 860px; }
.wk-inner--center { text-align: center; }

.wk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.wk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wk-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}


/* ═══════════════════════════════════════════════════════════
   TYPOGRAFIE
═══════════════════════════════════════════════════════════ */

/* Eyebrow / Label */
.wk-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  /* 20px → 28px: global mehr Luft zwischen Eyebrow und H2 (Feedback Ralf, Mail 01) */
  margin-bottom: 28px !important;
}
.wk-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--wk-blue-light) !important;
}
.wk-eyebrow--white .wk-eyebrow__dot { background: rgba(255,255,255,0.5) !important; }
.wk-eyebrow__text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  color: var(--wk-blue-light) !important;
}
.wk-eyebrow--white .wk-eyebrow__text { color: rgba(255,255,255,0.6) !important; }
.wk-eyebrow--center { justify-content: center; }

/* H1 */
.wk-h1 {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(38px, 5.5vw, 64px) !important;
  font-weight: 600 !important;
  line-height: 1.1em !important;
  letter-spacing: -0.8px !important;
  color: var(--wk-white) !important;
  text-decoration: none !important;
  text-transform: none !important;
}
.wk-h1--italic { font-style: italic !important; color: rgba(255,255,255,0.75) !important; }

/* ═══════════════════════════════════════════════════════════
   HERO SYSTEM – Ken Burns + Entrance Animations
   Verwendung:
   <section class="wk-section wk-section--dark wk-hero" id="...">
     <div class="wk-hero__bg" style="background-image:url('...');"></div>
     <div class="wk-hero__overlay"></div>
     <div class="wk-inner wk-inner--narrow wk-inner--center" style="position:relative;z-index:2;">
       ...Inhalt mit .wk-fade Klassen...
     </div>
   </section>
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   HERO-TEMPLATE A: Leistung-Stil (.wk-hero)
   Zentriert, Ken Burns BG, Eyebrow + Line-Reveal-Headline +
   animierter Divider + Sub + optional CTAs/Pills
   IntersectionObserver fügt `.is-visible` hinzu → triggert Animation
   ═══════════════════════════════════════════════════════════ */
.wk-hero {
  position: relative !important;
  overflow: hidden !important;
  background: #0E1824 !important;
  font-family: "Instrument Sans", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  padding: 160px 40px 120px !important;
  /* Einheitliche Hero-Höhe (mail-15): Boden ≈ Über-uns-Hero. Reiner Floor (kein Cap)
     + vertikal zentrierter Inhalt → kürzere Heroes wachsen hoch, nichts wird geclippt. */
  min-height: 768px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.wk-hero svg { fill: none !important; }

.wk-hero__bg {
  position: absolute !important;
  inset: -4% !important;                /* weniger Overscan → Bild wirkt nicht so groß/herangezoomt (Feedback Ralf) */
  background-size: cover !important;
  background-position: center !important;
  animation: wkKenBurns 26s linear infinite alternate !important;
  will-change: transform;
  z-index: 0;
}
@keyframes wkKenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1.5%, 1%); }
}

.wk-hero__overlay {
  position: absolute !important;
  inset: 0 !important;
  /* Kanonisch (mail-15 Hero-Durchgang): dunkel links, Bild rechts hell — Text links lesbar,
     rechte Bildhälfte bleibt sichtbar (Feedback Ralf: „rechter Teil nicht so dunkel"). */
  background: linear-gradient(100deg,
    rgba(11,42,74,0.92) 0%,
    rgba(13,50,88,0.80) 30%,
    rgba(16,58,102,0.45) 56%,
    rgba(16,58,102,0.10) 78%,
    rgba(16,58,102,0) 100%) !important;
  z-index: 1;
}
@media (max-width: 880px) {
  /* Mobil liegt das Foto komplett hinter dem Text → vertikaler Verlauf für Lesbarkeit. */
  .wk-hero__overlay {
    background: linear-gradient(180deg, rgba(11,42,74,0.86) 0%, rgba(13,50,88,0.62) 50%, rgba(11,42,74,0.86) 100%) !important;
  }
}
.wk-hero__overlay--left {
  background: linear-gradient(105deg, rgba(14,24,36,0.82) 0%, rgba(14,24,36,0.55) 55%, rgba(14,24,36,0.25) 100%) !important;
}

.wk-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 0 0 24px;       /* linksbündig mit einheitlichem Einzug (= .ho_hero__inner) */
  text-align: left;
}

/* Back-Link (optional, oben links über dem zentrierten Inhalt) */
.wk-hero__back {
  position: absolute;
  /* -90px ließ eine sehr große Lücke zum Eyebrow darunter (Feedback Tunahan) */
  top: -64px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: color 0.2s ease, gap 0.2s ease;
}
.wk-hero.is-visible .wk-hero__back {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s, color 0.2s ease, gap 0.2s ease;
}
.wk-hero__back:hover { color: #fff; gap: 12px; }
.wk-hero__back svg { width: 16px !important; height: 16px !important; transition: transform 0.2s ease; }
.wk-hero__back:hover svg { transform: translateX(-3px); }
@media (max-width: 880px) {
  .wk-hero__back { position: static; margin-bottom: 36px; }
}

/* Eyebrow */
.wk-hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.wk-hero.is-visible .wk-hero__eyebrow { opacity: 1; transform: translateY(0); }
.wk-hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6) !important;
  flex-shrink: 0;
}
.wk-hero__eyebrow-text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1 !important;
}

/* Headline mit Line-Reveal — beide Selektor-Patterns supported:
   .wk-hero__line  (BEM-konsistent)
   .wk-h1-line     (Legacy from Home) */
.wk-hero__headline { margin: 0 0 24px; max-width: 560px; }
.wk-hero__line,
.wk-hero .wk-h1-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.16em;     /* Unterlängen (g/y/ß) nicht abschneiden trotz overflow:hidden */
  margin-bottom: -0.16em;
}
.wk-hero__line > span,
.wk-hero .wk-h1-line span {
  display: block;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(30px, 3.4vw, 46px) !important;   /* einheitliche Hero-Schriftgröße (= Start/Über-uns) */
  font-weight: 600 !important;
  line-height: 1.12em !important;
  letter-spacing: -0.8px !important;
  color: #FFFFFF !important;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  text-transform: none !important;
}
.wk-hero__line--italic > span { font-style: italic !important; color: rgba(255,255,255,0.75) !important; }
.wk-hero.is-visible .wk-hero__line:nth-child(1) > span,
.wk-hero.is-visible .wk-h1-line:nth-child(1) span { transform: translateY(0); transition-delay: 0.35s; }
.wk-hero.is-visible .wk-hero__line:nth-child(2) > span,
.wk-hero.is-visible .wk-h1-line:nth-child(2) span { transform: translateY(0); transition-delay: 0.50s; }
.wk-hero.is-visible .wk-hero__line:nth-child(3) > span,
.wk-hero.is-visible .wk-h1-line:nth-child(3) span { transform: translateY(0); transition-delay: 0.65s; }
.wk-hero.is-visible .wk-hero__line:nth-child(4) > span,
.wk-hero.is-visible .wk-h1-line:nth-child(4) span { transform: translateY(0); transition-delay: 0.80s; }

/* Divider */
.wk-hero__divider {
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 28px 0;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.9s;
}
.wk-hero.is-visible .wk-hero__divider { width: 120px; }

/* Sub */
.wk-hero__sub {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.7em !important;
  letter-spacing: 0.01em !important;
  color: rgba(255,255,255,0.8) !important;
  max-width: 460px;
  margin: 0 0 36px;
  text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}
.wk-hero.is-visible .wk-hero__sub { opacity: 1; transform: translateY(0); }

/* Legacy: .wk-sub als alias für .wk-hero__sub (für Home-Page Kompat) */
.wk-sub {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.75em !important;
  letter-spacing: 0.01em !important;
  color: rgba(255,255,255,0.72) !important;
  max-width: 580px;
  margin: 0 auto 44px;
}

/* CTAs */
.wk-hero__ctas {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 1.1s, transform 0.7s ease 1.1s;
}
.wk-hero.is-visible .wk-hero__ctas { opacity: 1; transform: translateY(0); }

.wk-hero__btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 15px 28px !important;
  background: #FFFFFF !important;
  color: #103A66 !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 7px !important;
  cursor: pointer;
  line-height: 1.2 !important;
  white-space: nowrap;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.wk-hero__btn-primary:hover { background: #EEF4FB !important; color: #103A66 !important; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.wk-hero__btn-primary svg { transition: transform 0.22s ease; flex-shrink: 0; }
.wk-hero__btn-primary:hover svg { transform: translateX(4px); }

.wk-hero__btn-ghost {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 20px !important;
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.85) !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 7px !important;
  cursor: pointer;
  line-height: 1.2 !important;
  white-space: nowrap;
  transition: background 0.22s ease, border-color 0.22s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wk-hero__btn-ghost:hover { background: rgba(255,255,255,0.18) !important; border-color: rgba(255,255,255,0.45) !important; color: #FFFFFF !important; }

/* Pills */
.wk-hero__pills {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 52px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.6s ease 1.3s;
}
.wk-hero.is-visible .wk-hero__pills { opacity: 1; }
.wk-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wk-hero__pill-icon {
  width: 15px; height: 15px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.wk-hero__pill-text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1 !important;
}

@media (max-width: 640px) {
  .wk-hero { padding: 130px 20px 80px !important; min-height: 0; }   /* mobil inhaltsgetrieben, kein 768-Floor */
  .wk-hero__ctas { flex-direction: column !important; align-items: stretch !important; }
  .wk-hero__btn-primary, .wk-hero__btn-ghost { width: 100% !important; justify-content: center !important; }
}

/* ═══════════════════════════════════════════════════════════
   HERO-TEMPLATE B: Banner-Stil (.wk-hero-banner)
   Linksbündig, bottom-aligned, mit Tag-Badge + Back-Link +
   großem Titel + Sub. Für Marktberichte / Detail-Pages mit
   spezifischem Kontext-Foto. Keine Line-Reveal-Animation.
   ═══════════════════════════════════════════════════════════ */
.wk-hero-banner {
  position: relative;
  padding: 180px 40px 80px;
  min-height: 480px;
  color: #fff;
  overflow: hidden;
  background: #0E1824;
  display: flex;
  align-items: flex-end;
  font-family: "Instrument Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wk-hero-banner svg { fill: none; }
@media (max-width: 720px) { .wk-hero-banner { padding: 130px 20px 56px; min-height: 380px; } }

/* Abdunklung des Banner-Heros — gilt für Marktberichte UND Blog-Beiträge.
   Historie: Bis 2026-08-25 lag hier brightness(0.6) + Verlauf 0.4/0.7/0.92; das
   machte aus hellen Motiven Nacht. Ralf hat es zuerst für den Blog-Beitrag
   angemerkt (dort zunächst als Per-Page-Override gelöst), am 2026-08-28 dann
   auch für die Marktberichte — deshalb jetzt zentral hier, und der Override in
   pages/beitrag-*.html ist entfallen.
   Der Verlauf bleibt unten kräftig: Titel, Untertitel und der zarte
   „Zurück"-Link (70 % Weiß, 13 px) sitzen im unteren Bilddrittel.
   Der text-shadow sichert sie über hellen Bildstellen ab — gemessen über alle
   18 Marktbericht-Motive, siehe CHANGELOG 2026-08-28. */
.wk-hero-banner__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92);
  z-index: 0;
}
/* Zwei Abdunklungen, dazwischen bleibt das Foto hell:
   OBEN ein schmales Band hinter der Navigation. Nötig, weil .ri-hdr im
   ungescrollten Zustand transparent ist (sections/nav.html) — die Lesbarkeit
   von Logo und Menü hing bisher allein daran, dass der Hero dunkel war. Ohne
   dieses Band steht weißes Menü z. B. beim Lindenhof-Motiv auf heller Fassade.
   UNTEN der kräftige Verlauf für Titel, Untertitel und Zurück-Link.
   Dazwischen (20–40 %) ist die Abdunklung minimal — das ist die Bildfläche,
   die Ralf sichtbar haben wollte. */
.wk-hero-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,24,36,0.55) 0%,
    rgba(14,24,36,0.26) 10%,
    rgba(14,24,36,0.08) 20%,
    rgba(14,24,36,0.26) 40%,
    rgba(14,24,36,0.55) 62%,
    rgba(14,24,36,0.86) 100%);
  z-index: 1;
}
.wk-hero-banner__title,
.wk-hero-banner__sub { text-shadow: 0 1px 14px rgba(14,24,36,0.55); }
.wk-hero-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
/* Der Zurück-Link ist das schwächste Element im Hero: 13 px bei zuvor nur 70 %
   Weiß. Auf dem alten, stark abgedunkelten Banner trug das (gemessen 9–13:1);
   seit der Aufhellung 2026-08-28 fiel es je nach Motiv auf bis zu 2,2:1.
   Deshalb kräftigeres Weiß + zweistufiger Halo (enge Kante + weiter Schein),
   statt den Verlauf wieder hochzuziehen — das hätte Ralfs Anmerkung
   zurückgenommen. Titel/Sub reicht der weiche Schatten oben. */
.wk-hero-banner__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 2px rgba(14,24,36,0.95), 0 2px 16px rgba(14,24,36,0.85);
  font-size: 13px; font-weight: 500;
  margin-bottom: 36px;
  transition: color 0.18s ease, gap 0.18s ease;
}
.wk-hero-banner__back:hover { color: #fff; gap: 12px; }
.wk-hero-banner__back svg { width: 16px; height: 16px; }
.wk-hero-banner__tag {
  display: inline-block;
  background: var(--color-brand-main, #004A95);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.wk-hero-banner__title {
  /* Netz gegen überlaufende Komposita (Mobil-Audit 2026-08-08).
     Der 36px-Boden des clamp() ist bei 320–400px breiter als die Textspalte;
     ohne Trennung lief „Eigentumswohnungen" aus der Box und wurde vom
     overflow:hidden des Banners abgeschnitten. Die schöne Fuge setzt
     build.mjs per weichem Trennzeichen (siehe weicheTrennung()) — `auto`
     fängt nur ab, was dort noch nicht hinterlegt ist.
     Gemessen: Desktop 1440 rendert unverändert (2 Zeilen, 539/615px). */
  hyphens: auto;
  -webkit-hyphens: auto;
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 22px;
  color: #fff;
  text-wrap: balance;
}
.wk-hero-banner__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

/* H2 */
.wk-h2 {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.15em !important;
  letter-spacing: -0.4px !important;
  color: var(--wk-blue-dark) !important;
  margin-bottom: 20px !important;
}
.wk-h2--white { color: var(--wk-white) !important; }
.wk-h2--center { text-align: center; }

/* H3 */
.wk-h3 {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3em !important;
  letter-spacing: -0.1px !important;
  color: var(--wk-blue-dark) !important;
  margin-bottom: 14px !important;
}
.wk-h3--white { color: var(--wk-white) !important; }

/* Lead */
.wk-lead {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.75em !important;
  letter-spacing: 0.01em !important;
  color: var(--wk-text-mid) !important;
  margin-bottom: 20px !important;
}
.wk-lead--white { color: rgba(255,255,255,0.9) !important; }
.wk-lead--muted { color: var(--wk-text-body) !important; }

/* Body */
.wk-body {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.8em !important;
  letter-spacing: 0.01em !important;
  color: var(--wk-text-body) !important;
  margin-bottom: 18px !important;
}
.wk-body--white { color: rgba(255,255,255,0.72) !important; }
.wk-body:last-child { margin-bottom: 0; }

/* Small */
.wk-small {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.75em !important;
  letter-spacing: 0.01em !important;
  color: var(--wk-text-body) !important;
}
.wk-small--white { color: rgba(255,255,255,0.65) !important; }

/* Subline (hero, cta) */
.wk-sub {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.75em !important;
  letter-spacing: 0.01em !important;
  color: rgba(255,255,255,0.72) !important;
  margin-bottom: 44px !important;
}


/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.wk-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 15px 28px !important;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  border-radius: 7px !important;
  border: none !important;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.wk-btn svg { flex-shrink: 0; transition: transform 0.22s ease; }

/* Primary – dunkelblau */
.wk-btn--primary {
  background: var(--wk-blue) !important;
  color: var(--wk-white) !important;
}
.wk-btn--primary:hover {
  background: var(--wk-blue-hover) !important;
  color: var(--wk-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,74,149,0.3);
  text-decoration: none !important;
}
.wk-btn--primary:hover svg { transform: translateX(4px); }

/* White – auf blauem Hintergrund */
.wk-btn--white {
  background: var(--wk-white) !important;
  color: var(--wk-blue-dark) !important;
}
.wk-btn--white:hover {
  background: var(--wk-bg-icon) !important;
  color: var(--wk-blue-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  text-decoration: none !important;
}
.wk-btn--white:hover svg { transform: translateX(4px); }

/* Ghost – auf dunklem BG (Hero) */
.wk-btn--ghost {
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-weight: 500 !important;
}
.wk-btn--ghost:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.45) !important;
  color: var(--wk-white) !important;
  text-decoration: none !important;
}

/* White – auf dunklem/blauem BG (Hero Hauptbutton) */
.wk-btn--white {
  background: var(--wk-white) !important;
  color: var(--wk-blue-dark) !important;
  border: none !important;
}
.wk-btn--white:hover {
  background: #EEF4FB !important;
  color: var(--wk-blue-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  text-decoration: none !important;
}
.wk-btn--white:hover svg { transform: translateX(4px); }
  background: transparent !important;
  color: var(--wk-white) !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
}
.wk-btn--outline:hover {
  border-color: rgba(255,255,255,0.7) !important;
  background: rgba(255,255,255,0.08) !important;
  color: var(--wk-white) !important;
  text-decoration: none !important;
}

/* Ghost – auf dunklem BG */
.wk-btn--ghost {
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(4px);
}
.wk-btn--ghost:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.45) !important;
  color: var(--wk-white) !important;
  text-decoration: none !important;
}

/* CTA row */
.wk-ctas {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.wk-ctas--left { justify-content: flex-start !important; }


/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.wk-card {
  background: var(--wk-white) !important;
  border: 1px solid var(--wk-border);
  border-radius: 7px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.wk-card--hover {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.wk-card--hover:hover {
  box-shadow: 0 12px 40px rgba(16,58,102,0.12);
  border-color: var(--wk-border-dark);
}

/* Top accent bar on hover */
.wk-card--hover::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--wk-blue) !important;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.wk-card--hover:hover::before { transform: scaleX(1); }

/* Card with hover image */
.wk-card--img-hover .wk-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.55s ease, transform 0.55s ease;
  z-index: 0;
}
.wk-card--img-hover:hover .wk-card-bg { opacity: 1; transform: scale(1); }

.wk-card--img-hover .wk-card-overlay {
  position: absolute; inset: 0;
  background: var(--wk-overlay);
  opacity: 0;
  transition: opacity 0.55s ease;
  z-index: 1;
}
.wk-card--img-hover:hover .wk-card-overlay { opacity: 1; }

.wk-card--img-hover > *:not(.wk-card-bg):not(.wk-card-overlay) {
  position: relative;
  z-index: 2;
}

/* Color transitions on hover */
.wk-card--img-hover:hover .wk-h3 { color: var(--wk-white) !important; }
.wk-card--img-hover:hover .wk-body { color: rgba(255,255,255,0.75) !important; }
.wk-card--img-hover:hover .wk-card-divider { background: rgba(255,255,255,0.3) !important; opacity: 1; }
.wk-card--img-hover:hover .wk-card-icon { background: rgba(255,255,255,0.15) !important; }
.wk-card--img-hover:hover .wk-card-icon svg { stroke: var(--wk-white); }
.wk-card--img-hover:hover .wk-card-num { color: rgba(255,255,255,0.06) !important; }

/* Card Icon */
.wk-card-icon {
  width: 52px; height: 52px;
  background: var(--wk-bg-icon) !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background 0.35s ease;
  position: relative; z-index: 2;
}
.wk-card-icon svg { width: 24px; height: 24px; stroke: var(--wk-blue); fill: none; transition: stroke 0.35s ease; }
.wk-card--img-hover:hover .wk-card-icon { background: rgba(255,255,255,0.2) !important; }
.wk-card--img-hover:hover .wk-card-icon svg { stroke: var(--wk-white); }

/* Card number – only on non-image cards */
.wk-card-num {
  position: absolute; top: 24px; right: 26px;
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: rgba(0,74,149,0.06) !important;
  pointer-events: none; user-select: none;
  transition: color 0.35s ease;
}
.wk-card--img-hover .wk-card-num { display: none; }

/* Card divider */
.wk-card-divider {
  width: 28px; height: 2px;
  background: var(--wk-blue) !important;
  margin-bottom: 16px;
  opacity: 0.3;
  transition: background 0.35s ease, opacity 0.35s ease;
}


/* ═══════════════════════════════════════════════════════════
   BLUE BOX (embedded, not full-width)
═══════════════════════════════════════════════════════════ */
.wk-blue-box {
  background: var(--wk-blue) !important;
  border-radius: 7px;
  padding: 36px 36px;
}
.wk-blue-box--mid { background: var(--wk-blue-mid) !important; }

.wk-blue-box .wk-box-label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  margin-bottom: 14px !important;
  line-height: 1 !important;
}
.wk-blue-box .wk-h3 { color: var(--wk-white) !important; font-size: 17px !important; margin-bottom: 20px !important; }
.wk-blue-box .wk-body { color: rgba(255,255,255,0.7) !important; }
.wk-blue-box .wk-small { color: rgba(255,255,255,0.65) !important; }


/* ═══════════════════════════════════════════════════════════
   WHITE BOX
═══════════════════════════════════════════════════════════ */
.wk-white-box {
  background: var(--wk-white) !important;
  border: 1px solid var(--wk-border);
  border-radius: 7px;
  padding: 28px 32px;
}
.wk-white-box .wk-box-label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  color: var(--wk-text-muted) !important;
  margin-bottom: 10px !important;
  line-height: 1 !important;
}


/* ═══════════════════════════════════════════════════════════
   STAT BOXES
═══════════════════════════════════════════════════════════ */
.wk-stat {
  padding: 28px 30px;
  border-radius: 7px;
}
/* Auf hellem BG */
.wk-stat--white {
  background: var(--wk-white) !important;
  border: 1px solid var(--wk-border);
}
/* Auf hellem BG – blau akzent */
.wk-stat--blue {
  background: var(--wk-blue) !important;
  border: none;
}
/* Auf blauem BG – helles Glas */
.wk-stat--glass {
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}
.wk-stat--glass-accent {
  background: rgba(255,255,255,0.22) !important;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}

.wk-stat__label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.1em !important; text-transform: uppercase !important;
  line-height: 1 !important; margin-bottom: 12px !important;
  display: block;
}
.wk-stat--white .wk-stat__label { color: var(--wk-text-muted) !important; }
.wk-stat--blue  .wk-stat__label { color: rgba(255,255,255,0.65) !important; }
.wk-stat--glass .wk-stat__label,
.wk-stat--glass-accent .wk-stat__label { color: rgba(255,255,255,0.65) !important; }

.wk-stat__number {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 52px !important; font-weight: 700 !important;
  line-height: 1 !important; letter-spacing: -1px !important;
  margin-bottom: 12px !important; display: block;
}
.wk-stat--white .wk-stat__number { color: var(--wk-blue-dark) !important; }
.wk-stat--blue  .wk-stat__number { color: #FFFFFF !important; }
.wk-stat--glass .wk-stat__number,
.wk-stat--glass-accent .wk-stat__number { color: #FFFFFF !important; }

.wk-stat__desc {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important; font-weight: 400 !important;
  line-height: 1.65em !important; display: block;
}
.wk-stat--white .wk-stat__desc { color: var(--wk-text-body) !important; }
.wk-stat--blue  .wk-stat__desc { color: rgba(255,255,255,0.8) !important; }
.wk-stat--glass .wk-stat__desc,
.wk-stat--glass-accent .wk-stat__desc { color: rgba(255,255,255,0.8) !important; }

/* Mini stats */
.wk-mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wk-mini-stat { padding: 22px 24px; border-radius: 7px; }
.wk-mini-stat--white {
  background: var(--wk-white) !important;
  border: 1px solid var(--wk-border);
}
.wk-mini-stat--glass {
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
}

.wk-mini-stat__num {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 32px !important; font-weight: 700 !important;
  line-height: 1 !important; letter-spacing: -0.5px !important;
  margin-bottom: 8px !important; display: block;
}
.wk-mini-stat--white .wk-mini-stat__num { color: var(--wk-blue-dark) !important; }
.wk-mini-stat--glass .wk-mini-stat__num { color: #FFFFFF !important; }

.wk-mini-stat__label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important; font-weight: 400 !important;
  line-height: 1.5 !important; display: block;
}
.wk-mini-stat--white .wk-mini-stat__label { color: var(--wk-text-muted) !important; }
.wk-mini-stat--glass .wk-mini-stat__label { color: rgba(255,255,255,0.65) !important; }


/* ═══════════════════════════════════════════════════════════
   CHECKLIST
═══════════════════════════════════════════════════════════ */
.wk-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.wk-list__item { display: flex; align-items: flex-start; gap: 12px; }

.wk-list__dot {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  /* 5px zentriert den 20px-Kreis auf der ersten Textzeile:
     17px × 1.8 = 30.6px Zeilenbox → (30.6 − 20) / 2 ≈ 5
     (Tunahan 2026-08-19, vorher 2px = Kreis saß zu hoch). */
  flex-shrink: 0; margin-top: 5px;
}
.wk-list__dot--light { background: var(--wk-bg-icon) !important; border: 1px solid #C8DCEE; }
.wk-list__dot--glass { background: rgba(255,255,255,0.15) !important; border: 1px solid rgba(255,255,255,0.25); }
.wk-list__dot svg { width: 9px; height: 9px; }
.wk-list__dot--light svg { stroke: var(--wk-blue); }
.wk-list__dot--glass svg { stroke: var(--wk-white); }

.wk-list__text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 17px !important; font-weight: 400 !important;
  line-height: 1.8em !important; color: var(--wk-text-body) !important;
}
.wk-list__text--white { color: rgba(255,255,255,0.8) !important; }
.wk-list__text strong { font-weight: 600 !important; color: var(--wk-blue-dark) !important; }
.wk-list__text--white strong { color: var(--wk-white) !important; }


/* ═══════════════════════════════════════════════════════════
   TRUST PILLS
═══════════════════════════════════════════════════════════ */
.wk-pills { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 52px; }
.wk-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wk-pill__icon { width: 15px; height: 15px; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.wk-pill__text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important; font-weight: 500 !important;
  color: rgba(255,255,255,0.9) !important; line-height: 1 !important;
}

/* Light pills */
.wk-pill--light {
  background: var(--wk-white) !important;
  border-color: var(--wk-border);
}
.wk-pill--light .wk-pill__icon { color: var(--wk-blue-mid); }
.wk-pill--light .wk-pill__text { color: var(--wk-blue-dark) !important; }


/* ═══════════════════════════════════════════════════════════
   FORM FIELDS
═══════════════════════════════════════════════════════════ */
.wk-field { display: flex; flex-direction: column; gap: 6px; }
.wk-label {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important; font-weight: 600 !important;
  color: var(--wk-blue-dark) !important; line-height: 1 !important;
}
.wk-input {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 15px !important; font-weight: 400 !important;
  color: var(--wk-blue-dark) !important; line-height: 1.2 !important;
  padding: 13px 16px;
  background: var(--wk-bg-1) !important;
  border: 1px solid var(--wk-border);
  border-radius: 6px;
  outline: none; width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.wk-input:focus {
  border-color: var(--wk-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,74,149,0.1) !important;
  background: var(--wk-white) !important;
}
.wk-input::placeholder { color: #A0B4C8; }
textarea.wk-input { resize: vertical; min-height: 110px; line-height: 1.6; }

.wk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wk-form-fields { display: flex; flex-direction: column; gap: 14px; }

.wk-consent { display: flex; align-items: flex-start; gap: 10px; }
.wk-consent__check {
  width: 18px; height: 18px; border: 1.5px solid #C8DCEE; border-radius: 3px;
  background: var(--wk-bg-1) !important; flex-shrink: 0; margin-top: 1px;
  cursor: pointer; -webkit-appearance: none; appearance: none; outline: none;
  transition: all 0.2s;
}
.wk-consent__check:checked {
  background: var(--wk-blue-dark) !important; border-color: var(--wk-blue-dark);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.wk-consent__text {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 12px !important; font-weight: 400 !important;
  color: var(--wk-text-muted) !important; line-height: 1.55 !important;
}
.wk-consent__text a { color: var(--wk-blue); text-decoration: none; }


/* ═══════════════════════════════════════════════════════════
   SECTION HEADER (zentriert)
═══════════════════════════════════════════════════════════ */
.wk-section-header { text-align: center; margin-bottom: 56px; }
.wk-section-header .wk-h2 { max-width: 580px; margin-left: auto; margin-right: auto; }
.wk-section-header .wk-lead { max-width: 520px; margin-left: auto; margin-right: auto; }


/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */

/* ── Page-Loader Reveal-Gate ──────────────────────────────────────────
   Hero-/Fade-Einblendungen dürfen erst starten, wenn der Page-Loader fertig
   ausgeblendet ist. Solange `html.ri-loading` aktiv ist (Loader sichtbar inkl.
   Fade-out), werden die Keyframe-Animationen pausiert bzw. die Transition-
   Initialzustände gehalten — mit den exakten Werten der Basis-Regeln, damit beim
   Freigeben sauber von Anfang an animiert wird. Greift nur im JS-Pfad
   (no-js setzt `ri-loading` nie → normale Darstellung). */
html.ri-loading .wk-fade.is-visible { animation-play-state: paused !important; }
/* __back fehlte hier: der Zurück-Link lief seine Transition schon während des
   Loaders ab und stand danach einfach da — auf den Objektseiten wirkte es, als
   würde alles außer „Alle Objekte" einanimiert. Werte = Basis-Regel oben. */
html.ri-loading .wk-hero.is-visible .wk-hero__back { opacity: 0 !important; transform: translateX(-8px) !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__eyebrow { opacity: 0 !important; transform: translateY(14px) !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__line > span,
html.ri-loading .wk-hero.is-visible .wk-h1-line span { transform: translateY(110%) !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__divider { width: 0 !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__sub { opacity: 0 !important; transform: translateY(16px) !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__ctas { opacity: 0 !important; transform: translateY(14px) !important; }
html.ri-loading .wk-hero.is-visible .wk-hero__pills { opacity: 0 !important; }
/* Home-Hero (.ho_hero) Sonderfälle: Panel-Wipe + eigener Divider */
html.ri-loading .ho_hero.is-visible .ho_hero__panel { transform: scaleX(0) !important; }
html.ri-loading .ho_hero.is-visible .ho_hero__divider { width: 0 !important; }

.wk-fade { opacity: 0; transform: translateY(22px); }
/* Reveal über ANIMATION (nicht transition): so kann ein eigenes
   transition: … am Element (z.B. Hover-Effekt einer Card) das Reveal
   nicht aushebeln. animation ist unabhängig von transition. */
.wk-fade.is-visible { animation: wkReveal 0.65s ease both; }
@keyframes wkReveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.wk-fade--d1.is-visible { animation-delay: 0.1s; }
.wk-fade--d2.is-visible { animation-delay: 0.25s; }
.wk-fade--d3.is-visible { animation-delay: 0.4s; }
.wk-fade--d4.is-visible { animation-delay: 0.55s; }
.wk-fade--d5.is-visible { animation-delay: 0.7s; }
.wk-fade--d6.is-visible { animation-delay: 0.85s; }

/* ── Initial-Load-Sequenz: Hero zuerst ────────────────────────
   Heros sind nicht 100vh — Sections, die beim Laden schon im Viewport
   stehen, waren mit ihrem Reveal (~0,9s) fertig, bevor die Hero-Headline
   (bis ~1,2s) durch war. Die schnellere Bewegung unten zog den Blick weg
   vom Hero und wieder zurück. Der IO in build.mjs vergibt .ri-hold nur
   an solche Initial-Load-Elemente (nie im Hero, nie beim Scroll-Reveal):
   ihr Delay startet erst, wenn die Headline im Wesentlichen steht. */
.wk-fade.ri-hold.is-visible { animation-delay: 1.45s; }
.wk-fade--d1.ri-hold.is-visible { animation-delay: 1.55s; }
.wk-fade--d2.ri-hold.is-visible { animation-delay: 1.7s; }
.wk-fade--d3.ri-hold.is-visible { animation-delay: 1.85s; }
.wk-fade--d4.ri-hold.is-visible { animation-delay: 2s; }
.wk-fade--d5.ri-hold.is-visible { animation-delay: 2.15s; }
.wk-fade--d6.ri-hold.is-visible { animation-delay: 2.3s; }

/* ── Reveal-Sicherheit & Gating ──────────────────────────────
   Früher: .wk-fade bekam `animation: wkShow 0s 2.5s` — das hat 2,5s nach
   dem Laden ALLE Fade-Elemente bedingungslos eingeblendet, egal ob im
   Viewport. Wer später runterscrollte, sah keine Eingangsanimation mehr.
   Jetzt: Reveal kommt ausschließlich vom IntersectionObserver (build.mjs) —
   feuert sauber beim Scrollen. Als No-JS-Netz wird per `html.no-js`
   (Klasse wird per Inline-Script im <head> entfernt, sobald JS läuft)
   ALLES sofort sichtbar geschaltet. */
html.no-js .wk-fade,
html.no-js .reveal,
html.no-js .wk-hero__back,
html.no-js .wk-hero__eyebrow,
html.no-js .wk-hero__line > span,
html.no-js .wk-hero .wk-h1-line span,
html.no-js .wk-hero__sub,
html.no-js .wk-hero__ctas,
html.no-js .wk-hero__pills {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html.no-js .wk-hero__divider { width: 120px !important; }

/* Barrierefreiheit: keine Bewegungs-Reveals bei „Reduzierte Bewegung" */
@media (prefers-reduced-motion: reduce) {
  .wk-fade,
  .reveal,
  .wk-hero__back,
  .wk-hero__eyebrow,
  .wk-hero__line > span,
  .wk-hero .wk-h1-line span,
  .wk-hero__sub,
  .wk-hero__ctas,
  .wk-hero__pills {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .wk-hero__divider { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   CTA BOX (eingebettet, nicht full-width)
═══════════════════════════════════════════════════════════ */
.wk-cta-section {
  background: transparent !important;
  font-family: "Instrument Sans", sans-serif !important;
  padding: 48px 40px !important;
}
.wk-cta-box {
  max-width: 1290px;
  margin: 0 auto;
  background: var(--wk-blue-mid) !important;
  border-radius: 7px;
  padding: 88px 70px;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════
   TRUST ROW (im CTA)
═══════════════════════════════════════════════════════════ */
.wk-trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.wk-trust-item { display: flex; align-items: center; gap: 8px; }
.wk-trust-item svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.5); }
.wk-trust-item span {
  font-family: "Instrument Sans", sans-serif !important;
  font-size: 13px !important; font-weight: 500 !important;
  color: rgba(255,255,255,0.6) !important; line-height: 1 !important;
}


/* ═══════════════════════════════════════════════════════════
   STEPS / TIMELINE
   Vertikale, nummerierte Schrittfolge mit Scroll-Fill-Linie.
   Funktioniert mit beliebiger Step-Anzahl — JS auto-init im
   build.mjs htmlShell() bindet alle .wk-steps__rail an.
   Track-Höhe wird per JS auf den letzten Node-Mittelpunkt
   gesetzt, sodass die Linie sauber am letzten Step endet.
═══════════════════════════════════════════════════════════ */
.wk-steps__rail {
  position: relative;
  padding-left: 88px;
}
.wk-steps__track {
  position: absolute;
  left: 31px;
  top: 12px;
  width: 2px;
  background: rgba(0, 74, 149, 0.12);
  border-radius: 2px;
}
.wk-steps__fill {
  position: absolute;
  left: 31px;
  top: 12px;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--wk-blue, #004A95) 0%, var(--wk-blue-dark, #103A66) 100%);
  border-radius: 2px;
  transition: height 0.15s linear;
  will-change: height;
}
.wk-steps__step {
  position: relative;
  padding: 16px 0 64px;
  min-height: 120px;
}
.wk-steps__step:last-child { padding-bottom: 12px; }

.wk-steps__node {
  position: absolute;
  left: -88px;
  top: 12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 74, 149, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wk-text-muted, #7A94A8);
  box-shadow: 0 2px 10px rgba(16, 58, 102, 0.06);
  transition: border-color 0.45s ease, color 0.45s ease, background 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}
.wk-steps__node::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,74,149,0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.wk-steps__icon {
  width: 26px; height: 26px;
  stroke: currentColor;
  transition: opacity 0.3s ease;
}
.wk-steps__num {
  position: absolute;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: currentColor;
  top: -22px;
  background: #fff;
  padding: 0 8px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wk-steps__step.is-reached .wk-steps__node {
  background: var(--wk-blue, #004A95);
  border-color: var(--wk-blue, #004A95);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(0, 74, 149, 0.28);
}
.wk-steps__step.is-reached .wk-steps__node::after { opacity: 1; }

.wk-steps__body { padding-top: 8px; }
.wk-steps__step-label {
  font-family: 'Instrument Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wk-blue, #004A95) !important;
  margin: 0 0 8px !important;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.wk-steps__step.is-reached .wk-steps__step-label { opacity: 1; }
.wk-steps__step-title {
  font-family: 'Instrument Sans', sans-serif !important;
  font-size: clamp(20px, 1.8vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.2em !important;
  letter-spacing: -0.3px;
  color: var(--wk-blue-dark, #103A66) !important;
  margin: 0 0 12px !important;
}
.wk-steps__step-desc {
  font-family: 'Instrument Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.7em !important;
  color: var(--wk-text-muted, #7A94A8) !important;
  margin: 0 !important;
}
@media (max-width: 640px) {
  .wk-steps__rail { padding-left: 64px; }
  .wk-steps__track, .wk-steps__fill { left: 23px; }
  .wk-steps__node { left: -64px; width: 48px; height: 48px; }
  .wk-steps__icon { width: 20px; height: 20px; }
  .wk-steps__step { padding-bottom: 48px; }
}


/* ═══════════════════════════════════════════════════════════
   MARKTBERICHT-CARDS (.ak-mb-card)
   Verwendet auf /aktuelles/ und Startseite. Rendert eine Bericht-Card
   mit Bild, Tag-Badge, Stadtteil/Objekt-Label, Titel, 2-KPI-Grid, CTA.
   Build.mjs `renderMarktberichtCard()` erzeugt das Markup.
═══════════════════════════════════════════════════════════ */
.ak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.ak-mb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), border-color 0.32s var(--ease-out);
}
.ak-mb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14,24,36,0.10);
  border-color: var(--color-border-strong);
}
.ak-mb-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-tint-1);
  overflow: hidden;
}
.ak-mb-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.ak-mb-card:hover .ak-mb-card__media img { transform: scale(1.04); }
.ak-mb-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: #004A95; /* Feedback mail-15: Badge-Hintergrund von Gold auf Brand-Blau */
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.ak-mb-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.ak-mb-card__loc {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin: 0 0 10px;
}
.ak-mb-card__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.ak-mb-card__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}
.ak-mb-card__kpi-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}
.ak-mb-card__kpi-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-brand-deep);
  letter-spacing: -0.01em;
  margin: 2px 0 0;
}
.ak-mb-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-main);
}
.ak-mb-card__cta svg { width: 14px; height: 14px; transition: transform 0.22s ease; }
.ak-mb-card:hover .ak-mb-card__cta svg { transform: translateX(4px); }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .wk-section { padding: 80px 32px !important; }
  .wk-grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .wk-grid-4 { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wk-cta-box { padding: 72px 48px; }
}

@media (max-width: 768px) {
  .wk-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wk-section { padding: 64px 20px !important; }
  .wk-cta-box { padding: 52px 24px; border-radius: 6px; }
  .wk-ctas { flex-direction: column !important; align-items: stretch !important; }
  .wk-btn { width: 100% !important; justify-content: center !important; }
  .wk-form-row { grid-template-columns: 1fr; }
  .wk-card { padding: 32px 24px; }
  .wk-trust-row { gap: 16px; }
  .wk-section-header { margin-bottom: 40px; }
}