/*
Theme Name: K&L Intelligence
Theme URI: https://kl-intelligence.de
Author: K&L Intelligence
Description: Redaktionelles, dunkles Theme mit Gold-Akzent für K&L Intelligence – KI-Chatbots für Hotellerie & Gastronomie. Ruhige Typografie, wenig Kästen, Maskottchen-Hero, seitenweite scroll-gezeichnete Leiterbahnen, KI-Angebotsliste, Endlos-Karussell mit Tiefeneffekt und FAQ.
Version: 2.10.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kl-intelligence
*/

/* ========================================================================
   Schriften — Poppins lokal gebündelt (kein externer Request, DSGVO-sicher)
   ===================================================================== */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/poppins-800.woff2') format('woff2'); }

/* ========================================================================
   Design-Token — Gold exakt auf das Logo abgestimmt
   ===================================================================== */
:root {
  --kl-bg:        #0b0b0d;
  --kl-bg-soft:   #101013;
  --kl-surface:   #141419;
  --kl-line:      #202027;
  --kl-gold:      #ffc409;
  --kl-gold-soft: #ffd54d;
  --kl-text:      #f4f4f6;
  --kl-body:      #c9c9d1;
  --kl-muted:     #93939d;
  --kl-maxw:      1160px;
  --kl-font:      'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========================================================================
   Basis
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--kl-bg);
  color: var(--kl-text);
  font-family: var(--kl-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .45em; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--kl-gold); color: #141414; }
:focus-visible { outline: 2px solid var(--kl-gold); outline-offset: 3px; border-radius: 4px; }

.kl-container { width: 100%; max-width: var(--kl-maxw); margin: 0 auto; padding: 0 28px; }
.kl-section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }

/* Kicker: Abschnittsnummer + Thema, statt lauter Kartenüberschriften */
.kl-kicker {
  display: flex; align-items: center; gap: 14px;
  color: var(--kl-gold);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 22px;
}
.kl-kicker::after { content: ""; height: 1px; width: 56px; background: var(--kl-gold); opacity: .5; }

.kl-h2 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18em; }
.kl-lead { color: var(--kl-muted); font-size: 1.06rem; max-width: 58ch; }

/* Screenreader / Skip-Link */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  width: auto; height: auto; clip: auto;
  background: var(--kl-gold); color: #141414;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
}

/* ========================================================================
   Buttons & Textlinks
   ===================================================================== */
.kl-btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kl-btn--gold {
  background: var(--kl-gold); color: #141414;
  box-shadow: 0 6px 26px rgba(255, 196, 9, .28);
}
.kl-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 196, 9, .42); }

.kl-arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--kl-text); font-weight: 500;
}
.kl-arrow-link .kl-arrow { color: var(--kl-gold); transition: transform .25s ease; }
.kl-arrow-link:hover .kl-arrow { transform: translateX(6px); }

/* ========================================================================
   Header
   ===================================================================== */
.kl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}
.kl-header.is-scrolled {
  background: rgba(11, 11, 13, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--kl-line);
  padding: 10px 0;
}
.kl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Marke: SVG-Zeichen + zweizeiliger Schriftzug wie im Logo */
.kl-brand { display: inline-flex; align-items: center; gap: 12px; }
.kl-brand__mark { width: 42px; height: 44px; color: var(--kl-gold); flex: 0 0 auto; }
.kl-brand__img, .kl-brand .custom-logo { height: 46px; width: auto; }
.kl-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.kl-brand__text strong { color: var(--kl-gold); font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; }
.kl-brand__text small {
  color: var(--kl-gold-soft); font-size: .55rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
}

.kl-nav { display: flex; align-items: center; gap: 36px; }
/* WordPress-Menü: ul/li unsichtbar machen, Links direkt im Flex-Layout */
.kl-nav ul { display: contents; }
.kl-nav li { list-style: none; margin: 0; padding: 0; display: contents; }
.kl-nav a { color: var(--kl-body); font-size: .94rem; font-weight: 500; position: relative; padding: 4px 0; display: inline-block; }
.kl-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--kl-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.kl-nav a:hover { color: var(--kl-text); }
.kl-nav a:hover::after { transform: scaleX(1); }

