/* Datenschutzakte – Landingpage. Keine externen Ressourcen. */
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--ink: #14233a;          /* Text */
	--ink-2: #4a5a70;        /* Nebentext */
	--blue: #1f4e79;         /* Aktenblau – Marke, Schaltflächen */
	--blue-d: #163a5b;
	--paper: #f4f6f9;        /* Hintergrund */
	--sheet: #ffffff;        /* Aktenblatt */
	--line: #d6dde6;
	--manila: #e3c77d;       /* Aktendeckel */
	--manila-d: #c9a95a;
	--ok: #2e7d5b;           /* Stempel „freigegeben“ */
	--tab-1: #e3c77d; --tab-2: #9fc1e0; --tab-3: #b9d7c4; --tab-4: #e8b9a8; --tab-5: #cbbfe3; --tab-6: #d9d4c4;
	--radius: 6px;
	--wrap: 1120px;
	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.005em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(42px, 5.4vw, 68px); }
h2 { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 16px; }
h3 { font-size: 26px; line-height: 1.15; margin-bottom: 6px; font-weight: 600; }
p { margin: 0 0 14px; }
.lead { font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; }

/* Schaltflächen */
.btn { display: inline-block; font: 600 18px/1 var(--text); padding: 16px 24px; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: #fff; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: #e6edf5; color: var(--blue-d); }
.btn--small { padding: 10px 16px; font-size: 16px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: rgba(244, 246, 249, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 25px/1 var(--display); }
.mark svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav + .top__actions { margin-left: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--blue); text-decoration: underline; }
.top__actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.top__login { color: var(--ink); font-weight: 500; text-decoration: none; padding: 8px 6px; }
@media (max-width: 920px) { .nav { display: none; } .top__actions { margin-left: auto; } }
@media (max-width: 420px) { .top__login { display: none; } }

/* Einstieg */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 16px; color: var(--ink-2); }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 920px) { .hero { padding-top: 36px; } .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* Die Akte (Register zum Anklicken) */
.akte { position: relative; padding: 0 0 0 0; }
.akte__cover { position: relative; background: var(--manila); border-radius: 4px 10px 10px 4px; padding: 18px 58px 18px 18px; box-shadow: 0 1px 0 var(--manila-d), 0 18px 40px -22px rgba(20, 35, 58, .55); }
.akte__cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--manila-d); border-radius: 4px 0 0 4px; }
.akte__label { position: absolute; left: 26px; top: -15px; background: #fff; border: 1px solid var(--manila-d); padding: 3px 12px; font: 600 15px/1.4 var(--text); color: var(--ink); border-radius: 3px; }
.akte__sheet { background: var(--sheet); border-radius: 3px; min-height: 560px; padding: 28px 30px 30px 34px; position: relative; box-shadow: 2px 2px 0 #eef1f5, 4px 4px 0 #e3e8ef; }
.akte__sheet::before { content: ""; position: absolute; left: 14px; top: 40px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); box-shadow: 0 200px 0 var(--paper); }
.reg { position: absolute; right: -40px; top: 10px; display: flex; flex-direction: column; gap: 5px; }
.reg button { all: unset; cursor: pointer; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 14px/1 var(--text); color: var(--ink); padding: 10px 8px; border-radius: 6px 0 0 6px; background: var(--c, #ddd); min-height: 44px; text-align: center; box-shadow: inset -3px 0 0 rgba(0,0,0,.08); transition: transform .15s; }
.reg button[aria-selected="true"] { transform: rotate(180deg) translateX(-5px); box-shadow: none; font-weight: 700; }
.reg button:focus-visible { outline: 3px solid #f0b429; }
.page { display: none; }
.page.is-on { display: block; animation: blatt .22s ease-out; }
@keyframes blatt { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.page__title { font: 700 28px/1.1 var(--display); }
.page__sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.stamp { flex: none; font: 700 14px/1 var(--text); color: var(--ok); border: 2px solid var(--ok); border-radius: 4px; padding: 6px 8px; transform: rotate(-6deg); margin-top: 4px; }
.stamp--draft { color: #a5650b; border-color: #a5650b; }
.rows { margin: 0; display: grid; grid-template-columns: 9.5em 1fr; font-size: 15.5px; line-height: 1.45; }
.rows dt { color: var(--ink-2); padding: 7px 10px 7px 0; border-top: 1px solid #edf0f4; }
.rows dd { margin: 0; padding: 7px 0; border-top: 1px solid #edf0f4; }
.rows dt:first-of-type, .rows dd:first-of-type { border-top: 0; }
.checks { list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.checks li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid #edf0f4; }
.checks li:first-child { border-top: 0; }
.box { flex: none; width: 18px; height: 18px; border: 2px solid var(--ink-2); border-radius: 3px; margin-top: 2px; position: relative; }
.box.on { border-color: var(--ok); background: var(--ok); }
.box.on::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.box.part { border-color: #a5650b; }
.box.part::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2.5px; background: #a5650b; }
.page__foot { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.akte__hint { font-size: 14px; color: var(--ink-2); margin: 12px 0 0 4px; }
@media (max-width: 560px) {
	.akte__cover { padding: 14px 46px 14px 12px; }
	.akte__sheet { padding: 20px 16px 20px 22px; min-height: 520px; }
	.reg { right: -36px; }
	.rows { grid-template-columns: 1fr; }
	.rows dt { border-top: 1px solid #edf0f4; padding-bottom: 0; }
	.rows dd { border-top: 0; padding-top: 2px; }
	.reg button { font-size: 13px; padding: 9px 7px; }
	.page__title { font-size: 24px; }
}

/* Abschnitte */
.section { padding: 80px 0; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__intro { max-width: 40em; margin-bottom: 40px; }

/* Ablauf (echte Reihenfolge) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 22px 28px 6px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font: 700 64px/1 var(--display); color: var(--blue); margin-bottom: 10px; }
.steps p { color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding: 20px 0 8px; border-left: 0; border-top: 1px solid var(--line); } .steps li:first-child { border-top: 0; } }

/* Branchen */
.branchen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.branche { padding: 22px 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.branche h3 { font-size: 23px; }
.branche p { font-size: 16px; color: var(--ink-2); margin: 0; }
.branche--alle { background: var(--paper); }

/* Sicherheit */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.trust dl { margin: 0; }
.trust dt { font: 600 24px/1.2 var(--display); margin-top: 22px; }
.trust dt:first-child { margin-top: 0; }
.trust dd { margin: 4px 0 0; color: var(--ink-2); }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; gap: 24px; } }

/* Preise */
.toggle { display: inline-flex; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.toggle button { all: unset; cursor: pointer; padding: 10px 18px; font-weight: 600; color: var(--blue); }
.toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.toggle button:focus-visible { outline: 3px solid #f0b429; outline-offset: -3px; }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price { padding: 26px 24px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.price:first-child { border-left: 0; }
.price--start { box-shadow: inset 0 4px 0 var(--blue); }
.price h3 { font-size: 30px; }
.price__for { font-size: 16px; color: var(--ink-2); min-height: 3.2em; }
.price__amount { font: 700 46px/1 var(--display); margin: 14px 0 2px; }
.price__amount small { font: 500 16px/1 var(--text); color: var(--ink-2); }
.price__note { font-size: 14px; color: var(--ink-2); min-height: 1.6em; }
.price ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 16px; }
.price li { padding: 4px 0; }
.prices__more { margin-top: 18px; font-size: 16px; color: var(--ink-2); max-width: 46em; }
@media (max-width: 980px) { .prices { grid-template-columns: repeat(2, 1fr); } .price:nth-child(3) { border-left: 0; } .price:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } .price { border-left: 0; } .price + .price { border-top: 1px solid var(--line); } .price__for { min-height: 0; } }

/* Fragen */
.faq { max-width: 50em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 24px/1.25 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 500 30px/1 var(--text); color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); max-width: 42em; }

/* Abschluss */
.close { background: var(--blue); color: #fff; padding: 72px 0; }
.close h2 { color: #fff; }
.close p { color: #d9e5f1; max-width: 36em; }
.close .btn { background: #fff; color: var(--blue); border-color: #fff; margin-top: 10px; }
.close .btn:hover { background: #e6edf5; }

/* Fuß */
.foot { padding: 36px 0 44px; font-size: 15px; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot a { color: var(--ink-2); }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 26px; }
.legal h2 { font-size: 30px; margin: 36px 0 10px; }
.legal h3 { font-size: 22px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 17px; }
.legal address { font-style: normal; margin-bottom: 14px; }
.todo { background: #fff3cd; border: 1px dashed #c9a227; padding: 1px 6px; border-radius: 3px; }
.draft-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid #c9a227; padding: 14px 16px; margin-bottom: 28px; font-size: 16px; }
.reg button[aria-selected="true"] { background: var(--sheet); }
.mark svg { flex: none; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .top .wrap { gap: 12px; } .mark { font-size: 22px; } .top .btn--small { padding: 9px 12px; font-size: 15px; } }
@media (max-width: 860px) { .branchen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .branchen { grid-template-columns: 1fr; } }

/* Bilder in den Abschnitten */
.shot { margin: 28px 0 0; }
.shot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 14px 30px -22px rgba(20, 35, 58, .5); background: #fff; }
.shot--plain img { border: 0; box-shadow: none; background: transparent; }
.shot figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
