/* ==========================================================================
   STRUCTIVOR · Design System
   Präzise CAD-Ästhetik × klinische Klarheit.
   DSGVO: nur Systemschriften, keine externen Requests.
   ========================================================================== */

:root {
  --bg: #F5F8F7;
  --surface: #FFFFFF;
  --surface-2: #EEF4F2;
  --ink: #0A1A17;
  --muted: #4B605B;
  --line: #DCE6E3;
  --line-strong: #C3D3CE;

  --accent: #0F766E;          /* Text/Links auf hellem Grund (AA-Kontrast) */
  --accent-strong: #115E59;
  --mint: #10B981;
  --mint-2: #34D399;
  --mint-3: #6EE7B7;
  --mint-soft: #D1FAE5;

  --dark: #06110F;
  --dark-2: #0A1B18;
  --dark-3: #0F2622;
  --on-dark: #E8FBF4;
  --on-dark-muted: #93B5AD;
  --line-dark: rgba(110, 231, 183, 0.14);

  --red: #F87171;
  --amber: #F59E0B;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(10, 26, 23, .04), 0 2px 8px rgba(10, 26, 23, .04);
  --shadow-2: 0 18px 40px -16px rgba(10, 26, 23, .18);
  --shadow-3: 0 40px 80px -24px rgba(2, 12, 10, .6);
  --max: 1180px;

  --f-display: "Segoe UI Variable Display", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Segoe UI Variable Text", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Cascadia Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16.5px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint-soft); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section[id], [id].anchor { scroll-margin-top: 88px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--mint); color: var(--dark); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 17, 15, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: #fff; text-decoration: none;
  font: 700 19px/1 var(--f-display); letter-spacing: -.02em;
}
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: 14.5px; transition: color .15s; }
.nav a:not(.btn):hover { color: #fff; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  font: 600 15.5px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent-strong); box-shadow: var(--shadow-1); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.primary {
  background: linear-gradient(135deg, #34D399 0%, #10B981 45%, #0D9488 100%);
  color: #032019; border-color: transparent; font-weight: 700;
  box-shadow: 0 10px 28px -8px rgba(16, 185, 129, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn.primary:hover { color: #032019; box-shadow: 0 14px 34px -8px rgba(16, 185, 129, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost-dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); color: var(--on-dark); }
.btn.ghost-dark:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn.block { width: 100%; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ==========================================================================
   TYPO
   ========================================================================== */
h1, h2, h3 { font-family: var(--f-display); margin: 0 0 16px; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; font-weight: 760; letter-spacing: -.038em; }
h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.1; font-weight: 730; letter-spacing: -.03em; }
h3 { font-size: 19.5px; line-height: 1.25; font-weight: 680; letter-spacing: -.015em; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17.5px, 1.7vw, 20px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.fine { font-size: 13.5px; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font: 600 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; opacity: .7; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(16, 185, 129, .20), transparent 62%),
    radial-gradient(800px 480px at 5% 95%, rgba(13, 148, 136, .16), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 72px 0 136px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(110, 231, 183, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(110, 231, 183, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 52px 0 120px; } }

.hero .eyebrow { color: var(--mint-3); }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(100deg, #A7F3D0 0%, #34D399 45%, #10B981 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--mint-2);
}
.hero .lead { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--on-dark-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--mint); flex-shrink: 0; }

/* --- CAD-Bühne --------------------------------------------------------- */
.cad-stage {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 32, 28, .92), rgba(7, 20, 17, .94));
  border: 1px solid rgba(110, 231, 183, .22);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 120px -30px rgba(16, 185, 129, .35);
  overflow: hidden;
}
.cad-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: rgba(3, 11, 9, .55); border-bottom: 1px solid var(--line-dark);
}
.cad-title { display: flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--f-mono); color: var(--on-dark-muted); letter-spacing: .04em; }
.cad-dots { display: flex; gap: 6px; }
.cad-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: block; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.seg button {
  border: 0; background: transparent; color: var(--on-dark-muted); cursor: pointer;
  font: 600 12.5px/1 var(--f-body); padding: 8px 14px; border-radius: 7px; transition: background .2s, color .2s;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--mint); color: #032019; }
.seg button[data-mode="before"][aria-pressed="true"] { background: #FCA5A5; color: #3B0A0A; }

.cad-canvas { padding: 14px 14px 4px; }
.cad-canvas svg { width: 100%; height: auto; }
.cad-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0 18px 12px; font: 500 11px/1.3 var(--f-mono); color: var(--on-dark-muted); }
.cad-legend i { display: inline-block; width: 18px; height: 10px; border: 1.5px dashed var(--mint); border-radius: 4px; vertical-align: -1px; margin-right: 6px; }

.cad-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 16px; }
@media (max-width: 560px) { .cad-kpis { grid-template-columns: 1fr; } }
.kpi { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 11px 13px; transition: border-color .4s, background .4s; }
.kpi .k { display: block; font: 500 10.5px/1.25 var(--f-mono); color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi .v { display: block; margin-top: 5px; font: 700 16px/1.2 var(--f-mono); color: #fff; transition: color .4s; }
.kpi.ok { border-color: rgba(16, 185, 129, .35); }
.kpi.ok .v { color: var(--mint-3); }
.kpi.bad { border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .06); }
.kpi.bad .v { color: #FCA5A5; }

.cad-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  padding: 12px 18px; background: rgba(3, 11, 9, .5); border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--on-dark-muted);
}
.cad-foot a { color: var(--mint-3); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cad-foot a:hover { color: #fff; }

/* SVG-Elemente der Bühne */
.wall { fill: none; stroke: var(--mint-3); stroke-opacity: .75; stroke-width: 2.5; stroke-dasharray: 1360; stroke-dashoffset: 1360; animation: draw 1.2s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
#devLayer, #gapLayer { animation: fadeIn .6s ease-out .95s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.dev { transition: transform 1.05s var(--ease), opacity .5s ease; }
.dev.is-hidden { opacity: 0; }
.dev:not(.is-hidden) { transition: transform 1.05s var(--ease), opacity .6s ease .75s; }
.dev .halo { fill: rgba(16, 185, 129, .07); stroke: var(--mint); stroke-width: 1.3; stroke-dasharray: 5 4; transition: fill .45s ease .5s, stroke .45s ease .5s; }
.dev .body { fill: #0F2E28; stroke: var(--mint-2); stroke-width: 1.7; transition: fill .45s ease .5s, stroke .45s ease .5s; }
.dev .lbl { fill: #ECFDF5; font: 600 10.5px var(--f-body); }
.dev .sub { fill: var(--mint-3); font: 500 9.5px var(--f-mono); }
.dev.conflict .halo { fill: rgba(248, 113, 113, .13); stroke: var(--red); }
.dev.conflict .body { fill: #2A1517; stroke: var(--red); }
.dev.conflict .sub { fill: #FCA5A5; }
.gaps { transition: opacity .35s ease; }
.cad-stage[data-state="after"] .gaps-before,
.cad-stage[data-state="before"] .gaps-after { opacity: 0; }
.cad-stage[data-state="after"] .gaps-after,
.cad-stage[data-state="before"] .gaps-before { transition-delay: .8s; }

/* ==========================================================================
   KENNZAHLEN (überlappt den Hero)
   ========================================================================== */
.metrics { position: relative; z-index: 3; margin-top: -64px; }
.metric-card {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-2); padding: 10px;
}
.metric { padding: 18px 20px; border-radius: 14px; }
.metric + .metric { border-left: 1px solid var(--line); border-radius: 0; }
.metric .num { display: block; font: 750 34px/1 var(--f-mono); letter-spacing: -.04em; color: var(--ink); }
.metric .num em { font-style: normal; color: var(--mint); }
.metric strong { display: block; margin-top: 10px; font-size: 15px; }
.metric span.t { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .metric-card { grid-template-columns: repeat(2, 1fr); } .metric:nth-child(3) { border-left: 0; } .metric:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .metric-card { grid-template-columns: 1fr; } .metric + .metric { border-left: 0; border-top: 1px solid var(--line); } }

/* ==========================================================================
   SEKTIONEN, KARTEN
   ========================================================================== */
section { padding: 96px 0; }
.sec-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-dark {
  color: var(--on-dark);
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(16, 185, 129, .12), transparent 60%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
}
.sec-dark .lead, .sec-dark .muted, .sec-dark .fine { color: var(--on-dark-muted); }
.sec-dark .eyebrow { color: var(--mint-3); }
.sec-dark h2 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 10px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--mint-soft), #ECFDF5); color: var(--accent);
  border: 1px solid #BBF0DA;
}

/* ==========================================================================
   FLÄCHENRECHNER
   ========================================================================== */
.calc {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); overflow: hidden;
}
@media (max-width: 880px) { .calc { grid-template-columns: 1fr; } }
.calc-in { padding: 36px; }
@media (max-width: 560px) { .calc-in { padding: 24px; } }
.field { margin-bottom: 30px; }
.field-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.field-head label { font-weight: 650; font-size: 15.5px; }
.val { font: 700 19px/1 var(--f-mono); color: var(--accent-strong); background: var(--surface-2); padding: 7px 11px; border-radius: 9px; white-space: nowrap; }
.scale { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px/1 var(--f-mono); color: var(--muted); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--surface-2); outline-offset: 6px; cursor: pointer; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--mint) var(--p, 50%), var(--surface-2) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(10, 26, 23, .2); transition: transform .15s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--surface-2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--mint); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }

.calc-out { background: linear-gradient(180deg, var(--dark-3), var(--dark)); color: var(--on-dark); padding: 36px; display: flex; flex-direction: column; }
@media (max-width: 560px) { .calc-out { padding: 24px; } }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 12.5px/1 var(--f-mono); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
.badge.ok { background: rgba(16, 185, 129, .16); color: var(--mint-3); border: 1px solid rgba(16, 185, 129, .4); }
.badge.warn { background: rgba(245, 158, 11, .15); color: #FCD34D; border: 1px solid rgba(245, 158, 11, .4); }
.badge.bad { background: rgba(248, 113, 113, .15); color: #FCA5A5; border: 1px solid rgba(248, 113, 113, .4); }
.calc-out h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.meter { position: relative; height: 12px; background: rgba(255, 255, 255, .08); border-radius: 999px; margin: 22px 0 8px; overflow: hidden; }
.meter-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--mint-2)); transition: width .3s var(--ease), background .3s; }
.meter-legend { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); color: var(--on-dark-muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 13px; color: var(--on-dark-muted); }
.stats b { display: block; margin-top: 4px; font: 700 19px/1.2 var(--f-mono); color: #fff; }
.calc-out .btn { margin-top: auto; }

/* ==========================================================================
   VERGLEICH
   ========================================================================== */
.compare { border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .02); }
.crow { display: grid; grid-template-columns: .9fr 1fr 1.1fr; }
.crow + .crow { border-top: 1px solid rgba(255, 255, 255, .07); }
.crow > div { padding: 20px 24px; }
.crow .c1 { font-weight: 650; color: #fff; }
.crow .c2 { color: var(--on-dark-muted); }
.crow .c3 { background: rgba(16, 185, 129, .08); border-left: 1px solid rgba(16, 185, 129, .22); color: #fff; }
.crow .c3::before { content: "✓"; color: var(--mint-2); font-weight: 800; margin-right: 10px; }
.chead > div { font: 600 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); padding-top: 16px; padding-bottom: 16px; background: rgba(255, 255, 255, .03); }
.chead .c3 { color: var(--mint-3); background: rgba(16, 185, 129, .12); }
.chead .c3::before { content: none; }
@media (max-width: 800px) {
  .crow { grid-template-columns: 1fr; }
  .crow .c3 { border-left: 0; border-top: 1px solid rgba(16, 185, 129, .22); }
  .chead { display: none; }
  .crow .c2::before { content: "Hersteller / Händler: "; font-weight: 600; }
}

/* ==========================================================================
   ABLAUF
   ========================================================================== */
.step .no {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 13px; background: var(--dark); color: var(--mint-3); font: 700 15px/1 var(--f-mono);
  box-shadow: 0 8px 20px -8px rgba(6, 17, 15, .6);
}

/* ==========================================================================
   PAKETE
   ========================================================================== */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .tag { align-self: flex-start; font: 600 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; padding: 7px 10px; border-radius: 8px; background: var(--surface-2); color: var(--accent-strong); }
.plan h3 { margin-top: 16px; }
.price { font: 760 42px/1 var(--f-display); letter-spacing: -.04em; margin: 6px 0 12px; }
.price small { font: 500 15px/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; }
.plan li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.hi {
  color: var(--on-dark); border: 0;
  background: linear-gradient(180deg, var(--dark-3), var(--dark));
  box-shadow: var(--shadow-3), 0 0 0 1.5px var(--mint) inset;
}
@media (min-width: 801px) { .plan.hi { transform: translateY(-10px); } .plan.hi:hover { transform: translateY(-13px); } }
.plan.hi h3, .plan.hi .price { color: #fff; }
.plan.hi .muted, .plan.hi .price small { color: var(--on-dark-muted); }
.plan.hi .tag { background: rgba(16, 185, 129, .15); color: var(--mint-3); }
.plan.hi li::before { background-color: rgba(16, 185, 129, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236EE7B7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.ribbon { position: absolute; top: -12px; right: 24px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #34D399, #10B981); color: #032019; font: 700 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .07em; box-shadow: 0 6px 16px -4px rgba(16, 185, 129, .6); }

/* ==========================================================================
   TEAM & FAQ
   ========================================================================== */
.person { display: flex; gap: 18px; align-items: center; padding: 20px 22px; }
.avatar { width: 54px; height: 54px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--dark), #134238); color: var(--mint-3); font: 700 20px/1 var(--f-display); }
.person h3 { margin: 0 0 3px; }
.role { display: block; font: 500 11.5px/1.3 var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.person p { margin: 0; font-size: 14px; color: var(--muted); }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
details.faq + details.faq { margin-top: 12px; }
details.faq[open] { border-color: var(--accent); box-shadow: var(--shadow-1); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 650; font-size: 16.5px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat; transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 22px 20px; color: var(--muted); }
details.faq .a p:last-child { margin: 0; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-top: 26px; }
.contact-card .mail { font: 600 16px/1.3 var(--f-mono); }
form.contact { display: grid; gap: 16px; }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { form.contact .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 7px; font-weight: 600; font-size: 14.5px; }
input:not([type="range"]):not([type="checkbox"]), select, textarea {
  width: 100%; font: 15.5px/1.4 var(--f-body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
input:not([type="range"]):not([type="checkbox"]):focus, select:focus, textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); outline: none; }
textarea { min-height: 116px; resize: vertical; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   FOOTER & RECHTSTEXTE
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 44px 0 52px; font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.legal { max-width: 780px; padding-top: 56px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); }
.legal h2 { font-size: 21px; margin-top: 34px; margin-bottom: 10px; }
.legal h3 { font-size: 17px; margin-top: 20px; margin-bottom: 6px; }

/* ==========================================================================
   SCROLL-REVEAL & BARRIEREFREIHEIT
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .skip-link { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wall { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
