/* =========================================================
   Klarwerk – globales Stylesheet
   Tokens, Grundlagen, Komponenten, Seitenbausteine
   ========================================================= */

/* ---------- Schrift (lokal, DSGVO) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Variable.woff2') format('woff2'),
       url('../fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --salbei: #5A7160;
  --salbei-hover: #4A5F50;
  --sand: #D8C39A;
  --leinen: #F8F6F1;
  --salbei-hell: #E6EAE1;
  --schiefer: #232823;
  --text-2: #4B524C;
  --cta-ink: #34463A;
  --foto: #D5DBCF;

  --grad-cta: linear-gradient(120deg, #A9BBA4 0%, #D8C39A 100%);
  --grad-salbei: linear-gradient(120deg, #5A7160 0%, #8FA88F 100%);
  --grad-text: linear-gradient(100deg, #5A7160 0%, #7E8F6A 50%, #A8894F 100%);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ease-ld: cubic-bezier(.76, 0, .24, 1);

  --glass-rim: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.3) 30%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.2) 80%, rgba(255,255,255,.75) 100%);
  --glass-blur: blur(12px) saturate(200%) brightness(1.08);
  --glass-inset: inset 0 1px 1px rgba(255,255,255,.95), inset 0 -1px 1px rgba(255,255,255,.35), inset 0 0 18px rgba(255,255,255,.28);

  --pad-x: clamp(20px, 4vw, 64px);
  --panel-m: clamp(12px, 1.6vw, 20px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--salbei); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--salbei);
  color: var(--schiefer);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-ready, html.is-ready body { background: var(--leinen); }
html.no-js, html.no-js body { background: var(--leinen); }
body.is-locked { overflow: hidden; }

a { color: var(--salbei); text-decoration: none; transition: color .15s; }
a:hover { color: var(--schiefer); }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--salbei); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Keyframes ---------- */
@keyframes kwFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes kwBob { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-16px,0); } }
@keyframes kwDrift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(40px,-30px,0) scale(1.08); } 100% { transform: translate3d(-30px,20px,0) scale(.96); } }
@keyframes kwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes kwPulse { 0% { box-shadow: 0 0 0 0 rgba(90,113,96,.45); } 70% { box-shadow: 0 0 0 10px rgba(90,113,96,0); } 100% { box-shadow: 0 0 0 0 rgba(90,113,96,0); } }

