/* Secupipe Homepage – im Designsystem von desk-plus, mit dem Secupipe-Blau */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(fonts/inter-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --ink: #0d1530;
  --ink-2: #4a5470;
  --ink-3: #5f6882;
  --line: #e3e8f2;
  --brand: #465fff;
  --brand-ink: #3641f5;
  --brand-soft: #ecf0ff;
  --accent: #12b886;
  --red: #d92d20;
  --red-soft: #fef3f2;
  --green: #067647;
  --green-soft: #ecfdf3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,21,48,.04), 0 8px 24px rgba(13,21,48,.06);
  --shadow-lg: 0 24px 60px -24px rgba(13,21,48,.28);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code { font: 500 .92em var(--mono); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.lead { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 14px 0 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
section { padding: 96px 0; }
.soft { background: var(--bg-soft); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: .15s ease; font-family: inherit; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(13,21,48,.12); }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c8d1e4; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Navigation */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo b { color: var(--brand); font-weight: 800; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .signin { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0 8px; }
.nav-cta .signin:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.lang a { padding: 6px 4px; border-radius: 6px; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }
.lang span { color: var(--line); }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; z-index: -1; background: radial-gradient(600px 300px at 20% 30%, #e4e9ff 0%, transparent 70%), radial-gradient(500px 300px at 85% 20%, #e3f8f1 0%, transparent 70%); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: #fff; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #d3f5e9; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; margin: 22px auto 18px; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.ticks, .shot-cap { display: flex; gap: 10px 28px; justify-content: center; margin-top: 28px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.ticks span::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.promises { list-style: none; padding: 0; margin: 30px auto 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.promises li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.promises b { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.promises b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--brand); }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } }
.shot-cap { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* Browserfenster mit Produktansicht */
.mock { text-align: left; margin: 56px auto 0; max-width: 1000px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfe; }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff6b6b; } .dots i:nth-child(2) { background: #fcc419; } .dots i:nth-child(3) { background: #51cf66; }
.url { flex: 1; max-width: 420px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url b { color: var(--ink-2); font-weight: 500; }
.mock-tabs { display: flex; gap: 4px; }
.mock-tabs button { font: 600 12px Inter, sans-serif; border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 4px 10px; border-radius: 6px; cursor: pointer; }
.mock-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.app { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; background: #f9fafb; }
.app-side { background: #fff; border-right: 1px solid #eaecf0; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #475467; }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 6px 14px; }
.app-logo svg { width: 24px; height: 24px; }
.app-logo b { color: var(--brand); }
.app-org { display: flex; align-items: center; gap: 8px; border: 1px solid #eaecf0; border-radius: 10px; padding: 7px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.app-org span { width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.app-side small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #667085; margin: 10px 8px 4px; }
.app-side a { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 7px; }
.app-side a.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.app-side em { font-style: normal; font-size: 11px; font-weight: 600; background: #f2f4f7; color: #475467; border-radius: 99px; padding: 0 7px; }
.app-side a.on em { background: #fff; color: var(--brand-ink); }
.app-main { padding: 20px; min-width: 0; }
.app-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.app-h b { font-size: 17px; }
.app-btn { background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 8px; white-space: nowrap; }
.report { background: #fff; border: 1px solid #eaecf0; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.report-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; font-size: 13px; }
.report-h code { font-size: 13px; font-weight: 600; }
.report-t { color: var(--ink-3); }
.clocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.clock { position: relative; overflow: hidden; border: 1px solid #eaecf0; border-radius: 9px; padding: 8px 10px 10px; background: #fff; display: grid; gap: 3px; }
.clock small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock b { font: 500 15px var(--mono); color: var(--ink); white-space: nowrap; }
.clock i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: #fdb022; }
.clock.hot { border-color: #fecdca; background: var(--red-soft); }
.clock.hot b { color: #b42318; }
.clock.hot i { background: var(--red); }
.clock.done { background: var(--green-soft); border-color: #abefc6; }
.clock.done b { color: var(--green); font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #f2f4f7; color: #475467; white-space: nowrap; }
.tag-red { background: var(--red-soft); color: #b42318; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-blue { background: var(--brand-soft); color: var(--brand-ink); }
.sev { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.sev-c { background: #d92d20; color: #fff; }
.sev-h { background: #fef0c7; color: #93370d; }
.sev-m { background: #fffaeb; color: #b54708; }
.table-wrap { background: #fff; border: 1px solid #eaecf0; border-radius: 12px; overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.app-table th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid #eaecf0; }
.app-table td { padding: 11px 14px; border-bottom: 1px solid #f2f4f7; white-space: nowrap; color: #344054; }
.app-table tr:last-child td { border-bottom: 0; }
.ai-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px dashed #c3ccff; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }
.ai-note > span:nth-child(2) { flex: 1; min-width: 220px; }
.ai-actions { display: flex; gap: 6px; }
.evi { display: grid; gap: 8px; }
.evi div { background: #fff; border: 1px solid #eaecf0; border-radius: 10px; padding: 11px 14px; display: grid; grid-template-columns: 1fr auto; gap: 0 12px; align-items: center; font-size: 13.5px; }
.evi b { font-weight: 600; }
.evi small { grid-column: 1; color: var(--ink-3); font-size: 12.5px; }
.evi .tag { grid-row: 1 / span 2; grid-column: 2; }

/* Regelwerke-Leiste */
.strip { padding: 40px 0 8px; }
.strip p { text-align: center; font-size: 13px; color: var(--ink-3); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.strip .row { display: flex; justify-content: center; gap: 16px 40px; flex-wrap: wrap; color: var(--ink-3); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }

/* Funktionen */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin: 16px 0 8px; font-weight: 700; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.icon svg { width: 22px; height: 22px; }

/* Module */
.de-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.de { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.de .thumb { aspect-ratio: 16 / 9; display: flex; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #f5f7fc 0%, #e8edff 100%); }
.de .body { padding: 22px 24px 26px; }
.de .body .tag { margin-bottom: 10px; }
.de h3 { font-size: 19px; }
.de p { color: var(--ink-2); font-size: 15px; margin: 8px 0 0; }
.mini { width: 100%; display: grid; gap: 7px; font-size: 12.5px; }
.mini-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e4e9f5; border-radius: 9px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(13,21,48,.04); min-width: 0; }
.mini-row .tag { margin-left: auto; }
.mini-row code { font-size: 12px; }
.mini-dim { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-end { justify-content: flex-end; background: transparent; border: 0; box-shadow: none; padding: 0; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.mini-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mini-clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-clocks .clock b { font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--accent); }
.dot.warn { background: #fdb022; }

/* Für wen */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step .n { font: 500 14px var(--mono); color: var(--brand); }
.step h3 { font-size: 19px; margin: 14px 0 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Preisrechner */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 52px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); margin: 0; min-width: 0; }
.field-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.field-h legend { font-weight: 600; font-size: 15px; padding: 0; float: left; }
.field-h output { font: 500 14px var(--mono); color: var(--brand); }
.hint { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.seats { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.seats label b { display: block; font-size: 15px; }
.seats label small { color: var(--ink-3); font-size: 13px; }
.stepper { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 36px; height: 38px; border: 0; background: var(--bg-soft); color: var(--ink); font: inherit; font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--brand-soft); color: var(--brand-ink); }
.stepper input { width: 56px; height: 38px; border: 0; border-inline: 1px solid var(--line); text-align: center; font: inherit; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.sso-chain { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; color: var(--ink); font-weight: 600; font-size: 15.5px; max-width: 640px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s; }
.toggle:hover { border-color: #c8d1e4; }
.toggle.fixed { cursor: default; background: var(--bg-soft); }
.toggle + .toggle { margin-top: 10px; }
.toggle b { display: block; font-size: 15px; }
.toggle small { color: var(--ink-3); font-size: 13px; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: inherit; }
.switch span { position: absolute; inset: 0; background: #d5dbe7; border-radius: 99px; transition: .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-soft), 0 0 0 5px var(--brand); }
.summary { position: sticky; top: 92px; background: var(--ink); color: #fff; border-radius: 18px; padding: 30px; }
.summary .label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #9ba8cc; font-weight: 600; }
.total { font-size: 54px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 14px 0 4px; }
.total small { font-size: 16px; font-weight: 500; color: #9ba8cc; letter-spacing: 0; }
.per { color: #9ba8cc; font-size: 14px; }
.lines { margin: 24px 0; padding: 20px 0; border-top: 1px solid #263155; border-bottom: 1px solid #263155; display: grid; gap: 10px; font-size: 14px; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines span:first-child { color: #c3cbe3; }
.lines span:last-child { font-family: var(--mono); }
.summary .btn { width: 100%; }
.summary .note { font-size: 12.5px; color: #a7b2d3; margin: 14px 0 0; text-align: center; }

/* Dienstleistung */
.sso { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sso-h { margin-top: 18px; }
.sso ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.sso li { display: flex; gap: 12px; color: var(--ink-2); }
.sso li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }
.sso li b { color: var(--ink); font-weight: 600; }
.sso-btn { margin-top: 28px; }
.idp { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.flow-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.flow li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.flow li:last-child::before { display: none; }
.flow i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cdd5e6; background: #fff; flex: none; margin-top: 2px; position: relative; z-index: 1; }
.flow li.done i { background: var(--accent); border-color: var(--accent); }
.flow li.done i::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; height: 100%; font-style: normal; }
.flow li.now i { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.flow b { display: block; font-size: 15px; }
.flow small { color: var(--ink-3); font-size: 13px; }
.flow li.now small { color: var(--brand-ink); font-weight: 500; }
.idp-meta { font-size: 12px; color: var(--ink-3); margin: 22px 0 0; font-family: var(--mono); }

/* FAQ */
.faq { max-width: 780px; margin: 48px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin: 12px 0 0; }

/* Abschluss und Fußzeile */
.cta-sec { padding-bottom: 40px; }
.cta { background: var(--ink); color: #fff; border-radius: 24px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 50% 0%, rgba(70,95,255,.5), transparent 70%); }
.cta > * { position: relative; }
.cta p { color: #b6c0dc; max-width: 520px; margin: 14px auto 28px; font-size: 17px; }
footer { padding: 56px 0 40px; color: var(--ink-3); font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { color: var(--ink); font-size: 14px; margin: 0 0 12px; }
.foot a:not(.logo) { display: block; margin-bottom: 8px; }
.foot a:hover { color: var(--ink); }
.foot .logo { color: var(--ink); }
.foot-about { margin: 14px 0 0; max-width: 300px; }
.legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Rechtstexte */
.doc { max-width: 780px; padding-top: 64px; padding-bottom: 32px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); letter-spacing: -0.03em; margin: 0 0 12px; }
.doc h2 { font-size: 20px; margin: 40px 0 10px; }
.doc p { color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.todo { background: #fffaeb; color: #b54708; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

@media (max-width: 960px) {
  .grid3, .de-grid, .steps { grid-template-columns: 1fr 1fr; }
  .calc, .sso { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .grid3, .de-grid, .steps { grid-template-columns: 1fr; }
  .calc-form, .summary, .idp { padding: 22px; }
  .nav-cta .signin { display: none; }
  .nav { gap: 10px; }
  .nav-cta { gap: 6px; }
  .mock-tabs { display: none; }
  .clocks { grid-template-columns: 1fr; }
  .app-main { padding: 14px; }
  .total { font-size: 44px; }
  .cta { padding: 48px 22px; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .logo { font-size: 18px; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-cta .btn-sm { padding: 8px 12px; white-space: nowrap; }
}
@media (max-width: 350px) {
  .nav > .logo span { display: none; }
}

/* Cookie-Zustimmung */
.consent { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); display: flex; gap: 20px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 21, 48, .16); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.consent-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; color: var(--ink); }
.consent-text p { margin: 0; }
.consent-more { color: var(--brand-ink); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; bottom: 12px; } .consent-actions .btn { flex: 1; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--ink); }
.foot .linkbtn { display: block; margin-bottom: 8px; }
.sso-self { margin: 10px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: #e9f9f3; border-radius: 0 10px 10px 0; color: var(--ink); font-size: 15px; max-width: 640px; }