.kl-menu-toggle {
  display: none;
  background: var(--kl-gold); color: #141414;
  border: none; border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--kl-font); font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  cursor: pointer;
}

/* ========================================================================
   Hero — großzügig, ohne Kästen, Maskottchen rechts
   ===================================================================== */
.kl-hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 90px;
  position: relative; overflow: hidden;
}
.kl-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 520px at 74% 42%, rgba(255, 196, 9, .13), transparent 68%),
    radial-gradient(520px 420px at 12% 88%, rgba(255, 196, 9, .05), transparent 70%);
}
.kl-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
  position: relative;
}
.kl-hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.8rem);
  letter-spacing: -.025em; margin-bottom: 26px;
}
.kl-hero h1 span { display: block; }
.kl-hero h1 .kl-hl { color: var(--kl-gold); }
.kl-hero__sub { color: var(--kl-muted); font-size: 1.12rem; max-width: 46ch; margin-bottom: 40px; }
.kl-hero__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.kl-hero__figure { display: grid; place-items: center; }
/* Bewusst ruhig: keine Dauer-Animation am Maskottchen, nur der Glow */
.kl-mascot {
  width: min(380px, 82%);
  filter: drop-shadow(0 34px 70px rgba(255, 196, 9, .22));
}
.kl-mascot--fallback { width: min(320px, 70%); color: var(--kl-gold); }
.kl-mascot--fallback svg { width: 100%; height: auto; }

.kl-hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--kl-muted); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
}
.kl-hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--kl-gold), transparent);
}

/* ========================================================================
   Erreichbarkeit — drei ruhige Aussagen, Leiterbahnen am Rand
   ===================================================================== */
/* Kein eigener Hintergrund: eine durchgehende schwarze Fläche,
   damit die Leiterbahnen wie in die Seite eingebettet wirken */
.kl-statements-wrap { overflow: hidden; }

/* Leiterbahnen: laufen im Inhalt mit (nicht fixiert). Die Zone beginnt
   bei der 24/7-Sektion und reicht bis zum Seitenende; die Bänder an
   beiden Rändern bestehen aus gestapelten Kacheln (circuit.php, drei
   Varianten im Wechsel). Weiche Ein-/Ausblendung über eine Maske.
   main.js zeichnet jede Bahn beim Hereinscrollen, Zurückscrollen baut ab. */
.kl-circuit-zone { position: relative; }
.kl-circuit-band {
  position: absolute; top: 0; bottom: 0; width: 80px;
  overflow: hidden; pointer-events: none;
  z-index: 1; /* über den Sektions-Hintergründen, unter dem Header */
  display: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
}
@media (min-width: 1360px) {
  .kl-circuit-band { display: flex; flex-direction: column; }
}
.kl-circuit-band--left  { left: 0; }
.kl-circuit-band--right { right: 0; transform: scaleX(-1); }
.kl-circuit-band svg { display: block; flex: 0 0 auto; }
.kl-trace {
  stroke: var(--kl-gold); stroke-width: 1.6; fill: none; opacity: .45;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; /* JS zeichnet per Scroll */
}
.kl-circuit-dot {
  fill: var(--kl-gold);
  opacity: 0; transition: opacity .4s ease, filter .4s ease;
}
/* Leuchtender Endpunkt wie auf der Platine */
.kl-circuit-dot.is-lit {
  opacity: .95;
  filter: drop-shadow(0 0 5px rgba(255, 196, 9, .9));
}

.kl-statements {
  display: flex; flex-direction: column;
  gap: clamp(70px, 9vw, 120px);
  max-width: 580px; margin: 0 auto; text-align: center;
}
.kl-statement__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin-bottom: 20px;
  border: 1px solid rgba(255, 196, 9, .45); border-radius: 50%;
  color: var(--kl-gold);
}
.kl-statement__icon svg { width: 26px; height: 26px; }
.kl-statement__icon--text { font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.kl-statement p { color: var(--kl-body); font-size: 1.14rem; line-height: 1.85; margin: 0; }
.kl-statement strong { color: var(--kl-text); font-weight: 600; }
.kl-statement em { color: var(--kl-gold); font-style: normal; font-weight: 600; }

/* ========================================================================
   Angebote — Text + ein Panel mit Hover-Slide, darunter eine Liste
   ===================================================================== */
.kl-offer-feature {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 5.5vw, 76px); align-items: center;
  margin: 64px 0 clamp(70px, 8vw, 110px);
}
.kl-offer-feature h3 { font-size: 1.55rem; }
.kl-offer-feature p { color: var(--kl-muted); }
.kl-offer-feature .kl-btn { margin-top: 14px; }

