/* Performance-Fix 2026-06-06: @import "../../colors_and_type.css" entfernt —
   resolvte zu themes/colors_and_type.css (404, Datei existiert dort nicht),
   verursachte aber 404-RTT bei jedem Request + PSI hat es als Render-Blocking
   dependency mit 1360ms Duration gezählt. Tokens sind in tokens.css. */

/* ===== TOP-BAR (dünn, cream, neutral util-bar) ===== */
.kw-topbar { background: var(--kw-cream); border-bottom: 1px solid var(--kw-border); color: var(--kw-body-text); font-family: var(--kw-font-display); font-size: 12px; letter-spacing: 0.3px; max-height: 36px; overflow: hidden; transition: max-height 0.25s ease, opacity 0.2s ease, border-color 0.2s ease; will-change: max-height; }
.kw-topbar.is-hidden { max-height: 0; opacity: 0; border-bottom-color: transparent; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .kw-topbar { transition: none; } }
.kw-topbar-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.kw-topbar-trust { display: inline-flex; align-items: center; gap: 6px; color: #3A2E1E; font-weight: 600; }
.kw-topbar-trust-star { color: #008A4C; font-size: 13px; }
.kw-topbar-trust-sep { color: rgba(58,46,30,0.4); margin: 0 4px; }
.kw-topbar-utils { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.kw-topbar-utils a, .kw-topbar-dropdown-trigger { color: var(--kw-body-text); text-decoration: none; background: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; transition: color 0.15s; }
.kw-topbar-utils a:hover, .kw-topbar-dropdown-trigger:hover { color: var(--kw-bordeaux); }
.kw-topbar-dropdown { position: relative; }
.kw-caret { font-size: 10px; opacity: 0.7; }
.kw-topbar-dropdown-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 220px; background: #fff; border: 1px solid var(--kw-border); border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); list-style: none; margin: 0; padding: 6px; z-index: 1100; }
.kw-topbar-dropdown-menu li a { display: block; padding: 9px 12px; border-radius: 5px; font-family: var(--kw-font-body); font-size: 14px; font-weight: 400; color: var(--kw-body-text); }
.kw-topbar-dropdown-menu li a:hover { background: var(--kw-cream); color: var(--kw-bordeaux); }
.kw-topbar-langs { display: inline-flex; align-items: center; gap: 6px; }
.kw-topbar-langs a { color: var(--kw-text-muted); }
.kw-topbar-langs a.is-active { color: var(--kw-bordeaux); font-weight: 700; }
.kw-lang-sep { color: rgba(0,0,0,0.2); }

/* ===== MAIN-NAV ===== */
.kw-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.kw-header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; min-height: 80px; gap: 24px; position: relative; }
/* #1110: Wortmarke ohne Slogan (8188 × 1237). Die Buchstaben bleiben exakt so
   groß wie vorher — die Breite ist unverändert 220px, nur die Unterzeile fällt
   weg, darum wird der Block flacher (220 / 6,62 = rund 33px statt 49px). */
.kw-header-logo img { width: 220px; max-width: 100%; height: auto; display: block; }
.kw-nav-desktop ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.kw-nav-desktop li { position: relative; }
.kw-nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 0.7em 0.9em; color: var(--kw-body-text); background: transparent; border: 0; font-family: var(--kw-font-display); font-size: 15px; font-weight: 600; cursor: pointer; transition: color 0.2s; white-space: nowrap; }
.kw-nav-desktop li.active > .kw-nav-trigger,
.kw-nav-desktop li.open > .kw-nav-trigger,
.kw-nav-trigger:hover { color: var(--kw-bordeaux); }
.kw-nav-desktop li.active > .kw-nav-trigger::after { content: ''; position: absolute; bottom: -2px; left: 0.9em; right: 0.9em; height: 2px; background: var(--kw-bordeaux); }
.kw-header-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--kw-bordeaux); color: #fff !important; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-family: var(--kw-font-display); transition: all var(--kw-transition); line-height: 1.1; }
.kw-header-cta:hover { background: var(--kw-bordeaux-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(151,35,63,0.3); }
.kw-header-cta .kw-cta-icon { flex-shrink: 0; }
.kw-header-cta .kw-cta-text { display: inline-flex; flex-direction: column; align-items: flex-start; }
.kw-cta-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.kw-cta-sub { font-size: 10px; font-weight: 400; opacity: 0.85; letter-spacing: 0.5px; }

/* Header-CTA · Quiz-Variante (Funnel B — Modell unklar)
   Visuell BEWUSST anders als Konfig-CTA: Olive-Outline statt Bordeaux-Solid,
   damit User auf einen Blick sehen: das ist nicht der Konfigurator. */
.kw-header-cta--quiz {
  background: transparent;
  color: var(--kw-bordeaux) !important;
  border: 2px solid var(--kw-bordeaux);
  padding: 10px 20px;
}
.kw-header-cta--quiz:hover {
  background: var(--kw-bordeaux);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(151,35,63,0.2);
}
.kw-header-cta--quiz .kw-cta-sub { opacity: 0.75; }

/* ===== MEGA-MENU ===== */
.kw-mega-wrap { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--kw-border); box-shadow: 0 16px 32px rgba(0,0,0,0.1); z-index: 999; }
.kw-mega { max-width: 1400px; margin: 0 auto; padding: 32px; display: grid; gap: 32px; }
.kw-mega--3col { grid-template-columns: 1fr 1fr 1fr; }
.kw-mega--mini { grid-template-columns: minmax(280px, 360px); }
.kw-mega-heading { font-family: var(--kw-font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--kw-bordeaux); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--kw-border); }
.kw-mega-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.kw-mega-list li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; margin: 0 -12px; border-radius: 6px; text-decoration: none; transition: background 0.15s; }
.kw-mega-list li a:hover { background: var(--kw-cream); }
.kw-mega-item-name { font-family: var(--kw-font-display); font-size: 15px; font-weight: 600; color: var(--kw-body-text); display: inline-flex; align-items: center; gap: 8px; }
.kw-mega-list li a:hover .kw-mega-item-name { color: var(--kw-bordeaux); }
.kw-mega-item-desc { font-family: var(--kw-font-body); font-size: 13px; color: var(--kw-text-muted); line-height: 1.45; }
.kw-mega-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 3px; background: var(--kw-bordeaux); color: #fff; font-family: var(--kw-font-display); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.kw-mega-list-all { margin-top: 6px; }
.kw-mega-list-all a { font-family: var(--kw-font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--kw-bordeaux); }

/* Produkt-Serien (Mai-Update): Icon links, Name rechts, ein Wort pro Zeile */
.kw-mega-list--serien li a { flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
.kw-mega-serie-row { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.kw-mega-serie-icon { color: var(--kw-bordeaux); flex-shrink: 0; }
.kw-mega-list--serien li a:hover .kw-mega-serie-icon { color: var(--kw-bordeaux); }
.kw-mega-serie-name { font-family: var(--kw-font-display); font-size: 15px; font-weight: 600; color: var(--kw-body-text); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.kw-mega-list--serien li a:hover .kw-mega-serie-name { color: var(--kw-bordeaux); }

/* Drawer-Variante: gleiches Icon-System, etwas kompakter */
.kw-acc-serie { display: inline-flex; align-items: center; gap: 10px; }
.kw-acc-serie .kw-mega-serie-icon { width: 20px; height: 20px; color: var(--kw-bordeaux); }

/* ===== BURGER + MOBILE DRAWER ===== */
.kw-burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.kw-burger span { display: block; height: 2px; background: var(--kw-body-text); border-radius: 2px; }

.kw-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1500; }
.kw-drawer-backdrop[hidden] { display: none; }

.kw-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 92vw); background: #fff; z-index: 1600; display: flex; flex-direction: column; box-shadow: -8px 0 32px rgba(0,0,0,0.18); }
.kw-drawer[hidden] { display: none; }

.kw-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--kw-border); flex-shrink: 0; }
.kw-drawer-logo { display: inline-block; line-height: 0; }
/* #1110: gleiche Wortmarke ohne Slogan, Breite unverändert 140px → rund 21px hoch. */
.kw-drawer-logo img { width: 140px; height: auto; display: block; }
.kw-drawer-close { width: 44px; height: 44px; background: transparent; border: 0; font-size: 28px; line-height: 1; color: var(--kw-body-text); cursor: pointer; }

.kw-drawer-trust { padding: 10px 20px; background: var(--kw-cream); font-family: var(--kw-font-display); font-size: 12px; color: #3A2E1E; border-bottom: 1px solid var(--kw-border); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.kw-drawer-trust .kw-trust-star { color: #008A4C; }

.kw-drawer-nav { flex: 1; overflow-y: auto; padding: 8px 0; }

/* Drawer-Liste: vom Server gerendert via KW_Mobile_Walker */
.kw-drawer-list, .kw-drawer-list ul { list-style: none; margin: 0; padding: 0; }
.kw-drawer-list > li { border-bottom: 1px solid var(--kw-border); }
.kw-drawer-list a { text-decoration: none; color: var(--kw-body-text); display: flex; align-items: center; min-height: 56px; padding: 0 20px; font-family: var(--kw-font-display); font-size: 17px; font-weight: 600; }
.kw-drawer-list a:active { background: rgba(151,35,63,0.06); }

/* Akkordeon via <details>/<summary> */
/* #1369: Label ist jetzt ein <a> (navigiert), Pfeil ein eigener <button>
   (togglet). Beide zusammen füllen die ganze Zeile -- summary selbst
   traegt keine eigene Polsterung mehr, das übernehmen die zwei Kinder,
   damit jedes für sich ein Tipp-Ziel >=44px hoch ist (align-items:stretch
   statt center). */
.kw-drawer-acc summary { list-style: none; display: flex; align-items: stretch; justify-content: space-between; min-height: 56px; padding: 0; font-family: var(--kw-font-display); font-size: 17px; font-weight: 600; color: var(--kw-body-text); user-select: none; }
.kw-drawer-acc summary::-webkit-details-marker { display: none; }
.kw-drawer-acc summary a.kw-drawer-acc-label { flex: 1; display: flex; align-items: center; min-height: 56px; padding: 0 0 0 20px; text-decoration: none; color: inherit; }
.kw-drawer-acc-caret { width: 56px; min-height: 56px; position: relative; flex-shrink: 0; background: transparent; border: 0; margin: 0; padding: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.kw-drawer-acc-caret::before,
.kw-drawer-acc-caret::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--kw-text-muted); transition: transform 0.2s; }
.kw-drawer-acc-caret::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.kw-drawer-acc-caret::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.kw-drawer-acc[open] > details > summary,
.kw-drawer-acc > details[open] > summary { color: var(--kw-bordeaux); }
.kw-drawer-acc > details[open] > summary .kw-drawer-acc-caret::after { transform: translate(-50%, -50%) scaleY(0); }

.kw-drawer-acc-body { padding: 4px 0 12px; background: var(--kw-cream); }
.kw-drawer-sub a { min-height: 48px; padding: 4px 32px; font-family: var(--kw-font-body); font-size: 16px; font-weight: 400; }

.kw-drawer-heading { padding: 12px 32px 4px; font-family: var(--kw-font-display); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--kw-bordeaux); }
.kw-drawer-heading span { display: block; }
/* #1454: Trennlinie zwischen Menü-Gruppen — jede Zwischenüberschrift außer
   der ersten in ihrer Liste bekommt eine dezente obere Linie, dadurch eine
   klare Trennung z.B. zwischen der Bauarten-Gruppe und der Top-Modelle-Gruppe. */
.kw-drawer-heading:not(:first-child) { border-top: 1px solid var(--kw-border); margin-top: 8px; }

/* #1454 Fix-Runde 2: Trennlinie am ENDE einer Überschriften-Gruppe (z.B. nach
   der Top-Modelle-Modelliste, vor den nachfolgenden normalen Einträgen
   Funkgeräte/Zubehör) — kw-mobile-walker.php setzt diese Klasse strukturell
   (Inhaltstyp-Wechsel), gleicher Trennlinien-Token wie kw-drawer-heading. */
.kw-drawer-group-break { border-top: 1px solid var(--kw-border); margin-top: 8px; }

.kw-drawer-sep { height: 8px; background: var(--kw-cream); border-top: 1px solid var(--kw-border); border-bottom: 1px solid var(--kw-border); margin: 4px 0; }
.kw-drawer-list--utils > li:first-child { border-top: 0; }