/* ---------- Typografie ---------- */
.label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--salbei); line-height: 1.4; }
.h1 { font-size: clamp(40px, 4.6vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.h2 { font-size: clamp(32px, 3.6vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.h2-sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.h3 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.h4 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: 19px; line-height: 1.6; text-wrap: pretty; }
.muted { color: var(--text-2); }
.text { font-size: 16px; line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.accent { font-weight: 700; color: transparent; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }

/* ---------- Layout ---------- */
.container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.head-row > .head { flex: 1 1 420px; max-width: none; }

.panel {
  position: relative; overflow: hidden; z-index: 3;
  margin: 0 var(--panel-m) var(--panel-m);
  border-radius: 16px; background: var(--salbei-hell);
}
.panel--flush { margin-bottom: 0; }
.section {
  position: relative; overflow: hidden; z-index: 3;
  background: var(--leinen);
  padding: clamp(64px, 8vw, 112px) var(--pad-x);
}

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

/* ---------- Hintergrundstrukturen ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  --gl: rgba(90,113,96,.08); --gs: rgba(90,113,96,.035); --at: 30% 35%; --mk: ellipse 75% 65%;
  background-image:
    linear-gradient(var(--gl) 1px, transparent 1px), linear-gradient(90deg, var(--gl) 1px, transparent 1px),
    linear-gradient(var(--gs) 1px, transparent 1px), linear-gradient(90deg, var(--gs) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(var(--mk) at var(--at), #000 12%, transparent 74%);
  mask-image: radial-gradient(var(--mk) at var(--at), #000 12%, transparent 74%);
}
.bg-grid--soft { --gl: rgba(90,113,96,.07); --gs: rgba(90,113,96,.03); --mk: ellipse 80% 70%; --at: 70% 50%; }
.bg-dots {
  position: absolute; inset: 0; pointer-events: none;
  --at: 85% 30%; --mk: ellipse 60% 70%;
  background-image: radial-gradient(rgba(90,113,96,.18) 1px, transparent 1.2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(var(--mk) at var(--at), #000 10%, transparent 70%);
  mask-image: radial-gradient(var(--mk) at var(--at), #000 10%, transparent 70%);
}
.blob {
  position: absolute; border-radius: 999px; pointer-events: none;
  width: 560px; height: 560px;
  --c: 216,195,154; --a: .5;
  background: radial-gradient(circle, rgba(var(--c), var(--a)) 0%, rgba(var(--c), 0) 68%);
  animation: kwDrift 24s ease-in-out 0s infinite alternate;
}
.blob--salbei { --c: 169,187,164; }
.blob--white { --c: 255,255,255; }

/* Geometrische Formen (nur ab 1000px) */
.shape { position: absolute; pointer-events: none; display: none; }
.shape > div { width: 100%; height: 100%; animation: kwBob 10s ease-in-out infinite; }
.shape svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 20px rgba(35,40,35,.18)); }
.shape .solid { width: 100%; height: 100%; box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 24px 48px -20px rgba(35,40,35,.25); }
@media (min-width: 1000px) { .shape { display: block; } }

/* ---------- Liquid Glass ---------- */
.glass {
  --gf: rgba(255,255,255,.3);
  border: 1px solid transparent;
  background: linear-gradient(var(--gf), var(--gf)) padding-box, var(--glass-rim) border-box;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 30px 60px -30px rgba(35,40,35,.2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-align: center;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.4;
  padding: 16px 24px; border-radius: 12px;
}
.btn-cta {
  background: var(--grad-cta); color: var(--cta-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(35,40,35,.08), 0 4px 8px rgba(35,40,35,.06), 0 12px 24px -6px rgba(90,113,96,.28);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s, opacity .3s;
}
.btn-cta:hover {
  color: var(--cta-ink);
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.04) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 2px 4px rgba(35,40,35,.08), 0 10px 20px rgba(35,40,35,.08), 0 24px 40px -10px rgba(90,113,96,.4);
}
.btn-cta:active {
  transform: translateY(0) scale(.98);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 2px rgba(35,40,35,.1), 0 4px 10px -4px rgba(90,113,96,.3);
  transition: transform .1s, box-shadow .1s;
}
.btn-cta[disabled] { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.btn-primary { background: var(--grad-salbei); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: filter .2s, transform .3s var(--ease); }
.btn-primary:hover { background: var(--grad-salbei); color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.btn-primary[disabled]:hover { transform: none; filter: none; }
.btn-white { background: #fff; color: var(--schiefer); transition: background .15s, transform .3s var(--ease); }
.btn-white:hover { background: var(--salbei-hell); color: var(--schiefer); transform: translateY(-2px); }
.btn-link { color: var(--salbei); font-weight: 600; font-size: 15px; padding: 16px 4px; }
.btn-link:hover { color: var(--schiefer); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- Häkchen-Listen ---------- */
.tick {
  width: 20px; height: 20px; border-radius: 999px; background: var(--salbei);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.tick::after {
  content: ''; width: 4px; height: 8px;
  border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff;
  transform: translateY(-1px) rotate(45deg);
}
.tick--inv { background: #fff; }
.tick--inv::after { border-color: var(--salbei); }
.tick--sm { width: 16px; height: 16px; }
.tick--sm::after { width: 4px; height: 7px; border-width: 0 1.6px 1.6px 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--schiefer); }
.checks--col { flex-direction: column; flex-wrap: nowrap; gap: 12px; }

/* ---------- Fünfeck-Nummer ---------- */
.penta {
  position: relative; width: 52px; height: 52px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--salbei);
  filter: drop-shadow(0 8px 10px rgba(35,40,35,.14));
}
.penta svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.penta polygon { fill: currentColor; stroke: currentColor; stroke-width: 18; stroke-linejoin: round; }
.penta span { position: relative; top: 2px; font-size: 15px; font-weight: 600; color: #fff; }
.penta--56 { width: 56px; height: 56px; }

/* ---------- Pill-Umschalter ---------- */
.pill {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 999px; padding: 4px;
}
.pill__knob {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(35,40,35,.1), 0 4px 10px -2px rgba(35,40,35,.12);
  transition: transform .45s var(--ease-io);
}
.pill[data-state="b"] .pill__knob { transform: translateX(100%); }
.pill button {
  position: relative; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 999px;
  color: var(--text-2); transition: color .3s;
}
.pill button[aria-selected="true"] { color: var(--schiefer); }
.pill--neu[data-state="b"] button[aria-selected="true"] { color: var(--salbei); }

/* ---------- Karten ---------- */
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px; }
.card__title { margin-top: 4px; }

.price-card {
  --gf: rgba(255,255,255,.4);
  display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: 16px;
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 16px 32px -12px rgba(35,40,35,.12), 0 48px 80px -32px rgba(35,40,35,.22);
}
.price-card--dark {
  color: #fff;
  background: linear-gradient(rgba(90,113,96,.92), rgba(90,113,96,.92)) padding-box,
              linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.05) 45%, rgba(255,255,255,.3)) border-box;
}
.price-card--dark .label, .price-card--dark .sub { color: var(--salbei-hell); }
.price-card--dark .checks li { color: #fff; }
.price-card .checks { padding-top: 20px; border-top: 1px solid rgba(90,113,96,.16); }
.price-card--dark .checks { border-top-color: rgba(255,255,255,.18); }
.price-card .btn { margin-top: auto; }
.price-card__head { display: flex; align-items: center; gap: 12px; min-height: 28px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__pre { font-size: 14px; font-weight: 600; color: var(--text-2); }
.price__num { font-size: 56px; line-height: 1; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price__cur { font-size: 16px; font-weight: 600; }
.price__per { font-size: 14px; color: var(--text-2); }
.price-card--dark .price__pre, .price-card--dark .price__per { color: var(--salbei-hell); }
.price-note { font-size: 14px; line-height: 1.5; color: var(--text-2); margin-top: -8px; }
.price-card--dark .price-note { color: var(--salbei-hell); }
.badge-rec {
  margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--sand); color: var(--schiefer); padding: 6px 10px; border-radius: 999px; line-height: 1.3;
}
.chip { display: inline-block; font-size: 12px; font-weight: 600; background: var(--salbei-hell); color: var(--salbei); padding: 6px 12px; border-radius: 999px; line-height: 1.3; }

/* ---------- Fotos ---------- */
.photo { position: absolute; inset: 0; background: var(--foto); overflow: hidden; }
.photo::before {
  content: attr(data-ph); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--text-2);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ki {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  --gf: rgba(248,246,241,.36);
  border: 1px solid transparent;
  background: linear-gradient(var(--gf), var(--gf)) padding-box, var(--glass-rim) border-box;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  color: var(--schiefer); font-size: 12px; font-weight: 600; line-height: 1.3;
  padding: 6px 10px; border-radius: 8px; pointer-events: none;
}
.ki::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--salbei); }
html.no-ki .ki, html.no-ki .ki-note { display: none !important; }

/* =========================================================
   Globale Elemente
   ========================================================= */

/* ---------- Ladebildschirm ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--salbei);
  display: flex; align-items: center; justify-content: center;
  clip-path: inset(0% 0% 0% 0%);
  transition: clip-path .85s var(--ease-ld);
}
.loader::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, #000 10%, transparent 70%);
}
.loader__in { opacity: 0; animation: kwFadeIn .7s var(--ease) .2s forwards; }
.loader__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px;
  transition: opacity .35s ease, transform .6s var(--ease);
}
.loader__logo {
  position: relative; font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1; padding-left: .14em;
}
.loader__logo > span:first-child { color: rgba(255,255,255,.2); }
.loader__fill {
  position: absolute; inset: 0; padding-left: .14em; white-space: nowrap; overflow: hidden;
  clip-path: inset(0 88% 0 0);
  color: transparent; background: linear-gradient(100deg, #FFFFFF 0%, #E6EAE1 55%, #D8C39A 100%);
  -webkit-background-clip: text; background-clip: text;
  transition: clip-path .6s var(--ease);
}
.loader__bar { width: 120px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.loader__bar > div { height: 100%; width: 12%; background: linear-gradient(90deg, #E6EAE1, #D8C39A); transition: width .6s var(--ease); }
.loader.is-out { clip-path: inset(0% 0% 100% 0%); pointer-events: none; }
.loader.is-out .loader__inner { opacity: 0; transform: translateY(-16px); }
.loader.is-gone { visibility: hidden; pointer-events: none; clip-path: inset(0% 0% 100% 0%); }
.loader.is-pre { clip-path: inset(100% 0% 0% 0%); transition: none; visibility: visible; }
.loader.is-pre .loader__inner, .loader.is-cover .loader__inner { opacity: 0; transform: translateY(16px); }
.loader.is-cover { clip-path: inset(0% 0% 0% 0%); visibility: visible; pointer-events: auto; }
html.no-js .loader { display: none; }

/* ---------- Header ---------- */
.nav-spacer { height: 88px; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px;
  padding: 20px clamp(16px, 3vw, 40px);
  border-radius: 0 0 16px 16px;
  background: rgba(248,246,241,0);
  -webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.08);
  backdrop-filter: blur(16px) saturate(200%) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0), inset 0 -1px 1px rgba(255,255,255,0), inset 0 -12px 24px -12px rgba(255,255,255,0), 0 1px 0 rgba(90,113,96,0), 0 12px 32px -16px rgba(35,40,35,0);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(248,246,241,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 1px rgba(255,255,255,.85), inset 0 -12px 24px -12px rgba(255,255,255,.35), 0 1px 0 rgba(90,113,96,.12), 0 12px 32px -16px rgba(35,40,35,.2);
}
/* Geöffnetes Menü: Kopfzeile verschmilzt mit der Salbei-Fläche (kein Glas, kein Schatten).
   menu-closing hält diesen Zustand, bis die Fläche beim Schließen zurückgewichen ist. */
html.menu-open .nav, html.menu-closing .nav {
  background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: padding .35s;
}
/* Salbei-Fläche in der Kopfzeile: wächst mit exakt demselben Kreis wie das Menü,
   damit beim Scrollen im Menü und während der Animation nichts von der Seite durchscheint. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--salbei);
  clip-path: circle(0px at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-io);
}
html.menu-open .nav::before { clip-path: circle(150vmax at calc(100% - 44px) 44px); }
.logo {
  font-size: 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
  color: transparent; background-image: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
}
.logo:hover { color: transparent; }
html.menu-open .nav .logo, html.menu-closing .nav .logo { background-image: linear-gradient(100deg, #fff, #fff); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__cta {
  display: none;
  background: var(--salbei); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.4;
  padding: 12px 18px; border-radius: 12px; transition: opacity .3s, background .15s;
}
.nav__cta:hover { background: var(--salbei-hover); color: #fff; }
html.menu-open .nav__cta { opacity: 0; pointer-events: none; }
.burger {
  display: flex; align-items: center; gap: 10px;
  height: 48px; min-width: 48px; padding: 0 15px;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) padding-box, var(--glass-rim) border-box;
  box-shadow: var(--glass-inset), 0 4px 12px -6px rgba(35,40,35,.2), 0 30px 60px -30px rgba(35,40,35,.24);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  color: var(--schiefer); font-size: 14px; font-weight: 600;
  transition: background .4s, color .4s;
}
.burger__label { display: none; }
.burger__icon { position: relative; width: 18px; height: 18px; display: block; }
.burger__icon i {
  position: absolute; left: 0; top: 8px; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .45s var(--ease-io);
}
.burger__icon i:first-child { transform: translateY(-4px); }
.burger__icon i:last-child { transform: translateY(4px); }
html.menu-open .burger, html.menu-closing .burger {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.menu-open .burger:hover { border-color: rgba(255,255,255,.7); }
html.menu-open .burger__icon i:first-child { transform: rotate(45deg); }
html.menu-open .burger__icon i:last-child { transform: rotate(-45deg); }
@media (min-width: 760px) {
  .nav__cta { display: inline-block; }
  .burger { padding: 0 18px 0 20px; }
  .burger__label { display: inline; }
}

/* ---------- Menü-Overlay ---------- */
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: 100%;
  background: var(--salbei); color: #fff; overflow-y: auto;
  clip-path: circle(0px at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
html.menu-open .menu { clip-path: circle(150vmax at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__in {
  min-height: 100%; padding: 112px clamp(20px, 5vw, 72px) 40px;
  display: flex; flex-direction: column; gap: 48px;
}
.menu__links { display: flex; flex-direction: column; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu__links a {
  display: flex; align-items: baseline; gap: 20px; padding: 10px 0; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .7s var(--ease), padding .25s;
}
.menu__links a:hover { padding-left: 12px; color: #fff; }
.menu__links .n { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); min-width: 24px; }
.menu__links .t { font-size: clamp(36px, 6vw, 72px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
html.menu-open .menu__links a { opacity: 1; transform: translateY(0); }
html.menu-open .menu__links li:nth-child(1) a { transition-delay: .25s; }
html.menu-open .menu__links li:nth-child(2) a { transition-delay: .31s; }
html.menu-open .menu__links li:nth-child(3) a { transition-delay: .37s; }
html.menu-open .menu__links li:nth-child(4) a { transition-delay: .43s; }
html.menu-open .menu__links li:nth-child(5) a { transition-delay: .49s; }
html.menu-open .menu__links li:nth-child(6) a { transition-delay: .55s; }
html.menu-open .menu__links a:hover { transition-delay: 0s; }
.menu__foot {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  opacity: 0; transition: opacity .5s ease;
}
html.menu-open .menu__foot { opacity: 1; transition-delay: .55s; }
.menu__foot .btn { padding: 14px 22px; }
.menu__foot .btn-white { color: var(--salbei); }
.menu__foot .btn-white:hover { background: rgba(255,255,255,.88); color: var(--salbei); }
.menu__foot span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- Schwebende Kontakt-Buttons ---------- */
.fab {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 45;
  display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 20px;
  --gf: rgba(248,246,241,.27);
  border: 1px solid transparent;
  background: linear-gradient(var(--gf), var(--gf)) padding-box, var(--glass-rim) border-box;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), 0 1px 2px rgba(35,40,35,.06), 0 16px 32px -12px rgba(35,40,35,.28), 0 30px 60px -30px rgba(35,40,35,.24);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s ease, transform .6s var(--ease);
}
.fab.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
html.menu-open .fab { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab a {
  position: relative; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), box-shadow .35s, background .15s;
}
.fab svg { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fab__wa { border-radius: 16px 16px 6px 6px; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(35,40,35,.08); }
.fab__wa svg { stroke: var(--salbei); }
.fab__wa:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 8px 16px -6px rgba(35,40,35,.25); }
.fab__tel { border-radius: 6px 6px 16px 16px; background: var(--grad-salbei); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(35,40,35,.1); }
.fab__tel svg { stroke: #fff; }
.fab__tel:hover { background: var(--grad-salbei); filter: brightness(1.06); transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 16px -6px rgba(90,113,96,.45); }
.fab__tip {
  position: absolute; right: calc(100% + 16px); top: 50%; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: var(--schiefer); line-height: 1.4;
  --gf: rgba(248,246,241,.45);
  border: 1px solid transparent;
  background: linear-gradient(var(--gf), var(--gf)) padding-box, var(--glass-rim) border-box;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), 0 8px 20px -8px rgba(35,40,35,.25), 0 30px 60px -30px rgba(35,40,35,.24);
  padding: 8px 12px; border-radius: 12px; pointer-events: none;
  opacity: 0; transform: translate(8px, -50%);
  transition: opacity .25s, transform .35s var(--ease);
}
.fab a:hover .fab__tip, .fab a:focus-visible .fab__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; border-radius: 16px 16px 0 0; background: var(--schiefer); color: #fff; overflow: hidden; }
.footer .bg-grid { --gl: rgba(255,255,255,.05); --gs: rgba(255,255,255,.02); --mk: ellipse 80% 70%; --at: 50% 0%; }
.footer__in {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--pad-x) 32px;
  display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px);
}
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.footer__claim { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; max-width: 620px; }
.footer__claim .accent, .footer .logo { background-image: linear-gradient(100deg, #A9BBA4 0%, #C7BE95 50%, #D8C39A 100%); }
.footer__cols {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 40px 32px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .footer__cols { grid-template-columns: minmax(0,1.35fr) minmax(0,.9fr) minmax(0,1.9fr) minmax(0,1.1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .footer__branchen { grid-column: span 2; order: 3; } }
.footer__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__col a.footer__pill {
  align-self: auto; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22); color: #fff; transition: background .25s, border-color .25s, color .25s;
}
.footer__col a.footer__pill:hover { background: var(--sand); border-color: var(--sand); color: var(--schiefer); }
.footer__tlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.footer__tlist a { font-size: 14px; color: #C9CFC7; }
.footer__tlist a:hover { color: var(--sand); }
.footer__col a.footer__all { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--sand); }
.footer__col a.footer__all:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer__col:first-child { gap: 16px; }
.footer__col .label { color: #A9BBA4; }
.footer__col a { font-size: 15px; color: #fff; align-self: flex-start; }
.footer__col a:hover { color: var(--sand); }
.footer__col .logo { align-self: flex-start; }
.footer__col p, .footer__col > span:not(.label) { font-size: 14px; line-height: 1.6; color: #C9CFC7; max-width: 300px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: #C9CFC7;
}
.footer__bottom a { color: #C9CFC7; }
.footer__bottom a:hover { color: #fff; }
.ki-note { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ki-note::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: #A9BBA4; }
.to-top {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; font-size: 16px; cursor: pointer; transition: background .15s;
}
.to-top:hover { background: rgba(255,255,255,.1); }
html.no-ki .footer__bottom .to-top { margin-left: auto; }

/* =========================================================
   Seitenbausteine
   ========================================================= */

/* ---------- Einblenden ---------- */
.up { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
html.is-mounted .up { opacity: 1; transform: translateY(0); }
.hero-panel { opacity: 0; transition: opacity .8s ease; }
html.is-mounted .hero-panel { opacity: 1; }
html.no-js .up, html.no-js .hero-panel { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Scroll-Reveal (Unterseiten) ----------
   .rv: Element blendet ein und steigt auf; --d = Verzögerung (Staffelung)
   .wd: maskiertes Wort einer Überschrift, gleitet von unten ein */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .22em; margin: -.16em 0 -.22em; }
.wd > * { display: inline-block; transform: translateY(108%); transition: transform .95s var(--ease) calc(var(--d, 0s) + var(--wi, 0) * 70ms); }
.is-in .wd > *, .wd.is-in > * { transform: none; }
html.no-js .rv { opacity: 1; transform: none; }

/* Stapel-Effekt: Sektion bleibt stehen, die nächste schiebt sich darüber */
[data-stack] { transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden; }
html.stack-on [data-stack] { position: sticky; top: min(var(--stack-top, 0px), calc(100vh - var(--stack-h, 100vh))); top: min(var(--stack-top, 0px), calc(100svh - var(--stack-h, 100svh))); }
.stack-shade { position: absolute; inset: 0; background: var(--schiefer); opacity: 0; pointer-events: none; z-index: 2; border-radius: inherit; }
.stack-over { border-radius: 16px 16px 0 0; box-shadow: 0 -1px 0 #E6EAE1, 0 -32px 64px -32px rgba(35,40,35,.28); }

/* Parallax im Hero-Foto */
[data-parallax] img { transform: scale(1.1); will-change: transform; }

/* Karten-Hover */
.card, .price-card { transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-3px); }
.price-card:hover { transform: translateY(-4px); }
.steps--plain .step__card { padding: 24px 24px 26px; }

/* ---------- Hero ---------- */
.hero__grid {
  position: relative; z-index: 1; max-width: 1320px; margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero__text .lead { max-width: 520px; }
.hero__media {
  position: relative; height: clamp(380px, 56vh, 580px); min-width: 0;
  filter: drop-shadow(0 2px 4px rgba(35,40,35,.06)) drop-shadow(0 24px 40px rgba(35,40,35,.18));
}
.hero__img {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: var(--foto);
  clip-path: inset(100% 0% 0% 0% round 16px);
  transition: clip-path 1.2s var(--ease-io) .35s;
}
.hero__img .photo { transform: scale(1.12); transition: transform 1.8s var(--ease) .35s; }
.hero__media.is-ready .hero__img { clip-path: inset(0% 0% 0% 0% round 16px); }
.hero__media.is-ready .hero__img .photo { transform: scale(1); }
html.no-js .hero__img { clip-path: none; }
html.no-js .hero__img .photo { transform: none; }

.float-card {
  position: absolute; opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease var(--d, 1s), transform .8s var(--ease) var(--d, 1s);
}
.hero__media.is-ready .float-card { opacity: 1; transform: translateY(0); }
.float-card > div {
  --gf: rgba(255,255,255,.31);
  border-radius: 16px; padding: 16px 18px;
  animation: kwFloat 6s ease-in-out infinite;
  box-shadow: var(--glass-inset), inset 0 -1px 0 rgba(255,255,255,.25), 0 12px 32px rgba(35,40,35,.14), 0 30px 60px -30px rgba(35,40,35,.24);
}
.float-card--bl { left: clamp(-40px, -2.4vw, 12px); bottom: 40px; }
.float-card--tr { right: clamp(-40px, -2.4vw, 12px); top: 40px; --d: 1.2s; }
@media (max-width: 759px) { .float-card--tr { display: none; } }
.ad-tag { font-size: 12px; font-weight: 600; background: var(--salbei-hell); color: var(--salbei); padding: 3px 8px; border-radius: 8px; }

/* Startseiten-Hero */
.home-hero .hero__grid { min-height: calc(100svh - 108px); padding: clamp(32px, 5vw, 72px) var(--pad-x); }
.home-hero .hero__media { height: clamp(420px, 62vh, 640px); }
.hero-badge {
  align-self: flex-start;
  --gf: rgba(255,255,255,.3);
  border: 1px solid transparent;
  background: linear-gradient(var(--gf), var(--gf)) padding-box, var(--glass-rim) border-box;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), 0 30px 60px -30px rgba(35,40,35,.24);
  padding: 7px 12px; border-radius: 999px;
}
.hero-h1 { font-size: clamp(38px, 4.6vw, 56px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.hero-h1__words { display: flex; flex-wrap: wrap; column-gap: .26em; }
.hero-h1__words > span { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-h1__words > span > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) var(--d, .2s); }
html.is-mounted .hero-h1__words > span > span, html.no-js .hero-h1__words > span > span { transform: translateY(0); }
.rotator { display: block; position: relative; height: 1.14em; overflow: hidden; }
.rotator > span {
  position: absolute; left: 0; top: 0; white-space: nowrap; display: inline-block; padding-bottom: .1em;
  opacity: 0; transform: translateY(100%);
  transition: transform .8s var(--ease-io), opacity .6s ease;
}
.rotator > span.is-on { opacity: 1; transform: translateY(0); }
.rotator > span.is-past { transform: translateY(-100%); }
html:not(.is-mounted) .rotator > span { opacity: 0; transform: translateY(100%); }
html.no-js .rotator > span:first-child { opacity: 1; transform: none; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 8px; list-style: none; margin: 0; padding-left: 0; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.swap { transition: opacity .3s ease; }
.swap.is-swapping { opacity: 0; }

/* ---------- Problem (Startseite) ---------- */
.problem {
  position: relative; overflow: hidden; z-index: 1;
  background: var(--leinen); padding: 128px var(--pad-x);
  transform-origin: 50% 100%; will-change: transform; backface-visibility: hidden;
}
.problem__shade { position: absolute; inset: 0; background: var(--schiefer); opacity: 0; pointer-events: none; z-index: 2; }
.problem__in { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.problem__text { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 500; letter-spacing: -.03em; text-wrap: pretty; }
.problem__text .w { color: #A0A99E; transition: color .35s ease; }
.problem__text .w--fin { font-weight: 700; }
.problem__text .br { display: block; height: .6em; }
.scrub-img {
  position: relative; border-radius: 16px; overflow: hidden; background: var(--salbei-hell);
  will-change: clip-path;
}
.scrub-img .photo { will-change: transform; }
.problem .scrub-img { margin-top: 32px; height: clamp(260px, 32vw, 440px); }
.scrub-img__shade { position: absolute; inset: 0; background: var(--schiefer); pointer-events: none; opacity: 0; }

/* ---------- Leistungen-Showcase (Startseite) ---------- */
.leist {
  position: relative; overflow: hidden; z-index: 3;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -1px 0 #E6EAE1, 0 -32px 64px -32px rgba(35,40,35,.28);
  background: var(--leinen);
  padding: 96px var(--pad-x) 128px;
}
.leist__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 48px; align-items: center; }
@media (min-width: 1000px) { .leist__grid { grid-template-columns: minmax(0,5fr) minmax(0,7fr); } }
.acc { display: flex; flex-direction: column; border-bottom: 1px solid var(--salbei-hell); }
.acc__item { position: relative; border-top: 1px solid var(--salbei-hell); }
.acc__btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 24px 0;
  border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--schiefer);
}
.acc__n { font-size: 14px; font-weight: 600; color: var(--salbei); min-width: 24px; }
.acc__t { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--text-2); transition: color .3s; }
.acc__item.is-open .acc__t { color: var(--schiefer); }
.plus { margin-left: auto; position: relative; width: 32px; height: 32px; border-radius: 999px; background: var(--salbei-hell); transition: background .3s; flex: none; }
.plus::before, .plus::after {
  content: ''; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 2px;
  background: var(--salbei); transition: transform .4s var(--ease-io), background .3s;
}
.plus::after { transform: rotate(90deg); }
.is-open > * > .plus, .is-open .plus { background: var(--salbei); }
.is-open .plus::before, .is-open .plus::after { background: #fff; }
.is-open .plus::after { transform: rotate(0deg); }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-io); }
.collapse > div { overflow: hidden; min-height: 0; }
.is-open > .collapse { grid-template-rows: 1fr; }
.collapse__body { opacity: 0; transition: opacity .4s ease .1s; }
.is-open > .collapse .collapse__body { opacity: 1; }
.acc .collapse__body { padding: 0 0 24px 40px; display: flex; flex-direction: column; gap: 16px; margin-top: -8px; }
.acc .collapse__body p { max-width: 440px; }
.acc .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acc__prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--salbei); border-radius: 2px; }

.stage {
  --gf: rgba(230,234,225,.36);
  border-radius: 16px; padding: clamp(16px, 2vw, 24px);
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  box-shadow: var(--glass-inset), 0 24px 48px -28px rgba(35,40,35,.25), 0 30px 60px -30px rgba(35,40,35,.24);
}
.stage__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage__top .pill { --gf: rgba(255,255,255,.27); }
.stage__top .pill button { padding: 10px 18px; }
.stage__name { margin-left: auto; font-size: 14px; color: var(--text-2); }
.mocks { position: relative; height: clamp(340px, 34vw, 400px); }
.mock {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transform: scale(.97) translateY(16px);
  transition: opacity .5s ease, transform .6s var(--ease);
}
.mock.is-near { transform: scale(.97) translateY(8px); }
.mock.is-on { opacity: 1; transform: scale(1) translateY(0); }
.mock > div { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(35,40,35,.06), 0 12px 32px -12px rgba(35,40,35,.18); line-height: 1.4; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; }
.bars--grow span { height: 8%; transition: height .8s var(--ease); }
.bars--grow.is-grown span:nth-child(1) { height: 22%; transition-delay: .2s; }
.bars--grow.is-grown span:nth-child(2) { height: 34%; transition-delay: .28s; }
.bars--grow.is-grown span:nth-child(3) { height: 41%; transition-delay: .36s; }
.bars--grow.is-grown span:nth-child(4) { height: 55%; transition-delay: .44s; }
.bars--grow.is-grown span:nth-child(5) { height: 72%; transition-delay: .52s; }
.bars--grow.is-grown span:nth-child(6) { height: 92%; transition-delay: .6s; }
.caption { display: flex; flex-direction: column; gap: 4px; min-height: 56px; }
.caption .label { color: var(--text-2); transition: color .3s; }
.caption.is-neu .label { color: var(--salbei); }
.caption .h4 { color: var(--schiefer); text-wrap: pretty; }

/* ---------- Ablauf (Startseite) ---------- */
.steps { position: relative; display: grid; grid-template-columns: minmax(0,1fr); gap: 32px 24px; }
/* Verbindungslinie
   ab 1000 px: eine waagerechte Linie, die sich beim Scrollen füllt
   darunter: Fünfecke links in einer Spalte, Verbindungsstücke füllen sich Schritt für Schritt */
.steps__line { display: none; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .steps__line {
    display: block; position: absolute; top: 33px; left: 68px; right: calc((100% - 48px) / 3 - 20px);
    height: 2px; border-radius: 2px; background: rgba(90,113,96,.18); overflow: hidden;
  }
  .steps__line > div { height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #5A7160, #7E8F6A, #A8894F); }
}
@media (max-width: 999px) {
  .steps { --num: 68px; gap: 24px; }
  .steps .step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .steps .step__num { flex: none; width: var(--num); height: var(--num); }
  .steps .step__card { flex: 1; min-width: 0; }
  .step:not(:last-child)::before, .step:not(:last-child)::after {
    content: ''; position: absolute; left: calc(var(--num) / 2 - 1px); top: calc(var(--num) + 8px); bottom: -16px;
    width: 2px; border-radius: 2px;
  }
  .step:not(:last-child)::before { background: rgba(90,113,96,.18); }
  .step:not(:last-child)::after {
    background: linear-gradient(180deg, #5A7160, #7E8F6A, #A8894F);
    transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease);
  }
  .step:has(+ .step.is-on)::after { transform: scaleY(1); }
}
@media (max-width: 599px) {
  .steps { --num: 52px; }
  .steps .step__num span { font-size: 16px; }
  .steps .step__card { padding: 18px 18px 22px; }
}
.step {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.steps.is-seen .step { opacity: 1; transform: translateY(0); }
.step__num {
  position: relative; width: 68px; height: 68px; display: flex; align-items: center; justify-content: center;
  color: #fff; transform: scale(.9);
  filter: drop-shadow(0 2px 2px rgba(35,40,35,.06)) drop-shadow(0 10px 14px rgba(35,40,35,.14));
  transition: color .4s, transform .5s cubic-bezier(.3,1.6,.5,1);
}
.step__num svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.step__num polygon { fill: currentColor; stroke: currentColor; stroke-width: 18; stroke-linejoin: round; }
.step__num span { position: relative; top: 2px; font-size: 20px; font-weight: 600; color: var(--salbei); transition: color .4s; }
.step__card {
  flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; border-radius: 16px;
  border: 1px solid transparent;
  background: linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)) padding-box, linear-gradient(135deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.15) 40%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.4) 100%) border-box;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 30px 60px -30px rgba(35,40,35,.08);
  transform: translateY(6px);
  transition: background .5s, box-shadow .5s, transform .6s var(--ease);
}
.step.is-on .step__num { color: var(--salbei); transform: scale(1); }
.step.is-on .step__num span { color: #fff; }
.step.is-on .step__card {
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)) padding-box, var(--glass-rim) border-box;
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 30px 60px -30px rgba(35,40,35,.24);
  transform: translateY(0);
}

/* ---------- Preise (Startseite) ---------- */
.pkgs { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; align-items: stretch; }
@media (min-width: 860px) { .pkgs { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.pkg {
  position: relative; height: 100%; border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--glass-inset), 0 24px 48px -28px rgba(35,40,35,.28), 0 30px 60px -30px rgba(35,40,35,.24);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.pkg:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(35,40,35,.35); }
.pkg.price-card--dark .price__num, .pkg.price-card--dark .price__cur { color: #fff; }
.pkg__lead { font-size: 14px; line-height: 1.5; color: var(--text-2); margin-top: -12px; }
.pkg.price-card--dark .pkg__lead, .pkg.price-card--dark .pkg__note { color: var(--salbei-hell); }
.pkg__price { display: flex; flex-direction: column; gap: 6px; }
.pkg__note { font-size: 14px; line-height: 1.5; color: var(--text-2); min-height: 21px; }
.pkg .checks { padding-top: 24px; border-top: 1px solid var(--salbei-hell); }
.pkg.price-card--dark .checks { border-top-color: rgba(255,255,255,.18); }
.pkg .checks li { font-size: 14px; line-height: 1.4; gap: 12px; }
.pkg__foot { margin-top: auto; padding-top: 8px; display: flex; }
.pkg__foot .btn { flex: 1; }
.pkg .btn-cta { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(35,40,35,.08), 0 4px 8px rgba(35,40,35,.06), 0 12px 24px -6px rgba(0,0,0,.25); }
.pkg .btn-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.price-info { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.price-info b { font-weight: 600; color: var(--schiefer); }
.acad-box {
  background: var(--salbei-hell); border-radius: 16px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 24px 48px -28px rgba(35,40,35,.22);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.acad-box .scrub-img { min-height: clamp(280px, 32vw, 440px); border-radius: 0; background: transparent; }
.acad-box__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.acad-list { display: flex; flex-direction: column; background: var(--leinen); border-radius: 12px; list-style: none; margin: 0; padding: 0; }
.acad-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.acad-list li + li { border-top: 1px solid var(--salbei-hell); }
.acad-list li > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.5; }
.acad-list b { font-size: 16px; font-weight: 600; }
.acad-list small { font-size: 14px; color: var(--text-2); }
.acad-list li > span:last-child { margin-left: auto; font-size: 20px; font-weight: 600; white-space: nowrap; }
.pill-dark { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; background: var(--salbei); color: #fff; padding: 6px 12px; border-radius: 999px; line-height: 1.3; }

/* ---------- Kontakt-Bereich ---------- */
.kontakt__grid {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 7vw, 112px) var(--pad-x);
  display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(32px, 5vw, 64px); align-items: start;
}
@media (min-width: 1000px) { .kontakt__grid { grid-template-columns: minmax(0,5fr) minmax(0,6fr); } }
.kontakt__intro { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.kontakt__intro .lead { max-width: 460px; color: var(--text-2); }
.portrait {
  position: relative; height: clamp(280px, 30vw, 380px); border-radius: 16px; overflow: hidden; background: var(--foto);
  box-shadow: 0 2px 4px rgba(35,40,35,.05), 0 20px 40px -16px rgba(35,40,35,.2), 0 48px 80px -40px rgba(35,40,35,.25);
}
.portrait__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; pointer-events: none;
  --gf: rgba(248,246,241,.36);
  box-shadow: var(--glass-inset), 0 30px 60px -30px rgba(35,40,35,.24);
  line-height: 1.4;
}
.portrait__tag b { font-size: 15px; font-weight: 600; }
.portrait__tag span { font-size: 12px; color: var(--text-2); }
.direct { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.direct a { display: flex; flex-direction: column; gap: 2px; color: var(--schiefer); line-height: 1.4; }
.direct a:hover { color: var(--salbei); }
.direct b { font-size: 17px; font-weight: 600; }

/* Formular in 3 Schritten */
.kform {
  --gf: rgba(255,255,255,.37);
  border-radius: 16px; padding: clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
  box-shadow: var(--glass-inset), 0 1px 2px rgba(35,40,35,.05), 0 24px 48px -24px rgba(35,40,35,.22);
}
.kform__head { display: flex; flex-direction: column; gap: 12px; }
.kform__head > div { display: flex; align-items: center; gap: 12px; }
.kform__back {
  border: 0; background: var(--salbei-hell); color: var(--salbei); width: 32px; height: 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; display: none;
}
.kform__back.is-shown { display: block; }
.kform__prog { height: 4px; border-radius: 999px; background: var(--salbei-hell); overflow: hidden; }
.kform__prog > div { height: 100%; width: 33%; border-radius: 999px; background: var(--salbei); transition: width .5s var(--ease-io); }
.kform.is-done .kform__head { display: none; }
.kform__view { overflow: hidden; transition: height .5s var(--ease-io); }
.kform__track { display: flex; align-items: flex-start; transition: transform .6s var(--ease-io); }
.kform__step { flex: none; width: 100%; display: flex; flex-direction: column; gap: 20px; opacity: 0; transition: opacity .4s; }
.kform__step.is-on { opacity: 1; }
.kform__step[data-step="2"] { gap: 16px; }
.kform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kform legend { padding: 0; margin-bottom: 20px; }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.opts--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--salbei-hell); background: #fff; color: var(--schiefer);
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.3;
  transition: border-color .2s, background .2s, transform .2s;
}
.opt:hover { border-color: var(--salbei); transform: translateY(-1px); }
.opt__dot {
  width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid #CFD8CB; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.opt__dot::after { content: ''; width: 6px; height: 6px; border-radius: 999px; background: #fff; opacity: 0; }
.opt[aria-pressed="true"] { border-color: var(--salbei); background: var(--salbei-hell); }
.opt[aria-pressed="true"] .opt__dot { border-color: var(--salbei); background: var(--salbei); }
.opt[aria-pressed="true"] .opt__dot::after { opacity: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input {
  width: 100%; border: 1.5px solid var(--foto); border-radius: 12px; padding: 14px 16px;
  font-family: inherit; font-size: 16px; color: var(--schiefer); background: var(--leinen); outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus { border-color: var(--salbei); background: #fff; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times button {
  border: 1.5px solid var(--salbei-hell); background: #fff; color: var(--schiefer);
  font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.times button[aria-pressed="true"] { border-color: var(--salbei); background: var(--grad-salbei); color: #fff; }
.kform .btn-cta { margin-top: 8px; }
.kform__err { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.kform__legal { font-size: 12px; line-height: 1.5; color: var(--text-2); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kform__done { align-items: flex-start; gap: 16px; padding: 24px 0; transition: opacity .4s .2s; }
.done-mark { transform: scale(.4); transition: transform .6s cubic-bezier(.3,1.6,.5,1) .3s; }
.kform__step.is-on .done-mark { transform: scale(1); }
.done-mark .penta { width: 72px; height: 72px; filter: none; }
.done-mark .penta span {
  top: 1px; width: 9px; height: 17px; border-right: 3px solid #fff; border-bottom: 3px solid #fff;
  transform: translateY(-2px) rotate(45deg);
}
.kform__done .text { max-width: 420px; }

/* ---------- Vorher / Nachher ---------- */
.vn { max-width: 1100px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--pad-x); display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.vn .mocks { height: clamp(360px, 42vw, 520px); }
.vn--ads { max-width: 1000px; }
.vn--ads .mocks { height: clamp(360px, 40vw, 440px); }
.vn .pill, .pill--glass { --gf: rgba(255,255,255,.3); box-shadow: var(--glass-inset); }

/* ---------- FAQ ---------- */
.faq-sec { position: relative; z-index: 3; background: var(--leinen); padding: 0 var(--pad-x) clamp(64px, 8vw, 112px); }
.faq-sec--top { padding-top: clamp(64px, 8vw, 112px); }
.faq-sec > div { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.faq { display: flex; flex-direction: column; border-bottom: 1px solid var(--salbei-hell); }
.faq__item { border-top: 1px solid var(--salbei-hell); }
.faq__item h3 { margin: 0; }
.faq__btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 24px 0;
  border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--schiefer);
}
.faq .collapse__body { padding: 0 48px 24px 0; }

/* ---------- Abschluss-CTA ---------- */
.closing {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
}
.closing > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }

/* ---------- Academy ---------- */
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-filter button {
  border: 1px solid rgba(90,113,96,.2); background: rgba(255,255,255,.5); color: var(--schiefer);
  font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.chips-filter button[aria-selected="true"] { background: var(--grad-salbei); color: #fff; border-color: var(--salbei); }
.guides { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
@media (min-width: 640px) { .guides { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1000px) { .guides { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.guide {
  --gf: rgba(255,255,255,.4);
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 30px 60px -30px rgba(35,40,35,.22);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.guide:hover { transform: translateY(-4px); }
.guide[hidden] { display: none; }
.guide__cover {
  position: relative; aspect-ratio: 4/3; margin: 8px 8px 0; border-radius: 12px; overflow: hidden; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.guide__cover::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.guide__cover > * { position: relative; }
.guide__cover > div { display: flex; align-items: center; gap: 8px; }
.guide__cover > div span:last-child { margin-left: auto; font-size: 12px; font-weight: 600; opacity: .8; }
.guide__cover .label { color: inherit; }
.guide__cover h3 { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.cover--google { background: linear-gradient(145deg, #74907B 0%, #5A7160 100%); color: #fff; }
.cover--website { background: linear-gradient(145deg, #EFE2C4 0%, #D8C39A 100%); color: var(--schiefer); }
.cover--anzeigen { background: linear-gradient(145deg, #CFD8CB 0%, #A9BBA4 100%); color: var(--schiefer); }
.guide__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 24px; flex: 1; }
.guide__body > p:first-child { font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.guide__meta { font-size: 13px; color: var(--text-2); }
.guide__buy { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 12px; }
.guide__buy > span { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.guide__buy .btn { margin-left: auto; padding: 14px 20px; }

/* ---------- Kontaktseite ---------- */
.tiles a {
  --gf: rgba(255,255,255,.35);
  display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 16px; color: var(--schiefer); line-height: 1.5;
  box-shadow: var(--glass-inset), 0 2px 4px rgba(35,40,35,.04), 0 30px 60px -30px rgba(35,40,35,.22);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.tiles a:hover { transform: translateY(-3px); color: var(--schiefer); }
.tiles a > span:last-child { font-size: 14px; color: var(--text-2); }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.legal h1 { margin-bottom: 16px; }
.legal section { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--salbei-hell); }
.legal h2 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.legal .text { color: var(--schiefer); }
.legal .lead { margin-bottom: 8px; }
.legal strong { font-weight: 600; }
.legal__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* =========================================================
   Responsive Feinschliff
   ========================================================= */

/* Lange deutsche Wörter in Überschriften nicht über den Rand laufen lassen */
h1, h2, h3, .h2-sm, .footer__claim { overflow-wrap: break-word; hyphens: manual; }

/* Touch-Ziele mindestens 44 px */
.logo { padding: 10px 0; margin: -10px 0; }
.pill button { min-height: 44px; }
.acad-box__body .btn-row > a { padding: 12px 0; }
.faq__btn { min-height: 64px; }

/* Startseiten-Hero: längstes Gewerk („Ihren Elektrobetrieb“ ≈ 9,1 em) passt immer in eine Zeile */
.hero-h1 { font-size: min(clamp(38px, 4.6vw, 56px), calc((100vw - 64px) / 9.3)); }

/* Hero zweispaltig schon ab ca. 900 px (Tablet quer, kleine Laptops) */
.hero__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }

/* Sechser-Raster auf Tablets zweispaltig statt einer langen Kartenschlange */
@media (min-width: 600px) and (max-width: 859px) {
  .grid-3:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet: Schritte zweispaltig lesbarer, Preiskarten nicht endlos breit */
@media (min-width: 600px) and (max-width: 999px) {
  .pkgs, .grid-3:not(:has(> :nth-child(4))) { max-width: 560px; margin-left: auto; margin-right: auto; width: 100%; }
  .steps { max-width: 560px; }
}

/* Smartphones */
@media (max-width: 599px) {
  :root { --panel-m: 8px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .problem { padding-top: 88px; padding-bottom: 88px; }
  .leist { padding-top: 72px; padding-bottom: 88px; }
  .home-hero .hero__grid { min-height: 0; padding-top: 32px; padding-bottom: 40px; }
  .hero__grid { gap: 36px; }
  .hero__media, .home-hero .hero__media { height: clamp(340px, 108vw, 460px); }
  .lead { font-size: 17px; }
  .h3 { font-size: 24px; }
  .acc__t { font-size: 24px; }
  .price__num { font-size: 48px; }
  .pkg, .price-card { padding: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn-row .btn-link { padding: 8px 4px; }
  .head-row { gap: 20px; }
  .stage { padding: 12px; }
  .stage__top .pill { flex: 1 1 100%; }
  .stage__name { display: none; }
  .mocks { height: 380px; }
  .vn .mocks, .vn--ads .mocks { height: 400px; }
  .kform { padding: 20px; }
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts--wide { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { padding-bottom: 88px; }           /* Platz für die schwebenden Kontakt-Buttons */
  .ki-note { margin-left: 0; flex-basis: 100%; }
  .float-card--bl { left: 8px; bottom: 16px; }
  .hero__img .ki { top: 12px; bottom: auto; }          /* nicht unter der schwebenden Karte */
  .float-card--bl > div { min-width: 0 !important; }
  .fab { right: 12px; bottom: 12px; }
  .fab a { width: 52px; height: 52px; }
}

/* Sehr kleine Smartphones (iPhone SE 1. Gen., 320 px) */
@media (max-width: 359px) {
  .h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .problem__text { font-size: 25px; }
  .menu__links .t { font-size: 32px; }
  .opts { grid-template-columns: minmax(0, 1fr); }
}

/* Smartphone quer: Hero nicht höher als der Bildschirm */
@media (max-height: 500px) and (orientation: landscape) {
  .nav-spacer { height: 72px; }
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .home-hero .hero__grid { min-height: 0; }
  .hero__media, .home-hero .hero__media { height: 80vh; }
  .menu__in { padding-top: 88px; gap: 24px; }
  .menu__links .t { font-size: 32px; }
}

/* Große Monitore: etwas mehr Luft, Inhalte bleiben gut lesbar zentriert */
@media (min-width: 1680px) {
  .home-hero .hero__grid, .hero__grid { max-width: 1440px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Porträt: Ausschnitt aufs Gesicht */
.portrait .photo img { object-position: 50% 28%; }

/* Mockup „Mit Klarwerk“ (Website): reagiert auf die eigene Breite statt auf den Bildschirm */
.mock > div { container-type: inline-size; }
.mk-nav { flex-wrap: nowrap; min-width: 0; }
.mk-nav > span { white-space: nowrap; }
@container (max-width: 440px) {
  .mk-nav .mk-l2 { display: none; }
  .mk-hero { padding: 14px !important; gap: 10px !important; }
  .mk-h { font-size: 20px !important; }
}
@container (max-width: 360px) {
  .mk-nav .mk-l1 { display: none; }
  .mk-nav .mk-cta { margin-left: auto; }
  .mk-hero { grid-template-columns: minmax(0, 1fr) !important; }
  .mk-img { display: none; }
}

/* =========================================================
   Hero-Pop-ups: feste Größen + Ticker-Wechsel
   ========================================================= */
.pop { --gf: rgba(255,255,255,.34); line-height: 1.4; box-sizing: border-box; }
.pop--lead { display: flex; align-items: center; gap: 14px; width: 272px; }
.pop--ad { display: flex; flex-direction: column; gap: 8px; width: 252px; animation-duration: 7s !important; animation-delay: 1s !important; }
.pop__dot { width: 40px; height: 40px; border-radius: 999px; background: var(--salbei-hell); display: flex; align-items: center; justify-content: center; flex: none; }
.pop__dot > span { width: 10px; height: 10px; border-radius: 999px; background: var(--salbei); animation: kwPulse 2s ease-out infinite; }
.pop__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pop__title { font-size: 14px; font-weight: 600; display: flex; align-items: baseline; gap: 8px; }
.pop__title small { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.pop__sub { font-size: 13px; color: var(--text-2); }
.pop__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.pop__ad { font-size: 15px; font-weight: 600; color: var(--salbei); line-height: 1.3; }

/* Ticker: alte Zeile gleitet nach oben raus, neue kommt von unten – Größe bleibt stabil */
.ticker { display: block; position: relative; overflow: hidden; height: 1.45em; }
.pop__ad.ticker { height: 1.35em; }
.ticker > span {
  position: absolute; left: 0; right: 0; top: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateY(105%); opacity: 0;
  transition: transform .7s var(--ease-io), opacity .45s ease;
}
.ticker > span.is-on { transform: none; opacity: 1; }
.ticker > span.is-past { transform: translateY(-105%); opacity: 0; }
.float-card--tr .ticker > span { transition-delay: .12s; }       /* Anzeige wechselt einen Tick später */

/* Responsiv: Größe hängt nur vom Bildschirm ab, nie vom Text */
@media (max-width: 999px) {
  .pop--lead { width: 256px; }
  .pop--ad { width: 236px; }
  .pop__ad { font-size: 14px; }
}
@media (max-width: 759px) {
  .float-card--tr { display: block; right: 12px; top: 56px; }
  .pop--ad { width: 224px; padding: 12px 14px; }
}
@media (max-width: 599px) {
  .float-card--tr { display: none; }
  .float-card--bl { left: 12px; right: 12px; bottom: 12px; }
  .pop--lead { width: 100%; padding: 12px 14px; gap: 12px; }
  .pop__dot { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker > span { transition: none; }
}
@media (max-width: 359px) { .pop__title small { display: none; } }

/* Porträt: KI-Hinweis oben rechts, damit er nie mit der Namens-Box kollidiert */
.portrait .ki { top: 12px; bottom: auto; }
/* Avatar im Chat-Mockup */
.mk-avatar { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; object-position: 50% 25%; flex: none; display: block; }

/* Farbverlauf im animierten Akzent: Hintergrund wird nur im Element-Rahmen gemalt.
   Rahmen nach oben/unten vergrößern, damit Unterlängen (g, p) und Umlaut-Punkte Farbe bekommen. */
.wd > .accent { padding: .14em 0 .22em; margin: -.14em 0 -.22em; }

/* Formular: Zusatzfelder */
.kform__step { gap: 16px; }
.kform__step > .h3 { margin-bottom: 4px; }
.kform__hint { font-size: 14px; color: var(--text-2); margin-top: -8px; }
.kform__other { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.kform__other[hidden] { display: none; }
.kform__step > .btn-primary, .kform__other .btn { align-self: flex-start; min-width: 140px; }
.kform__step > .btn-primary[disabled], .kform__other .btn[disabled] { opacity: .45; cursor: not-allowed; }
.field em { font-style: normal; color: var(--salbei); }
.field small { font-weight: 400; color: var(--text-2); }
.field textarea {
  width: 100%; border: 1.5px solid var(--foto); border-radius: 12px; padding: 14px 16px; resize: vertical; min-height: 96px;
  font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--schiefer); background: var(--leinen); outline: none;
  transition: border-color .2s, background .2s;
}
.field textarea:focus { border-color: var(--salbei); background: #fff; }
.field__err { font-size: 13px; color: #9A4B3C; font-weight: 500; }
.field__err[hidden] { display: none; }
@media (max-width: 599px) { .kform__step > .btn-primary, .kform__other .btn { align-self: stretch; } }

/* =========================================================
   Blog
   ========================================================= */
html.menu-open .menu__links li:nth-child(7) a { transition-delay: .61s; }

/* Lesefortschritt unter dem Header */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 61; pointer-events: none; }
.read-progress > div { height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-text); }
html.menu-open .read-progress { opacity: 0; }

/* Artikel-Kopf */
.post-hero__in {
  position: relative; z-index: 1; max-width: 880px; margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--pad-x) clamp(48px, 6vw, 80px);
  display: flex; flex-direction: column; gap: 20px;
}
.post-hero .lead { max-width: 680px; }
.post-hero .h1 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.crumbs a { color: var(--salbei); padding: 6px 0; }
.crumbs a:hover { color: var(--schiefer); }
.post-meta { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.post-meta img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; object-position: 50% 25%; flex: none; }
.post-meta > span { display: flex; flex-direction: column; line-height: 1.35; }
.post-meta b { font-size: 15px; font-weight: 600; }
.post-meta > span > span { font-size: 13px; color: var(--text-2); }

/* Layout: Inhaltsverzeichnis + Text */
.post-section { padding-top: clamp(48px, 6vw, 88px); overflow: visible; }   /* sonst bleibt das Inhaltsverzeichnis nicht stehen */
.post-layout { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: 64px; } }
.post-toc nav { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: var(--salbei-hell); }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.4; color: var(--text-2); transition: color .2s; }
.post-toc a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--salbei); opacity: .6; min-width: 20px; padding-top: 1px; }
.post-toc a:hover, .post-toc a.is-active { color: var(--schiefer); }
.post-toc a.is-active { font-weight: 600; }
.post-toc a.is-active::before { opacity: 1; }
@media (min-width: 1000px) {
  .post-toc nav { position: sticky; top: 104px; background: transparent; padding: 0; }
}

/* Fließtext */
.prose { min-width: 0; font-size: 17px; line-height: 1.75; color: var(--schiefer); }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; margin-top: 56px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin-top: 36px; }
.prose h2 + p, .prose h3 + p { margin-top: 12px; }
.prose p { text-wrap: pretty; }
.prose strong { font-weight: 600; }
.prose a { color: var(--salbei); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--schiefer); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--salbei); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; position: relative; padding-left: 36px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 999px; background: var(--salbei-hell); color: var(--salbei); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.post-note { position: relative; padding: 22px 24px 22px 28px; border-radius: 16px; background: var(--salbei-hell); }
.post-note::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad-text); }
.post-note p { font-size: 19px; line-height: 1.55; font-weight: 500; letter-spacing: -.01em; }
.post-table { overflow-x: auto; border-radius: 16px; border: 1px solid var(--salbei-hell); -webkit-overflow-scrolling: touch; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.post-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--salbei); background: var(--salbei-hell); padding: 14px 16px; }
.post-table td { padding: 14px 16px; border-top: 1px solid var(--salbei-hell); vertical-align: top; }
.post-table tr:last-child td { background: rgba(230,234,225,.5); font-weight: 600; }

/* Erstgespräch im Text */
.post-cta { --gf: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 28px; border-radius: 16px; margin: 40px 0 !important; }
.post-cta > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.post-cta .text { font-size: 15px; }
.post-cta .btn { flex: none; text-decoration: none; }

/* Autor & Weiterlesen */
.post-author { --gf: rgba(255,255,255,.45); display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: 16px; margin-top: 56px !important; }
.post-author img { width: 72px; height: 72px; border-radius: 999px; object-fit: cover; object-position: 50% 25%; flex: none; }
.post-author > div { display: flex; flex-direction: column; gap: 4px; }
.post-author .text { font-size: 15px; }
.post-related { font-size: 15px; color: var(--text-2); }
.post-related a { font-weight: 600; }

/* Übersicht */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { --gf: rgba(255,255,255,.4); display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 16px; color: var(--schiefer); transition: transform .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); color: var(--schiefer); }
.post-card__top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.post-card .h3 { font-size: 24px; }
.post-card .text { font-size: 15px; }
.post-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--salbei-hell); }
.post-card__foot .btn-link { padding: 8px 0; font-size: 14px; }

@media (max-width: 599px) {
  .prose { font-size: 16px; }
  .post-author { flex-direction: column; }
  .post-cta { padding: 22px; }
  .post-cta .btn { width: 100%; }
}

/* Startseite: „Aus dem Blog“ – Karten behalten ihre Breite, auch wenn es erst wenige Artikel gibt */
.home-blog { padding-top: clamp(24px, 4vw, 48px); }
@media (min-width: 760px) {
  .post-grid--home { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .post-grid--home:has(> :only-child) { grid-template-columns: minmax(0, 560px); }
}

/* ---------- Produktseite (Bewertungsschild) ---------- */
.pd-sec { padding-top: clamp(24px, 4vw, 56px); }
.pd {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start;
}
@media (min-width: 960px) { .pd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .pd__gallery { position: sticky; top: 104px; } }
.pd__gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pd__main {
  position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--foto);
  box-shadow: 0 2px 4px rgba(35,40,35,.06), 0 24px 40px -12px rgba(35,40,35,.18);
}
.pd__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.pd__slide.is-on { opacity: 1; }
.pd__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd__thumb {
  position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; padding: 0; background: var(--foto); opacity: .65;
  transition: opacity .2s, border-color .2s;
}
.pd__thumb:hover { opacity: 1; }
.pd__thumb.is-on { opacity: 1; border-color: var(--salbei); }
.pd__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pd__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.variants { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.variants legend { margin-bottom: 10px; }
.variant { position: relative; display: block; cursor: pointer; }
.variant input { position: absolute; opacity: 0; }
.variant span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 12px;
  border: 1.5px solid rgba(90,113,96,.22); background: rgba(255,255,255,.4); transition: border-color .2s, background .2s;
}
.variant small { font-size: 13px; color: var(--text-2); }
.variant:hover span { border-color: rgba(90,113,96,.5); }
.variant input:checked + span { border-color: var(--salbei); background: var(--salbei-hell); box-shadow: inset 0 0 0 1px var(--salbei); }
.variant input:focus-visible + span { outline: 2px solid var(--salbei); outline-offset: 2px; }
.pd__buy { align-self: stretch; text-align: center; }
.pd__legal { font-size: 13px; line-height: 1.55; color: var(--text-2); margin-top: -8px; }
.todo { font-style: normal; background: #FBEBC8; color: #7A5A12; padding: 0 4px; border-radius: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--rev .split__media { order: 2; } }
.split__img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--foto); box-shadow: 0 24px 40px -16px rgba(35,40,35,.2); }
.split__img--tall { aspect-ratio: 4 / 5; }
.card--row { flex-direction: row; align-items: flex-start; gap: 18px; }
.card--row .card__title { margin-top: 0; margin-bottom: 4px; }
@media (min-width: 760px) { .grid-3.grid-3--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.use-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 22px; border-radius: 16px; }
.use-card > .h4, .use-card > .text { padding: 0 10px; }
.use-card__img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--foto); margin-bottom: 8px; }
.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(90,113,96,.16); }
.specs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(90,113,96,.16); }
.specs dt { font-size: 14px; font-weight: 600; color: var(--salbei); }
.specs dd { margin: 0; font-size: 15px; }
.specs dd.todo { justify-self: start; }

/* ---------- Gewerk-Seiten ---------- */
.kw { display: flex; flex-direction: column; gap: 12px; }
.kw__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip--no { background: rgba(35,40,35,.06); color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(35,40,35,.35); }

/* Problem + Lösung: Vorderseite = Problem, bei Hover/Tipp schiebt sich die Lösung darüber */
.pl {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 250px; isolation: isolate; cursor: pointer;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .5s var(--ease), box-shadow .4s;
}
.pl::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(216,195,154,.35), transparent 60%);
}
.pl:hover::before { opacity: 1; }
.pl:hover { --ty: -4px; box-shadow: var(--glass-inset), 0 30px 60px -30px rgba(35,40,35,.35); }
.pl__front { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; }
.pl__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pl__ic {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #F8F6F1, var(--salbei-hell)); color: var(--salbei);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(35,40,35,.3);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.pl__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pl:hover .pl__ic { transform: rotate(-8deg) scale(1.08); background: var(--salbei); color: #fff; }
.pl__n { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(90,113,96,.35); }
.pl__prob { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.pl__more {
  margin-top: auto; align-self: flex-start; padding: 8px 0 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--salbei);
}
.pl__more span { display: inline-block; transition: transform .3s var(--ease); }
.pl:hover .pl__more span { transform: translateX(4px); }
.pl__back {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 24px;
  background: linear-gradient(160deg, #6B8471 0%, var(--salbei) 55%, #4A5F50 100%); color: #fff;
  clip-path: circle(0% at 90% 100%); transition: clip-path .6s var(--ease-io);
}
.pl__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #D8C39A; }
.pl__sol { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .5s var(--ease); }
.pl__check {
  position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.4); transform: scale(.5); opacity: 0; transition: transform .5s var(--ease) .15s, opacity .3s .15s;
}
.pl__check::after { content: ""; position: absolute; left: 14px; top: 9px; width: 8px; height: 15px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pl.is-open .pl__back { clip-path: circle(150% at 90% 100%); }
.pl.is-open .pl__sol { opacity: 1; transform: none; transition-delay: .18s; }
.pl.is-open .pl__check { transform: scale(1); opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .pl:hover .pl__back { clip-path: circle(150% at 90% 100%); }
  .pl:hover .pl__sol { opacity: 1; transform: none; transition-delay: .18s; }
  .pl:hover .pl__check { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .pl { transform: none !important; } .pl__back { transition: none; } }

/* Handy-Mockup */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.phone {
  position: relative; width: min(290px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #3A413A, #232823);
  box-shadow: 0 2px 0 rgba(255,255,255,.12) inset, 0 40px 80px -30px rgba(35,40,35,.45), 0 12px 24px -12px rgba(35,40,35,.3);
  animation: kwFloat 7s ease-in-out infinite;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 33px; overflow: hidden; background: #F8F6F1;
  display: flex; flex-direction: column; gap: 10px; padding: 34px 12px 12px; font-size: 11px; color: var(--schiefer);
}
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 999px; background: #232823; }
.ph-nav { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.ph-nav b { font-size: 12px; letter-spacing: .1em; color: var(--salbei); }
.ph-burger { display: flex; flex-direction: column; gap: 3px; } .ph-burger i { width: 14px; height: 2px; border-radius: 2px; background: var(--schiefer); }
.ph-hero { display: flex; flex-direction: column; gap: 7px; padding: 14px; border-radius: 14px; background: var(--salbei-hell); }
.ph-badge { align-self: flex-start; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #F8F6F1; color: var(--salbei); padding: 3px 7px; border-radius: 999px; }
.ph-h { font-size: 19px; line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.ph-h em { font-style: normal; font-weight: 700; color: var(--salbei); }
.ph-t { font-size: 10px; line-height: 1.45; color: var(--text-2); }
.ph-btn { align-self: flex-start; font-size: 10px; font-weight: 700; padding: 7px 11px; border-radius: 8px; background: linear-gradient(120deg, #A9BBA4, #D8C39A); color: #34463A; }
.ph-stars { font-size: 10px; color: #B8913A; } .ph-stars small { color: var(--text-2); font-size: 9px; }
.ph-label { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--salbei); padding: 2px 4px 0; }
.ph-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-ref { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 10px; overflow: hidden; }
.ph-ref span { height: 64px; }
.ph-ref__a { background: linear-gradient(160deg, #B9B3A6, #9C968A); }
.ph-ref__b { background: linear-gradient(160deg, #F2EEE4, #E3DCCB); }
.ph-ref__a--2 { background: linear-gradient(160deg, #A7A99F, #8E9086); }
.ph-ref__b--2 { background: linear-gradient(160deg, #E6EAE1, #CFD8CB); }
.ph-ref small { grid-column: 1 / -1; font-size: 9px; padding: 5px 2px 0; color: var(--text-2); }
.ph-call { margin-top: auto; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--salbei); padding: 10px; border-radius: 12px; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  --gf: rgba(255,255,255,.5); padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
  box-shadow: var(--glass-inset), 0 12px 32px rgba(35,40,35,.14);
  animation: kwFloat 6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@media (max-width: 480px) { .float-chip { font-size: 12px; padding: 8px 10px; } }

/* Google-Suchergebnis-Mockup */
.serp { --gf: rgba(255,255,255,.62); display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; box-shadow: var(--glass-inset), 0 30px 60px -28px rgba(35,40,35,.3); }
.serp__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(35,40,35,.12); font-size: 14px; }
.serp__g { font-weight: 800; color: var(--salbei); }
.serp__q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp__q::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--schiefer); animation: kwBlink 1s steps(1) infinite; }
.serp__lens { width: 12px; height: 12px; border: 2px solid var(--text-2); border-radius: 999px; position: relative; flex: none; }
.serp__ad { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--salbei); box-shadow: 0 0 0 5px rgba(90,113,96,.12); }
.serp__src { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.3; }
.serp__src span:last-child { display: flex; flex-direction: column; } .serp__src small { color: var(--text-2); }
.serp__fav { width: 26px; height: 26px; border-radius: 999px; background: var(--salbei-hell); color: var(--salbei); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.serp__title { font-size: 17px; line-height: 1.3; font-weight: 600; color: #3A55A0; }
.serp__desc { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.serp__links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: #3A55A0; }
.serp__call { position: absolute; right: 14px; top: 14px; font-size: 12px; font-weight: 600; color: var(--salbei); background: var(--salbei-hell); padding: 5px 10px; border-radius: 999px; }
.serp__org { display: flex; flex-direction: column; gap: 7px; padding: 4px 16px; opacity: .55; }
.serp__org span { height: 8px; border-radius: 4px; background: rgba(35,40,35,.12); }
.serp__org span:first-child { width: 40%; } .serp__org span:nth-child(2) { width: 75%; height: 10px; background: rgba(58,85,160,.22); } .serp__org span:last-child { width: 90%; }
@keyframes kwBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .phone, .float-chip { animation: none; } .serp__q::after { animation: none; } }
.phone__screen { gap: 8px; }
.ph-ref span { height: 52px; }
.ph-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ph-svc span { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 9px; background: #fff; font-size: 9.5px; font-weight: 600; box-shadow: 0 1px 3px rgba(35,40,35,.08); }
.ph-svc i { width: 16px; height: 16px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1px rgba(35,40,35,.06); }
.ph-review { display: flex; flex-direction: column; gap: 4px; padding: 9px 10px; border-radius: 10px; background: #fff; font-size: 9.5px; line-height: 1.4; color: var(--text-2); box-shadow: 0 1px 3px rgba(35,40,35,.08); }
.ph-review__head { display: flex; justify-content: space-between; color: var(--schiefer); }
.ph-review__head span { color: #B8913A; letter-spacing: .05em; }


/* Branchen-Übersicht */
.trades { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trade {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 56px 22px 22px; border-radius: 16px;
  color: var(--schiefer); transition: transform .35s var(--ease), box-shadow .35s;
}
.trade:hover { color: var(--schiefer); transform: translateY(-3px); box-shadow: var(--glass-inset), 0 24px 48px -28px rgba(35,40,35,.35); }
.trade__n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--salbei); opacity: .7; }
.trade .text { font-size: 14px; color: var(--text-2); }
.trade__go {
  position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: var(--salbei-hell); color: var(--salbei);
  transition: background .3s, color .3s, transform .35s var(--ease);
}
.trade:hover .trade__go { background: var(--salbei); color: #fff; transform: translateX(3px); }
.chip-cloud { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; min-width: 0; padding: 8px 0; }
.chip-float {
  --gf: rgba(255,255,255,.5); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--schiefer);
  box-shadow: var(--glass-inset), 0 10px 24px -14px rgba(35,40,35,.3);
  animation: kwFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s);
  transition: background .25s, color .25s;
}
.chip-float:nth-child(3n) { --gf: rgba(230,234,225,.7); }
.chip-float:nth-child(4n) { --gf: rgba(239,226,196,.55); }
.chip-float:hover { color: #fff; --gf: var(--salbei); }
.trade--cta { background: linear-gradient(160deg, #6B8471 0%, var(--salbei) 60%, #4A5F50 100%); color: #fff; }
.trade--cta:hover { color: #fff; }
.trade--cta .trade__n { color: var(--sand); opacity: 1; }
.trade--cta .text { color: rgba(255,255,255,.8); }
.trade--cta .trade__go { background: rgba(255,255,255,.15); color: #fff; }
.trade--cta:hover .trade__go { background: var(--sand); color: var(--schiefer); }
@media (min-width: 640px) and (max-width: 999px) { .trade--cta { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .chip-float { animation: none; } }

/* ---------- Blog-Übersicht ---------- */
.blog-hero__in {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--pad-x);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end;
}
.blog-hero__in > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.blog-hero__in .lead { max-width: 600px; }
@media (min-width: 900px) { .blog-hero__in { grid-template-columns: minmax(0, 1fr) auto; } }
.blog-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-stats span {
  display: flex; flex-direction: column; gap: 2px; min-width: 110px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255,255,255,.45); box-shadow: var(--glass-inset); font-size: 13px; color: var(--text-2);
}
.blog-stats b { font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--salbei); }
.blog-list { padding-top: clamp(40px, 5vw, 72px); }
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(90,113,96,.25); background: rgba(255,255,255,.5); color: var(--schiefer); transition: background .25s, color .25s, border-color .25s;
}
.blog-filter button:hover { border-color: var(--salbei); }
.blog-filter button[aria-pressed="true"] { background: var(--grad-salbei); border-color: var(--salbei); color: #fff; }
@media (min-width: 760px) { .post-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .post-grid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 26px 24px; flex: 1; }
.post-vis {
  position: relative; display: flex; align-items: flex-end; height: 132px; padding: 16px 20px; overflow: hidden;
  background: linear-gradient(135deg, #E6EAE1, #CFD8CB);
}
.post-vis--google-ads { background: linear-gradient(135deg, #F3EAD6, #E4D2A9); }
.post-vis svg {
  position: absolute; right: -14px; top: -18px; width: 150px; height: 150px; fill: none; stroke: rgba(90,113,96,.28); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease);
}
.post-vis--google-ads svg { stroke: rgba(168,137,79,.35); }
.post-card:hover .post-vis svg { transform: rotate(-8deg) scale(1.06); }
.post-vis__cat { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--salbei); background: rgba(255,255,255,.7); padding: 5px 10px; border-radius: 999px; }
.post-vis--google-ads .post-vis__cat { color: #8A6B2E; }
.post-card[hidden] { display: none; }
@media (min-width: 760px) {
  .post-card--featured { grid-column: 1 / -1; flex-direction: row; }
  .post-card--featured .post-vis { height: auto; width: 42%; flex: none; min-height: 280px; }
  .post-card--featured .post-vis svg { width: 260px; height: 260px; right: -30px; top: -30px; }
  .post-card--featured .post-card__body { padding: 36px 40px; justify-content: center; }
  .post-card--featured .h3 { font-size: clamp(26px, 2.6vw, 34px); }
  .post-card--featured .text { font-size: 16px; max-width: 520px; }
}

/* Interne Verlinkung: Gewerke-Box in Artikeln und auf Leistungsseiten */
.post-trades { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; border-radius: 16px; margin-top: 24px; }
.post-trades__list { display: flex; flex-wrap: wrap; gap: 8px; }
.post-trades .chip { color: var(--salbei); transition: background .25s, color .25s; }
.post-trades .chip:hover { background: var(--salbei); color: #fff; }
.post-trades .chip--all { background: transparent; box-shadow: inset 0 0 0 1px rgba(90,113,96,.35); }
.prose .post-trades a { text-decoration: none; }

/* Über mich */
.about-portrait { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.about-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) { .about-story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.about-story__text { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 760px) { .about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-author__more { font-size: 14px; font-weight: 600; }

/* Farbverläufe weich an den Sektionsrändern ausblenden statt hart abschneiden */
.blobs-soft {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
}

/* Kompaktere Blogkarten */
.post-vis { height: 96px; padding: 12px 16px; }
.post-vis svg { width: 118px; height: 118px; right: -10px; top: -14px; }
.post-card__body { gap: 8px; padding: 18px 22px 20px; }
.post-card .h3 { font-size: 20px; line-height: 1.25; }
.post-card .text { font-size: 14px; line-height: 1.5; }
.post-card__foot { padding-top: 8px; }
@media (min-width: 760px) {
  .post-card--featured .post-vis { min-height: 220px; }
  .post-card--featured .post-card__body { padding: 28px 34px; }
}

/* Erstgespräch-Button in der Kopfzeile: Salbei-Verlauf */
.nav__cta {
  background: var(--grad-salbei); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 2px rgba(35,40,35,.1), 0 8px 18px -8px rgba(90,113,96,.5);
  transition: opacity .3s, transform .3s var(--ease), filter .3s, box-shadow .3s;
}
.nav__cta:hover { background: var(--grad-salbei); color: #fff; transform: translateY(-1px); filter: brightness(1.06); }

/* ---------- Sehr hohe Auflösung (4K/5K): Glas ohne Hintergrundunschärfe ----------
   backdrop-filter muss bei jedem Frame die Pixel dahinter neu berechnen – auf 4K-Monitoren
   kostet das Frames. Die Klasse fx-lite setzt main.js ab ca. 3600 physischen Pixeln Breite;
   das Glas bleibt als etwas deckendere Fläche mit gleichem Rand und gleichen Schatten erhalten. */
html.fx-lite *, html.fx-lite *::before, html.fx-lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.fx-lite .glass, html.fx-lite .hero-badge, html.fx-lite .fab { --gf: rgba(248,246,241,.72); }
html.fx-lite .ki, html.fx-lite .fab__tip { --gf: rgba(248,246,241,.82); }
html.fx-lite .burger, html.fx-lite .step__card { background: linear-gradient(rgba(248,246,241,.72), rgba(248,246,241,.72)) padding-box, var(--glass-rim) border-box; }
html.fx-lite .nav.is-scrolled { background: rgba(248,246,241,.92); }