/* Panel: Bildfläche, Info-Ebene slidet bei Hover hinein und wieder hinaus */
.kl-offer-media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 22px;
  border: 1px solid var(--kl-line);
  background:
    radial-gradient(420px 300px at 78% 22%, rgba(255, 196, 9, .1), transparent 65%),
    linear-gradient(150deg, #1a1a20, #0e0e12);
}
.kl-offer-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kl-offer-media__watermark {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--kl-gold); opacity: .1; pointer-events: none;
}
.kl-offer-media__watermark svg { width: 42%; height: auto; }
.kl-offer-media__panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0) 20%, rgba(11, 11, 13, .94) 78%);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.kl-offer-media:hover .kl-offer-media__panel,
.kl-offer-media:focus-within .kl-offer-media__panel { transform: translateY(0); }
.kl-offer-media__panel h3 { color: var(--kl-gold); font-size: 1.2rem; margin-bottom: 6px; }
.kl-offer-media__panel p { color: var(--kl-body); font-size: .95rem; margin: 0; max-width: 48ch; }

/* Angebotsliste: Zeilen mit feinen Linien statt Karten */
.kl-offer-list { border-top: 1px solid var(--kl-line); }
.kl-offer-row {
  display: grid; grid-template-columns: 64px 1.1fr 1.9fr auto;
  gap: 26px; align-items: baseline;
  padding: 30px 6px;
  border-bottom: 1px solid var(--kl-line);
  transition: padding .25s ease;
}
.kl-offer-row:hover { padding-left: 14px; }
.kl-offer-row__num { color: var(--kl-gold); font-size: .82rem; font-weight: 600; letter-spacing: .12em; }
.kl-offer-row h3 { font-size: 1.28rem; margin: 0; transition: color .2s ease; }
.kl-offer-row:hover h3 { color: var(--kl-gold); }
.kl-offer-row p { color: var(--kl-muted); font-size: .96rem; margin: 0; }
.kl-offer-row .kl-arrow { color: var(--kl-gold); font-size: 1.2rem; transition: transform .25s ease; }
.kl-offer-row:hover .kl-arrow { transform: translateX(8px); }

/* ========================================================================
   Unsere Kunden — fortlaufendes Karussell mit Tiefeneffekt:
   links groß, nach rechts kleiner („weiter hinten"). Lauf + Skalierung
   übernimmt main.js; ohne JS bleibt der Streifen manuell scrollbar.
   ===================================================================== */
.kl-carousel { margin-top: 56px; overflow: hidden; position: relative; }
/* Abdunkelung an BEIDEN Rändern: die Mitte steht im Fokus,
   links und rechts treten die Karten in den Hintergrund */
.kl-carousel::before,
.kl-carousel::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 15%;
  z-index: 2; pointer-events: none;
}
.kl-carousel::before { left: 0;  background: linear-gradient(90deg, rgba(11, 11, 13, .92), transparent); }
.kl-carousel::after  { right: 0; background: linear-gradient(270deg, rgba(11, 11, 13, .92), transparent); }

/* Endlosschleife: Track = 2 identische Gruppen, -50% = genau eine Gruppe.
   Die CSS-Animation ist der Fallback ohne JavaScript; main.js übernimmt
   die Bewegung zeitbasiert (butterweich) und schaltet sie dann ab. */
.kl-carousel__track {
  display: flex; width: max-content; will-change: transform;
  animation: kl-marquee 55s linear infinite;
}
.kl-carousel:hover .kl-carousel__track { animation-play-state: paused; }
.kl-carousel__group { display: flex; gap: 18px; padding-right: 18px; align-items: center; }
@keyframes kl-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Statische Variante (unter 4 Karten): kein Lauf, mittig gesetzt */
.kl-carousel--static .kl-carousel__track {
  animation: none;
  width: auto;
  justify-content: center;
}
.kl-carousel--static::before,
.kl-carousel--static::after { display: none; }