.kw-drawer-foot { flex-shrink: 0; border-top: 1px solid var(--kw-border); padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.kw-drawer-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 8px 20px; background: var(--kw-bordeaux); color: #fff !important; border-radius: 8px; text-decoration: none; font-family: var(--kw-font-display); }
/* #1440: Subzeile "Experte ruft zurück" fehlte im Drawer-CTA (Desktop-CTA
   hat sie via span.kw-cta-sub, Drawer-Markup vorher nur der nackte Label-
   Text). Label/Sub jetzt eigene Spans, Optik an .kw-header-cta angelehnt. */
.kw-drawer-cta .kw-cta-label { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.kw-drawer-cta .kw-cta-sub { font-size: 11px; font-weight: 400; text-transform: none; letter-spacing: 0.3px; opacity: 0.85; }
.kw-drawer-utils { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kw-drawer-utils a { min-height: 44px; display: flex; align-items: center; font-family: var(--kw-font-display); font-size: 14px; font-weight: 600; color: var(--kw-body-text); text-decoration: none; }
.kw-drawer-foot .kw-topbar-langs { list-style: none; margin: 0; padding: 6px 0 0; display: flex; gap: 10px; align-items: center; }
.kw-drawer-foot .kw-topbar-langs li { display: inline-flex; }
.kw-drawer-foot .kw-topbar-langs a { font-family: var(--kw-font-display); font-size: 13px; font-weight: 600; color: var(--kw-text-muted); text-decoration: none; min-height: auto; padding: 0; display: inline; }
.kw-drawer-foot .kw-topbar-langs a.is-active { color: var(--kw-bordeaux); }
.kw-drawer-foot .kw-lang-sep { color: rgba(0,0,0,0.2); }

/* Sprachumschalter im Fuss der Schublade — Aufklappen nach OBEN (#1210)
 *
 * WAS:   Die Sprachliste in der mobilen Schublade klappt nach oben auf statt
 *        nach unten. Die ul-Huelle bleibt unsichtbar (kein Punkt, kein Abstand).
 *
 * WARUM: Der Umschalter sitzt als letztes Element im Fuss der Schublade, also
 *        ganz unten am Bildschirmrand. Er erbt die Topbar-Regel weiter unten in
 *        dieser Datei, die die Liste mit `top: calc(100% + 6px)` UNTER den
 *        Ausloeser haengt. Auf 375x812 gemessen (08.08., Schau): Liste ab
 *        y=794, Eintraege y=824 bis 1033 — alles unterhalb des sichtbaren
 *        Bereichs, kein einziger Eintrag war antippbar. `bottom` statt `top`
 *        dreht die Richtung um, die Liste waechst in die Schublade hinein.
 *
 * HOEHE: Sechs Sprachen sind rund 225px hoch, das passt auf 812er-Hoehe
 *        bequem. Die Bremse `max-height` fuellt den Fall kleinerer Geraete
 *        bzw. Landscape ab — dann scrollt die Liste in sich selbst, statt oben
 *        aus dem Bild zu laufen. `-webkit-overflow-scrolling` bewusst nicht
 *        gesetzt (in iOS 13+ Standard).
 *
 * BEWEGUNG: Die Grundregel faedelt die Liste von oben ein (translateY(-4px)).
 *        Bei einer Liste, die nach oben aufgeht, muss sie von unten kommen,
 *        sonst laeuft die Bewegung gegen die Aufklapp-Richtung. Der offene
 *        Zustand bleibt translateY(0) aus der Grundregel weiter unten (gleiche
 *        Gewichtung, spaetere Zeile gewinnt) — hier wird nichts doppelt gesetzt.
 *
 * NICHT:  Der zugeklappte Zustand aendert sich nicht — gleiche Stelle, gleiche
 *        Beschriftung, gleiche Groesse. Nur die Richtung des Aufklappens.
 *
 * GELTUNG: Alles haengt an `.kw-drawer-foot`, greift also ausschliesslich in der
 *        mobilen Schublade. Der Umschalter im Kopf und dessen Hover-Bruecke aus
 *        #1106 (style.css, `.kw-topbar-dropdown::before`) bleiben unberuehrt. */
.kw-drawer-langs { list-style: none; margin: 0; padding: 0; }
.kw-drawer-foot .kw-topbar-dropdown-menu {
	top: auto;
	bottom: calc(100% + 6px);
	left: 0;
	right: auto;
	max-height: min(46vh, 300px);
	overflow-y: auto;
	transform: translateY(4px);
}

/* Body-Scroll-Lock bei offenem Drawer */
body.kw-drawer-open { overflow: hidden; }

/* ===== STICKY MOBILE CTA =====
 * Globale Sticky-CTA-Komponente: siehe Definition unten ("Sticky-CTA (global)").
 * Die alte Inline-Variante `.kw-product-stickybar` (Pre-#311) wurde entfernt.
 * Issue #333: Das hier zuvor liegende `.kw-sticky-cta { display: none; ... }`-Set
 * hat die neue Component-Definition kollidiert (Cascade: gleiche Spezifitaet,
 * `display: none` wurde nicht ueberschrieben -> Sticky war auf Mobile NIE sichtbar).
 * Single Source of Truth: nur die neue Section unten. */

/* ===== HERO ===== */
.kw-hero { position: relative; min-height: 580px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.kw-hero-overlay { position: absolute; inset: 0; background: var(--kw-overlay-hero); z-index: 1; }
.kw-hero-content { position: relative; z-index: 2; max-width: 850px; padding: 60px 32px; }
/* Hero H1 — long brand-statements + product headlines stay Mixed Case for legibility. Use .kw-hero--caps on the section if you want ALL-CAPS for a short statement ("Hausverstand", "Made in Austria"). */
.kw-hero h1 { font-family: var(--kw-font-display); font-size: clamp(36px, 5vw, 56px); color: #fff; margin: 0 0 18px; line-height: 1.12; letter-spacing: 0; text-transform: none; text-shadow: 0 2px 24px rgba(0,0,0,0.2); }
.kw-hero--caps h1 { text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 600px) { .kw-hero h1 { font-size: clamp(36px, 9vw, 40px); } }
.kw-hero p.lead { font-family: var(--kw-font-body); font-size: 20px; color: rgba(255,255,255,0.92); margin: 0 0 36px; line-height: 1.6; }
.kw-btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.kw-btn { display: inline-flex; align-items: center; justify-content: center; line-height: 1; min-height: 48px; padding: 16px 32px; font-family: var(--kw-font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; border-radius: 8px; border: 2px solid transparent; transition: all var(--kw-transition); cursor: pointer; }
/* Issue #544 — Hero-Buttons site-weit: größere Schrift + exakte Zentrierung (überschreibt .kw-btn nur im Hero-Kontext) */
.kw-hero .kw-btn,
.kw-hero--combined .kw-btn,
.kw-archive-hero .kw-btn,
.kw-zub-hero .kw-btn,
.kw-praxis-hero .kw-btn { font-size: 15px; min-height: 52px; padding: 18px 34px; letter-spacing: 1.3px; }
.kw-btn-primary { background: var(--kw-bordeaux); color: #fff; box-shadow: 0 4px 16px rgba(151,35,63,0.3); }
.kw-btn-primary:hover { background: var(--kw-bordeaux-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(151,35,63,0.4); }
.kw-btn-outline { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.kw-btn-outline:hover { background: #fff; color: var(--kw-bordeaux); }
.kw-btn-outline-light { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(4px); display: inline-flex; align-items: center; }
.kw-btn-outline-light:hover { background: #fff; color: var(--kw-bordeaux); border-color: #fff; }
.kw-btn-outline-light svg { stroke: currentColor; }
.kw-btn-outline-dark { background: transparent; color: var(--kw-bordeaux); border-color: var(--kw-bordeaux); }
.kw-btn-outline-dark:hover { background: var(--kw-bordeaux); color: #fff; }
.kw-btn-white { background: #fff; color: var(--kw-bordeaux); }
.kw-btn-white:hover { background: var(--kw-cream); }

/* ===== CTA-FUNNEL-VARIANTEN =====
   Funnel A · Konfig (Modell gewählt) → kw-btn-primary           Bordeaux-Solid
   Funnel B · Quiz   (Modell unklar)  → kw-btn-quiz              Olive-Outline + Icon ▸
   Funnel C · Anfrage / Sekundär      → kw-btn-ghost             Text-Link mit Underline
   Visuelle Trennung ist BEWUSST: User soll auf einen Blick sehen,
   ob er in den Konfigurator oder ins Quiz geht.
*/
.kw-btn-quiz {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--kw-olive, var(--kw-bordeaux));
  border: 2px solid currentColor;
  padding: 14px 28px;
}
.kw-btn-quiz:hover {
  background: var(--kw-bordeaux);
  color: #fff;
  border-color: var(--kw-bordeaux);
  transform: translateY(-1px);
}
.kw-btn-quiz .kw-cta-icon { flex-shrink: 0; }

/* Quiz-Variante auf dunklem Hero-Hintergrund (Foto/Overlay) — PRIMARY: Bordeaux-Solid
   bewusst andere Farbe als der zweite Hero-CTA, damit die Hierarchie sofort lesbar ist. */
.kw-hero .kw-btn-quiz,
.kw-archive-hero .kw-btn-quiz {
  background: var(--kw-bordeaux);
  color: #fff;
  border-color: var(--kw-bordeaux);
  box-shadow: 0 6px 20px rgba(151,35,63,0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.kw-hero .kw-btn-quiz:hover,
.kw-archive-hero .kw-btn-quiz:hover {
  background: var(--kw-bordeaux-dark);
  color: #fff;
  border-color: var(--kw-bordeaux-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(151,35,63,0.55);
}

/* Quiz-Variante auf dunklem Bordeaux-Hintergrund (CtaSection) */
.kw-btn-white.kw-btn-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kw-btn-ghost {
  background: transparent;
  color: var(--kw-bordeaux);
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 8px;
  letter-spacing: 1px;
}
.kw-btn-ghost:hover { color: var(--kw-bordeaux-dark); }

/* ===== USP BAR ===== */
.kw-usps { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--kw-bordeaux-dark); text-align: center; }
.kw-usp { padding: 36px 24px; border-right: 1px solid rgba(255,255,255,0.1); transition: background var(--kw-transition); }
.kw-usp:last-child { border-right: none; }
.kw-usp:hover { background: rgba(255,255,255,0.05); }
.kw-usp-num { font-family: var(--kw-font-display); font-size: 40px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.kw-usp-label { font-family: var(--kw-font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--kw-sand); }

/* ===== SECTIONS ===== */
.kw-section { padding: 80px 32px; }
.kw-section--white { background: #fff; }
.kw-section--cream { background: var(--kw-cream); }
.kw-section--bordeaux { background: var(--kw-gradient-cta); color: #fff; }
.kw-section__inner { max-width: 1200px; margin: 0 auto; }
.kw-section-heading { font-family: var(--kw-font-display); font-size: 36px; color: var(--kw-body-text); text-align: center; margin: 0 auto 16px; position: relative; padding-bottom: 22px; letter-spacing: 0; }
@media (max-width: 600px) { .kw-section-heading { font-size: clamp(28px, 7vw, 32px); } }
.kw-section-heading::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--kw-bordeaux); border-radius: 2px; }
.kw-section--bordeaux .kw-section-heading { color: #fff; }
.kw-section--bordeaux .kw-h2 { color: #fff; } /* Issue #895: globale h1,h2-Body-Text-Farbe (tokens.css) uebersteuert geerbtes Weiss -> explizit weiss auf Bordeaux */
.kw-section--bordeaux .kw-section-heading::after { background: var(--kw-sand); }
.kw-section-sub { font-family: var(--kw-font-body); font-size: 18px; color: var(--kw-text-muted); text-align: center; margin: 0 auto 48px; max-width: 700px; line-height: 1.6; }
.kw-section--bordeaux .kw-section-sub { color: rgba(255,255,255,0.85); }
.kw-overline-c { display: block; font-family: var(--kw-font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--kw-bordeaux); text-align: center; margin-bottom: 12px; }
.kw-section--bordeaux .kw-overline-c { color: var(--kw-sand); }

/* ===== SERIES GRID ===== */
.kw-series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kw-series-card { background: #fff; border-radius: var(--kw-radius); padding: 28px 24px; text-decoration: none; color: var(--kw-body-text); box-shadow: var(--kw-shadow-sm); border: 1px solid var(--kw-border); transition: all var(--kw-transition); display: flex; flex-direction: column; }
.kw-series-card:hover { transform: translateY(-4px); box-shadow: var(--kw-shadow-md); border-color: rgba(151,35,63,0.3); }
.kw-series-card h3 { font-family: var(--kw-font-display); font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--kw-body-text); margin: 0 0 10px; }
.kw-series-card p { font-family: var(--kw-font-body); font-size: 14px; color: var(--kw-text-muted); line-height: 1.6; margin: 0 0 18px; flex: 1; }
.kw-series-card__link { font-family: var(--kw-font-display); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--kw-bordeaux); }

/* ===== PRODUCT CARD ===== */
.kw-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kw-card { background: #fff; border-radius: var(--kw-radius); overflow: hidden; box-shadow: var(--kw-shadow-md); transition: all var(--kw-transition); position: relative; display: flex; flex-direction: column; }
.kw-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--kw-bordeaux); z-index: 1; transform: scaleX(0); transform-origin: left; transition: transform var(--kw-transition); }
.kw-card:hover::before { transform: scaleX(1); }
.kw-card:hover { transform: translateY(-8px); box-shadow: var(--kw-shadow-hover); }
.kw-card-img { width: 100%; height: 220px; background: var(--kw-cream-dark); overflow: hidden; }
.kw-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.6s var(--kw-transition); }
.kw-card:hover .kw-card-img img { transform: scale(1.04); }
.kw-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.kw-card-body h3 { font-family: var(--kw-font-display); font-size: 22px; font-weight: 700; letter-spacing: 0; color: var(--kw-body-text); margin: 0 0 8px; transition: color var(--kw-transition); }
.kw-card:hover .kw-card-body h3 { color: var(--kw-bordeaux); }
.kw-card-body p { font-family: var(--kw-font-body); font-size: 14px; color: var(--kw-text-muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.kw-product-badges { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.kw-product-badge { font-family: var(--kw-font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 11px; border-radius: 4px; background: rgba(151,35,63,0.08); color: var(--kw-bordeaux); }

/* ===== KEYFACT BAR ===== */
.kw-keyfact-bar { background: #fff; padding: 48px 32px; }
.kw-keyfact-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kw-keyfact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.kw-keyfact img { width: 44px; height: 44px; opacity: 0.85; }
.kw-keyfact-value { font-family: var(--kw-font-display); font-size: 26px; font-weight: 700; color: var(--kw-body-text); line-height: 1.1; }
.kw-keyfact-label { font-family: var(--kw-font-body); font-size: 13px; color: var(--kw-text-muted); }

/* ===== TESTIMONIAL ===== */
.kw-testimonial { background: #fff; border-radius: var(--kw-radius); padding: 36px 32px 32px; position: relative; box-shadow: var(--kw-shadow-sm); border: 1px solid rgba(181,164,136,0.22); max-width: 720px; margin: 0 auto; }
.kw-testimonial::before { content: '\201C'; position: absolute; top: -8px; left: 28px; font-family: var(--kw-font-body); font-size: 80px; color: var(--kw-bordeaux); opacity: 0.18; line-height: 1; }
/* Gespiegeltes grosses Anfuehrungszeichen rechts unten (#972, Gregor 2026-08-04).
   WARUM: das blasse Zeichen links oben oeffnete das Zitat, schloss es aber nie.
   WIE:   identische Deklaration wie ::before, nur `transform: scale(-1)` — damit
          ist es dieselbe Glyphe in beiden Achsen gespiegelt (Wunsch "selbes
          Design"), kein zweiter Font-/Farb-/Groessen-Wert der auseinanderlaufen
          koennte. Durch die Spiegelung wandert die Zeichnung in den unteren Teil
          der Zeilenbox.
   bottom: 0 statt -8px (Gegenstueck zu top: -8px): unter dem Testimonial folgt
   auf /hilfsseilwinde/ direkt die Bordeaux-CTA-Sektion. Die zeichnet als
   spaeteres Geschwister darueber und schnitt den Ueberhang sichtbar ab. Oben
   liegt Weissraum, dort darf es ueberhaengen. Die 8px Unterschied sind an einer
   80px-Glyphe nicht wahrnehmbar, ein abgeschnittenes Zeichen sehr wohl. */
.kw-testimonial::after { content: '\201C'; position: absolute; bottom: 0; right: 28px; font-family: var(--kw-font-body); font-size: 80px; color: var(--kw-bordeaux); opacity: 0.18; line-height: 1; transform: scale(-1); }
.kw-testimonial blockquote { font-family: var(--kw-font-body); font-style: italic; font-size: 18px; color: var(--kw-body-text); margin: 0 0 18px; line-height: 1.7; position: relative; z-index: 1; }
.kw-testimonial cite { font-family: var(--kw-font-display); font-size: 12px; font-weight: 700; color: var(--kw-bordeaux); text-transform: uppercase; letter-spacing: 2px; font-style: normal; display: flex; align-items: center; gap: 12px; }
.kw-testimonial cite::before { content: ''; display: block; width: 24px; height: 2px; background: var(--kw-bordeaux); }

/* ===== TRUST BAR ===== */
.kw-trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--kw-cream); }
.kw-trust-item { padding: 48px 28px; text-align: center; border-right: 1px solid var(--kw-border); }
.kw-trust-item:last-child { border-right: none; }
.kw-trust-item h3 { font-family: var(--kw-font-display); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--kw-body-text); margin: 0 0 8px; }
.kw-trust-item p { font-family: var(--kw-font-body); font-size: 14px; color: var(--kw-text-muted); margin: 0; line-height: 1.6; }

/* ===== FOOTER ===== */
.kw-footer {
	background: var(--kw-bordeaux-footer);
	color: rgba(245,240,235,0.85);
	font-family: var(--kw-font-body);
	font-size: 14px;
	line-height: 1.6;
	/* Fix #1283 Punkt 3 + Fix-Runde 2 (Grenzbefund P3 beim blinden Pruef-FAIL):
	   letzte Bordeaux-CTA (.kw-section--bordeaux) und Fusszeile teilten
	   dieselbe Hintergrundfarbe (#7A1C33) -- der reine 1px-Rand mit 0.18
	   Deckkraft auf farbgleichem Grund war im Pruef-Screenshot ohne Zoom kaum
	   wahrnehmbar. Jetzt zweifach: (1) Fusszeile bekommt --kw-bordeaux-footer,
	   eine Nuance dunkler als die CTA-Flaeche (gleiche Bordeaux-Familie,
	   tokens.css), (2) Randdeckkraft von 0.18 auf 0.4 angehoben. Betrifft alle
	   Seilwinden-Singles DE/FR/PL, sitewide unkritisch da Fusszeile ueberall
	   gleich gebaut ist. */
	border-top: 1px solid rgba(245,240,235,0.4);
}
.kw-footer__container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.kw-footer__logo-section { padding: 40px 0 32px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; }
.kw-footer__logo-img { width: 200px; filter: brightness(0) invert(1); opacity: 0.9; }
.kw-footer__main { padding: 60px 0 48px; }
.kw-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.kw-footer__heading { font-family: var(--kw-font-display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin: 0 0 16px; }
.kw-footer__heading--spaced { margin-top: 28px; }
.kw-footer__links { list-style: none; margin: 0; padding: 0; }
.kw-footer__links li a { display: inline-block; color: var(--kw-sand); text-decoration: none; font-size: 14px; line-height: 2.4; transition: color 0.2s, padding-left 0.2s; }
.kw-footer__links li a:hover { color: #fff; padding-left: 4px; }
.kw-footer__contact-block { overflow-wrap: anywhere; } /* #1088: Mailadresse (office@koenigswieser.com) darf nie die Spaltenbreite diktieren */
.kw-footer__contact-block p { margin: 0 0 8px; color: rgba(245,240,235,0.85); }
.kw-footer__company { color: #fff; font-weight: 600; }
.kw-footer__hours { color: rgba(245,240,235,0.65); font-size: 13px; }
.kw-footer__highlight { color: var(--kw-sand); }
/* #1278 P7 Fix-Runde 3 (Regression/Fehlmessung Runde 2, blinder Pruef-FAIL):
   der 0.15.66-Kommentar behauptete "bereits >=44px", war aber eine blinde
   Annahme ohne echte Nachmessung -- auf /kontakt/ 375px hatten Tel-/Mail-Link
   (reine Inline-<a> in der Fusszeile, "T "/"E "-Praefix + <br> trennt sie in
   eigene Zeilen) real nur 22,5px Trefffoeche (getBoundingClientRect). Fix:
   display:inline-block + 11px vertikales Padding erweitert die Klick-/Tipp-
   Flaeche auf 44,5px, negative Margin gleicher Groesse hebt die Padding-
   Layoutwirkung wieder auf -- Zeilenabstand/Desktop-Optik bleibt sichtbar
   unveraendert, nur die unsichtbare Tipp-Flaeche waechst. Sitewide (jede
   Fusszeile teilt dieselbe Klasse), keine bedingte Media-Query noetig. */
.kw-footer__highlight {
	display: inline-block;
	padding: 11px 0;
	margin: -11px 0;
}
.kw-footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.kw-footer__bottom-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.kw-footer__copyright { font-size: 12px; color: rgba(245,240,235,0.55); }
.kw-footer__legal { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.kw-footer__legal a { color: rgba(245,240,235,0.55); text-decoration: none; font-size: 12px; }
.kw-footer__legal a:hover { color: var(--kw-sand); }

/* ===== ARCHIVE FILTER BAR ===== */
.kw-filter-bar { background: #fff; border-radius: var(--kw-radius); padding: 18px 22px; box-shadow: var(--kw-shadow-sm); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.kw-filter-label { font-family: var(--kw-font-display); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--kw-text-muted); margin-right: 8px; }
.kw-filter-chip { font-family: var(--kw-font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 8px 14px; border-radius: 100px; border: 1px solid var(--kw-border); background: #fff; color: var(--kw-body-text); cursor: pointer; transition: all var(--kw-transition); }
.kw-filter-chip:hover { border-color: var(--kw-bordeaux); color: var(--kw-bordeaux); }
.kw-filter-chip.active { background: var(--kw-bordeaux); color: #fff; border-color: var(--kw-bordeaux); }

/* ===== PRODUCT PAGE — extends ===== */
.kw-product__hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; background-size: cover; background-position: center 40%; overflow: hidden; }
.kw-product__hero-overlay { position: absolute; inset: 0; background: var(--kw-overlay-hero); }
.kw-product__hero-inner { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 32px 56px; }
.kw-product__hero-category { display: inline-block; font-family: var(--kw-font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--kw-sand); margin-bottom: 12px; }
.kw-product__hero-title { font-family: var(--kw-font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: #fff; letter-spacing: 0; margin: 0 0 8px; line-height: 1.1; }
.kw-product__hero-tagline { font-family: var(--kw-font-body); font-size: 20px; color: var(--kw-cream); margin: 0 0 24px; max-width: 600px; line-height: 1.5; }
.kw-product__hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.kw-product__hero-badge { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 9px 14px; color: #fff; font-family: var(--kw-font-display); font-size: 13px; font-weight: 600; }
.kw-product__hero-badge img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

/* ===== PRODUCT FEATURES (Was die Winde ausmacht) ===== */
.kw-product-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 32px; }
.kw-product-feature { background: #fff; padding: 32px 28px; border-radius: var(--kw-radius); box-shadow: var(--kw-shadow-sm); border-top: 4px solid var(--kw-bordeaux); position: relative; display: flex; flex-direction: column; }
.kw-product-feature-num { font-family: var(--kw-font-display); font-size: 32px; font-weight: 700; color: var(--kw-sand); line-height: 1; margin-bottom: 10px; letter-spacing: 0.5px; }
.kw-product-feature h4 { font-family: var(--kw-font-display); font-size: 19px; font-weight: 700; color: var(--kw-body-text); margin: 0 0 10px; line-height: 1.3; letter-spacing: 0.2px; }
.kw-product-feature p { font-family: var(--kw-font-body); font-size: 15px; color: var(--kw-text-muted); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.kw-product-feature__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--kw-font-display); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; padding: 6px 10px; border-radius: 4px; align-self: flex-start; }
.kw-product-feature__tag--serie { background: rgba(122,134,87,0.12); color: var(--kw-olive); }
.kw-product-feature__tag--option { background: rgba(151,35,63,0.08); color: var(--kw-bordeaux); }

/* ===== AUSSTATTUNG (Serie + Optionen) ===== */
.kw-ausstattung-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.kw-ausstattung-grid > div { text-align: left; }
.kw-ausstattung-grid .kw-overline-c { text-align: left; margin-left: 0; }
.kw-ausstattung-grid .kw-section-heading { text-align: left; margin: 0 0 12px; padding-bottom: 16px; }
.kw-ausstattung-grid .kw-section-heading::after { left: 0; transform: none; }
.kw-ausstattung-lead { font-family: var(--kw-font-body); font-size: 16px; color: var(--kw-text-muted); line-height: 1.55; margin: 0 0 22px; }
.kw-ausstattung-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.kw-ausstattung-list--standard li { font-family: var(--kw-font-body); font-size: 15px; color: var(--kw-body-text); padding: 10px 14px 10px 36px; background: #fff; border-radius: 6px; position: relative; box-shadow: var(--kw-shadow-sm); }
.kw-ausstattung-list--standard li::before { content: '✓'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--kw-olive); font-weight: 700; font-size: 16px; }
.kw-ausstattung-list--option li { display: flex; gap: 14px; align-items: flex-start; font-family: var(--kw-font-body); padding: 14px 16px; background: #fff; border-radius: 6px; position: relative; box-shadow: var(--kw-shadow-sm); border-left: 3px solid var(--kw-bordeaux); }
.kw-ausstattung-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 4px; overflow: hidden; background: var(--kw-cream); border: 1px solid rgba(0,0,0,0.06); }
.kw-ausstattung-thumb svg { display: block; width: 100%; height: 100%; }
.kw-ausstattung-text { flex: 1; min-width: 0; }
.kw-ausstattung-list--option li strong { display: block; font-family: var(--kw-font-display); font-size: 15px; color: var(--kw-body-text); margin-bottom: 3px; letter-spacing: 0.2px; }
.kw-ausstattung-list--option li span { display: block; font-size: 14px; color: var(--kw-text-muted); line-height: 1.5; }
@media (max-width: 880px) { .kw-ausstattung-grid { grid-template-columns: 1fr !important; gap: 40px; } }
/* Mobile-Frame: Container-Query-Workaround — .is-mobile-view ist nur ~412px breit, Viewport-Breakpoints feuern nicht. */
.is-mobile-view .kw-ausstattung-grid { grid-template-columns: 1fr !important; gap: 40px; }

/* ===== TESTIMONIAL (Detail-Page) ===== */
.kw-product-testimonial { max-width: 760px; margin: 0 auto; text-align: center; padding: 16px 0; }
.kw-product-testimonial__quote { color: var(--kw-sand); opacity: 0.9; margin-bottom: 18px; }
.kw-product-testimonial blockquote { margin: 0 0 24px; }
.kw-product-testimonial blockquote p { font-family: var(--kw-font-body); font-size: clamp(20px, 2.6vw, 26px); font-weight: 400; font-style: italic; color: #fff; line-height: 1.5; margin: 0; letter-spacing: 0.2px; }
.kw-product-testimonial figcaption { display: flex; flex-direction: column; gap: 4px; }
.kw-product-testimonial figcaption strong { font-family: var(--kw-font-display); font-size: 16px; font-weight: 700; color: #fff; letter-spacing: 0.3px; }
.kw-product-testimonial figcaption span { font-family: var(--kw-font-body); font-size: 14px; color: rgba(255,255,255,0.75); }

.kw-product__specs-table { width: 100%; max-width: 750px; margin: 0 auto; border-collapse: collapse; border-radius: var(--kw-radius-sm); overflow: hidden; box-shadow: var(--kw-shadow-sm); }
.kw-product__specs-table tr:nth-child(even) td { background: var(--kw-cream); }
.kw-product__specs-table tr:nth-child(odd) td { background: #fff; }
.kw-product__specs-table td { padding: 14px 22px; font-family: var(--kw-font-body); font-size: 15px; color: var(--kw-body-text); }
.kw-product__specs-table td:first-child { font-weight: 700; }

/* Inquiry CTA */
.kw-inquiry { background: var(--kw-bordeaux); padding: 72px 32px; }
.kw-inquiry__inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.kw-inquiry__heading { font-family: var(--kw-font-display); font-size: 32px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; line-height: 1.2; }
.kw-inquiry__info { font-family: var(--kw-font-body); font-size: 17px; color: var(--kw-cream); line-height: 1.6; margin: 0 0 22px; }
.kw-inquiry__form { background: rgba(255,255,255,0.08); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--kw-radius); padding: 28px; }
.kw-field { display: block; margin-bottom: 14px; }
.kw-field label { display: block; font-family: var(--kw-font-display); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--kw-sand); margin-bottom: 6px; }
.kw-field input, .kw-field textarea { width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); color: #fff; font-family: var(--kw-font-body); font-size: 15px; border-radius: 6px; box-sizing: border-box; }
.kw-field input::placeholder, .kw-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.kw-field textarea { min-height: 80px; resize: vertical; }

@media (max-width: 880px) {
  .kw-header-inner { padding: 0 20px; min-height: 64px; }
  .kw-nav-desktop { display: none; }
  /* #1088: minmax(0,1fr) statt 1fr — 1fr heisst minmax(auto,1fr), das auto-Minimum (z.B. die
     Mailadresse in der Kontakt-Spalte) macht das Raster sonst breiter als den Bildschirm.
     !important bleibt bewusst stehen (Bestand, sechs weitere Bausteine haengen dran). */
  .kw-usps, .kw-series-grid, .kw-card-grid, .kw-trust-bar, .kw-keyfact-grid, .kw-footer__grid, .kw-inquiry__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .kw-trust-item { border-right: none; border-bottom: 1px solid var(--kw-border); }
  .kw-section { padding: 56px 20px; }
  .kw-footer__links li a { padding: 6px 0; } /* Fix #1278 Punkt 7: 4px ergab nur 41,6px, Gate verlangt >=44px */
}

/* #1088: Telefon-Stufe — Fusszeile einspaltig, damit lange Ueberschriften (z.B. FORSTGERÄTE)
   und schmale Spalten sich nie mehr gegenseitig hinausschieben.
   Braucht !important, weil die 880er-Regel darueber !important traegt. */
@media (max-width: 520px) {
  .kw-footer__grid { grid-template-columns: minmax(0, 1fr) !important; gap: 32px; }
}

/* ============================================================
 * SERIES CARD — Bauart-Code als großer Anker
 * ============================================================ */
.kw-series-card-code {
  font-family: var(--kw-font-display);
  font-size: 36px; font-weight: 700;
  color: var(--kw-bordeaux);
  line-height: 1; margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* ============================================================
 * PRODUCT CARD — Bauart-Label + Spec-Pills (SSOT-driven)
 * ============================================================ */
.kw-card-bauart {
  display: inline-block;
  font-family: var(--kw-font-display);  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-bordeaux);
  margin-bottom: 6px;
}
.kw-card-name {
  font-family: var(--kw-font-display);
  font-size: 22px; font-weight: 700;
  color: var(--kw-body-text);
  margin: 0 0 8px;
}
.kw-card-desc {
  font-family: var(--kw-font-body);
  font-size: 14px; line-height: 1.6;
  color: var(--kw-text-muted);
  margin: 0 0 16px;
  flex: 1;
}
.kw-card-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
  flex: 1;                  /* drückt CTA-Block ans Card-Ende, sorgt für gleiche Höhen */
  align-content: flex-start;
}
.kw-card-spec {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--kw-font-body);
  font-size: 13px; color: var(--kw-text-muted);
  background: var(--kw-cream);
  border: 1px solid var(--kw-border);
  border-radius: 6px;
  padding: 5px 10px;
}
.kw-card-spec strong {
  font-family: var(--kw-font-display);
  font-weight: 700;
  color: var(--kw-body-text);
}
.kw-card-spec--primary {
  background: rgba(151,35,63,0.06);
  border-color: rgba(151,35,63,0.2);
  color: var(--kw-bordeaux);
}
.kw-card-spec--primary strong { color: var(--kw-bordeaux); }
.kw-card-spec img { width: 14px; height: 14px; opacity: 0.7; }
.kw-card-spec--primary img { opacity: 1; }
.kw-card-cta {
  display: inline-block;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-bordeaux);
  text-decoration: none;
  align-self: flex-start;
}
.kw-card-cta:hover { color: var(--kw-bordeaux-dark); }

/* ===== Card Actions — Funnel A direkt aus dem Grid ===== */
.kw-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;          /* anchor unten in der Card */
  padding-top: 16px;
  border-top: 1px solid var(--kw-border);
}
.kw-card-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kw-bordeaux);
  color: #fff;
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 6px;
  transition: all var(--kw-transition);
}
.kw-card-cta-primary:hover {
  background: var(--kw-bordeaux-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(151,35,63,0.28);
}
.kw-card-cta-secondary {
  display: inline-block;
  align-self: center;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--kw-text-muted);
  text-decoration: none;
}
.kw-card-cta-secondary:hover { color: var(--kw-bordeaux); }
/* Fix #1278 Punkt 2: Tipp-Flaeche war 128x20px (Soll >=44px). Negative
   Margin gleicht das zusaetzliche Padding aus, damit sich Karten-Layout/
   Desktop nicht verschiebt -- reine Tipp-Flaechen-Vergroesserung. */
@media (max-width: 767px) {
  .kw-card-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 4px;
    margin: -13px -4px;
  }
}
.kw-card-award {
  position: absolute; top: 12px; left: 12px;
  background: var(--kw-bordeaux);
  color: #fff;
  font-family: var(--kw-font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}
.kw-card-img { position: relative; }

/* ============================================================
 * ARCHIVE PAGE — Filter-System v2 (SSOT)
 * ============================================================ */
.kw-archive-hero {
  background: var(--kw-cream);
  padding: 56px 32px 40px;
  border-bottom: 1px solid var(--kw-border);
}
.kw-archive-hero-inner { max-width: 1200px; margin: 0 auto; }
.kw-archive-h1 {
  font-family: var(--kw-font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700; line-height: 1.15;
  color: var(--kw-body-text);
  margin: 8px 0 14px;
}
.kw-archive-lead {
  font-family: var(--kw-font-body);
  font-size: 17px; line-height: 1.6;
  color: var(--kw-text-muted);
  max-width: 640px; margin: 0;
}

.kw-archive-section { background: #fff; padding: 40px 32px 80px; }
.kw-archive-inner { max-width: 1280px; margin: 0 auto; }
.kw-archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar (desktop) */
.kw-archive-sidebar {
  position: sticky; top: 100px;
  background: var(--kw-cream);
  border: 1px solid var(--kw-border);
  border-radius: var(--kw-radius);
  padding: 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.kw-archive-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--kw-border);
}
.kw-archive-sidebar-header h2 {
  font-family: var(--kw-font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-bordeaux);
  margin: 0;
}
.kw-archive-hits {
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 600;
  color: var(--kw-text-muted);
}

/* Mobile bar */
.kw-archive-mobile-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--kw-border);
  position: sticky; top: 64px; z-index: 100;
  margin: -40px -32px 16px;
}
.kw-archive-mobile-filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kw-bordeaux); color: #fff;
  border: 0; border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  cursor: pointer;
}
.kw-archive-filter-icon { font-size: 14px; transform: rotate(90deg); display: inline-block; }
.kw-archive-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: #fff; color: var(--kw-bordeaux);
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  margin-left: 4px;
}

/* Filter Form */
.kw-filter-form { display: flex; flex-direction: column; gap: 24px; }
.kw-filter-group { border: 0; padding: 0; margin: 0; }
.kw-filter-group legend {
  display: flex; align-items: baseline; justify-content: space-between;
  width: 100%;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-body-text);
  margin-bottom: 12px;
  padding: 0;
}
.kw-filter-value {
  font-family: var(--kw-font-body);
  font-size: 13px; font-weight: 400;
  color: var(--kw-bordeaux);
  text-transform: none; letter-spacing: 0;
}

/* Filter Chips (Bauart) */
.kw-filter-form .kw-filter-chip {
  display: flex; align-items: center; gap: 0;
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: 6px;
  padding: 0;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all var(--kw-transition);
  text-transform: none; letter-spacing: 0;
}
.kw-filter-form .kw-filter-chip input {
  position: absolute; opacity: 0; pointer-events: none;
}
.kw-filter-chip-label {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 10px 14px;
  font-family: var(--kw-font-body);
  font-size: 14px;
  color: var(--kw-body-text);
}
.kw-filter-chip-label strong {
  font-family: var(--kw-font-display);
  font-size: 13px; font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: 1px;
  min-width: 24px;
}
.kw-filter-form .kw-filter-chip:hover {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.03);
}
.kw-filter-form .kw-filter-chip.is-active {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.08);
}
.kw-filter-form .kw-filter-chip.is-active .kw-filter-chip-label::after {
  content: '✓';
  margin-left: auto;
  color: var(--kw-bordeaux);
  font-weight: 700;
}

/* ============================================
 * Filter Bauart-List (premium, vertikal mit Tagline)
 * Eine Zeile pro Bauart — Name (Display) + Tagline (Body, muted).
 * ============================================ */
.kw-filter-bauart-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kw-filter-bauart {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color var(--kw-transition), background var(--kw-transition), box-shadow var(--kw-transition);
}
.kw-filter-bauart input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.kw-filter-bauart-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--kw-border);
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: border-color var(--kw-transition), background var(--kw-transition);
}
.kw-filter-bauart-check::after {
  content: '';
  position: absolute;
  top: 4px; left: 7px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.kw-filter-bauart-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kw-filter-bauart-name {
  font-family: var(--kw-font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--kw-text);
}
.kw-filter-bauart-tagline {
  font-family: var(--kw-font-body);
  font-size: 12px;
  line-height: 1.35;
  color: var(--kw-text-muted);
}
.kw-filter-bauart:hover {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.025);
}
.kw-filter-bauart.is-active {
  border-color: var(--kw-bordeaux);
  background: rgba(151,35,63,0.06);
  box-shadow: 0 0 0 1px var(--kw-bordeaux) inset;
}
.kw-filter-bauart.is-active .kw-filter-bauart-check {
  background: var(--kw-bordeaux);
  border-color: var(--kw-bordeaux);
}
.kw-filter-bauart.is-active .kw-filter-bauart-check::after {
  transform: rotate(45deg) scale(1);
}
.kw-filter-bauart.is-active .kw-filter-bauart-name {
  color: var(--kw-bordeaux);
}

/* ============================================
 * Range-Slider v2 (mit Achsen-Skala + Readout oben)
 * Layout: [Readout-Wert] / [Track + Thumbs] / [Min .... Max]
 * ============================================ */
.kw-range {
  position: relative;
  padding: 0 4px;
}

/* Readout: aktueller Bereich, prominent oben */
.kw-range-readout {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 12px;
}
.kw-range-readout-value {
  font-family: var(--kw-font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--kw-bordeaux);
  letter-spacing: 0.2px;
}
.kw-range-readout-value span[aria-hidden="true"] {
  color: var(--kw-text-muted);
  font-weight: 400;
  margin: 0 4px;
}

/* Slider-Bahn: Track + Fill + zwei Inputs */
.kw-range-slider-area {
  position: relative;
  height: 28px;
}
.kw-range-track {
  position: absolute;
  top: 12px;
  left: 0; right: 0;
  height: 4px;
  background: var(--kw-border);
  border-radius: 2px;
  pointer-events: none;
}
.kw-range-fill {
  position: absolute;
  top: 0; bottom: 0;
  background: var(--kw-bordeaux);
  border-radius: 2px;
}
.kw-range-input {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  width: 100%;
  height: 28px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  margin: 0;
}
/* Thumbs — Webkit (28px, premium look mit Doppel-Border) */
.kw-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--kw-bordeaux);
  box-shadow: 0 2px 6px rgba(151,35,63,0.25), 0 0 0 1px rgba(0,0,0,0.04);
  cursor: grab;
  pointer-events: auto;
  margin-top: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.kw-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(151,35,63,0.35), 0 0 0 1px rgba(0,0,0,0.04);
}
.kw-range-input::-webkit-slider-thumb:active {
  cursor: grabbing;
  background: var(--kw-bordeaux);
  transform: scale(1.05);
}
/* Thumbs — Firefox */
.kw-range-input::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--kw-bordeaux);
  box-shadow: 0 2px 6px rgba(151,35,63,0.25);
  cursor: grab;
  pointer-events: auto;
}
.kw-range-input::-moz-range-thumb:active {
  cursor: grabbing;
  background: var(--kw-bordeaux);
}
.kw-range-input::-moz-range-track { background: transparent; }

/* Achsen-Skala (Min, Max) */
.kw-range-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--kw-font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--kw-text-muted);
  letter-spacing: 0.2px;
}

/* ============================================
 * Filter "Erweitert" Collapsible (premium)
 * ============================================ */
.kw-filter-advanced {
  border-top: 1px solid var(--kw-border);
  padding-top: 18px;
  margin-top: 4px;
}
.kw-filter-advanced > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-family: var(--kw-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--kw-text);
  padding: 6px 0;
  user-select: none;
}
.kw-filter-advanced > summary::-webkit-details-marker { display: none; }
.kw-filter-advanced > summary:hover { color: var(--kw-bordeaux); }
.kw-filter-advanced-caret {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  color: var(--kw-text-muted);
  transform: rotate(90deg);
  transition: transform var(--kw-transition);
}
.kw-filter-advanced.is-open .kw-filter-advanced-caret {
  transform: rotate(270deg);
}
.kw-filter-advanced[open] > .kw-filter-group--nested {
  margin-top: 20px;
}
.kw-filter-group--nested {
  margin-top: 20px;
}
.kw-filter-group--nested:first-of-type { margin-top: 20px; }

/* Hint subtitle in legend */
.kw-filter-hint {
  display: block;
  font-family: var(--kw-font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--kw-text-muted);
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}

/* Inline-Kontext (unter Slider, klein, ruhig) */
.kw-filter-context {
  font-family: var(--kw-font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--kw-text-muted);
  margin: 12px 0 0;
  line-height: 1.4;
}

/* Disabled fieldset */
.kw-filter-group.is-disabled {
  opacity: 0.45;
}
.kw-filter-group.is-disabled .kw-filter-radio {
  cursor: not-allowed;
}
.kw-filter-disabled-note {
  font-family: var(--kw-font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--kw-text-muted);
  margin: 10px 0 0;
}

/* ============================================
 * Archive Hero CTAs (Quiz-Einstieg)
 * ============================================ */
.kw-archive-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.kw-archive-hero-ctas-or {
  font-family: var(--kw-font-body);
  font-size: 14px;
  color: var(--kw-text-muted);
}

/* Filter Radio (kept; old slider styles below are no longer referenced — left for safety) */
.kw-filter-radio-row {
  display: flex; gap: 6px;
  background: #fff;
  border: 1px solid var(--kw-border);
  border-radius: 6px;
  padding: 4px;
}
.kw-filter-radio {
  flex: 1; text-align: center;
  padding: 8px 6px;
  font-family: var(--kw-font-body);
  font-size: 13px;
  color: var(--kw-body-text);
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--kw-transition);
}
.kw-filter-radio input { position: absolute; opacity: 0; pointer-events: none; }
.kw-filter-radio:hover { background: var(--kw-cream); }
.kw-filter-radio.is-active {
  background: var(--kw-bordeaux); color: #fff; font-weight: 600;
}

.kw-filter-reset {
  align-self: flex-start;
  background: transparent;
  border: 0;
  font-family: var(--kw-font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--kw-text-muted);
  cursor: pointer;
  padding: 0;
}
.kw-filter-reset:hover { color: var(--kw-bordeaux); }

/* Empty state */
.kw-archive-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--kw-cream);
  border-radius: var(--kw-radius);
}
.kw-archive-empty h3 {
  font-family: var(--kw-font-display);
  font-size: 22px; font-weight: 700;
  color: var(--kw-body-text);
  margin: 0 0 8px;
}
.kw-archive-empty p {
  font-family: var(--kw-font-body);
  font-size: 15px; color: var(--kw-text-muted);
  margin: 0 0 20px;
}

/* ============================================================
 * BOTTOM SHEET (Mobile-Filter)
 * ============================================================ */
.kw-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1700;
  animation: kwFadeIn 0.2s ease;
}
.kw-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1800;
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-height: 88%;
  display: flex; flex-direction: column;
  box-shadow: 0 -12px 32px rgba(0,0,0,0.25);
  animation: kwSlideUp 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.kw-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--kw-border);
  flex-shrink: 0;
}
.kw-sheet-header h2 {
  font-family: var(--kw-font-display);
  font-size: 18px; font-weight: 700;
  color: var(--kw-body-text);
  margin: 0;
}
.kw-sheet-header::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 4px;
  background: var(--kw-border);
  border-radius: 2px;
}
.kw-sheet-close {
  width: 36px; height: 36px;
  background: var(--kw-cream); border: 0;
  border-radius: 50%;
  font-size: 24px; line-height: 1;
  color: var(--kw-body-text);
  cursor: pointer;
}
.kw-sheet-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
}
.kw-sheet-footer {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--kw-border);
  flex-shrink: 0;
  background: #fff;
}
.kw-btn-block { display: block; width: 100%; text-align: center; }

