/* ============================================================
   starter-shops.ch — Design System v6 · PREMIUM MINIMALISM
   Clean White + fokussierte Marken-Akzente, Bento-Grid, Soft-UI,
   subtiler Glassmorphismus, grosszügiger Whitespace, Micro-Interactions.
   Klassennamen bleiben kompatibel (violet=navy, teal=grün).
   ============================================================ */

:root {
  --navy-950: #0b1220;
  --navy-900: #131c30;
  --navy-800: #1c2942;
  --violet-950: #0b1220;
  --violet-900: #16233b;
  --violet-800: #2450c8;   /* fokussierte Kontrastfarbe (Blau) */
  --violet-700: #3a67e6;
  --violet-100: #dfe7fb;
  --violet-050: #f3f6fe;
  --teal-600: #059f74;
  --teal-500: #06b585;     /* Marken-Grün (Akzent) */
  --teal-400: #2fd3a5;
  --teal-050: #e8faf4;
  --lightblue: #6ab5f5;
  --gold: #f5b83d;

  --ink: #101728;
  --ink-soft: #4a556b;
  --ink-mute: #8791a6;
  --line: #eef0f5;
  --line-2: #e4e7ef;
  --bg: #fbfbfd;
  --paper: #fbfbfd;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 13px;
  --radius-lg: 30px;
  --shadow-soft: 0 1px 2px rgba(16,23,40,.04), 0 12px 32px -8px rgba(16,23,40,.10);
  --shadow-lift: 0 2px 4px rgba(16,23,40,.05), 0 28px 60px -18px rgba(16,23,40,.22);
  --glass: rgba(255,255,255,.7);
  --font-head: "Fredoka", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--violet-800); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-600); }
::selection { background: var(--teal-500); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
p.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 44em; line-height: 1.6; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-050); border: 1px solid #cdeee2; padding: 6px 13px; border-radius: 99px; margin-bottom: 20px; }

/* ---------- Scroll-Progress ---------- */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--teal-500), var(--violet-700)); z-index: 100; transition: width .1s linear; }

