/* ==========================================================
   Schmitz Backoffice – Stylesheet
   ========================================================== */
:root {
  --blue: #2b7fd4;
  --blue-600: #1f6bbb;
  --blue-700: #18589c;
  --blue-50: #eef5fd;
  --blue-100: #d9e9fa;
  --navy: #0f1e33;
  --navy-800: #16294a;
  --navy-700: #213a63;
  --ink: #0f1e33;
  --text: #2a3a52;
  --muted: #5a6a82;
  --line: #dde5ef;
  --bg: #ffffff;
  --bg-tint: #f4f7fb;
  --ok: #1f9d6b;
  --ok-bg: #e5f6ee;
  --warn-bg: #fff3b0;
  --warn-line: #e3c21a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 30, 51, .06), 0 8px 24px rgba(15, 30, 51, .08);
  --shadow-lg: 0 2px 4px rgba(15, 30, 51, .06), 0 24px 60px rgba(15, 30, 51, .16);
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible { outline-color: #8cc2f5; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 104px) 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: #c9d5e6; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.section-dark .eyebrow { color: #7db8f2; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head > p:not(.eyebrow) { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head > p:not(.eyebrow):not(.tax-note) { color: #a9b8cd; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(43, 127, 212, .35); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 12px 28px rgba(43, 127, 212, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-50); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 11px 18px; min-height: 42px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 30, 51, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark svg rect { fill: var(--navy); }
.brand-mark svg path { stroke: var(--blue); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark { display: inline-flex; }
.brand-text { font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-text strong { font-weight: 800; margin-left: 2px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  border-radius: 12px; position: relative; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(43, 127, 212, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(43, 127, 212, .08), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,30,51,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,30,51,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.grad {
  background: linear-gradient(90deg, var(--blue) 0%, #1b4f8f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 580px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%231f6bbb' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Hero visual: flow card */
.hero-visual { position: relative; padding: 28px 8px; }
.flow-card {
  position: relative; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 22px; transform: rotate(-1deg);
}
.flow-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.flow-title { display: block; font-weight: 800; color: var(--ink); font-size: 1.08rem; }
.flow-sub { display: block; font-size: .76rem; color: var(--muted); }
.flow-counter {
  font-weight: 800; color: var(--navy); background: var(--blue-50); border-radius: 999px;
  padding: 6px 12px; font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.flow-progress { height: 6px; background: var(--blue-50); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.flow-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #49a3f0); border-radius: 99px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow-item {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: background-color .45s ease, border-color .45s ease, transform .45s ease, opacity .45s ease;
}
.fi-icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--navy); font-weight: 800; font-size: 1.05rem;
  transition: background-color .45s ease, color .45s ease;
}
.fi-text { min-width: 0; }
.fi-text b { display: block; color: var(--ink); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-text small { display: block; color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-status {
  font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: #eef1f6; color: #4a5a72; white-space: nowrap; transition: background-color .35s ease, color .35s ease;
}
.flow-item.is-working { border-color: var(--blue-100); background: var(--blue-50); transform: translateX(6px); }
.flow-item.is-working .fi-icon { background: var(--blue); color: #fff; }
.flow-item.is-working .fi-status { background: var(--blue); color: #fff; }
.flow-item.is-done { background: #fbfdfc; }
.flow-item.is-done .fi-icon { background: var(--ok-bg); color: var(--ok); }
.flow-item.is-done .fi-status { background: var(--ok-bg); color: #137a52; }
.flow-item.is-done .fi-text b { text-decoration: line-through; text-decoration-color: rgba(15,30,51,.35); }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px;
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip span { display: inline-grid; place-items: center; min-width: 28px; height: 24px; border-radius: 7px; font-size: .7rem; padding: 0 5px; }
.chip-pdf { top: 0; left: -14px; }
.chip-pdf span { background: #fde8e8; color: #b42318; }
.chip-ok { bottom: 0; right: -6px; animation-delay: -3s; }
.chip-ok span { background: var(--ok-bg); color: var(--ok); font-size: .9rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Trades */
.trades { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trades-label { text-align: center; font-weight: 600; color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.trade-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trade-chips li {
  padding: 8px 16px; border-radius: 999px; background: var(--bg-tint); color: var(--ink);
  font-weight: 700; font-size: .9rem; border: 1px solid var(--line);
}

/* Pain */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain-list li {
  position: relative; padding: 18px 20px 18px 56px; background: var(--bg-tint); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--ink);
}
.pain-list li::before {
  content: "!"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .3s ease, translate .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: var(--blue-100); }
.step-num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.step:nth-child(2) .step-num { background: var(--navy-700); }
.step:nth-child(3) .step-num { background: var(--blue-600); }
.step:nth-child(4) .step-num { background: var(--blue); }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line);
  transition: transform .3s ease, translate .3s ease, box-shadow .3s ease;
}
.service:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
}
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-700); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.08rem; }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Finder */
.finder {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.finder-form { padding: 36px; background: #fff; }
.range-field { margin-bottom: 28px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.range-top label { font-weight: 700; color: var(--ink); }
.range-top output {
  min-width: 56px; text-align: center; font-weight: 800; color: var(--blue-700); background: var(--blue-50);
  padding: 4px 12px; border-radius: 10px; font-variant-numeric: tabular-nums;
}
.range-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 4px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue) 0 var(--pct), #e3eaf3 var(--pct) 100%);
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #e3eaf3; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; margin-top: -9px;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(15,30,51,.25); transition: transform .15s ease;
}
input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(15,30,51,.25);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.checks { border: 0; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks legend { font-weight: 700; color: var(--ink); margin-bottom: 12px; padding: 0; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  cursor: pointer; font-size: .93rem; font-weight: 600; color: var(--ink); transition: border-color .2s ease, background-color .2s ease;
}
.check:hover { border-color: var(--blue-100); }
.check input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }

.finder-result {
  background: radial-gradient(120% 80% at 100% 0%, var(--navy-700) 0%, var(--navy) 60%);
  color: #c9d5e6; padding: 36px; display: flex; flex-direction: column;
}
.result-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7db8f2; margin-bottom: 6px; }
.result-name { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: -.03em; }
.result-name.pop { animation: pop .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes pop { 0% { transform: scale(.9); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.result-meta { font-weight: 700; color: #fff; opacity: .9; margin-bottom: 20px; }
.result-reasons { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.result-reasons li { position: relative; padding-left: 22px; }
.result-reasons li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); }
.result-reasons li.top::before { background: #7db8f2; box-shadow: 0 0 0 3px rgba(125,184,242,.25); }
.finder-result .btn { align-self: flex-start; }
.rules { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: .88rem; }
.rules summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; display: flex; align-items: center; gap: 8px; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.1); font-weight: 800; }
.rules[open] summary::before { content: "–"; }
.rules ul { padding-left: 18px; margin: 10px 0; }
.rules li { margin-bottom: 4px; }
.rules b { color: #fff; }
.rules p { margin: 10px 0 0; }

/* Plans */
.tax-note {
  margin-top: 14px !important; color: #a9b8cd !important; font-size: .9rem !important;
}
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 24px 26px;
  border-radius: 22px; background: var(--navy-800); border: 1.5px solid rgba(255,255,255,.08);
  transition: transform .35s ease, translate .35s ease, border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.plan:hover { translate: 0 -4px; border-color: rgba(255,255,255,.2); }
.plan h3 { font-size: 1.4rem; margin-bottom: 6px; }
.plan-for { font-size: .9rem; color: #a9b8cd; min-height: 4.2em; margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.plan-price .amount { font-size: 2.3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.plan-price .per { color: #a9b8cd; font-weight: 600; }
.plan-hours { font-weight: 700; color: #7db8f2; margin-bottom: 20px; font-size: .95rem; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 10px; font-size: .92rem; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 26px; color: #d5deeb; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(43,127,212,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%237db8f2' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan-list b { color: #fff; }
.plan-cta { width: 100%; }
.plan-badge {
  position: absolute; top: -14px; left: 24px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 800;
  letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.plan.is-recommended { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,127,212,.35), 0 30px 60px rgba(0,0,0,.35); translate: 0 -8px; }
.plan.is-recommended .plan-badge { opacity: 1; transform: translateY(0); }
.plan.is-recommended h3, .plan.is-recommended .amount { color: var(--ink); }
.plan.is-recommended .plan-for, .plan.is-recommended .per { color: var(--muted); }
.plan.is-recommended .plan-hours { color: var(--blue-600); }
.plan.is-recommended .plan-list { border-top-color: var(--line); }
.plan.is-recommended .plan-list li { color: var(--text); }
.plan.is-recommended .plan-list b { color: var(--ink); }
.plan.is-recommended .plan-list li::before {
  background-color: var(--blue-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%231f6bbb' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.plan.is-recommended .plan-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
.plan.is-recommended .plan-cta:hover { background: var(--blue-600); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.calc-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}
.calc-row { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.calc-row label { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.calc-row:nth-child(5), .calc-row:nth-child(6) { grid-column: span 1; }

input[type="number"], input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #cfd9e6; border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,127,212,.18); }
textarea { resize: vertical; min-height: 130px; }

.calc-result {
  border-radius: 24px; padding: 32px; color: #fff;
  background: linear-gradient(145deg, var(--blue) 0%, #1b5aa3 55%, var(--navy) 100%);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
}
.calc-result .result-label { color: #cfe5fb; }
.calc-big { font-size: clamp(3rem, 7vw, 4.8rem); font-weight: 800; line-height: 1; margin: 6px 0 10px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc-big small { margin-left: 8px; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; opacity: .85; }
.calc-sub { font-weight: 700; margin-bottom: 6px; color: #e6f1fc; }
.calc-formula { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.1); font-size: .84rem; color: #dbe9f8; }
.calc-formula p { margin: 0 0 4px; }
.calc-formula p:last-child { margin: 0; }
.calc-hint { margin: 16px 0 0; font-size: .9rem; color: #dbe9f8; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq-wrap { max-width: 880px; }
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.acc-item.open { border-color: var(--blue-100); box-shadow: var(--shadow); }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); background: transparent; border: 0;
  padding: 20px 22px; cursor: pointer; min-height: 48px;
}
.acc-btn:focus-visible { outline-offset: -3px; }
.acc-icon { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); position: relative; transition: background-color .25s ease, transform .3s ease; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--blue-700); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s ease; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--blue); }
.acc-btn[aria-expanded="true"] .acc-icon::before, .acc-btn[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { padding: 0 22px 20px; color: var(--muted); }
.acc-panel p { margin: 0; }

/* Contact */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,127,212,.35), transparent 65%); pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; position: relative; }
.contact-copy p:not(.eyebrow) { color: #a9b8cd; font-size: 1.05rem; }
.contact-mail a { color: #fff; font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.45rem); text-decoration: none; border-bottom: 2px solid var(--blue); word-break: break-all; }
.contact-mail a:hover { color: #9ccdf7; }
.contact-small { font-size: .88rem !important; }
.contact-form { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); font-size: .92rem; }
.field label span { color: var(--blue-600); }
.form-error { background: #fdecec; color: #8a1c1c; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .92rem; }
[aria-invalid="true"] { border-color: #c0392b !important; }

/* Footer */
.site-footer { background: #0a1526; color: #93a4bc; padding: 48px 0 28px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.brand-footer { color: #fff; margin-bottom: 10px; }
.brand-footer .brand-mark svg rect { fill: var(--navy-700); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { color: #dbe5f2; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 28px; }
.footer-bottom p { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }
.footer-bottom p { margin: 0; font-size: .85rem; }

/* Reveal animations */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal ul { padding-left: 20px; }
.ph {
  background: var(--warn-bg); border: 2px dashed var(--warn-line); color: #4a3b00; font-weight: 700;
  padding: 1px 8px; border-radius: 6px; display: inline;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.legal-warning {
  background: var(--warn-bg); border: 2px solid var(--warn-line); border-radius: 14px; padding: 18px 20px; color: #4a3b00; margin: 0 0 32px;
}
.legal-warning strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.back-link { display: inline-flex; gap: 6px; margin-bottom: 28px; font-weight: 700; text-decoration: none; }

/* Checklisten */
.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.cl-item { margin: 0; }
.cl-sheet {
  position: relative; background: #fff; border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); rotate: -1.2deg; transition: rotate .3s ease, translate .3s ease;
}
.cl-item:nth-child(2) .cl-sheet { rotate: 1deg; }
.cl-item:nth-child(3) .cl-sheet { rotate: -.6deg; }
.cl-item:hover .cl-sheet { rotate: 0deg; translate: 0 -4px; }
.cl-sheet::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 72px; height: 20px; translate: -50% 0;
  background: rgba(43, 127, 212, .18); border-radius: 4px; rotate: -2deg;
}
.cl-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-50); }
.cl-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 17l4.5 4.5L23 11' stroke='%232b7fd4' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.cl-brand { font-size: .82rem; color: var(--ink); font-weight: 500; }
.cl-brand b { font-weight: 800; }
.cl-tag { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-700); background: var(--blue-50); padding: 4px 9px; border-radius: 999px; }
.cl-title { font-size: 1.18rem; margin: 14px 0 10px; }
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; line-height: 1.4; color: var(--text); }
.cl-list li:last-child { border-bottom: 0; }
.cl-box { width: 20px; height: 20px; margin-top: 1px; border: 2px solid #b9c7d8; border-radius: 6px; background: #fff; }
.cl-list li.done .cl-box {
  border-color: var(--ok);
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.cl-list li.done .cl-text { color: var(--muted); }
.cl-time { font-size: .76rem; font-weight: 700; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.cl-foot { margin: 12px 0 0; font-size: .8rem; color: var(--muted); font-style: italic; }
.cl-item figcaption { margin-top: 22px; color: var(--muted); font-size: .98rem; }
.cl-item figcaption strong { color: var(--ink); }
@media (max-width: 1080px) { .cl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cl-grid { grid-template-columns: 1fr; gap: 40px; }
  .cl-sheet, .cl-item:nth-child(2) .cl-sheet, .cl-item:nth-child(3) .cl-sheet { rotate: 0deg; }
}

/* Einzelleistungen (zugeklappt unter den Paketen) */
.catalog { margin-top: 36px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.catalog-toggle {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px; font-weight: 600; font-size: .95rem; color: #a9b8cd; border-radius: var(--radius);
}
.catalog-toggle::-webkit-details-marker { display: none; }
.catalog-toggle:hover { color: #fff; }
.catalog-icon { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .25s ease; }
.catalog[open] .catalog-icon { rotate: 225deg; translate: 0 3px; }
.catalog[open] .catalog-toggle { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius) var(--radius) 0 0; }
.catalog-body { padding: 24px; }
.catalog-tip { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(43, 127, 212, .18); border: 1px solid rgba(125, 184, 242, .35); color: #dbe7f5; font-size: .95rem; }
.catalog-tip b { color: #fff; }
.catalog-tip a { color: #8cc2f5; font-weight: 700; white-space: nowrap; }
.catalog-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.catalog-group h3 { font-size: 1rem; margin: 0 0 8px; color: #fff; }
.catalog-group ul { list-style: none; margin: 0; padding: 0; }
.catalog-group li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; line-height: 1.45; color: #a9b8cd; }
.catalog-group li b { display: block; color: #e6edf6; font-weight: 600; font-size: .9rem; }
.catalog-group li em { font-style: normal; font-weight: 700; color: #e6edf6; white-space: nowrap; font-size: .85rem; }
.catalog-note { margin: 20px 0 0; font-size: .82rem; color: #8a9bb3; }
.catalog-cta { margin-top: 20px; text-align: center; }
@media (max-width: 1080px) { .catalog-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .catalog-groups { grid-template-columns: 1fr; gap: 20px; }
  .catalog-body { padding: 18px 16px; }
  .catalog-cta .btn { width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .values { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .finder, .calc { grid-template-columns: 1fr; }
  .plan-for { min-height: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
    padding: 24px 16px 32px; background: #fff; border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
    overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-cta { width: 100%; min-height: 52px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .pain-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 32px; }
  .services, .values, .steps, .plans { grid-template-columns: 1fr; }
  .plan.is-recommended { translate: none; }
  .finder-form, .finder-result, .calc-form, .calc-result, .contact-form { padding: 24px 18px; }
  .checks { grid-template-columns: 1fr; }
  .calc-form { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .flow-card { padding: 16px; transform: none; }
  .flow-item { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 9px 10px; }
  .fi-icon { width: 34px; height: 34px; font-size: .95rem; }
  .chip-pdf { left: 0; }
  .chip-ok { right: 0; }
  .float-chip { font-size: .76rem; padding: 7px 11px; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; }
  .brand-text { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float-chip { animation: none; }
}

/* Erklärvideo */
.xv-section { background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.xv-wrap { max-width: 980px; margin: 0 auto; }
.xv-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow-lg); }