/* Dezente Steuerpfeile: erscheinen nur, wenn JavaScript aktiv ist */
.kl-carousel__arrow {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: rgba(11, 11, 13, .55);
  border: 1px solid var(--kl-line);
  color: var(--kl-muted); font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.kl-carousel--js .kl-carousel__arrow { display: flex; }
.kl-carousel__arrow:hover { color: var(--kl-gold); border-color: var(--kl-gold); background: rgba(11, 11, 13, .8); }
.kl-carousel__arrow--prev { left: 14px; }
.kl-carousel__arrow--next { right: 14px; }
.kl-client {
  position: relative;
  flex: 0 0 260px; height: 330px;
  border-radius: 16px; border: 1px solid var(--kl-line);
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(300px 220px at 50% 0%, rgba(255, 196, 9, .07), transparent 70%),
    linear-gradient(180deg, #16161b, #0e0e11);
}
.kl-client__monogram {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 196, 9, .12); color: var(--kl-gold);
  font-weight: 800; font-size: 1.02rem;
  position: relative; z-index: 1;
}
/* Kundenlogo (Customizer): einheitliche Größe, ohne Hintergrund,
   mittig in der freien Fläche über dem Text (horizontal + vertikal) */
.kl-client__img {
  width: 170px; height: 110px;
  object-fit: contain;
  margin: auto; /* zentriert von allen Seiten */
}
.kl-client__info { position: relative; z-index: 1; }
.kl-client__info h3 { font-size: 1.16rem; margin-bottom: 4px; }
.kl-client__info p { color: var(--kl-muted); font-size: .9rem; margin: 0; }

/* ========================================================================
   Kundenvorteile — nummerierte Liste mit feinen Linien
   ===================================================================== */
.kl-benefits { border-top: 1px solid var(--kl-line); margin-top: 60px; }
.kl-benefit {
  display: grid; grid-template-columns: 84px 1fr 1.7fr;
  gap: 26px; align-items: baseline;
  padding: 36px 6px;
  border-bottom: 1px solid var(--kl-line);
}
.kl-benefit__num { color: var(--kl-gold); font-size: .82rem; font-weight: 600; letter-spacing: .12em; }
.kl-benefit h3 { font-size: 1.26rem; margin: 0; }
.kl-benefit p { color: var(--kl-muted); margin: 0; font-size: .98rem; }

/* ========================================================================
   Abschluss-CTA — offene Fläche statt Box
   ===================================================================== */
.kl-cta { text-align: center; }
.kl-cta::before {
  content: ""; display: block;
  width: min(560px, 70%); height: 1px; margin: 0 auto clamp(70px, 9vw, 120px);
  background: linear-gradient(90deg, transparent, rgba(255, 196, 9, .55), transparent);
}
.kl-cta__mark { width: 74px; height: 78px; margin: 0 auto 30px; color: var(--kl-gold); }
.kl-cta__mark svg { width: 100%; height: auto; }
.kl-cta h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); max-width: 20ch; margin: 0 auto .5em; }
.kl-cta .kl-lead { margin: 0 auto 40px; }

/* ========================================================================
   Schnellzugriff-Kacheln — Cluster wie in der Skizze.
   Position und Maße kommen pro Kachel aus dem Customizer und laufen
   als CSS-Variablen (--tile-col/-span/-h/-off) ins Desktop-Grid.
   ===================================================================== */
.kl-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.kl-tile {
  position: relative; overflow: hidden;
  padding: 20px;
  display: flex; align-items: flex-end;
  background: #f4f3ee; color: #16160f;
  border-radius: 10px;
  min-height: 130px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: .01em;
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (min-width: 901px) {
  .kl-tile {
    grid-column: var(--tile-col, auto) / span var(--tile-span, 1);
    min-height: var(--tile-h, 150px);
    margin-top: var(--tile-off, 0px);
  }
}
.kl-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(255, 196, 9, .28);
  z-index: 1;
}
.kl-tile > svg { position: absolute; color: var(--kl-gold); height: auto; }
.kl-tile__label { position: relative; z-index: 1; }