/* ---------- Reveal + Micro-Interactions ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Topbar & Nav ---------- */
.topbar { background: var(--navy-950); color: #b9c3d6; font-size: 0.8rem; padding: 9px 0; text-align: center; }
.topbar strong { color: var(--teal-400); font-weight: 600; }

header.site { position: sticky; top: 0; z-index: 50; background: rgba(251,251,253,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease); }
header.site.scrolled { border-bottom-color: var(--line-2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: inline-flex; align-items: center; }
.logo .logo-full { height: 26px; width: auto; display: block; }
.nav ul { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav ul a { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); padding: 9px 14px; border-radius: 99px; transition: color .2s var(--ease), background .2s var(--ease); }
.nav ul a:hover, .nav ul a.active { color: var(--ink); background: var(--white); }
.nav .cta-nav { background: var(--ink); color: #fff !important; box-shadow: var(--shadow-soft); }
.nav .cta-nav:hover { background: var(--violet-800); transform: translateY(-1px); }
.burger { display: none; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; font-size: 1.3rem; color: var(--ink); cursor: pointer; padding: 5px 11px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; padding: 14px 26px; cursor: pointer; border: 0; border-radius: 99px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn::after { content: "→"; transition: transform .2s var(--ease); }
.btn.no-arrow::after { content: none; }
.btn:hover::after { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--teal-500); color: #fff; }
.btn-primary:hover { background: var(--teal-600); color: #fff; }
.btn-violet { background: var(--ink); color: #fff; }
.btn-violet:hover { background: var(--violet-800); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Hero (edler dunkler Verlauf + Glass) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: #eaf0fb; padding: 110px 0 96px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 78% -12%, rgba(36,80,200,.55), transparent 60%),
  radial-gradient(760px 460px at 8% 108%, rgba(6,181,133,.28), transparent 60%),
  linear-gradient(180deg, #0b1220, #101a30); }
.hero-curves { position: absolute; top: 12%; right: -60px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(47,211,165,.5), rgba(36,80,200,.28) 55%, transparent 70%);
  filter: blur(18px); z-index: 0; will-change: transform; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #a9e9d4; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-400), var(--lightblue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { color: #b7c4dc; margin: 26px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: .85rem; color: #8393b0; margin-top: 18px; }
.hero .word { display: inline-block; opacity: 0; transform: translateY(16px); animation: win .6s var(--ease) forwards; }
@keyframes win { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .word { opacity: 1; transform: none; animation: none; } }

/* Stats als Glass-Bento */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 20px 22px; backdrop-filter: blur(10px); }
.stat b { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: #fff; display: block; line-height: 1; letter-spacing: -0.03em; }
.stat b .u { color: var(--teal-400); }
.stat span { font-size: .84rem; color: #8fa0bd; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 34s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; color: var(--ink-mute); font-size: 1rem; white-space: nowrap; }
@keyframes scrollx { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
section.alt { background: linear-gradient(180deg, #ffffff, var(--bg)); border-top: 1px solid var(--line); }
section.dark { background: var(--navy-950); color: #b7c4dc; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #a9e9d4; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p.lead { margin-left: auto; margin-right: auto; }

/* ---------- BENTO GRID ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > * { grid-column: span 2; }
.bento .b-3 { grid-column: span 3; }
.bento .b-4 { grid-column: span 4; }
.bento .b-6 { grid-column: span 6; }
.bento-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bento-tile.dark { background: var(--navy-950); color: #c3d0e6; border-color: var(--navy-800); }
.bento-tile.dark h3 { color: #fff; }
.bento-tile.accent { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff; border: 0; }
.bento-tile.accent h3, .bento-tile.accent .big { color: #fff; }
.bento-tile.blue { background: linear-gradient(135deg, var(--violet-800), var(--violet-700)); color: #fff; border: 0; }
.bento-tile.blue h3 { color: #fff; }
.bento-tile .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem,3vw,2.8rem); letter-spacing: -0.03em; line-height: 1; }
.bento-tile p { color: inherit; opacity: .92; font-size: .96rem; margin-top: 8px; }
.bento-tile.dark p, .bento-tile .muted { color: #9fb0cc; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { margin: 16px 0 9px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .icon { width: 50px; height: 50px; border-radius: 15px; background: var(--teal-050); color: var(--teal-600); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); }
.card:hover .icon { transform: scale(1.06) rotate(-3deg); }
.card .icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(3n+2) .icon { background: var(--violet-050); color: var(--violet-800); }
.card:nth-child(3n) .icon { background: #fff5e2; color: #b9821a; }

/* ---------- Included list ---------- */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 36px; margin-top: 26px; }
.included div { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--ink-soft); }
.included div::before { content: "✓"; color: var(--teal-600); font-weight: 800; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-050); display: inline-flex; align-items: center; justify-content: center; font-size: .74rem; margin-top: 2px; }

/* ---------- Sortiment ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-visual { height: 130px; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--violet-050), #eaf6f1); }
.cat-visual svg { width: 52px; height: 52px; stroke: var(--violet-800); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; transition: transform .3s var(--ease); }
.cat:hover .cat-visual svg { transform: scale(1.1); }
.cat-visual .count { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: .72rem; font-weight: 700; background: rgba(255,255,255,.85); color: var(--violet-800); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
.cat-visual { height: 160px; }
.cat-visual img.cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .4s var(--ease); }
.cat:hover .cat-visual img.cat-photo { transform: scale(1.06); }
.cat-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,18,32,0) 45%, rgba(11,18,32,.28)); pointer-events: none; }

/* ---------- Referenz-Shops (Portfolio) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.shop-shot { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(135deg, var(--violet-050), #eaf6f1); display: flex; align-items: center; justify-content: center; }
.shop-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.shop-card:hover .shop-shot img { transform: scale(1.04); }
.shop-shot .ph { position: absolute; z-index: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--violet-800); opacity: .55; }
.shop-body { padding: 18px 22px 22px; }
.shop-body h3 { margin-bottom: 4px; }
.shop-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-050); border: 1px solid #cdeee2; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.shop-body p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
.cat-body { padding: 24px 26px 26px; }
.cat-body h3 { margin-bottom: 6px; }
.cat-body > p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.cat-products { list-style: none; border-top: 1px solid var(--line); }
.cat-products li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.cat-products li b { font-weight: 600; color: var(--ink); }
.cat-products li span { color: var(--ink-mute); white-space: nowrap; }

/* ---------- Roadmap ---------- */
.roadmap { position: relative; margin-top: 20px; }
.roadmap::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--line-2); }
.roadmap .progress { position: absolute; left: 27px; top: 12px; width: 2px; height: 0; background: linear-gradient(180deg, var(--teal-500), var(--violet-700)); z-index: 1; border-radius: 2px; }
.rm-step { position: relative; padding: 0 0 40px 76px; }
.rm-step:last-child { padding-bottom: 0; }
.rm-step .num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-2); z-index: 2; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--ink-mute); box-shadow: var(--shadow-soft); transition: all .4s var(--ease); }
.rm-step.on .num { border-color: transparent; color: #fff; background: var(--teal-500); transform: scale(1.04); }
.rm-step .body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rm-step.on .body { opacity: 1; transform: none; }
.rm-step .phase-label { font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-600); }
.rm-step h3 { font-size: 1.3rem; margin: 6px 0 9px; }
.rm-step p { color: var(--ink-soft); font-size: .96rem; }
.rm-step .meta { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--ink-mute); background: var(--violet-050); border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; }
.rm-step.finale .num { background: var(--violet-800); border-color: transparent; color: #fff; }

/* ---------- Timeline (legacy) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 56px; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.timeline .progress { position: absolute; left: 19px; top: 8px; width: 2px; height: 0; background: var(--teal-500); z-index: 1; }
.tl-step { position: relative; padding: 0 0 56px; }
.tl-step .dot { position: absolute; left: -56px; top: 2px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); z-index: 2; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .82rem; box-shadow: var(--shadow-soft); }
.tl-step .body { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tl-step.on .dot { background: var(--teal-500); color: #fff; border-color: transparent; }
.tl-step.on .body { opacity: 1; transform: none; }
.tl-step .phase-label { font-family: var(--font-head); font-size: .76rem; font-weight: 700; text-transform: uppercase; color: var(--teal-600); }
.tl-step h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.tl-step p { color: var(--ink-soft); }
.tl-step .meta { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--ink-mute); background: var(--violet-050); border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; }

/* ---------- Baukasten ---------- */
.baukasten-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }
.module { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 14px; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.module.selected { border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-050), var(--shadow-soft); }
.module.locked { cursor: default; background: linear-gradient(135deg, var(--violet-050), #fff); }
.module.locked:hover { transform: none; box-shadow: var(--shadow-soft); }
.module input[type=checkbox] { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--teal-500); flex-shrink: 0; }
.module .m-body { flex: 1; }
.module .m-title { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.module .m-title b { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; }
.module .m-price { font-family: var(--font-head); font-weight: 700; color: var(--violet-800); white-space: nowrap; font-size: .95rem; }
.module p { font-size: .9rem; color: var(--ink-soft); margin-top: 7px; }
.module .m-tag { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 99px; padding: 3px 10px; margin-left: 8px; }
.module .m-tag.teal { background: var(--teal-050); color: var(--teal-600); }
.module ul.m-includes { list-style: none; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.module ul.m-includes li { font-size: .82rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.module ul.m-includes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; font-size: .75rem; }

.summary { position: sticky; top: 98px; background: var(--navy-950); color: #c3d0e6; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lift); }
.summary h3 { color: #fff; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 14px; font-size: .9rem; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.summary .row.total { border-bottom: 0; padding-top: 15px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.summary .row.total b { color: var(--teal-400); font-size: 1.35rem; }
.summary .btn { width: 100%; margin-top: 20px; justify-content: center; }
.summary .secure { font-size: .77rem; color: #8fa0bd; text-align: center; margin-top: 12px; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table.clean { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
table.clean th { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--ink); background: var(--violet-050); padding: 15px 18px; }
table.clean td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
table.clean tr:hover td { background: #fafbff; }

/* ---------- Guide ---------- */
.guide-toc { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 10px; }
.guide-toc a { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 17px 19px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.guide-toc a:hover { transform: translateY(-3px); border-color: var(--teal-500); }
.guide-toc a b { font-family: var(--font-head); color: var(--teal-600); font-size: 1.05rem; }
.guide-section { max-width: 820px; margin: 0 auto; }
.guide-section h2 { scroll-margin-top: 100px; margin-bottom: 8px; }
.checklist { list-style: none; margin: 14px 0; }
.checklist li { position: relative; padding: 11px 0 11px 36px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 23px; height: 23px; border-radius: 8px; background: var(--teal-050); color: var(--teal-600); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.budget-card { background: var(--navy-950); color: #c3d0e6; border-radius: var(--radius); padding: 28px 30px; margin: 24px 0; box-shadow: var(--shadow-soft); }
.budget-card h3 { color: #fff; }
.budget-card .brow { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.budget-card .brow b { color: var(--teal-400); white-space: nowrap; }
.callout { background: var(--teal-050); border: 1px solid #cdeee2; border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; color: var(--ink-soft); }
.callout b { color: var(--ink); }

/* ---------- Glossar-Index ---------- */
.glossar-hero-search { max-width: 520px; margin-top: 24px; }
.glossar-hero-search input { width: 100%; padding: 16px 20px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); font-size: 1rem; font-family: var(--font-body); background: rgba(255,255,255,.1); color: #fff; }
.glossar-hero-search input::placeholder { color: #9fb0cc; }
.glossar-hero-search input:focus { outline: 2px solid var(--teal-400); }
.az-nav { display: flex; flex-wrap: wrap; gap: 7px; position: sticky; top: 78px; background: rgba(251,251,253,.85); backdrop-filter: blur(10px); padding: 15px 0; z-index: 10; border-bottom: 1px solid var(--line); }
.az-nav a { display: inline-block; min-width: 38px; text-align: center; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 11px; font-weight: 700; font-size: .84rem; color: var(--violet-800); background: #fff; }
.az-nav a:hover { background: var(--teal-050); border-color: var(--teal-500); }
.glossar-letter { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 8px; margin: 56px 0 22px; scroll-margin-top: 150px; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.term-link { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.term-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--teal-500); }
.term-link b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.term-link span { font-size: .85rem; color: var(--ink-mute); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-link.flagship { border-left: 4px solid var(--teal-500); }

/* ---------- Glossar-Artikel ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 52px; align-items: start; }
.article { max-width: 760px; min-width: 0; }
.article .breadcrumb { font-size: .84rem; color: var(--ink-mute); margin-bottom: 18px; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 8px; }
.article .tldr { font-size: 1.16rem; color: var(--ink-soft); border-left: 3px solid var(--teal-500); padding: 6px 0 6px 20px; margin: 22px 0; }
.article h2 { font-size: 1.6rem; margin: 40px 0 12px; scroll-margin-top: 96px; }
.article h3 { font-size: 1.18rem; margin: 24px 0 8px; }
.article p { color: var(--ink-soft); margin-bottom: 14px; }
.article ul, .article ol { color: var(--ink-soft); margin: 0 0 16px 22px; }
.article li { margin: 7px 0; }
.article strong { color: var(--ink); }
.practice-box { background: var(--navy-950); color: #c3d0e6; border-radius: var(--radius); padding: 30px 32px; margin: 32px 0; box-shadow: var(--shadow-soft); }
.practice-box .pb-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 12px; }
.practice-box h2 { color: #fff; font-size: 1.4rem; margin: 0 0 12px; }
.practice-box p { color: #b7c4dc; margin-bottom: 10px; }
.practice-box p:last-child { margin-bottom: 0; }
.bridge { background: linear-gradient(135deg, var(--teal-050), #eef6ff); border: 1px solid #d4ece5; border-radius: var(--radius); padding: 26px 30px; margin: 32px 0; }
.bridge h3 { color: var(--ink); margin: 0 0 8px; }
.bridge p { color: var(--ink-soft); margin-bottom: 14px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 8px 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table th { background: var(--violet-050); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.compare-table td { color: var(--ink-soft); }
.faq-block { margin-top: 8px; }
.aside-toc { position: sticky; top: 98px; font-size: .9rem; }
.aside-toc h4 { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.aside-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line-2); color: var(--ink-soft); font-weight: 600; }
.aside-toc a:hover { border-left-color: var(--teal-500); color: var(--violet-800); }
.related { margin-top: 26px; }
.related h4 { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.related a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 13px; background: #fff; border: 1px solid var(--line-2); border-radius: 99px; font-size: .84rem; font-weight: 600; }
.related a:hover { border-color: var(--teal-500); background: var(--teal-050); }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); padding: 18px 40px 18px 0; list-style: none; position: relative; transition: color .2s var(--ease); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--teal-600); }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--teal-500); font-size: 1.5rem; font-weight: 300; transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq p { color: var(--ink-soft); padding-bottom: 20px; font-size: .96rem; max-width: 44em; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: flex; margin-bottom: 42px; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; box-shadow: var(--shadow-soft); background: #fff; }
.steps div { flex: 1; text-align: center; padding: 13px 6px; font-size: .82rem; font-weight: 700; color: var(--ink-mute); }
.steps div.on { background: var(--teal-500); color: #fff; }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.quote p { font-size: .96rem; color: var(--ink-soft); flex: 1; }
.quote footer { margin-top: 18px; font-weight: 700; color: var(--ink); padding-top: 16px; border-top: 1px solid var(--line); }
.quote footer span { display: block; font-weight: 400; color: var(--ink-mute); font-size: .8rem; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: .85rem; }

/* ---------- CTA Band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-950); border-radius: var(--radius-lg); color: #fff; padding: 62px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow-lift); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 120%, rgba(6,181,133,.28), transparent 60%), radial-gradient(500px 300px at 8% -30%, rgba(36,80,200,.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 17ch; }
.cta-band p { color: #b7c4dc; margin-top: 10px; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-950); color: #8fa0bd; padding: 72px 0 30px; font-size: .92rem; }
footer.site h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; font-family: var(--font-head); }
footer.site ul { list-style: none; }
footer.site li { margin: 9px 0; }
footer.site a { color: #8fa0bd; }
footer.site a:hover { color: var(--teal-400); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 46px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem,4.6vw,3.2rem); }
.legal h2 { font-size: 1.4rem; margin: 42px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 22px; margin: 10px 0; }

/* ---------- Badges ---------- */
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.badge { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: #cdd8ea; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 8px 14px; border-radius: 99px; backdrop-filter: blur(6px); }
.badge .dot { color: var(--teal-400); }

/* ---------- Nischen-Auswahl ---------- */
.niche-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-soft); margin-bottom: 40px; }
.niche-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.niche-chip { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--violet-800); background: var(--violet-050); border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 16px; cursor: pointer; transition: all .2s var(--ease); }
.niche-chip:hover { background: var(--teal-050); border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-1px); }
.niche-tree { margin-top: 18px; display: grid; gap: 10px; }
.niche-cat { border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.niche-cat.has-sel { border-color: var(--teal-500); }
.niche-cat-h { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 0; cursor: pointer; padding: 15px 18px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); text-align: left; }
.niche-cat-h:hover { background: var(--violet-050); }
.niche-cat-meta { font-weight: 500; font-size: .82rem; color: var(--ink-mute); white-space: nowrap; }
.niche-cat-meta i { display: inline-block; transition: transform .25s var(--ease); font-style: normal; }
.niche-cat.open .niche-cat-meta i { transform: rotate(180deg); }
.niche-cat-body { display: none; padding: 6px 18px 18px; border-top: 1px solid var(--line); }
.niche-cat.open .niche-cat-body { display: block; }
.niche-sub { padding: 12px 0; border-bottom: 1px solid var(--line); }
.niche-sub:last-child { border-bottom: 0; }
.niche-sub-h { font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 10px; }
.niche-leaves { display: flex; flex-wrap: wrap; gap: 8px; }
.niche-leaf { display: inline-flex; align-items: center; gap: 7px; font-size: .87rem; color: var(--ink-soft); background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 7px 13px; cursor: pointer; transition: all .15s var(--ease); }
.niche-leaf:hover { border-color: var(--teal-500); }
.niche-leaf.on { background: var(--teal-050); border-color: var(--teal-500); color: var(--teal-600); font-weight: 600; }
.niche-leaf input { accent-color: var(--teal-500); }
.niche-counter { margin-top: 16px; font-size: .9rem; color: var(--ink-mute); padding: 13px 17px; border-radius: var(--radius-sm); background: var(--violet-050); }
.niche-counter.ok { background: var(--teal-050); color: var(--teal-600); font-weight: 600; }
.niche-counter.warn { background: #fff5e2; color: #9a6a00; font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.4); display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive (Mobile-First, Thumb-Zone) ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-3, .bento .b-4, .bento .b-6 { grid-column: span 1; }
  .grid-3, .cat-grid, .footer-grid, .term-grid, .guide-toc { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .baukasten-layout, .grid-2, .article-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .included { grid-template-columns: 1fr; }
  .aside-toc { display: none; }
}
@media (max-width: 700px) {
  .nav ul { display: none; position: absolute; top: 78px; left: 12px; right: 12px; background: var(--white); flex-direction: column; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); gap: 4px; align-items: stretch; box-shadow: var(--shadow-lift); }
  .nav ul.open { display: flex; }
  .nav ul a { padding: 13px 16px; }
  .nav .cta-nav { text-align: center; }
  .burger { display: block; }
  .bento, .grid-3, .cat-grid, .footer-grid, .stats, .guide-toc, .term-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 78px 0 66px; }
  .cta-band { padding: 40px 26px; }
  .steps { flex-wrap: wrap; border-radius: var(--radius); }
  .steps div { min-width: 50%; }
  .rm-step { padding-left: 66px; }
  .module ul.m-includes { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .hero-curves { opacity: .6; }
}

/* ---------- Lead-Gate (Guide-Seiten) ---------- */
.lead-gate { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 0; background: linear-gradient(180deg, rgba(11,18,32,0) 0%, rgba(11,18,32,.35) 30%, rgba(11,18,32,.72) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: lgIn .35s var(--ease); }
@keyframes lgIn { from { opacity: 0; } to { opacity: 1; } }
.lead-gate.closing { opacity: 0; transition: opacity .3s var(--ease); }
.lead-gate .lg-card { width: 100%; max-width: 520px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -20px 60px -20px rgba(16,23,40,.4); padding: 30px 30px calc(30px + env(safe-area-inset-bottom)); transform: translateY(0); animation: lgUp .4s var(--ease); }
@keyframes lgUp { from { transform: translateY(40px); } to { transform: translateY(0); } }
.lead-gate .lg-badge { display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-600); background: var(--teal-050); border: 1px solid #cdeee2; padding: 5px 12px; border-radius: 99px; margin-bottom: 14px; }
.lead-gate h3 { font-size: 1.5rem; margin-bottom: 8px; }
.lead-gate p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 16px; }
.lead-gate form { display: grid; gap: 10px; }
.lead-gate input { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lead-gate input:focus { outline: 0; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-050); }
.lead-gate .btn { justify-content: center; margin-top: 4px; }
.lead-gate .lg-status { min-height: 0; font-size: .86rem; color: var(--ink-mute); margin: 0; }
.lead-gate .lg-fine { font-size: .76rem; color: var(--ink-mute); margin: 12px 0 0; }
@media (min-width: 640px) { .lead-gate { align-items: center; padding: 24px; } .lead-gate .lg-card { border-radius: var(--radius-lg); } }

/* ---------- Inline Lead-Gate (Erfolgs-Guide, keine Sperre) ---------- */
.lead-gate-inline { padding: 20px 0 10px; }
.lead-gate-inline .lg-inline-card { position: relative; background: linear-gradient(180deg, var(--white), var(--violet-050)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 34px 30px; max-width: 760px; margin: 0 auto; }
.lead-gate-inline .lg-inline-card::before { content: ""; position: absolute; left: 0; right: 0; top: -70px; height: 70px; background: linear-gradient(180deg, rgba(251,251,253,0), var(--white)); pointer-events: none; }
.lead-gate-inline h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.lead-gate-inline form { margin-top: 18px; }
.lead-gate-inline .lg-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.lead-gate-inline input { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lead-gate-inline input:focus { outline: 0; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-050); }
.lead-gate-inline .btn { justify-content: center; margin-top: 12px; }
.lead-gate-inline .lg-status { min-height: 0; font-size: .86rem; margin: 8px 0 0; }
@media (max-width: 640px) { .lead-gate-inline .lg-fields { grid-template-columns: 1fr; } }

/* ---------- Featured / Promo Modul ---------- */
.module.featured { border-color: var(--teal-500); box-shadow: 0 0 0 1px var(--teal-500), var(--shadow-soft); }
.m-promo { margin: 8px 0 0; font-size: .88rem; font-weight: 600; color: var(--teal-600); background: var(--teal-050); border: 1px solid #cdeee2; border-radius: var(--radius-sm); padding: 9px 12px; }
.summary .row.promo-note { border: 0; margin-top: 6px; }
.summary .row.promo-note span { font-size: .82rem; font-weight: 600; color: var(--teal-600); }

/* ---------- Konfigurations-/Anfrageformular (Baukasten) ---------- */
.config-form { display: grid; gap: 16px; }
.config-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.config-form input, .config-form select, .config-form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.config-form textarea { resize: vertical; }
.config-form input:focus, .config-form select:focus, .config-form textarea:focus { outline: 0; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-050); }
.config-form .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.config-form .btn { justify-content: center; }
.cf-status { min-height: 0; font-size: .9rem; margin: 0; }
@media (max-width: 640px) { .config-form .cf-grid { grid-template-columns: 1fr; } }