@keyframes kwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kwSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ============================================================
 * RESPONSIVE: Archive
 * ============================================================ */
@media (max-width: 1100px) {
  .kw-archive-layout { grid-template-columns: 1fr; }
  .kw-archive-sidebar { display: none; }
}

/* Mobile-frame override (forced by .is-mobile-view from index.html) */
.is-mobile-view .kw-archive-layout { grid-template-columns: 1fr; }
.is-mobile-view .kw-archive-sidebar { display: none; }
.is-mobile-view .kw-archive-mobile-bar { display: flex; }
.is-desktop-view .kw-archive-mobile-bar { display: none; }
.is-desktop-view .kw-sheet,
.is-desktop-view .kw-sheet-backdrop { display: none; }

/* ============================================================
 * MOBILE SPACING PASS — USP-Bar, Cards, Hero, Sticky-CTA
 * ============================================================ */
.is-mobile-view .kw-hero-content { padding: 56px 20px; }
.is-mobile-view .kw-hero h1 { font-size: 32px; line-height: 1.15; margin-bottom: 14px; }
.is-mobile-view .kw-hero p.lead { font-size: 16px; margin-bottom: 24px; }
.is-mobile-view .kw-btn-group { flex-direction: column; gap: 10px; }
.is-mobile-view .kw-btn-group .kw-btn { width: 100%; }