/* Deko-Ausrichtung je Kachel (ohne Bild) */
.kl-tile--t1 svg { top: 12px; left: 0; width: 78px; }
.kl-tile--t2 { align-items: center; justify-content: center; font-size: 1.2rem; }
.kl-tile--t2 svg { top: 14px; left: 0; width: 104px; }
.kl-tile--t3 { align-items: center; }
.kl-tile--t3 svg { top: 18px; right: 0; left: auto; width: 84px; transform: scaleX(-1); }
.kl-tile--t4 { justify-content: center; }
.kl-tile--t4 svg { top: 0; left: 50%; transform: translateX(-50%); width: 60px; }

/* Kachel mit Bild: Foto füllt die Fläche, dunkler Verlauf für Lesbarkeit */
.kl-tile--img { color: #fff; }
.kl-tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
}
.kl-tile__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, .05) 40%, rgba(11, 11, 13, .72));
  border-radius: inherit;
}

/* ========================================================================
   Kontaktformular
   ===================================================================== */
.kl-form {
  max-width: 640px; margin: 44px auto 0;
  display: grid; gap: 20px; text-align: left;
}
.kl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kl-form label { display: block; font-size: .9rem; font-weight: 500; color: var(--kl-body); margin-bottom: 8px; }
.kl-form input[type="text"],
.kl-form input[type="email"],
.kl-form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--kl-surface);
  border: 1px solid var(--kl-line); border-radius: 12px;
  color: var(--kl-text); font: inherit; font-size: .98rem;
  transition: border-color .2s ease;
}
.kl-form input:focus, .kl-form textarea:focus {
  outline: none; border-color: var(--kl-gold);
}
.kl-form textarea { min-height: 150px; resize: vertical; }
.kl-form__check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .85rem; color: var(--kl-muted);
}
.kl-form__check input { margin-top: 3px; accent-color: var(--kl-gold); }
.kl-form__check span { font-weight: 400; }
.kl-form__check a { color: var(--kl-gold); }
.kl-form .kl-btn { justify-self: center; }
.kl-form-alt { margin-top: 26px; font-size: .9rem; color: var(--kl-muted); }
.kl-form-alt a { color: var(--kl-gold); }
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.kl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
/* Rückmeldung nach dem Absenden */
.kl-form-notice {
  max-width: 640px; margin: 30px auto 0;
  padding: 14px 20px; border-radius: 12px; font-size: .95rem;
}
.kl-form-notice--ok  { border: 1px solid rgba(255, 196, 9, .5); background: rgba(255, 196, 9, .08); color: var(--kl-gold-soft); }
.kl-form-notice--err { border: 1px solid rgba(220, 80, 80, .5); background: rgba(220, 80, 80, .08); color: #e39a9a; }

/* ========================================================================
   FAQ — aufklappbare Fragen (natives <details>, ohne JavaScript)
   ===================================================================== */
.kl-faq { max-width: 780px; margin-top: 56px; border-top: 1px solid var(--kl-line); }
.kl-faq details { border-bottom: 1px solid var(--kl-line); }
.kl-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 6px; cursor: pointer;
  font-weight: 600; font-size: 1.04rem;
  list-style: none;
  transition: color .2s ease;
}
.kl-faq summary::-webkit-details-marker { display: none; }
.kl-faq summary::after {
  content: ""; flex: 0 0 auto;
  width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--kl-gold); border-bottom: 2px solid var(--kl-gold);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.kl-faq summary:hover { color: var(--kl-gold); }
.kl-faq details[open] summary { color: var(--kl-gold); }
.kl-faq details[open] summary::after { transform: rotate(225deg); }
.kl-faq__answer { padding: 0 6px 26px; }
.kl-faq__answer p { color: var(--kl-muted); font-size: .98rem; max-width: 62ch; margin: 0; }

/* ========================================================================
   Unterseiten (index.php): Beiträge, Seiten, Archiv, Suche
   ===================================================================== */
.kl-page { padding-top: 170px; }
.kl-post { margin-bottom: 64px; }
.kl-post h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.kl-post h1 a:hover { color: var(--kl-gold); }
.kl-entry-content { color: var(--kl-body); max-width: 70ch; }
.kl-entry-content a { color: var(--kl-gold); }
.kl-entry-content a:hover { text-decoration: underline; }
.kl-entry-content img { border-radius: 14px; }
.kl-pagination { margin-top: 44px; }
.kl-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.kl-pagination .page-numbers {
  padding: 8px 16px; border: 1px solid var(--kl-line); border-radius: 10px;
  color: var(--kl-muted); font-size: .92rem;
}
.kl-pagination .page-numbers.current,
.kl-pagination .page-numbers:hover { border-color: var(--kl-gold); color: var(--kl-gold); }
.kl-pagination .page-numbers.current { background: rgba(255, 196, 9, .1); }

