/* twds-Website · „modern und klar“. Farben und Schriften nur hier oben ändern (Marke). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --ink: #0d1321;
  --muted: #5b6474;
  --line: #e4e7ee;
  --bg: #ffffff;
  --tint: #f4f6fa;
  --brand: #2b44d6;
  --brand-dark: #1a2a8f;
  --brand-soft: #eaedfd;
  --good: #0f8a5f;
  --bad: #c2410c;
  --radius: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; }
h1 span { color: var(--brand); }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 24px; }
.eyebrow { font: 600 13px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.lead b { color: var(--ink); }
.section-lead { font-size: 19px; color: var(--muted); max-width: 40em; margin-bottom: 36px; }
.section { padding: 104px 0; }
.tint { background: var(--tint); }

/* Platzhalter: bis Name, Rechtsform usw. feststehen, gut sichtbar */
.ph { background: #fff3b0; outline: 1px dashed #c9a400; border-radius: 4px; padding: 0 4px; color: #6b5600; font-size: 0.92em; }
.ph-box { background: #fff3b0 !important; border: 1px dashed #c9a400; color: #6b5600; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; text-decoration: none; font: 600 16px/1 var(--text); padding: 16px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--tint); }
.btn-small { padding: 11px 18px; font-size: 15px; }

/* Kopfzeile */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 32px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand) 0 50%, #7d8dff 50% 100%); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--brand); }

/* Startbereich */
.hero { padding: 72px 0 96px; background: radial-gradient(1100px 520px at 85% -10%, var(--brand-soft), transparent 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 500; }
.trust li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-visual { display: flex; justify-content: center; }

/* Geräte-Rahmen für die Vorschauen */
.phone { width: 100%; max-width: 300px; margin: 0 auto; padding: 10px; border-radius: 46px; background: #11141c; box-shadow: 0 40px 80px -30px rgba(13,19,33,.45), inset 0 0 0 2px #2a2f3b; }
.phone .screen { aspect-ratio: 9 / 19; border-radius: 36px; }
.phone-tilt { transform: rotate(4deg); max-width: 320px; }
.phone-tilt iframe { pointer-events: none; }
.browser { width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(13,19,33,.35), 0 0 0 1px var(--line); }
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef0f4; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3dc; }
.browser .screen { aspect-ratio: 16 / 10; }
.screen { position: relative; overflow: hidden; background: #fff; }
.screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; }

/* Vorher / Nachher */
.seg { display: inline-flex; padding: 4px; background: var(--tint); border-radius: 999px; margin-bottom: 36px; }
.seg button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 15px/1 var(--text); color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(13,19,33,.08); }
.seg-spaced { margin-top: 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.compare figure { margin: 0; }
.compare figcaption { margin-bottom: 18px; text-align: center; }
.compare[data-mode="phone"] .browser, .compare[data-mode="desktop"] .phone { display: none; }
.compare[data-mode="phone"] .on-desktop, .compare[data-mode="desktop"] .on-phone { display: none; }
.tag { display: inline-block; font: 700 14px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.tag-old { background: #fde8dd; color: var(--bad); }
.tag-new { background: #dcf3e9; color: var(--good); }
.points { list-style: none; padding: 0; margin: 28px auto 0; max-width: 360px; display: grid; gap: 8px; }
.points li { display: flex; gap: 10px; align-items: baseline; }
.points-bad li::before { content: "✕"; color: var(--bad); font-weight: 700; }
.points-good li::before { content: "✓"; color: var(--good); font-weight: 700; }

/* Karten */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 64px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 22px/1 var(--display); }
.steps li::after { content: ""; position: absolute; top: 23px; left: 58px; right: -8px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { font: 700 21px/1.2 var(--display); display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Preise */
.price { position: relative; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -36px rgba(43,68,214,.55); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff; font: 600 13px/1 var(--text); padding: 7px 12px; border-radius: 999px; }
.card .amount, .amount { font: 800 44px/1 var(--display); letter-spacing: -0.03em; margin: 14px 0 18px; color: var(--ink); }
.amount small { font: 500 15px/1 var(--text); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price ul, .plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
.price li::before, .plan li::before { content: "✓ "; color: var(--good); font-weight: 700; }
.extras { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.extras ul { list-style: none; padding: 0; margin: 12px 0 0; }
.extras li { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.extras li:first-child { border-top: 0; }
.extras b { white-space: nowrap; font-family: var(--display); font-size: 19px; }
.sub { margin: 56px 0 20px; font-size: 26px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.plan.featured { border-color: var(--brand); }
.plan .amount { font-size: 34px; margin: 10px 0 16px; }
.fineprint { margin-top: 20px; color: var(--muted); font-size: 15px; }
.founder { margin-top: 48px; display: flex; gap: 24px; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 36px; }
.founder h3 { color: #fff; margin-bottom: 8px; }
.founder p { color: #c7cbe0; margin: 0; max-width: 40em; }
.founder .btn { flex: none; background: #fff; color: var(--ink); }

/* Preisrechner */
.calc { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.calc-steps { display: grid; gap: 40px; min-width: 0; }
.calc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-step legend { display: flex; align-items: center; gap: 12px; font: 700 22px/1.2 var(--display); margin-bottom: 18px; padding: 0; }
.calc-step legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 17px; }
.pick { display: grid; gap: 14px; }
.pick.three { grid-template-columns: repeat(3, 1fr); }
.pick.four { grid-template-columns: repeat(4, 1fr); }
.pick-card { position: relative; display: block; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 22px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pick-card:hover { border-color: #b8c1f5; transform: translateY(-2px); }
.pick-card input, .pick-row input { position: absolute; opacity: 0; pointer-events: none; }
.pick-card:has(input:checked) { border: 2px solid var(--brand); padding: 23.5px 21.5px; box-shadow: 0 24px 50px -32px rgba(43,68,214,.6); }
.pick-card:has(input:checked)::after { content: "✓"; position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pick-card:has(input:focus-visible), .pick-row:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.pick-card .amount { font-size: 36px; margin: 10px 0 14px; }
.pick-card.small { padding: 20px 18px; }
.pick-card.small:has(input:checked) { padding: 19.5px 17.5px; }
.pick-card.small h4 { font: 700 19px/1.2 var(--display); }
.pick-card.small .amount { font-size: 28px; }
.pick-card.small .amount small { display: block; margin: 4px 0 0; }
.pick-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.pick-card li::before { content: "✓ "; color: var(--good); font-weight: 700; }
.pick-card .badge { left: 22px; }
.rows { display: grid; gap: 10px; }
.pick-row { position: relative; display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; }
.pick-row > span { flex: 1; font-weight: 600; }
.pick-row small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.pick-row b { font-family: var(--display); font-size: 18px; white-space: nowrap; }
.pick-row:not(.stepper)::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c3c9d6; background: #fff center/14px no-repeat; }
.pick-row:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pick-row:has(input:checked)::before { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
.pick-row.is-off { opacity: .5; cursor: not-allowed; }
.stepper { cursor: default; }
.step-ctl { display: flex; align-items: center; gap: 4px; background: var(--tint); border-radius: 999px; padding: 4px; }
.step-ctl button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; font: 600 20px/1 var(--text); color: var(--ink); cursor: pointer; box-shadow: 0 1px 3px rgba(13,19,33,.12); }
.step-ctl output { min-width: 30px; text-align: center; font: 700 18px/1 var(--display); }
.calc-sum { position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; }
.calc-sum h3 { color: #fff; margin-bottom: 14px; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 15px; color: #c7cbe0; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.sum-lines b { color: #fff; font-weight: 600; white-space: nowrap; }
.sum-lines .minus b { color: #7ee2b8; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sum-total span { color: #c7cbe0; }
.sum-total b { font: 800 30px/1 var(--display); letter-spacing: -.02em; }
.sum-note { color: #c7cbe0; font-size: 14px; margin: 6px 0 18px; }
.calc-sum .btn { width: 100%; background: #fff; color: var(--ink); }
.calc-sum .btn:hover { background: var(--brand-soft); }
.sum-fine { font-size: 13px; color: #9aa1b8; margin: 12px 0 0; }
.calc-bar { display: none; }
.form-auswahl { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.form-auswahl p { margin: 4px 0 0; color: var(--ink); }

/* Über uns */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.person { display: grid; gap: 4px; }
.person b { font: 700 20px/1.2 var(--display); margin-top: 10px; }
.photo { aspect-ratio: 4 / 5; border-radius: var(--radius); display: grid; place-items: center; font-weight: 600; }

/* Fragen */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font: 600 19px/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/0.8 var(--text); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Kontakt */
.contact { background: linear-gradient(180deg, var(--brand-soft), #fff 70%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.direct { font-weight: 500; }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(13,19,33,.4); }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.form input, .form select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form .btn { margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form [hidden] { display: none !important; }
.form-error { color: var(--bad); font-weight: 600; margin: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 13px; color: var(--muted); margin: -6px 0 0; }
.form-hint.is-error { color: var(--bad); font-weight: 600; }
@media (max-width: 680px) { .form-pair { grid-template-columns: 1fr; } }
.form-done { font-weight: 600; margin: 0; }

/* Fuß */
.foot { background: var(--ink); color: #aab0c4; padding: 36px 0; font-size: 15px; }
.foot-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo-light { color: #fff; font-size: 20px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: #fff; text-decoration: none; }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 28px; }
.legal h2 { font-size: 24px; margin: 32px 0 10px; }
.legal p, .legal li { color: #2b3240; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal-note { background: #fff3b0; border: 1px dashed #c9a400; color: #5c4a00; border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; font-size: 15px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@media (max-width: 960px) {
  .nav nav { display: none; }
  .nav-row { justify-content: space-between; }
  .hero-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cards.three, .plans { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-sum { position: static; }
  .pick.four { grid-template-columns: 1fr 1fr; }
  .calc-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 12px 12px 18px; box-shadow: 0 16px 40px rgba(13,19,33,.35); font-size: 14px; }
  .calc-bar .btn { background: #fff; color: var(--ink); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 680px) {
  .compare { grid-template-columns: 1fr; gap: 56px; }
  .pick.three { grid-template-columns: 1fr; }
  .pick-row { flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .founder { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 64px; }
  .cta-row .btn { width: 100%; }
  .nav .btn-small { padding: 10px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