.is-mobile-view .kw-usps { grid-template-columns: 1fr 1fr; }
.is-mobile-view .kw-usp { padding: 24px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.is-mobile-view .kw-usp:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
.is-mobile-view .kw-usp:nth-child(2n) { border-right: none; }
.is-mobile-view .kw-usp-num { font-size: 28px; }
.is-mobile-view .kw-usp-label { font-size: 10.5px; letter-spacing: 1.5px; }

.is-mobile-view .kw-section { padding: 48px 20px; }
.is-mobile-view .kw-section-heading { font-size: 26px; padding-bottom: 18px; }
.is-mobile-view .kw-section-sub { font-size: 15px; margin-bottom: 32px; }
.is-mobile-view .kw-overline-c { font-size: 11px; letter-spacing: 2px; }

.is-mobile-view .kw-series-grid { grid-template-columns: 1fr; gap: 14px; }
.is-mobile-view .kw-series-card { padding: 22px 20px; }
.is-mobile-view .kw-series-card-code { font-size: 28px; margin-bottom: 12px; }

.is-mobile-view .kw-card-grid { grid-template-columns: 1fr; gap: 16px; }
.is-mobile-view .kw-card-img { height: 180px; }
.is-mobile-view .kw-card-body { padding: 18px 18px 22px; }
.is-mobile-view .kw-card-name { font-size: 19px; }

.is-mobile-view .kw-trust-bar { grid-template-columns: 1fr; }
.is-mobile-view .kw-trust-item { padding: 28px 20px; border-right: none; border-bottom: 1px solid var(--kw-border); }
.is-mobile-view .kw-trust-item:last-child { border-bottom: none; }
.is-mobile-view .kw-trust-item h3 { font-size: 15px; }

.is-mobile-view .kw-keyfact-bar { padding: 32px 20px; }
.is-mobile-view .kw-keyfact-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
.is-mobile-view .kw-keyfact img { width: 36px; height: 36px; }
.is-mobile-view .kw-keyfact-value { font-size: 22px; }

.is-mobile-view .kw-testimonial { padding: 28px 22px 24px; }
.is-mobile-view .kw-testimonial blockquote { font-size: 16px; }

.is-mobile-view .kw-archive-hero { padding: 36px 20px 28px; }
.is-mobile-view .kw-archive-h1 { font-size: 28px; }
.is-mobile-view .kw-archive-lead { font-size: 15px; }
.is-mobile-view .kw-archive-section { padding: 24px 20px 96px; } /* 96px = Sticky-CTA-Reserve */

/* Sticky-CTA: in Mobile-Frame absolute positioniert (s. index.html), Reserve via padding-bottom */
.is-mobile-view .kw-section--bordeaux { padding-bottom: 96px; }

/* Footer: Mobile */
.is-mobile-view .kw-footer__grid { grid-template-columns: 1fr; gap: 28px; }
.is-mobile-view .kw-footer__main { padding: 36px 0 28px; }
.is-mobile-view .kw-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }

/* Inquiry */
.is-mobile-view .kw-inquiry { padding: 48px 20px 96px; }
.is-mobile-view .kw-inquiry__inner { grid-template-columns: 1fr; gap: 28px; }
.is-mobile-view .kw-inquiry__heading { font-size: 24px; }
.is-mobile-view .kw-inquiry__info { font-size: 15px; }
.is-mobile-view .kw-inquiry__form { padding: 22px 18px; }

/* ============================================================
 * MOBILE SPACING PASS — Detail-Page (Product)
 * ============================================================ */
.is-mobile-view .kw-product__hero { min-height: 460px; }
.is-mobile-view .kw-product__hero-inner { padding: 0 20px 36px; }
.is-mobile-view .kw-product__hero-category { font-size: 11px; letter-spacing: 2px; margin-bottom: 8px; }
.is-mobile-view .kw-product__hero-title { font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.is-mobile-view .kw-product__hero-tagline { font-size: 16px; line-height: 1.45; margin-bottom: 18px; }
.is-mobile-view .kw-product__hero-badges { gap: 8px; margin-bottom: 22px; }
.is-mobile-view .kw-product__hero-badge { padding: 7px 11px; font-size: 12px; }
.is-mobile-view .kw-product__hero-badge img { width: 16px; height: 16px; }

/* Features-Grid: 1-spaltig, kompakter */
.is-mobile-view .kw-product-features { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.is-mobile-view .kw-product-feature { padding: 22px 20px; }
.is-mobile-view .kw-product-feature-num { font-size: 26px; margin-bottom: 8px; }
.is-mobile-view .kw-product-feature h4 { font-size: 17px; margin-bottom: 8px; }
.is-mobile-view .kw-product-feature p { font-size: 14px; margin-bottom: 12px; }

/* Ausstattung */
.is-mobile-view .kw-ausstattung-lead { font-size: 14.5px; margin-bottom: 18px; }
.is-mobile-view .kw-ausstattung-list--standard li { font-size: 14px; padding: 9px 12px 9px 32px; }
.is-mobile-view .kw-ausstattung-list--option li { padding: 12px 14px; gap: 12px; }
.is-mobile-view .kw-ausstattung-thumb { flex: 0 0 48px; width: 48px; height: 48px; }
.is-mobile-view .kw-ausstattung-list--option li strong { font-size: 14px; }
.is-mobile-view .kw-ausstattung-list--option li span { font-size: 13px; line-height: 1.45; }

/* Testimonial im Bordeaux-Block */
.is-mobile-view .kw-product-testimonial { padding: 8px 0; }
.is-mobile-view .kw-product-testimonial blockquote p { font-size: 18px; line-height: 1.45; }
.is-mobile-view .kw-product-testimonial figcaption strong { font-size: 14.5px; }
.is-mobile-view .kw-product-testimonial figcaption span { font-size: 13px; }

/* Specs-Tabelle: kompaktere Zellen */
.is-mobile-view .kw-product__specs-table td { padding: 11px 16px; font-size: 14px; }
.is-mobile-view .kw-product__specs-table td:first-child { width: 45%; }

/* Section-Padding der Detail-Page-Bordeaux-Sektion (Testimonial steckt drin) */
.is-mobile-view .kw-section--bordeaux { padding-top: 48px; }

/* ==========================================================================
   GUTENBERG LAYOUT — contentSize 860px / widSize 1200px
   Direkte CSS-Regeln, da <main> kein is-layout-constrained hat.
   ========================================================================== */
/* #1074: Seitliches Padding von <main> steckt in --kw-main-pad, damit der
   Full-Bleed-Ausbruch der kw-Bloecke weiter unten IMMER exakt so gross ist wie
   das tatsaechliche Padding. Vorher waren beide Werte hart getippt und liefen
   je Breakpoint und je Seitentyp auseinander (Handy: 8px Ueberstand je Seite,
   still abgeschnitten, weil html/body auf overflow-x: clip stehen).
   Wer das Padding hier oder in einer anderen Datei ueberschreibt, MUSS
   --kw-main-pad mitsetzen. */
#primary.kw-main {
    --kw-main-pad: 1.5rem;
    padding-left: var(--kw-main-pad);
    padding-right: var(--kw-main-pad);
    box-sizing: border-box;
}

/* Fluentform-Fieldset bricht Flex-Columns auf (#467):
   Das Plugin setzt `min-inline-size: 100%` inline auf <fieldset> — das zwingt
   die Eltern-Column auf intrinsische Mindestbreite UND verbiegt 40/60-Splits.
   Fix: min-width:0 auf wp-block-column erzwingen + fieldset min-inline-size killen. */
.wp-block-columns > .wp-block-column { min-width: 0; }
.wp-block-column .fluentform fieldset { min-inline-size: 0 !important; }
#primary.kw-main > *:not(.alignwide):not(.alignfull) {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
#primary.kw-main > .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
#primary.kw-main > .alignfull {
    margin-left: calc(-1 * var(--kw-main-pad));
    margin-right: calc(-1 * var(--kw-main-pad));
    max-width: calc(100% + 2 * var(--kw-main-pad));
    width: calc(100% + 2 * var(--kw-main-pad));
    /* Edge-to-edge Sektionen: keine vertikalen Default-Gaps zwischen alignfull-Blöcken (weiße Streifen). */
    margin-top: 0;
    margin-bottom: 0;
}
/* Selbe Logik für ACF-Blöcke die als alignfull rendern (kw-package-box, kw-countdown, kw-hero etc.) */
#primary.kw-main > [class*='kw-'].alignfull,
#primary.kw-main > .wp-block-acf[data-align='full'] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* WP-Core-Block-Gap (~30px margin-block) zwischen direkten Sektionen killen —
   sonst weiße Streifen zwischen z.B. wp-block-columns und nachfolgender alignfull-Cream/Forest-Sektion. */
#primary.kw-main > * {
    margin-top: 0;
    margin-bottom: 0;
}
/* SECTION-Wrapper aus kw-blocks (kw-block-section--bordeaux/cream/forest) auch flush */
#primary.kw-main > section.kw-block-section,
#primary.kw-main > section[class*='kw-'] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* #968: Service-Seite — Luft zwischen der 4er-Kachelzeile und der direkt folgenden
   Bordeaux-CTA. Ohne Regel klebt die rote Sektion an der letzten Kachel (Gap = 0).
   Gewünscht: das Doppelte des Kachel-Abstands (2 × 24px = 48px). Scope bewusst eng —
   nur wenn eine kw-cards-4-Zeile unmittelbar von einer Bordeaux-CTA gefolgt wird.
   Höhere Spezifität + !important, um die Flush-Regel oben gezielt zu überstimmen. */
#primary.kw-main > .kw-cards-4 + section.kw-block-section--bordeaux {
    margin-top: 48px !important;
}
/* Audio-Auftrag B10 (Gregor 21.08.): Auf /polterschild/ ist die Aktionsleiste
   (Sticky-CTA-Block, ACF sb_variant=compact) der ERSTE Inhalts-Block in main.
   Sie steckt in einer alignfull-wp-block-group, deren margin ueberall sonst
   auf 0 steht -- trotzdem blieb eine 24px Creme-Luecke zum Menue. Ursache:
   render.php druckt VOR der <section> ein eigenes <style>-Tag (Issue #1346,
   Inline-CSS-Dopplung); das macht den <style>-Tag zum DOM-:first-child der
   Gruppe statt der Sektion. WP-Global-Styles setzen `:first-child { margin-
   block-start:0 }` nur auf den (falschen) :first-child, waehrend die generische
   Block-Gap-Regel `:root :where(.is-layout-flow) > *` (24px) auf die Sektion
   durchschlaegt. Scope bewusst eng auf "Aktionsleiste ist erstes Kind der
   ersten alignfull-Gruppe von main" -- betrifft NUR /polterschild/ (id 2196).
   Die 5 lp/at/*-Landingpages haben den Block als LETZTEN Block und laufen
   ohnehin ueber main.kw-lp-content statt #primary.kw-main, bleiben unberuehrt. */
#primary.kw-main > .wp-block-group.alignfull:first-child > .kw-aktionsleiste {
    margin-top: 0;
}
@media (max-width: 768px) {
    /* #1074: Nur noch die Variable umstellen. Padding UND Full-Bleed-Ausbruch
       oben ziehen sich den Wert von hier, koennen also nicht mehr auseinanderlaufen. */
    #primary.kw-main {
        --kw-main-pad: 1rem;
    }

    /* #1274 (A6): Gutenberg-Button-Bloecke mit einer im Editor gesetzten
       Prozent-Breite (core-Klassen wp-block-button__width-25/-50/-75) haben
       KEINE eingebaute Mobil-Regel -- WP-Core resettet die Breite nur beim
       "Stack on mobile"-Verhalten der Columns, nicht bei diesen Buttons.
       Ergebnis auf /ueber-uns/team/ ("Mail schreiben"): 25% von ~330px Karte
       = Knopf ~64px breit, Label bricht auf 1 Buchstabe/Zeile und ragt in die
       Nachbarkarte. Ab 768px zurueck auf volle Breite + Buttons-Reihe
       untereinander (analog .kw-btn-group), Tap-Ziel bleibt >=44px durch die
       Button-Padding weiter oben. Kein Text-/Optik-Unterschied auf Desktop. */
    .wp-block-button.wp-block-button__width-25,
    .wp-block-button.wp-block-button__width-50,
    .wp-block-button.wp-block-button__width-75 {
        width: 100% !important;
    }
    .wp-block-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .wp-block-buttons .wp-block-button__link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* #1274 Nachbesserung (Live-Befund 01.09.): A6 oben deckte nur Buttons
       mit expliziter width-25/50/75-Klasse ab. Der Knopf auf
       /ueber-uns/team/ ("Mail schreiben", Abschnitt "Schreib uns direkt")
       hat keine Breiten-Klasse -- er sitzt als .wp-block-buttons neben
       einem Text-Absatz in einer .wp-block-group.is-nowrap (Editor-Schalter
       "Nicht umbrechen"), flex-direction row. is-nowrap hebt WP-Cores
       eigenes Stack-on-Mobile fuer Flex-Groups auf, darum quetscht der
       Flexbox-Algorithmus .wp-block-buttons bei 375px auf ~64px Breite,
       bevor die width:100%-Regel oben greifen kann (100% von 64px bleibt
       64px). Live gemessen: Knopf 64x345px, Label 1 Buchstabe/Zeile,
       rechte Kante ragt 19px in die Nachbarkarte.
       Fix an der Ursache: die is-nowrap-Gruppe darf wieder umbrechen,
       sobald sie einen Button-Block enthaelt, der Button-Block bekommt
       dabei die volle Zeile -- danach greift die width:100%-Regel oben
       gegen die tatsaechliche Kartenbreite statt gegen 64px. Scope per
       :has() bewusst eng auf is-nowrap-Gruppen MIT Button-Kind -- reine
       Icon/Label-Zeilen in is-nowrap-Gruppen ohne Buttons bleiben
       unberuehrt (Selektor greift dort gar nicht). */
    .wp-block-group.is-nowrap:has(.wp-block-buttons) {
        flex-wrap: wrap;
    }
    .wp-block-group.is-nowrap:has(.wp-block-buttons) > .wp-block-buttons {
        flex: 1 1 100%;
    }
}