/* ========================================================================
   Footer — schlicht, zweizeilig
   ===================================================================== */
.kl-footer { border-top: 1px solid var(--kl-line); padding: 56px 0 34px; background: #09090b; }
.kl-footer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 38px;
}
.kl-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.kl-footer__nav ul { display: contents; }
.kl-footer__nav li { display: contents; list-style: none; }
.kl-footer__nav a { color: var(--kl-muted); font-size: .92rem; transition: color .2s ease; }
.kl-footer__nav a:hover { color: var(--kl-gold); }
.kl-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--kl-line); padding-top: 26px;
  color: var(--kl-muted); font-size: .84rem;
}
.kl-footer__legal { display: flex; gap: 20px; }
.kl-footer__legal a:hover { color: var(--kl-gold); }

/* ========================================================================
   Scroll-Reveal
   ===================================================================== */
/* Bewusst dezent: kleiner Versatz, damit nichts „springt" */
.kl-reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.kl-reveal.is-visible { opacity: 1; transform: none; }

/* ========================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .kl-nav {
    position: fixed; top: 74px; left: 16px; right: 16px; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(16, 16, 19, .98);
    border: 1px solid var(--kl-line); border-radius: 18px;
    padding: 18px 22px;
  }
  .kl-nav.is-open { display: flex; }
  .kl-nav a { padding: 12px 4px; font-size: 1.02rem; }
  .kl-menu-toggle { display: inline-block; }

  .kl-hero { min-height: 0; padding: 140px 0 80px; }
  .kl-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .kl-hero__sub { margin-left: auto; margin-right: auto; }
  .kl-hero__cta { justify-content: center; }
  .kl-hero__figure { order: -1; }
  .kl-mascot { width: min(240px, 60%); }
  .kl-hero__scroll { display: none; }
  .kl-kicker { justify-content: flex-start; }

  .kl-offer-feature { grid-template-columns: 1fr; }
  .kl-offer-row { grid-template-columns: 44px 1fr auto; }
  .kl-offer-row p { grid-column: 2 / -1; }
  .kl-offer-row .kl-arrow { grid-row: 1; grid-column: 3; }

  /* Karussell: auf kleinen Geräten kompaktere Karten */
  .kl-client { flex: 0 0 220px; height: 300px; }

  /* Kachel-Cluster: auf kleinen Screens kompaktes 2-Spalten-Raster,
     Position/Maße aus dem Customizer greifen nur auf Desktop */
  .kl-tiles-grid {
    grid-template-columns: 1fr 1fr;
    max-width: none; gap: 8px;
  }

  .kl-benefit { grid-template-columns: 44px 1fr; }
  .kl-benefit p { grid-column: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .kl-section { padding: 70px 0; }
  .kl-hero h1 { font-size: clamp(2rem, 10.5vw, 2.9rem); hyphens: auto; }
  .kl-offer-row { grid-template-columns: 1fr auto; }
  .kl-offer-row__num { display: none; }
  .kl-offer-row p { grid-column: 1 / -1; }
  .kl-offer-row .kl-arrow { grid-row: 1; grid-column: 2; }
  .kl-footer__top, .kl-footer__bottom { flex-direction: column; align-items: flex-start; }
  .kl-form__row { grid-template-columns: 1fr; }
}

/* ========================================================================
   Reduzierte Bewegung respektieren
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .kl-reveal { opacity: 1; transform: none; }
  /* Leiterbahnen fertig gezeichnet zeigen; Karussell: kein Autolauf,
     ohne JS manuell scrollbar, mit JS über die Pfeile steuerbar */
  .kl-trace { stroke-dashoffset: 0 !important; }
  .kl-circuit-dot { opacity: .85 !important; }
  .kl-carousel:not(.kl-carousel--js) { overflow-x: auto; }
  .kl-carousel__track { animation: none !important; }
}
