/* IAssist: sachlich und ruhig. Anthrazit für Kopf, Abschluss und Fußzeile,
   warmes Steingrau als Grund, Weiß nur für Karten. Orange nur für Logo und Hauptaktion. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --dark: #17191c;
  --dark-2: #22252a;
  --dark-line: #34383e;
  --on-dark: #f3f2ef;
  --on-dark-muted: #a7abb1;
  --ground: #efeeea;
  --card: #ffffff;
  --text: #1b1d20;
  --muted: #5d6168;
  --line: #dcd9d3;
  --accent: #e8631c;
  --accent-hover: #cf5414;
  --accent-text: #a8440d;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Manrope", "Inter", system-ui, sans-serif;
  --wrap: 1140px;
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.2rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.35; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Kopfzeile */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--dark); z-index: 60; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--dark); color: var(--on-dark); border-bottom: 1px solid var(--dark-line); }
.bar { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { font-family: var(--logo); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; color: var(--on-dark); }
.logo b { color: var(--accent); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--on-dark-muted); padding: 8px 12px; border-radius: 6px; transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--on-dark); background: var(--dark-2); }
.nav a[aria-current="page"] { color: var(--on-dark); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -14px; height: 2px; background: var(--accent); }
.lang { display: flex; align-items: center; gap: 2px; margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--dark-line); }
.lang a { font-size: .82rem; font-weight: 600; padding: 6px 7px; color: var(--on-dark-muted); text-decoration: none; border-radius: 4px; }
.lang a[aria-current="true"] { color: var(--on-dark); }
.lang a:hover { color: var(--on-dark); }
.header-cta { margin-left: 12px; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--on-dark); margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 68px; background: var(--dark); border-bottom: 1px solid var(--dark-line);
    padding: 8px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px)); display: none; flex-direction: column; align-items: stretch; gap: 8px; }
  .menu.open { display: flex; }
  .nav { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--dark-line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"]::after { display: none; }
  .lang { margin: 8px 0 0; padding: 0; border: 0; }
  .header-cta { margin: 12px 0 0; }
}
@media (min-width: 961px) { .menu { display: flex; align-items: center; margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 6px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--accent-hover); }
.btn.dark { background: var(--dark); color: var(--on-dark); }
.btn.dark:hover { background: var(--dark-2); }
.btn.outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn.outline:hover { border-color: var(--text); }
.on-dark .btn.outline, .btn.outline.light { color: var(--on-dark); border-color: var(--dark-line); }
.on-dark .btn.outline:hover, .btn.outline.light:hover { border-color: var(--on-dark-muted); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bereiche */
.sec { padding-block: clamp(64px, 8vw, 104px); }
.sec.white { background: var(--card); }
.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark .muted, .on-dark .lead { color: var(--on-dark-muted); }
.head { display: grid; gap: 12px; max-width: 38rem; margin-bottom: 40px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--dark-line); }
.fact { padding: 26px 24px 34px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--dark-line); }
.fact .num { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--on-dark); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fact p { font-size: .92rem; color: var(--on-dark-muted); }
.fact cite { font-style: normal; font-size: .76rem; color: #7f848b; }
.fact cite a { color: inherit; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--dark-line); }
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--text); }
.step-n { font-size: .85rem; font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Unterseiten-Kopf */
.page-head { padding-block: clamp(56px, 7vw, 88px); }
.page-head h1 { color: var(--on-dark); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.page-head .lead { margin-top: 14px; }

/* Aufklapp-Liste */
.acc { display: grid; gap: 12px; }
.acc-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.acc-btn { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding: 22px 24px; }
.acc-btn .t { display: block; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.acc-btn .d { display: block; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.acc-icon { width: 24px; height: 24px; position: relative; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform .25s ease; }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-body { padding: 0 24px 24px; display: grid; gap: 18px; }
.acc-body ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; border-top: 1px solid var(--line); padding-top: 18px; }
.acc-body ol li { counter-increment: s; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .95rem; }
.acc-body ol li::before { content: counter(s) "."; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .92rem; }
.acc-foot strong { font-weight: 600; }
.note { margin-top: 28px; color: var(--muted); font-size: .94rem; }
.note a { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .acc-panel { transition: none; } }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: .8rem; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Über uns */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid p { color: var(--muted); }
.about-grid p + p { margin-top: 14px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.principles li { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.principles li:last-child { border-bottom: 0; }
.principles strong { font-weight: 600; }
.principles span { color: var(--muted); font-size: .92rem; }
/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { margin: 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.contact-list div { padding: 18px 22px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.contact-list div:last-child { border-bottom: 0; }
.contact-list dt { font-size: .8rem; color: var(--muted); font-weight: 500; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Formulare */
.lead-form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; font: inherit; font-size: .95rem; background: #fff; color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.form-hint a { color: var(--muted); }
.form-error { font-size: .88rem; color: #a3261b; }
.form-done { display: grid; gap: 6px; padding: 8px 0; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Rechtliches */
.legal { display: grid; gap: 40px; }
.legal > * { max-width: 48rem; }
.legal section { display: grid; gap: 12px; }
.legal h2 { font-size: 1.2rem; letter-spacing: -0.015em; }
.legal p { color: #3a3d42; font-size: .97rem; }
.facts-table { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.facts-table div { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.facts-table div:last-child { border-bottom: 0; }
.facts-table dt { color: var(--muted); font-size: .9rem; }
.facts-table dd { margin: 0; font-size: .95rem; }
@media (max-width: 600px) { .facts-table div { grid-template-columns: 1fr; gap: 2px; } }
.legal .table-wrap table { min-width: 600px; }
.legal td { vertical-align: top; }
.legal ul { margin: 0; padding-left: 1.2em; color: #3a3d42; font-size: .97rem; display: grid; gap: 4px; }

/* Fußzeile */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot strong { color: var(--on-dark); display: block; margin-bottom: 10px; font-weight: 600; font-size: .88rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-dark); }
.foot-tag { margin-top: 12px; max-width: 18rem; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen, nur unterhalb des ersten Bildschirms */
@media (prefers-reduced-motion: no-preference) {
  .pre-reveal { opacity: 0; transform: translateY(14px); }
  .revealed { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
}

/* Home: eine dunkle Szene. Start ganz nah an "80 %", beim Scrollen zoomt die Mindmap heraus. */
.js .page-home .site-header { position: fixed; left: 0; right: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.js.motion .page-home .site-header:not(.is-shown):not(:focus-within) { transform: translateY(-110%); opacity: 0; pointer-events: none; }

.story { position: relative; background: var(--dark); color: var(--on-dark); }
.story-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 56px;
  padding: 120px max(24px, env(safe-area-inset-right, 0px)) 80px max(24px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.story-facts { width: 100%; max-width: 1092px; margin-top: 0; }
.story-progress, .scroll-hint { display: none; }

.js.motion .story { height: 420vh; }
.js.motion .story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 84px; padding-bottom: 36px; gap: 0; }
.js.motion .story-facts { position: absolute; left: 50%; top: 0; width: min(1092px, calc(100% - 48px)); transform: translateX(-50%); pointer-events: none; }
.js.motion .story-facts.live { pointer-events: auto; }
.js.motion .story-facts .fact { opacity: 0; }
.js.motion .story-progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dark-line); }
.story-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.js.motion .scroll-hint { display: block; position: absolute; left: 50%; bottom: 30px; width: 1px; height: 48px; background: var(--dark-line); overflow: hidden; }
.scroll-hint span { display: block; width: 100%; height: 40%; background: var(--on-dark); animation: hint 1.8s cubic-bezier(.6, 0, .4, 1) infinite; }
@keyframes hint { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* Mindmap */
.mindmap { position: relative; width: 100%; max-width: 1092px; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); column-gap: clamp(48px, 7vw, 104px); align-items: center; }
.mm-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.mm-lines path { fill: none; stroke: #4d525a; stroke-width: 1.5; }
.mm-lines circle { fill: var(--accent); }
.mm-col { position: relative; z-index: 1; display: grid; gap: 14px; align-content: center; }
.mm-core { position: relative; z-index: 1; margin: 0; width: 220px; aspect-ratio: 1; border-radius: 50%; background: rgba(34, 37, 42, var(--ring, 1)); border: 1px solid rgba(232, 99, 28, var(--ring, 1));
  display: grid; place-items: center; text-align: center; box-shadow: 0 0 0 12px rgba(232, 99, 28, calc(.06 * var(--ring, 1))); letter-spacing: normal; line-height: 1; }
.mm-core-in { display: grid; justify-items: center; gap: 6px; }
.mm-pre { font-size: .82rem; font-weight: 500; color: var(--on-dark-muted); }
.mm-num { font-size: 3.4rem; font-weight: 600; letter-spacing: -0.045em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.mm-label { font-size: .9rem; font-weight: 500; color: var(--on-dark-muted); line-height: 1.3; max-width: 8.5rem; }
.node { position: relative; background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); }
.node .acc-btn { padding: 16px 18px; }
.node .acc-btn .t { font-size: 1rem; color: var(--on-dark); }
.node .acc-btn .d { color: var(--on-dark-muted); font-size: .88rem; }
.node .acc-icon::before, .node .acc-icon::after { background: var(--on-dark); }
.node .acc-body { padding: 0 18px 18px; gap: 0; }
.node .acc-body ol { border-color: var(--dark-line); padding-top: 14px; gap: 6px; }
.node .acc-body ol li { font-size: .9rem; color: #d2d4d7; }
.node .acc-body ol li::before { color: var(--on-dark-muted); }
.node.open { border-color: #4d525a; }
.js.motion .mindmap:not(.live) .node { pointer-events: none; }
@media (max-width: 900px) {
  .js.motion .story-facts .fact { padding-block: 14px; }
  .mindmap { grid-template-columns: minmax(0, 1fr); row-gap: 12px; max-width: 520px; }
  .mindmap::before { content: ""; position: absolute; left: 50%; top: 152px; bottom: 24px; width: 1.5px; background: #4d525a; transform-origin: top center; transform: scaleY(var(--trunk, 1)); }
  .mm-lines { display: none; }
  .mm-core { order: -1; width: 150px; justify-self: center; margin-bottom: 8px; }
  .mm-num { font-size: 2.4rem; }
  .mm-label { font-size: .78rem; max-width: 7rem; }
  .mm-pre { font-size: .72rem; }
  .mm-col { gap: 12px; }
  .node .acc-btn .d { display: none; }
  .node .acc-btn { padding: 14px 16px; }
}


/* Home: scharfer Titel. Wird über die Schriftgröße skaliert statt über ein Vergrößern des Bildes. */
.story-title { display: none; }
.js.motion .story-title { display: grid; justify-items: center; text-align: center; position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; line-height: 1; transform: translate(-50%, -50%); }
.js.motion .story .mm-core-in { visibility: hidden; }
.story-title .mm-label { display: block; }
.node-you { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--dark-line); font-size: .88rem; color: #d2d4d7; }
.node-you strong { color: var(--accent); font-weight: 600; margin-right: 4px; }

/* Home: KI schreibt, Sie prüfen */
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.split-col { padding: 28px; display: grid; gap: 12px; align-content: start; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-col h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.split-col p { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: .95rem; color: var(--text); }
.split-col p span { font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.split-col p:first-of-type span { color: var(--accent-text); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* Pakete */
.billing { display: none; margin-top: 30px; padding: 4px; gap: 4px; border: 1px solid var(--dark-line); border-radius: 8px; background: var(--dark-2); }
.js .billing { display: inline-flex; }
.billing button { border: 0; background: transparent; color: var(--on-dark-muted); font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 5px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.billing button:hover { color: var(--on-dark); }
.billing button[aria-pressed="true"] { background: var(--on-dark); color: var(--text); }
.billing button span { font-weight: 500; font-size: .78rem; margin-left: 6px; color: var(--accent); }
.billing button[aria-pressed="true"] span { color: var(--accent-text); }
.p-y { display: none; }
html[data-billing="year"] .p-y { display: inline; }
html[data-billing="year"] .p-m { display: none; }

.pkgs { gap: 14px; }
.pkg-btn { grid-template-columns: minmax(0, 1fr) auto 24px; gap: 28px; padding: 26px 28px; }
.pkg-name { display: grid; gap: 3px; }
.pkg-name .t { font-size: 1.3rem; letter-spacing: -0.02em; }
.pkg-tag { justify-self: start; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.pkg-price { display: grid; gap: 2px; text-align: right; }
.pkg-m { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pkg-m small { font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pkg-s { font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pkg-body { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; padding: 0 28px 28px; align-items: start; }
.pkg-list { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.pkg-list li { position: relative; display: grid; gap: 2px; padding-left: 26px; }
.pkg-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.pkg-list strong { font-weight: 600; font-size: .97rem; }
.pkg-list span { color: var(--muted); font-size: .9rem; }
.pkg-side { padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.pkg-side p { font-size: .94rem; color: var(--muted); }
.pkg-side strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.pkg-top { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.pkg-top .acc-btn .d, .pkg-top .pkg-s, .pkg-top .pkg-m small, .pkg-top .pkg-list span, .pkg-top .pkg-side p { color: var(--on-dark-muted); }
.pkg-top .pkg-list, .pkg-top .pkg-side { border-color: var(--dark-line); }
.pkg-top .pkg-list li::before { border-color: var(--accent); }
.pkg-top .pkg-side strong { color: var(--on-dark); }
.pkg-top .acc-icon::before, .pkg-top .acc-icon::after { background: var(--on-dark); }
.pkg-single .acc-body { padding-top: 0; }
.table-wrap.flat { border: 0; border-radius: 0; background: transparent; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .pkg-btn { grid-template-columns: minmax(0, 1fr) 24px; row-gap: 14px; padding: 22px; }
  .pkg-price { grid-row: 2; grid-column: 1; text-align: left; }
  .pkg-btn .acc-icon { grid-row: 1; grid-column: 2; }
  .pkg-body { grid-template-columns: 1fr; gap: 0; padding: 0 22px 22px; }
  .pkg-list { grid-template-columns: 1fr; }
}


/* Pakete untereinander */
.pkg-stack { display: grid; gap: 20px; }
.pkg-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 28px; }
.pkg-card .pkg-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pkg-card .pkg-scope { font-size: .8rem; font-weight: 600; color: var(--accent-text); margin-bottom: 6px; }
.pkg-card h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.pkg-card .pkg-claim { margin-top: 6px; color: var(--muted); }
.pkg-card .pkg-price { text-align: right; display: grid; gap: 4px; }
.pkg-card .pkg-m { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pkg-card .pkg-m small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pkg-card .pkg-s { font-size: .86rem; color: var(--muted); }
.pkg-card .pkg-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.pkg-card h3 { font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.pkg-card .pkg-list { list-style: none; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.pkg-card .pkg-list li { position: relative; padding-left: 26px; font-size: .97rem; display: block; }
.pkg-card .pkg-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.pkg-card .pkg-side { border: 0; padding: 0 0 0 clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); display: grid; align-content: start; gap: 0; }
.pkg-card .pkg-you { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.pkg-card .pkg-you li { position: relative; padding-left: 22px; font-size: .97rem; }
.pkg-card .pkg-you li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 11px; border: 1.5px solid var(--muted); border-radius: 3px; }
.pkg-card .pkg-side .btn { justify-self: start; }
.pkg-card.pkg-top { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.pkg-card.pkg-top .pkg-head, .pkg-card.pkg-top .pkg-side { border-color: var(--dark-line); }
.pkg-card.pkg-top .pkg-scope { color: var(--accent); }
.pkg-card.pkg-top .pkg-claim, .pkg-card.pkg-top .pkg-s, .pkg-card.pkg-top .pkg-m small, .pkg-card.pkg-top h3 { color: var(--on-dark-muted); }
.pkg-card.pkg-top .pkg-list li::before { border-color: var(--accent); }
.pkg-card.pkg-top .pkg-you li::before { border-color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .pkg-card .pkg-head { grid-template-columns: 1fr; align-items: start; }
  .pkg-card .pkg-price { text-align: left; }
  .pkg-card .pkg-cols { grid-template-columns: 1fr; }
  .pkg-card .pkg-list { grid-template-columns: 1fr; }
  .pkg-card .pkg-side { border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
}

/* Vergleich */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare { min-width: 700px; table-layout: fixed; }
.compare th, .compare td { padding: 13px 18px; text-align: center; vertical-align: middle; }
.compare thead th { font-size: 1rem; font-weight: 600; color: var(--text); padding-block: 22px; }
.compare thead th.col-top { background: var(--dark); color: var(--on-dark); }
.compare th[scope="row"] { text-align: left; font-size: .93rem; font-weight: 500; color: var(--text); width: 34%; }
.compare th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.compare td { font-size: .92rem; font-variant-numeric: tabular-nums; }
.compare td.col-top { background: #f8f4ef; font-weight: 500; }
.compare .grp th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--muted); padding: 26px 18px 10px; background: var(--card); }
.compare .row-cta th, .compare .row-cta td { border-bottom: 0; padding-block: 22px; }
.yes { display: inline-block; width: 13px; height: 7px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translateY(-2px) rotate(-45deg); }
.col-top .yes { border-color: var(--accent-text); }
.no { display: inline-block; width: 10px; height: 1.5px; background: #c6c2ba; vertical-align: middle; }

/* Über uns: Team */
.members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: start; padding: 32px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 10px; }
.member-mark { position: relative; overflow: hidden; width: 112px; height: 112px; border-radius: 8px; background: var(--dark); border: 1px solid var(--dark-line); display: grid; place-items: center; font-family: var(--logo); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.03em; color: var(--on-dark); }
.member-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); }
.member-body { display: grid; gap: 8px; min-width: 0; }
.member-role { font-size: .86rem; font-weight: 600; color: var(--accent); }
.member h3 { font-size: 1.5rem; letter-spacing: -0.02em; color: var(--on-dark); }
.member-body > p:not(.member-role) { color: var(--on-dark-muted); font-size: .97rem; }
.member-tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.member-tags li { font-size: .8rem; padding: 5px 12px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--on-dark); }
@media (max-width: 860px) {
  .members { grid-template-columns: 1fr; }
  .member { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 24px; }
  .member-mark { width: 72px; height: 72px; font-size: 1.5rem; }
}

/* Chat */
.chat-launch { position: fixed; z-index: 70; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid var(--dark-line);
  background: var(--dark); color: var(--on-dark); font-weight: 600; font-size: .94rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.chat-launch .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-launch[hidden] { display: none !important; }
.chat { position: fixed; z-index: 80; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100dvh - 40px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; overflow: hidden; }
.chat[hidden] { display: none !important; }
@media (max-width: 520px) { .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); } }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 18px; background: var(--dark); color: var(--on-dark); }
.chat-top .who { display: grid; gap: 1px; }
.chat-top strong { font-size: .95rem; font-weight: 600; }
.chat-top span { font-size: .78rem; color: var(--on-dark-muted); }
.icon-btn { width: 36px; height: 36px; border-radius: 6px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--on-dark-muted); }
.icon-btn:hover { background: var(--dark-2); color: var(--on-dark); }
.chat-note { font-size: .76rem; line-height: 1.45; color: var(--muted); background: var(--ground); padding: 8px 18px; border-bottom: 1px solid var(--line); }
.chat-note a { color: var(--muted); }
.chat-log { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 10px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg.bot { background: var(--ground); align-self: flex-start; }
.msg.user { background: var(--dark); color: var(--on-dark); align-self: flex-end; }
.msg a { color: var(--accent-text); font-weight: 600; }
.msg.typing { color: var(--muted); }
.msg.typing i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite both; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 12px; font-size: .84rem; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--text); }
.chip.strong { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.chat-bottom { border-top: 1px solid var(--line); padding: 8px 12px 12px; display: grid; gap: 6px; }
.chat-tools { display: flex; justify-content: space-between; gap: 8px; }
.link-btn { background: none; border: 0; padding: 4px 6px; font-size: .82rem; color: var(--muted); cursor: pointer; border-radius: 4px; }
.link-btn:hover { color: var(--text); background: var(--ground); }
.link-btn[disabled] { opacity: .35; cursor: default; background: none; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.chat-form textarea { resize: none; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; font: inherit; font-size: .94rem; min-height: 44px; max-height: 120px; background: #fff; color: var(--text); }
.chat-form textarea:focus { outline: none; border-color: var(--text); }
.send { width: 44px; height: 44px; border-radius: 6px; border: 0; background: var(--dark); color: var(--on-dark); cursor: pointer; display: grid; place-items: center; }
.send[disabled] { opacity: .4; cursor: default; }

.about-lead { margin-top: 18px; }
.page-head-actions { margin-top: 28px; }
.form-done p { font-size: .95rem; }