/* Layout-Fix: kw-Bloecke (ACF) gehen immer full-width, nicht auf 860px begrenzen */
#primary.kw-main > *:not(.alignwide):not(.alignfull):not([class*='kw-']) {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
/* Override der ersten Regel fuer kw-Bloecke (full-bleed-Effekt).
   AUSSCHLUSS: .kw-sh-wrapper (Section-Heading) — soll mittig/zentriert
   bleiben, nicht full-bleed. Sonst läuft auf Mobile das Heading über den
   Viewport-Rand (Gregor 2026-05-27, Diagnose: -1.5rem = -24px Margin).
   #1074: Ausbruch haengt jetzt an --kw-main-pad statt an harten 1.5rem, sonst
   ragt der Block auf jedem Seitentyp mit abweichendem Padding ueber den
   Viewport. box-sizing: border-box zieht ausserdem das EIGENE Padding der
   Sektion in die 100% hinein — vorher (content-box) kam es obendrauf und hat
   den Text noch weiter hinausgeschoben (Handy 375px: Block 431px statt 375px). */
#primary.kw-main > [class*='kw-']:not(.kw-sh-wrapper) {
    box-sizing: border-box;
    max-width: calc(100% + 2 * var(--kw-main-pad)) !important;
    width: calc(100% + 2 * var(--kw-main-pad)) !important;
    margin-left: calc(-1 * var(--kw-main-pad)) !important;
    margin-right: calc(-1 * var(--kw-main-pad)) !important;
}
/* Stop-Motion soll nicht full-bleed, sondern auf max_width-ACF-Setting clampen. */
#primary.kw-main > .kw-stop-motion {
    max-width: var(--kw-sm-max-w, 100%) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================================
 * SINGLE-ZUBEHOER Template
 * WAS:  Layout fuer single-zubehoer.php (Hero + Beschreibung + Fakten + Cross-Sell + CTA).
 * WARUM: Conversion-Architektur, nutzt kw-container-Tokens fuer konsistente Widths.
 * ============================================================ */
.kw-single-zubehoer .kw-section-head { text-align: center; margin-bottom: 36px; }

.kw-zub-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.kw-zub-hero__media {
	background: #fff;
	border-radius: var(--kw-radius, 12px);
	padding: 32px;
	box-shadow: var(--kw-shadow-md);
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.kw-zub-hero__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.kw-zub-hero__placeholder {
	font-family: var(--kw-font-display);
	font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 1.5px;
	color: var(--kw-text-muted);
}
.kw-zub-hero__body { display: flex; flex-direction: column; gap: 14px; }
.kw-zub-hero__back {
	font-family: var(--kw-font-display);
	font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 1.5px;
	color: var(--kw-text-muted);
	text-decoration: none;
	margin-bottom: 4px;
	align-self: flex-start;
}
.kw-zub-hero__back:hover { color: var(--kw-bordeaux); }
.kw-zub-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kw-zub-hero .kw-btn-group { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

.kw-zub-prose {
	font-family: var(--kw-font-body);
	font-size: 17px; line-height: 1.7;
	color: var(--kw-body-text);
}
.kw-zub-prose p { margin: 0 0 18px; }
.kw-zub-prose h2 { font-family: var(--kw-font-display); font-size: 26px; margin: 36px 0 14px; color: var(--kw-body-text); }
.kw-zub-prose h3 { font-family: var(--kw-font-display); font-size: 20px; margin: 28px 0 12px; }
.kw-zub-prose ul, .kw-zub-prose ol { margin: 0 0 18px 22px; }

.kw-zub-facts {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--kw-radius, 12px);
	overflow: hidden;
	box-shadow: var(--kw-shadow-sm);
}
.kw-zub-facts th, .kw-zub-facts td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--kw-border, rgba(0,0,0,0.08));
	font-family: var(--kw-font-body);
	font-size: 15px;
	text-align: left;
	vertical-align: top;
}
.kw-zub-facts th {
	font-family: var(--kw-font-display);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--kw-text-muted);
	width: 38%;
}
.kw-zub-facts tr:last-child th, .kw-zub-facts tr:last-child td { border-bottom: none; }
.kw-zub-facts__note { margin-top: 18px; color: var(--kw-text-muted); font-style: italic; }

@media (max-width: 800px) {
	.kw-zub-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.kw-zub-hero__media { aspect-ratio: 4 / 3; padding: 20px; }
}

/* =====================================================================
 * Sticky-CTA (global) — Single + Hub-Pages
 *
 * WAS:   Fixed bottom-bar, erscheint ab Scroll. Sprung zu #anfrage mit
 *        GET-Params. Auto-Hide wenn Form im Viewport (IntersectionObserver).
 * WARUM: Conversion-Hebel auf langen Detail-/Hub-Seiten — Mobile UND Desktop.
 *        Min-Tap 44x44 (Body 8.). Desktop-Hide-Regel entfernt mit #692 —
 *        Auto-Hide via IntersectionObserver greift weiterhin, sobald
 *        das Inline-Anfrage-Form sichtbar wird.
 * ===================================================================== */
.kw-sticky-cta {
	display: block;             /* #333: explizit setzen — alte Definition liess display offen */
	position: fixed;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-top: 1px solid var(--kw-border);
	box-shadow: 0 -8px 24px rgba(0,0,0,.10);
	z-index: var(--kw-z-sticky, 60);  /* #370: Token statt Magic-Number */
	padding: 20px clamp(12px, 4vw, 24px);
	/* iOS Safe-Area-Inset: Home-Indicator nicht ueber Bar legen lassen. */
	padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	transform: translateY(120%);
	transition: transform var(--kw-transition, 200ms ease);
	max-width: 100vw;
	overflow: hidden; /* mobile-overflow-guard #302 */
	box-sizing: border-box;
}
.kw-sticky-cta.is-visible { transform: translateY(0); }
.kw-sticky-cta__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;  /* 2026-06-11 Gregor: Buttons rechtsbuendig */
	gap: 12px;
	min-width: 0;        /* erlaubt Text-Truncation in flex-children */
}

/* 2026-06-16 Gregor: Polterschild-Sticky ist auf ALLEN Viewports nur „Angebot per
 * E-Mail schicken" — Mobile + Desktop konsistent. Beratung + Vorbestellen
 * werden im Sticky komplett ausgeblendet (CTAs gibt's reichlich im Page-Content). */
.kw-sticky-cta:has(.kw-sticky-cta__secondary) .kw-sticky-cta__inner {
	display: none;
}
.kw-sticky-cta__secondary {
	display: block;
	padding: 14px 16px;
}
.kw-sticky-cta__angebot-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 60px;
	padding: 16px 24px;
	background: #97233f;
	color: #fff;
	border: 1.5px solid #97233f;
	border-radius: 8px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	line-height: 1.1;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(151, 35, 63, 0.18);
}
.kw-sticky-cta__angebot-btn:hover,
.kw-sticky-cta__angebot-btn:focus-visible {
	background: #7a1c33;
	box-shadow: 0 6px 20px rgba(151, 35, 63, 0.28);
	transform: translateY(-1px);
}
/* Desktop: 2 Buttons nebeneinander. Schrift gross genug, Buttons schlank
 * — single-line via white-space:nowrap, kleinere Padding-Y. */
@media (min-width: 880px) {
	.kw-sticky-cta__secondary {
		padding: 10px 24px;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 10px;
	}
	.kw-sticky-cta__angebot-btn,
	.kw-sticky-cta__vorbestellen-btn {
		box-sizing: border-box;
		height: 52px;
		min-height: 52px;
		max-height: 52px;
		min-width: 240px;
		padding: 0 28px;
		font-family: 'Josefin Sans', sans-serif;
		font-weight: 700;
		font-size: 15px;
		text-transform: uppercase;
		letter-spacing: 1.3px;
		line-height: 1;
		border-radius: 6px;
		text-decoration: none;
		cursor: pointer;
		white-space: nowrap;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.kw-sticky-cta__angebot-btn {
		max-width: none;
		width: auto;
	}
	.kw-sticky-cta__vorbestellen-btn {
		background: #fff;
		color: #97233f;
		border: 1.5px solid #97233f;
	}
	.kw-sticky-cta__vorbestellen-btn:hover,
	.kw-sticky-cta__vorbestellen-btn:focus-visible {
		background: #97233f;
		color: #fff;
		transform: translateY(-1px);
	}
}
/* Mobile (max-width 879): Vorbestellen-Sekundär ausblenden — Mobile-Sticky bleibt
 * single-CTA „Angebot per E-Mail erhalten". */
@media (max-width: 879px) {
	.kw-sticky-cta__vorbestellen-btn { display: none; }
}
.kw-sticky-cta__meta {
	flex: 1 1 auto;
	min-width: 0;        /* Pflicht fuer text-overflow: ellipsis in flex */
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}
.kw-sticky-cta__code {
	display: block;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--kw-body-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kw-sticky-cta__sub {
	display: block;
	font-size: 12px;
	color: var(--kw-sand, var(--kw-text-muted));
	font-style: italic;
}
.kw-sticky-cta__meta--link {
	text-decoration: none;
	cursor: pointer;
}
.kw-sticky-cta__meta--link:hover .kw-sticky-cta__sub,
.kw-sticky-cta__meta--link:focus-visible .kw-sticky-cta__sub {
	opacity: 0.85;
}
/* Beratungs-Modal-Trigger (FF #17 auf /polterschild/) — sekundärer CTA-Button
   (Outline-Style), klar als Knopf erkennbar. Gleiches Layout/Höhe wie der
   primäre .kw-sticky-cta__btn rechts. Gregor 2026-06-11.
   meta_sub ist leer auf polterschild → nur __code (Headline) sichtbar. */
.kw-sticky-cta__meta--button {
	flex: 0 1 auto;
	min-height: 60px;
	padding: 14px 20px;
	background: transparent;
	border: 1.5px solid var(--kw-bordeaux);
	border-radius: var(--kw-radius-sm, 4px);
	margin: 0;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--kw-bordeaux);
	text-align: center;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-sizing: border-box;
	transition: background var(--kw-transition, 200ms ease), color var(--kw-transition, 200ms ease);
}
.kw-sticky-cta__meta--button .kw-sticky-cta__code {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	white-space: nowrap;
}
.kw-sticky-cta__meta--button:hover,
.kw-sticky-cta__meta--button:focus-visible {
	background: var(--kw-bordeaux);
	color: #fff;
	outline: none;
}
@media (min-width: 1100px) {
	.kw-sticky-cta__meta--button {
		min-height: 52px;
		padding: 12px 20px;
	}
}
/* Versteckter FF-Default-Modal-Trigger — User klickt Sticky-Button, JS bridged. */
.kw-beratung-trigger {
	display: none !important;
}
/* Dasselbe fuer den Angebot-Modal-Trigger (#1142). Der Fluent-Forms-Default-Knopf
   wurde bisher nur ueber page-polterschild.css verdeckt, und die Datei hing an der
   deutschen Seiten-ID — auf /en/, /fr/, … stand der nackte, ungestylte Knopf vor
   dem Footer. Die Regel gehoert global neben kw-beratung-trigger: das Angebot-Modal
   wird ausschliesslich ueber die acht gewollten Trigger geoeffnet, der
   Default-Oeffner ist ueberall redundant. */
.kw-angebot-trigger {
	display: none !important;
}

/* X-Close-Button fuer FF Pro Modal (Lity-Lightbox).
   Default-Lity setzt .lity-close auf position:absolute relativ zur .lity (full
   document width) → landet off-screen wenn Lity-Wrap horizontal-scrollt.
   Fix: position relativ zur .lity-container (= sichtbarer Modal-Body), pin
   oben-rechts an der Modal-Ecke. Container braucht position:relative.
   Gregor 2026-06-11 — Beratungs-Modal soll klar dismissbar sein. */
.lity-container {
	position: relative;
}
.lity-container .lity-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	font-size: 28px;
	line-height: 38px;
	font-weight: 400;
	text-align: center;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10000;
	transition: background var(--kw-transition, 200ms ease);
}
.lity-container .lity-close:hover,
.lity-container .lity-close:focus-visible {
	background: rgba(0, 0, 0, 0.75);
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.kw-sticky-cta__btn {
	flex: 0 0 auto;        /* #333: nicht schrumpfen, sonst Label verschwindet */
	min-height: 60px;      /* +50% Bar-Hoehe — Gregor 2026-05-27 */
	min-width: 44px;
	padding: 18px 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	border-radius: var(--kw-radius-sm, 4px);
	text-decoration: none;
	background: var(--kw-bordeaux);
	color: #fff;
	white-space: nowrap;
	box-sizing: border-box;
}
.kw-sticky-cta__btn:hover,
.kw-sticky-cta__btn:focus-visible { background: var(--kw-bordeaux-dark); }

/* Mobile: kurzes Label, Desktop: langes Label. */
.kw-sticky-cta__label--desktop { display: none; }
.kw-sticky-cta__code--desktop { display: none; }
@media (min-width: 640px) {
	.kw-sticky-cta__label--mobile { display: none; }
	.kw-sticky-cta__label--desktop { display: inline; }
	.kw-sticky-cta__code--mobile { display: none; }
	.kw-sticky-cta__code--desktop { display: block; }
}

/* Body-Padding-Reserve, damit Sticky keinen Inhalt verdeckt.
 * Inkl. iOS Safe-Area-Inset, damit der Footer-Content bei Notch-Geraeten
 * nicht unter dem Home-Indicator verschwindet. */
body.kw-has-sticky-cta {
	padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

/* Mobile (<600px): Sticky-Pair (Beratung + Vorbestellen) 50/50 gleich breit.
   Gregor 2026-06-11.
   Issue #960 (3): NUR im gepaarten Polterschild-Layout (Meta = Button)
   drücken — sonst wurde auch der einzelne Produkt-CTA („Konfigurieren") auf
   8px Innenabstand gequetscht, Buchstaben klebten am Rand (Gregor: min. 10px).
   `:has()` grenzt den Crush auf den Pair-Fall ein; der reguläre Sticky-Btn
   behält sein Basis-Padding (18px 22px). */
@media (max-width: 600px) {
	.kw-sticky-cta__inner:has(.kw-sticky-cta__meta--button) > .kw-sticky-cta__meta--button,
	.kw-sticky-cta__inner:has(.kw-sticky-cta__meta--button) > .kw-sticky-cta__btn {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
}

/* Desktop: Bar schlanker (kein Touch-Target-Zwang) #holzquelle */
@media (min-width: 1100px) {
	.kw-sticky-cta {
		padding: 12px clamp(12px, 4vw, 24px);
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}
	.kw-sticky-cta__btn {
		min-height: 52px;
		padding: 12px 20px;
	}
	body.kw-has-sticky-cta {
		padding-bottom: 80px;
	}
}

/* Issue #692: Sticky-CTA auch auf Desktop sichtbar.
 * Mobile-Verhalten unveraendert. Desktop zeigt dieselbe Bottom-Bar
 * (full-width, max-width:1280px inner) — Anfrage-CTA bleibt jederzeit
 * einen Klick entfernt, auch wenn Hero-CTA und Inline-Form aus dem
 * Viewport gescrollt sind. Auto-Hide via IntersectionObserver
 * (kw-sticky-cta.js) greift weiterhin, sobald das Form sichtbar wird. */

/* #302 mobile overflow guard
 * Bug: Single-Seilwinde-Pages erzeugten horizontalen Body-Overflow auf <1100px Viewports,
 *      wodurch die sticky CTA-Bar (fixed; left:0; right:0) visuell verschoben wirkte.
 * Fix: `overflow-x: clip` statt `hidden` — bewahrt position:sticky-Descendants
 *      (kw-header sticky top:0, Filter sticky top:64px, etc.).
 * Scope: nur <1100px, Desktop unbeeinflusst.
 */
@media (max-width: 1099px) {
	html, body { overflow-x: clip; }
}

/* ============================================================
 * Glossar — Single (CPT glossar, Issue #304)
 * Hero + Langdef + Abgrenzung + Verwandt-Grid + CTA + Footer.
 * Kategorie-Pills + Card-Grid kommen aus kw-blocks/glossar-index/style.css.
 * ============================================================ */
.kw-main--glossar-single { background: var(--kw-bg-page, #fff); }

.kw-breadcrumb { padding: 18px 0 0; font-size: 14px; }
.kw-breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; color: var(--kw-text-muted, #777); }
.kw-breadcrumb__list li::after { content: '›'; margin-left: 10px; opacity: 0.5; }
.kw-breadcrumb__list li:last-child::after { content: ''; }
.kw-breadcrumb__list a { color: inherit; text-decoration: none; }
.kw-breadcrumb__list a:hover { text-decoration: underline; }
/* Fix #1278 Punkt 7: Tipp-Flaeche war ~18-20px (Soll >=44px). Negative
   Margin haelt die sichtbare Zeilenhoehe/Desktop-Optik unveraendert. */
@media (max-width: 767px) {
	.kw-breadcrumb__list a { display: inline-block; padding: 13px 2px; margin: -13px -2px; }
}

.kw-glossar-single__hero {
	padding: 56px 0 40px;
	background: linear-gradient(180deg, #fbf8f4 0%, #fff 100%);
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.kw-glossar-single__kat {
	display: inline-block;
	font-family: var(--kw-font-display, "Josefin Sans"), sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e7d9c4;
	color: #6b4a1d;
	margin-bottom: 18px;
}
.kw-glossar-single__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 18px; }
.kw-glossar-single__kurzdef { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 820px; color: var(--kw-text, #222); margin: 0 0 22px; }
.kw-glossar-single__aliases { font-size: 14px; color: var(--kw-text-muted, #666); margin: 14px 0 0; }
.kw-glossar-single__aliases-label { font-weight: 600; margin-right: 8px; }
.kw-glossar-single__alias { display: inline-block; padding: 3px 10px; margin: 2px 4px 2px 0; border: 1px solid rgba(0,0,0,0.12); border-radius: 999px; background: #fff; font-size: 13px; }

/* #1382/#1380 3.5a/b/c: Glossar-Kopf/Definition/Verwandte-Optik, 1:1 aus den
   Designer-Vorlagen reports/issue-1382/designer-lieferung-2-uebergabe/
   block-glossar-{kopf,definition,verwandte}.html uebernommen (Klassennamen wie
   in der Vorlage). Ersetzt .kw-glossar-single__hero/__title/__kurzdef (Kopf)
   und .kw-glossar-single__body/__langdef (Definition) und
   .kw-glossar-single__verwandt* (Card-Grid -> Pill-Liste) in single-glossar.php.
   Die alten Regeln oben bleiben stehen (jetzt ungenutzt, kein Risiko), falls
   irgendwo noch referenziert. --kw-*-Variablen aus css/tokens.css. */
.kw-glossar-kopf { font-family: var(--kw-font-body); background: var(--kw-cream); padding: 32px 20px 30px; }
.kw-glossar-kopf__inner { max-width: 820px; margin: 0 auto; }
.kw-glossar-kopf__breadcrumb { font-family: var(--kw-font-display); font-size: 13px; letter-spacing: 0.5px; color: var(--kw-text-muted); margin-bottom: 14px; }
.kw-glossar-kopf__breadcrumb a { color: var(--kw-text-muted); text-decoration: none; padding: 12px 2px; }
.kw-glossar-kopf__breadcrumb .ist-aktuell { color: var(--kw-bordeaux); font-weight: 600; }
.kw-glossar-kopf__zeile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kw-glossar-kopf__begriff { font-family: var(--kw-font-display); font-size: 32px; font-weight: 700; margin: 0; overflow-wrap: break-word; text-transform: none; }
.kw-glossar-kopf__badge { font-family: var(--kw-font-display); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; background: var(--kw-sand-light); color: var(--kw-body-text); padding: 7px 12px; border-radius: 8px; }
.kw-glossar-kopf .kw-glossar-single__aliases { max-width: 820px; margin: 14px auto 0; }

.kw-glossar-def { font-family: var(--kw-font-body); color: var(--kw-body-text); padding: 32px 20px; }
.kw-glossar-def__inner { max-width: 820px; margin: 0 auto; }
.kw-glossar-def__kurz { font-size: 18px; line-height: 1.6; font-weight: 700; margin: 0; max-width: 60ch; }
.kw-glossar-def__strich { display: block; width: 48px; height: 3px; background: var(--kw-bordeaux); border-radius: 2px; margin: 20px 0 24px; }
.kw-glossar-def__text { max-width: 62ch; }
.kw-glossar-def__text p { font-size: 16px; line-height: 1.7; margin: 0 0 1em; }

.kw-glossar-verwandte { font-family: var(--kw-font-body); background: var(--kw-cream); padding: 28px 20px 32px; }
.kw-glossar-verwandte__inner { max-width: 820px; margin: 0 auto; }
.kw-glossar-verwandte__overline { font-family: var(--kw-font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--kw-bordeaux); margin: 0 0 14px; }
.kw-glossar-verwandte__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kw-glossar-verwandte__pill { display: flex; align-items: center; justify-content: space-between; min-height: 48px; background: var(--kw-white); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 0 18px; font-family: var(--kw-font-display); font-size: 15px; font-weight: 600; color: var(--kw-body-text); text-decoration: none; transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.kw-glossar-verwandte__pill span { color: var(--kw-bordeaux); }
.kw-glossar-verwandte__pill:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); color: var(--kw-bordeaux); }

@media (min-width: 1024px) {
	.kw-glossar-kopf { padding: 48px 32px 44px; }
	.kw-glossar-kopf__begriff { font-size: 48px; }
	.kw-glossar-def { padding: 64px 32px; }
	.kw-glossar-def__kurz { font-size: 21px; }
	.kw-glossar-def__text p { font-size: 17px; line-height: 1.75; }
	.kw-glossar-verwandte { padding: 48px 32px 56px; }
	.kw-glossar-verwandte__liste { flex-direction: row; flex-wrap: wrap; gap: 12px; }
	.kw-glossar-verwandte__pill { display: inline-flex; gap: 10px; }
}

.kw-glossar-single__body, .kw-glossar-single__abgrenzung, .kw-glossar-single__verwandt, .kw-glossar-single__footer { padding: 56px 0; }
.kw-glossar-single__abgrenzung { background: #fbf8f4; }
.kw-glossar-single__body h2, .kw-glossar-single__abgrenzung h2, .kw-glossar-single__verwandt h2 {
	font-size: clamp(24px, 3vw, 34px);
	margin: 0 0 24px;
}
.kw-glossar-single__langdef, .kw-glossar-single__abgrenzung-body { max-width: 820px; font-size: 17px; line-height: 1.7; }
.kw-glossar-single__langdef p, .kw-glossar-single__abgrenzung-body p { margin: 0 0 1em; }
.kw-glossar-single__langdef ul, .kw-glossar-single__abgrenzung-body ul { padding-left: 1.2em; margin: 0 0 1em; }

.kw-glossar-single__verwandt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.kw-glossar-single__cta { padding: 72px 0; background: linear-gradient(180deg, #5a1721 0%, #3d0e16 100%); color: #fff; text-align: center; }
.kw-glossar-single__cta h2 { color: #fff; margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.kw-glossar-single__cta p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 24px; }
.kw-glossar-single__cta .kw-inquiry-cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 0; }

.kw-glossar-single__footer { padding: 36px 0 60px; font-size: 14px; color: var(--kw-text-muted, #777); display: flex; }
.kw-glossar-single__footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; width: 100%; }
.kw-glossar-single__back a { color: inherit; text-decoration: none; font-weight: 600; }
.kw-glossar-single__back a:hover { text-decoration: underline; }

@media (max-width: 720px) {
	.kw-glossar-single__hero { padding: 40px 0 30px; }
	.kw-glossar-single__body, .kw-glossar-single__abgrenzung, .kw-glossar-single__verwandt { padding: 40px 0; }
}

/* ============================================================
 * Topbar Dropdown Position (#320) + Hero Center Layout (#307)
 * Persistiert 2026-05-17 aus Server-Hotfix vom 13./16.05.
 * ============================================================ */
.kw-topbar-utils { position: relative; }
.kw-topbar-dropdown { position: relative; }
.kw-topbar-dropdown-menu, .kw-topbar-dropdown__menu {
    position: absolute !important;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    min-width: 220px;
    z-index: 1100;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: .5rem 0;
    /* Default-Hide (Issue #400):
     * JS (kw-navigation.js) toggled `.open` + `aria-expanded` per Click.
     * CSS-Default versteckt — Show via `.open` ODER `:focus-within` (Keyboard-Tab)
     * ODER `:hover` (Desktop-Pointer). Touch nutzt Click → `.open`. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    /* Issue #400 follow-up: `visibility` aus transition raus — Chrome
     * setzt sonst Show-Rule per Cascade nicht durch (verifiziert Live
     * 2026-05-17). Visibility flippt instant, opacity+transform faden. */
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.kw-topbar-dropdown.open > .kw-topbar-dropdown-menu,
.kw-topbar-dropdown.open > .kw-topbar-dropdown__menu,
.kw-topbar-dropdown:hover > .kw-topbar-dropdown-menu,
.kw-topbar-dropdown:hover > .kw-topbar-dropdown__menu,
.kw-topbar-dropdown:focus-within > .kw-topbar-dropdown-menu,
.kw-topbar-dropdown:focus-within > .kw-topbar-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.kw-topbar-dropdown-menu a, .kw-topbar-dropdown__menu a {
    display: block;
    padding: .5rem 1rem;
}
.kw-hero--combined .kw-hero__content { max-width: 720px; margin: 0 auto; text-align: center; }
.kw-hero--combined .kw-hero__content > * { text-align: center; }
.kw-hero--combined .kw-btn-group { justify-content: center !important; }
.kw-hero--combined .kw-btn-group .kw-btn { min-width: 260px; text-align: center; justify-content: center; }

/* Hero Lead-Text zentrieren (kw-hero-combined Block, alle Bauart-Hub-Pages) */
.kw-hero__lead,
.kw-hero__subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === SSOT-Status Chip „Auslaufend" (Issue #368) ===
 * Warm-Amber (--kw-warning) — KEIN Grün (Memory-Regel feedback_farben.md).
 * Position: absolute oben links auf Card-Thumbnail (Empfehlungs-Chip sitzt rechts).
 */
.kw-card { position: relative; }
.kw-card__image, .kw-card__thumb { position: relative; }
.kw-card__chip-status {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 2;
    line-height: 1.2;
}
.kw-card__chip-status--auslaufend {
    background: var(--kw-warning, #B8860B);
    color: #fff;
}

/* ============================================================
   Windenfinder (Form 10) — Progress-Bar + Slider-Polish
   Stufenanzeige "1 von 3" über Bar, Bordeaux-Farbgebung,
   "+"-Indikator am Slider-Max (PS/Erntemenge).
   ============================================================ */

/* Step-Titles als "X von 3"-Bar — überschreibt inline display:none von FluentForms */
.fluentform .ff-el-progress-title {
    display: flex !important;
    gap: 8px;
    list-style: none;
    margin: 0 0 .5rem 0;
    padding: 0;
    counter-reset: kw-step;
    border-bottom: 0 !important; /* FluentForms native CSS hat hier border-bottom:2px solid #000 — weg */
}
/* FluentForms versteckt inaktive Step-Titel via inline style="display:none";
   aktiver Step bekommt style="display:inline". Wir zeigen ALLE 3 immer + markieren
   den aktiven via [style*="inline"]-Attribut-Selektor (Bordeaux). */
.fluentform .ff-el-progress-title li {
    display: block !important;
    flex: 1 1 0;
    counter-increment: kw-step;
    background: #E5E5E5;
    color: #555;
    font-weight: 600;
    font-size: 0.875rem;
    padding: .55rem .5rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    line-height: 1.25;
    text-indent: -9999px;
    overflow: hidden;
    min-height: 35px;
}
.fluentform .ff-el-progress-title li::before {
    /* #1107: Das Wort zwischen Zähler und Gesamtzahl stand hier hart auf Deutsch
       und blieb dadurch auf allen fünf Sprachfassungen deutsch ("1 VON 3" auf
       /fr/forstseilwinde/trouve-ton-treuil/). Der Text kommt jetzt als Variable
       aus kw_t() (inc/enqueue.php). Der Wert hinter dem Komma ist der deutsche
       Rückfall, falls die Variable fehlt (z.B. im Block-Editor). Das Leerzeichen
       steht bewusst hier und nicht im Text, damit die Übersetzung ohne
       führendes Leerzeichen zurückkommen kann. */
    content: counter(kw-step) " " var(--kw-step-of, "von 3");
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: 0;
}
/* aktiver Step: FF setzt inline display:inline auf den aktiven LI */
.fluentform .ff-el-progress-title li[style*="inline"],
.fluentform .ff-el-progress-title li.active,
.fluentform .ff-el-progress-title li.ff_active {
    background: var(--kw-bordeaux) !important;
    color: #fff !important;
}

/* Progress-Bar selbst in Bordeaux + Track */
.fluentform .ff-el-progress {
    background: #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    height: 8px;
    margin-bottom: 1rem;
}
.fluentform .ff-el-progress-bar {
    background: var(--kw-bordeaux) !important;
    color: transparent;
}
.fluentform .ff-el-progress-status { display: none; }

/* Mobile < 480px */
@media (max-width: 479px) {
    .fluentform .ff-el-progress-title li {
        font-size: 0.8125rem;
        padding: .5rem .25rem;
    }
}

/* Windenfinder /forstseilwinde/finde-deine-winde/ — enge Verbindung Heading → Form */
.kw-finder-page .kw-sh-wrapper { padding-top: 32px; padding-bottom: 8px; }
.kw-finder-page .kw-sh-heading { margin-bottom: 8px; padding-bottom: 16px; }
.kw-finder-page .kw-finder { margin-top: 0; }

/* Form 6 — Garantiekarte: keine Steps-Anzeige (kein Progress-Bar, keine Pills, kein Strich).
 * #1416: Ursprünglich als Compound-Selektor `.fluentform.fluent_form_6` geschrieben — traf nie,
 * weil FluentForms `.fluentform` auf den äußeren Wrapper-Div setzt und `.fluent_form_6` erst
 * auf das innere <form>-Element (verifiziert im Shortcode-Output der Schau,
 * /service/garantie-aktivieren/: <div class='fluentform ... '><form class="... fluent_form_6 ...">).
 * Ein Compound-Selektor verlangt beide Klassen am selben Element — hier nie der Fall. Fix:
 * Nachfahren-Selektor. `.ff-step-header` bündelt bei Formular 6 sowohl die Progress-Bar
 * (.ff-el-progress) als auch die "1 von 3"-Pillen (.ff-el-progress-title), also verschwindet
 * mit dem reparierten Selektor die komplette Schritt-Anzeige auf Formular 6 — das ist laut
 * Kommentar/Ticket-Absicht so gewollt, bisher aber nie wirksam gewesen (Ist-Zustand vor diesem
 * Fix: Pillen "Dein Gerät / Deine Daten / Dein Händler" sichtbar). Scope bewusst NUR
 * `.fluent_form_6` — Formular 21 (Händlerzone, #1407) hat einen eigenen gescopten
 * `--kw-step-of`-Override für seine 2-Schritt-Pillen und bleibt von dieser Regel unberührt. */
.fluentform .fluent_form_6 .ff-step-header {
	/* NICHT display:none! Nachbefund 21.08. (Gregors Testdurchgang #1048): Fluent Forms
	   nutzt den Step-Header als Scroll-Anker beim Schrittwechsel. Mit display:none
	   sprang der Viewport bei jedem Weiter/Zurueck um ~800px ("Formular springt hin
	   und her"). Browser-Beweis: Header sichtbar ODER hoehe-0-im-Fluss = Scroll stabil
	   (1000->1000->1000), display:none = 652/1416/1470. Darum: unsichtbar, aber im
	   Layout-Fluss mit Hoehe 0 — Optik identisch zu display:none, Anker bleibt. */
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* ============================================================
 * Holzquelle Hero-Benefits als Pills (dunkelgrüner Rand, hellgrün-Fill)
 * WAS:   Jede <li>-Benefit-Zeile im bordeaux-hero wird zu einer
 *        grünen Pille mit forest-Rand + hellgrünem Mittelfeld.
 * WARUM: Co-Brand-Marker für /holzquelle/ — Benefits stehen als
 *        Gruppe optisch zusammen, klare Pakete-Vorschau-Karte.
 *        Auftrag Gregor 2026-05-26.
 * SCOPE: nur bordeaux-hero-intro ul/li — globaler Brand-Marker
 *        .kw-holzquelle bleibt Typo-only.
 * ============================================================ */
.kw-block-section--bordeaux .kw-intro-grid__text ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kw-block-section--bordeaux .kw-intro-grid__text ul li {
    display: inline-block;
    width: auto;
    background: #589B65;
    color: #fff;
    border: 2px solid #245C3D;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 500;
    line-height: 1.3;
    font-size: 0.95rem;
    list-style: none;
}
/* Theme/Block-Defaults der ul/li entfernen (alte Pfeil-Marker etc.) */
.kw-block-section--bordeaux .kw-intro-grid__text ul li::before,
.kw-block-section--bordeaux .kw-intro-grid__text ul li::marker {
    content: none !important;
    display: none !important;
}
/* holzquelle-Marker innerhalb Pill: nur Typo (kein nested pill) */
.kw-block-section--bordeaux .kw-intro-grid__text ul li .kw-holzquelle {
    background: transparent;
    color: inherit;
    padding: 0;
    margin: 0 2px;
    font-weight: 600;
    text-transform: lowercase;
}

/* === Legal-Seiten (AGB/Impressum/Datenschutz) ============================
   Klassen kw-section-legal / kw-section-narrow / kw-legal-title /
   kw-legal-subtitle werden im Page-Markup benutzt, hatten bisher KEIN CSS.
   Ziel: lesbare, gut gerahmte Rechtsseite in CI (Bordeaux/Cream).
   ------------------------------------------------------------------------ */

/* Aussenflaeche: dezenter Cream-Hintergrund, grosszuegiges Padding */
.kw-section-legal {
    background: var(--kw-cream);
    padding: 48px 20px;
}
@media (min-width: 782px) {
    .kw-section-legal {
        padding: 96px 24px;
    }
}

/* Lesbare Textspalte, als weisse Karte auf Cream abgesetzt */
.kw-section-legal .kw-section-narrow {
    max-width: 760px;         /* 720px Content + Karten-Padding */
    margin-inline: auto;
    background: #ffffff;
    border: 1px solid var(--kw-border);
    border-radius: 12px;
    padding: 28px 22px;
}
@media (min-width: 782px) {
    .kw-section-legal .kw-section-narrow {
        padding: 56px 60px;
    }
}
/* Falls die innere Group ihre eigene contentSize-Breite mitbringt,
   den constrained-Wrapper voll ausnutzen lassen */
.kw-section-legal .kw-section-narrow > * {
    max-width: 100%;
}

/* Seiten-Titel (H1): deutlich kleiner als der 48px-Rohwert */
.kw-section-legal .kw-legal-title {
    font-family: var(--kw-font-display);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.25rem); /* ~28–36px */
    line-height: 1.15;
    color: var(--kw-bordeaux);
    margin: 0 0 0.35em;
    letter-spacing: 0.01em;
}

/* Optionale Subline direkt unter dem Titel */
.kw-section-legal .kw-legal-subtitle-lead,
.kw-section-legal .kw-legal-title + p em {
    color: #5c5c5c;
}

/* Kapitel-Ueberschriften (H2 "Teil A/B/C", "Anhang") — visuelle Trenner */
.kw-section-legal h2 {
    font-family: var(--kw-font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);   /* ~20–24px */
    line-height: 1.2;
    color: var(--kw-body-text);
    margin: 2.4em 0 0.9em;
    padding-top: 1.4em;
    border-top: 2px solid var(--kw-bordeaux);
}
.kw-section-legal h2:first-of-type { }

/* Klausel-Ueberschriften (H3 "A1. …" bzw. kw-legal-subtitle) */
.kw-section-legal h3,
.kw-section-legal .kw-legal-subtitle {
    font-family: var(--kw-font-display);
    font-size: 1rem;          /* ~16px */
    font-weight: 700;
    line-height: 1.3;
    color: var(--kw-body-text);
    letter-spacing: 0.01em;
    margin: 1.8em 0 0.35em;
}

/* Fliesstext: PT Serif, angenehme Zeilenhoehe + Absatzabstand */
.kw-section-legal p {
    font-family: var(--kw-font-body);
    font-size: 1.0625rem;     /* 17px */
    line-height: 1.65;
    color: var(--kw-body-text);
    margin: 0 0 1.1em;
}
.kw-section-legal ul,
.kw-section-legal ol {
    font-family: var(--kw-font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--kw-body-text);
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}
.kw-section-legal li { margin-bottom: 0.5em; }
.kw-section-legal a:not(.wp-block-button__link) { color: var(--kw-bordeaux); }
.kw-section-legal a:not(.wp-block-button__link):hover { color: var(--kw-bordeaux-dark); }

/* Trennlinie zwischen Download-Button und Volltext dezenter */
.kw-section-legal hr.wp-block-separator {
    border: 0;
    border-top: 1px solid var(--kw-border);
    margin: 1.8em 0;
    opacity: 1;
}

/* Ruecktrittsbelehrung (blockquote) + Muster-Widerrufsformular als Box */
.kw-section-legal blockquote.wp-block-quote {
    background: var(--kw-cream);
    border-left: 4px solid var(--kw-bordeaux);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 1.4em 0 1.6em;
}
.kw-section-legal blockquote.wp-block-quote p {
    margin-bottom: 0.8em;
    font-style: normal;
}
.kw-section-legal blockquote.wp-block-quote p:last-child { margin-bottom: 0; }

/* Muster-Widerrufsformular als abgesetzte Box */
.kw-section-legal .kw-legal-form-box {
    background: var(--kw-cream);
    border: 1px solid var(--kw-border);
    border-radius: 8px;
    padding: 22px 24px;
    margin: 1.2em 0 1.6em;
}
.kw-section-legal .kw-legal-form-box > *:last-child { margin-bottom: 0; }
.kw-section-legal .kw-legal-form-box li {
    list-style: none;
    word-break: break-word;
}
.kw-section-legal .kw-legal-form-box ul { padding-left: 0; }

/* Download-Button: klare Buttonform, NICHT volle Breite */
.kw-section-legal .wp-block-buttons { margin-bottom: 0.4em; }
.kw-section-legal .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 13px 26px;
    font-family: var(--kw-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    line-height: 1.25;
    box-shadow: 0 2px 6px rgba(122, 28, 51, 0.18);
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.kw-section-legal .wp-block-button__link::before {
    content: "\2193";          /* Download-Pfeil-Andeutung */
    font-size: 1.05em;
    line-height: 1;
    font-family: var(--kw-font-body);
}
.kw-section-legal .wp-block-button__link:hover {
    background-color: var(--kw-bordeaux-dark) !important;
    transform: translateY(-1px);
}

/* === Freisteller-Feature-Bilder letterboxen (Issue #898) ===
 * Freigestellte Produktfotos (ohne Hintergrund) MÜSSEN vollständig sichtbar
 * bleiben — object-fit:contain statt cover, sonst wird das Teil oben/unten
 * angeschnitten (Gregor, Abnahme #898). Szenen-/Detailfotos am Gerät bleiben
 * cover. Modifier .kw-feature__media--freisteller wird in single-seilwinde.php
 * gezielt nur auf Freisteller-Features gesetzt.
 * Selektor mit .kw-feature davor = höhere Spezifität (4 Klassen) als die
 * cover-Basisregel in single-seilwinde.css — gewinnt unabhängig von
 * Enqueue-Reihenfolge. */
.kw-product-page .kw-feature .kw-feature__media--freisteller img {
    object-fit: contain;
}
.kw-product-page .kw-feature:hover .kw-feature__media--freisteller img {
    transform: none;
}
/* Letterbox-Ränder des Freistellers auf Weiß statt Creme (Gregor #898,
 * 16.07.: „creme Balken, Hintergrund auf weiß"). Die Basisregel
 * .kw-product-page .kw-feature__media { background: var(--kw-cream) } in
 * single-seilwinde.css füllt die freien contain-Ränder mit Creme. Dieser
 * 3-Klassen-Selektor auf den Freisteller-Container schlägt die 2-Klassen-
 * Basisregel und färbt NUR Freisteller-Kacheln weiß; Cover-Szenenfotos
 * behalten ihre Creme-Fläche. */
.kw-product-page .kw-feature .kw-feature__media--freisteller {
    background: #fff;
}

/* ============================================================
   Fix #1278 Punkt 3: Vergleichstabellen quetschen statt umzubrechen.
   WP-Core liefert fuer .wp-block-table .has-fixed-layout td/th ein
   pauschales word-break:break-word (0,2,1-Spezifitaet) -- bricht lange
   zusammengesetzte Woerter ("Königswieser", "Serienmerkmal",
   "Bewirtschaftung") mitten im Wort OHNE Trennstrich, sieht wie ein
   Leerzeichen aus ("Königsw ieser"). Ueberschreibt mit derselben
   Spezifitaet (2 Klassen + Element), aber spaeter in der Ladereihenfolge
   (Theme nach wp-block-library): normale Wortumbrueche an Leerzeichen,
   nur bei einzelnen zu langen Woertern greift hyphens:auto mit echtem
   Trennstrich (nutzt das lang-Attribut der Seite, daher automatisch
   DE/FR/PL-korrekt). Betrifft /landwirt-vergleichstest-2025/ und
   /elektrohydraulische-seilwinde/ (Klasse kw-vergleichstabelle). */
.kw-vergleichstabelle .has-fixed-layout td,
.kw-vergleichstabelle .has-fixed-layout th {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ============================================================
   Fix #1283 Punkt 1: Danke-Seiten (/danke/abgeschickt/,
   /danke-angebot-seilwinde/) — Card-Titel der "Entdecke unsere
   Seilwinden"-Kacheln (kw-danke-link, WP-Core is-style-outline-Buttons)
   liefen im alten Design: PT-Serif statt Josefin Sans fuer den Titel
   (die eigentliche Kursiv-Optik kam von vertauschten Font-Dateien, siehe
   tokens.css-Fix), keine Karten-Interaktion. Nur Styling, kein neuer Text.
   ============================================================ */
.kw-danke-link.wp-block-button .wp-block-button__link {
    background: #fff;
    box-shadow: var(--kw-shadow-sm, 0 2px 8px rgba(76,71,38,0.06));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: left;
}
.kw-danke-link.wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: var(--kw-shadow-md, 0 8px 24px rgba(0,0,0,0.12));
    border-color: var(--kw-bordeaux, #97233F) !important;
}
.kw-danke-link .wp-block-button__link strong {
    font-family: var(--kw-font-display, 'Josefin Sans', sans-serif);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--kw-body-text, #1A1A1A);
}
.kw-danke-link .wp-block-button__link span { color: var(--kw-text-muted, #3D3D3D); }
/* Graues Kicker-Label "Entdecke unsere Seilwinden" (Inline-style color:#888888
   im Block) auf das Overline-Muster (Bordeaux, Josefin Sans) des restlichen
   Designsystems heben -- !important noetig gegen die Block-Inline-Farbe. */
body.page-id-806 h3.wp-block-heading,
body.page-id-833 h3.wp-block-heading {
    color: var(--kw-bordeaux, #97233F) !important;
    font-family: var(--kw-font-display, 'Josefin Sans', sans-serif);
}

