/* ==========================================================================
   BITnet Sign – Stylesheet
   Corporate Design: Karmin #9d2139 auf Anthrazit #131415, Inter + JetBrains Mono.
   Fonts lokal (DSGVO). Alles in CSS-Variablen; keine Rohfarben in Komponenten.
   ========================================================================== */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-variable-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-400-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
	--bg: #131415;
	--bg-deep: #0d0e0e;
	--bg-elevated: #1c1e1f;
	--bg-card: #222425;
	--bg-input: #0d0e0e;

	--crimson: #9d2139;
	--crimson-hover: #b8253f;
	--crimson-dark: #7a1a2d;
	--rose: #e4677f;
	--rose-hover: #ec8a9c;
	--crimson-14: rgba(157, 33, 57, .14);
	--crimson-18: rgba(157, 33, 57, .18);
	--crimson-22: rgba(157, 33, 57, .22);
	--crimson-45: rgba(157, 33, 57, .45);

	--text: #ffffff;
	--text-2: rgba(255, 255, 255, .72);
	--text-3: rgba(255, 255, 255, .58);
	--text-4: rgba(255, 255, 255, .38);

	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .14);
	--line-3: rgba(255, 255, 255, .2);
	--line-4: rgba(255, 255, 255, .4);

	--green: #22c55e;
	--amber: #ef9f27;
	--blue: #378add;

	--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--r-chip: 6px;
	--r-btn: 10px;
	--r-card: 16px;
	--r-tablet: 34px;

	--container: 1200px;
	--pad: clamp(20px, 5vw, 72px);
	--section: clamp(64px, 9vw, 120px);

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-inout: cubic-bezier(.45, 0, .55, 1);
	--t-fast: 160ms;
	--t-med: 260ms;
	--t-slow: 600ms;

	--shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 28px -20px rgba(0, 0, 0, .7);
	--shadow-tablet: 0 24px 48px -24px rgba(0, 0, 0, .8), 0 0 0 1px var(--line-2);
}

/* ─── Reset / Basis ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
p, .lead { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rose); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--rose-hover); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--crimson-45); color: #fff; }
::placeholder { color: var(--text-4); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 10px 16px; background: var(--crimson); color: #fff; border-radius: var(--r-btn); font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); position: relative; }
.section-lazy { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-top: 0; }
.section-head .lead { margin-top: 18px; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); max-width: 58ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }

/* Körnung über der ganzen Seite – Atmosphäre statt Flatfarbe. */
/* Körnung liegt statisch auf body (kein Fixed-Layer, kein Blend-Mode) */
body {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
}
.site-header, .site-main, .site-footer { position: relative; z-index: 1; }

/* ─── Eyebrow (Mono-Nummerierung) ────────────────────────────────────────── */
.eyebrow {
	display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
	font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose);
}
.eyebrow-num { color: var(--text); }
.eyebrow-sep { color: var(--text-4); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn);
	font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; cursor: pointer;
	border: 1px solid transparent; color: #fff; text-decoration: none;
	transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
	touch-action: manipulation;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--crimson); box-shadow: 0 10px 30px -12px var(--crimson-45); }
.btn-primary:hover { background: var(--crimson-hover); color: #fff; box-shadow: 0 14px 34px -12px rgba(184, 37, 63, .6); }
.btn-ghost { border-color: var(--line-4); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary .icon-arrow { transition: transform var(--t-fast); }
.btn-primary:hover .icon-arrow { transform: translateX(3px); }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: progress; pointer-events: none; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-fast); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Chips */
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-chip);
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .02em; white-space: nowrap;
	background: var(--bg-card); color: var(--text-2); border: 1px solid var(--line);
}
.chip .icon { width: 15px; height: 15px; color: var(--rose); }
.chip-accent { background: var(--crimson-18); color: var(--rose); border-color: var(--crimson-45); }
.chip-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }

/* ─── Header / Navigation ────────────────────────────────────────────────── */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(19, 20, 21, .94); /* kein backdrop-filter (Scroll-Kosten), kein contain (würde das mobile Menü abschneiden) */
	border-bottom: 1px solid var(--line);
	transition: background var(--t-med);
}
.site-header.is-scrolled { background: rgba(13, 14, 14, .97); }
.nav { display: flex; align-items: center; gap: 26px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--text); }
.brand img { height: 28px; width: auto; }
.brand-product { font-weight: 700; font-size: 18px; letter-spacing: -.01em; padding-left: 12px; border-left: 1px solid var(--line-3); line-height: 1; padding-block: 4px; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
	display: inline-block; padding: 10px 12px; border-radius: 8px;
	color: var(--text-2); font-size: 14.5px; font-weight: 500; position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
	content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--crimson);
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav-toggle-bar { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t-med) var(--ease-out), top var(--t-med); }
.nav-toggle-bar:nth-child(1) { top: 17px; }
.nav-toggle-bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.nav-menu {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 8px;
		padding: 12px var(--pad) 20px; background: rgba(13, 14, 14, .97); border-bottom: 1px solid var(--line);
		transform-origin: top; transform: scaleY(.96); opacity: 0; visibility: hidden; pointer-events: none;
		transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
	}
	.nav-menu.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
	.nav-links { flex-direction: column; gap: 0; }
	.nav-links a { display: block; padding: 14px 12px; font-size: 17px; }
	.nav-links a[aria-current="page"]::after { display: none; }
	.nav-menu .btn { margin-top: 6px; justify-content: center; }
}

/* ─── Reveal (Scroll-Animationen) ────────────────────────────────────────── */
html.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
html.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 90px); overflow: clip; }
.hero-glow {
	position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; will-change: transform; transform: translateZ(0);
}
.hero-glow-1 { right: -12vw; top: -260px; width: 680px; height: 680px; background: radial-gradient(closest-side, rgba(157, 33, 57, .42), rgba(157, 33, 57, .12) 45%, transparent 72%); }
.hero-glow-2 { left: -18vw; bottom: -300px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(157, 33, 57, .2), rgba(157, 33, 57, .06) 45%, transparent 72%); }
.hero-lines {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
	background-size: calc(100% / 12) 100%;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-grid > *, .grid-3 > *, .grid-2 > *, .security-grid > *, .faq-grid > *, .contact-grid > *, .pricing-grid > *, .calc-grid > *, .fn-block > * { min-width: 0; }
.hero-title { margin-top: 8px; max-width: 14ch; }
.hero-title .accent { color: var(--rose); position: relative; display: inline-block; }
.hero-title .accent-underline {
	position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .28em; z-index: -1; pointer-events: none;
}
.hero-title .accent-underline path { stroke: var(--crimson); stroke-width: 6; fill: none; stroke-linecap: round; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) .5s forwards; }
.hero-lead { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }
@media (max-width: 520px) { .hero-copy .chip, .hero-badges .chip, .fn-chips .chip { white-space: normal; text-align: left; } }

/* Hero: gestaffelter Einstieg */
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .36s; }
.hero-visual { animation: rise 1s var(--ease-out) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero-title { max-width: 16ch; }
	.hero-visual { max-width: 620px; }
}

/* ─── Tablet-Mockup (Signier-Ansicht) ────────────────────────────────────── */
.tablet {
	position: relative; width: 100%; aspect-ratio: 4 / 3.3;
	background: linear-gradient(160deg, #2c2d30, #1a1b1d); border-radius: var(--r-tablet); padding: clamp(10px, 1.6vw, 16px);
	box-shadow: var(--shadow-tablet);
	transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
	backface-visibility: hidden;
	transition: transform var(--t-slow) var(--ease-out);
}
@media (hover: hover) { .hero-visual:hover .tablet { transform: perspective(1600px) rotateY(-2deg) rotateX(0deg); } }
.tablet::before { content: ''; position: absolute; top: 50%; right: 5px; width: 3px; height: 34px; transform: translateY(-50%); border-radius: 3px; background: #0a0a0a; }
.tablet-label { position: absolute; top: -14px; right: 22px; z-index: 3; }
.screen {
	position: relative; height: 100%; overflow: hidden; border-radius: 14px;
	background: #f6f6f5; color: #1a1a1a; font-size: clamp(8px, .82vw, 11.5px); line-height: 1.35;
	display: flex; flex-direction: column;
}
.screen-bar { display: flex; align-items: center; gap: .8em; padding: .8em 1.4em; background: #fff; border-bottom: 1px solid #e3e2df; }
.screen-logo { width: 2.2em; height: 2.2em; border-radius: .55em; background: var(--crimson); color: #fff; display: grid; place-items: center; }
.screen-logo .icon { width: 1.3em; height: 1.3em; }
.screen-bar strong { display: block; font-size: 1.05em; }
.screen-bar small { color: #6b6b6b; font-size: .85em; }
.screen-tls { margin-left: auto; display: inline-flex; align-items: center; gap: .4em; color: #2f7d4f; font-size: .85em; }
.screen-tls .icon { width: 1.1em; height: 1.1em; }
.screen-banner { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; padding: .7em 1.4em; background: #fbe9ed; border-bottom: 1px solid #f0d3da; font-size: .95em; }
.screen-banner .pill { background: #fff; border: 1px solid #e8c3cc; color: var(--crimson); border-radius: 999px; padding: .15em .7em; font-weight: 600; font-size: .85em; }
.screen-banner .next { margin-left: auto; background: var(--crimson); color: #fff; border-radius: .5em; padding: .4em .8em; font-weight: 600; font-size: .85em; }
.paper-wrap { flex: 1; min-height: 0; padding: 1em 9% 0; display: flex; flex-direction: column; align-items: center; gap: .5em; }
.paper { background: #fff; border: 1px solid #e3e2df; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); padding: 1.3em 1.8em 1.4em; width: 100%; flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.paper-lines { flex: 1; min-height: 0; overflow: hidden; }
.paper h4 { font-size: 1.1em; font-weight: 700; margin: 0 0 .7em; letter-spacing: 0; }
.paper-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .4em 1.2em; font-size: .82em; color: #444; }
.paper-line { height: .4em; border-radius: .2em; background: #eee; margin-top: .5em; }
.paper-fields { margin-top: .9em; display: grid; grid-template-columns: 1fr 1fr; gap: .9em; flex: none; }
.pfield { border: 1.5px solid #2f7d4f; border-radius: .35em; padding: .5em .7em; background: #f2faf4; min-height: 4.4em; }
.pfield-label { font-size: .7em; color: #2f7d4f; font-weight: 600; }
.pfield-value { margin-top: .6em; font-size: .95em; }
.pfield-sign { border: 1.5px dashed var(--crimson); background: #fff7f8; color: var(--crimson); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15em; position: relative; }
.pfield-sign .pfield-hint { font-size: .8em; font-weight: 600; transition: opacity var(--t-med); }
.pfield-sign .pfield-hint .icon { width: 1.2em; height: 1.2em; display: inline-block; vertical-align: -.2em; margin-right: .3em; }
.sig { position: absolute; inset: .3em .6em; width: calc(100% - 1.2em); height: calc(100% - .6em); overflow: visible; }
.sig path { fill: none; stroke: #1a1a2e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tablet.is-signing .sig path { animation: draw 1.8s cubic-bezier(.4, 0, .3, 1) forwards; }
.tablet.is-signing .pfield-hint { opacity: 0; }
.tablet.is-signing .pfield-sign { border-style: solid; border-color: #2f7d4f; background: #f2faf4; }
.paper-page { font-size: .82em; color: #6b6b6b; }
.screen-foot { display: flex; align-items: center; gap: 1em; padding: .8em 1.4em; background: #fff; border-top: 1px solid #e3e2df; }
.screen-foot label { display: flex; gap: .6em; align-items: flex-start; flex: 1; font-size: .8em; color: #555; line-height: 1.4; }
.screen-check { width: 1.3em; height: 1.3em; border: 1.5px solid var(--crimson); border-radius: .3em; flex: none; margin-top: .1em; display: grid; place-items: center; color: #fff; transition: background var(--t-med); }
.screen-check .icon { width: 1em; height: 1em; opacity: 0; transition: opacity var(--t-med); }
.tablet.is-signing .screen-check { background: var(--crimson); }
.tablet.is-signing .screen-check .icon { opacity: 1; transition-delay: 1.4s; }
.screen-submit { background: var(--crimson); color: #fff; border-radius: .6em; padding: .7em 1.1em; font-weight: 600; font-size: .9em; white-space: nowrap; opacity: .45; transition: opacity var(--t-med) 1.6s; }
.tablet.is-signing .screen-submit { opacity: 1; }

/* ─── Dashboard-Mockup ───────────────────────────────────────────────────── */
.product-shot { position: relative; }
.product-shot .shot-label { position: absolute; top: -14px; left: 24px; z-index: 3; }
.dash {
	position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-2);
	background: var(--bg-deep); box-shadow: var(--shadow-tablet);
	display: grid; grid-template-columns: 220px 1fr; font-size: clamp(10px, 1vw, 13px); line-height: 1.4;
	aspect-ratio: 16 / 9.4;
}
.dash-side { background: #101112; border-right: 1px solid var(--line); padding: 1.4em 1.2em; display: flex; flex-direction: column; gap: .3em; }
.dash-side .dash-brand { display: flex; align-items: center; gap: .7em; margin-bottom: 1.4em; }
.dash-brand .screen-logo { width: 2.4em; height: 2.4em; }
.dash-brand strong { display: block; font-size: 1.05em; }
.dash-brand small { color: var(--text-3); font-size: .85em; }
.dash-group { font-family: var(--font-mono); font-size: .72em; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); margin: 1em 0 .4em .6em; }
.dash-nav-item { display: flex; align-items: center; gap: .7em; padding: .55em .6em; border-radius: .5em; color: var(--text-2); }
.dash-nav-item .icon { width: 1.25em; height: 1.25em; }
.dash-nav-item.is-active { background: var(--crimson-18); color: #fff; }
.dash-user { margin-top: auto; display: flex; align-items: center; gap: .7em; padding-top: 1em; border-top: 1px solid var(--line); }
.avatar { width: 2.2em; height: 2.2em; border-radius: 50%; background: linear-gradient(135deg, var(--crimson), var(--crimson-dark)); display: grid; place-items: center; font-weight: 700; font-size: .85em; }
.dash-user small { display: block; color: var(--text-3); font-size: .85em; }
.dash-main { padding: 1.4em 1.8em; display: flex; flex-direction: column; gap: 1.2em; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 1em; }
.dash-search { flex: 1; display: flex; align-items: center; gap: .7em; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: .6em; padding: .55em .9em; color: var(--text-4); }
.dash-search kbd { margin-left: auto; font-family: var(--font-mono); font-size: .8em; padding: .1em .5em; border: 1px solid var(--line-2); border-radius: .3em; color: var(--text-3); }
.dash-greet h4 { font-size: 1.5em; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.dash-greet p { color: var(--text-3); font-size: .95em; margin-top: .2em; }
.dash-alert { display: flex; align-items: center; gap: .9em; padding: .9em 1.1em; border-radius: .8em; background: var(--crimson-14); border: 1px solid var(--crimson-45); }
.dash-alert .screen-logo { width: 2em; height: 2em; flex: none; }
.dash-alert strong { display: block; font-size: .98em; }
.dash-alert small { color: var(--text-3); font-size: .85em; }
.dash-alert .btn-mini { margin-left: auto; white-space: nowrap; background: #fff; color: #111; border-radius: .5em; padding: .45em .8em; font-weight: 600; font-size: .85em; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; }
.stat { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: .8em; padding: .9em 1em; }
.stat small { display: block; color: var(--text-3); font-size: .82em; }
.stat strong { display: block; font-size: 1.7em; font-weight: 700; letter-spacing: -.02em; margin: .15em 0; font-variant-numeric: tabular-nums; }
.stat .delta { font-size: .8em; color: var(--green); }
.stat .delta.warn { color: var(--amber); }
.dash-table { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: .8em; overflow: hidden; flex: 1; }
.dash-table-head, .dash-row { display: grid; grid-template-columns: 2.2fr 1.4fr 1fr .9fr; gap: 1em; padding: .7em 1.1em; align-items: center; }
.dash-table-head { font-family: var(--font-mono); font-size: .72em; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); border-bottom: 1px solid var(--line); }
.dash-row { border-bottom: 1px solid var(--line); font-size: .95em; }
.dash-row:last-child { border-bottom: 0; }
.dash-row strong { display: block; font-weight: 600; }
.dash-row small { color: var(--text-3); font-size: .85em; }
.status { display: inline-flex; align-items: center; gap: .45em; font-size: .85em; font-weight: 600; }
.status::before { content: ''; width: .6em; height: .6em; border-radius: 50%; background: currentColor; }
.status-wait { color: var(--amber); }
.status-ok { color: var(--green); }
.status-review { color: var(--blue); }
.dash-row .time { color: var(--text-3); font-size: .85em; text-align: right; }
@media (max-width: 700px) {
	.dash { grid-template-columns: 1fr; aspect-ratio: auto; }
	.dash-side { display: none; }
	.dash-stats { grid-template-columns: repeat(2, 1fr); }
	.dash-table-head, .dash-row { grid-template-columns: 2fr 1fr; }
	.dash-table-head span:nth-child(n+3), .dash-row > *:nth-child(n+3) { display: none; }
}

/* ─── Cards / Grids ──────────────────────────────────────────────────────── */
.card {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	padding: clamp(22px, 2.2vw, 30px); border-radius: var(--r-card);
	background: var(--bg-elevated); border: 1px solid var(--line); box-shadow: var(--shadow-card);
	transition: border-color var(--t-med), transform var(--t-med) var(--ease-out), background var(--t-med);
}
.card:hover { border-color: var(--line-3); transform: translateY(-3px); }
.card, .dash { contain: layout paint; } /* .tablet nicht: Label ragt über den Rand */
.card-icon {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	background: var(--crimson-14); color: var(--rose); border: 1px solid var(--crimson-45); margin-bottom: 8px;
}
.card-icon .icon { width: 22px; height: 22px; }
.card h3 { margin-top: 2px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }

/* Cursor-Glow: --mx/--my via JS */
.glow { overflow: hidden; }
.glow::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-med);
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(157, 33, 57, .18), transparent 60%);
}
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ─── Drei Wege ──────────────────────────────────────────────────────────── */
.ways { counter-reset: way; }
.way { min-height: 260px; }
.way-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-mono); font-size: 12px; color: var(--text-4); }
.way h3 { font-size: clamp(20px, 1.7vw, 24px); }
.way .way-visual { margin-top: auto; padding-top: 18px; height: 72px; display: flex; align-items: flex-end; }
.way-visual .icon { width: 56px; height: 56px; color: var(--rose); stroke-width: 1.25; opacity: .9; }

/* ─── Schritte ───────────────────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps::before {
	content: ''; position: absolute; left: 12%; right: 12%; top: 30px; height: 1px;
	background: linear-gradient(90deg, transparent, var(--line-3) 15%, var(--line-3) 85%, transparent);
}
.step { position: relative; padding-top: 0; }
.step-num {
	position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
	background: var(--bg); border: 1px solid var(--line-3); font-family: var(--font-mono); font-size: 18px; color: var(--rose);
	box-shadow: 0 0 0 8px var(--bg);
}
.step h3 { margin-top: 22px; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 820px) {
	.steps { grid-template-columns: 1fr; gap: 32px; padding-left: 0; }
	.steps::before { left: 30px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-3) 10%, var(--line-3) 90%, transparent); }
	.step { display: grid; grid-template-columns: 60px 1fr; gap: 18px 22px; }
	.step-num { grid-row: 1 / span 2; }
	.step h3 { margin-top: 14px; }
	.step p { grid-column: 2; }
}

/* ─── Branchen ───────────────────────────────────────────────────────────── */
.industry { padding: 24px; }
.industry .card-icon { width: 42px; height: 42px; }
.industry h3 { font-size: 17px; }
.industry .industry-use { font-weight: 600; color: var(--text); font-size: 15.5px; }
.industry p { font-size: 14.5px; }

/* ─── Feature-Grid ───────────────────────────────────────────────────────── */
.feature { padding: 22px; gap: 8px; }
.feature .card-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 4px; }
.feature .card-icon .icon { width: 20px; height: 20px; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 14.5px; }

/* ─── Sicherheit ─────────────────────────────────────────────────────────── */
.security-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; color: var(--text-2); font-size: 16px; }
.check-list .icon { width: 26px; height: 26px; color: var(--green); border: 1px solid rgba(34, 197, 94, .35); border-radius: 50%; padding: 5px; background: rgba(34, 197, 94, .1); }
.check-list strong { color: var(--text); }
.seal-visual {
	position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; border-radius: var(--r-card);
	background: radial-gradient(circle at 50% 40%, rgba(157, 33, 57, .25), transparent 60%), var(--bg-elevated);
	border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.seal-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); will-change: transform, opacity; }
.seal-ring:nth-child(1) { inset: 12%; animation: pulse 6s var(--ease-inout) infinite; }
.seal-ring:nth-child(2) { inset: 24%; border-color: var(--crimson-45); animation: pulse 6s var(--ease-inout) 1s infinite; }
.seal-ring:nth-child(3) { inset: 36%; }
@keyframes pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
.seal-core { position: relative; text-align: center; padding: 20px; }
.seal-core .icon { width: 64px; height: 64px; color: var(--rose); margin: 0 auto 14px; stroke-width: 1.25; }
.seal-core .seal-hash { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: .04em; word-break: break-all; max-width: 220px; margin: 0 auto; }
.seal-core .chip { margin-top: 14px; }
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr; } .seal-visual { max-width: 360px; } }

/* ─── Preis-Band (Start) ─────────────────────────────────────────────────── */
.price-band {
	position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 4.5vw, 64px);
	background: linear-gradient(135deg, var(--bg-elevated), var(--bg-deep)); border: 1px solid var(--line-2);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center;
}
.price-band::after {
	content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(157, 33, 57, .4), rgba(157, 33, 57, .1) 45%, transparent 72%); pointer-events: none;
}
.price-band > * { position: relative; z-index: 1; }
.price-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-big .amount { font-size: clamp(64px, 8vw, 104px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-big .unit { font-size: 17px; color: var(--text-2); }
.price-band p { color: var(--text-2); margin-top: 16px; }
.price-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 900px) { .price-band { grid-template-columns: 1fr; } }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg-elevated); transition: border-color var(--t-med); }
.faq-item[open] { border-color: var(--crimson-45); }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17.5px; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--rose-hover); }
.faq-q { flex: 1; }
.faq-plus { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-3); transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--rose); border-radius: 2px; translate: -50% -50%; }
.faq-plus::before { width: 12px; height: 2px; }
.faq-plus::after { width: 2px; height: 12px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); border-color: var(--crimson); }
.faq-a { padding: 0 22px 20px; color: var(--text-2); font-size: 15.5px; }
.faq-a p { max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ─── Kontakt ────────────────────────────────────────────────────────────── */
.contact { }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--line); color: var(--text); }
.contact-card:hover { border-color: var(--line-3); color: var(--text); }
.contact-card .card-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-card strong { display: block; font-size: 17px; }
.contact-card small { color: var(--text-3); font-size: 14px; }
.contact-panel { padding: clamp(22px, 3vw, 40px); border-radius: 24px; background: var(--bg-elevated); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ─── Formular ───────────────────────────────────────────────────────────── */
.bs-form { display: grid; gap: 18px; }
.bs-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bs-form legend, .field > label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.req { color: var(--rose); }
.opt { color: var(--text-4); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
	background: var(--bg-input); border: 1px solid var(--line-4); border-radius: var(--r-btn);
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .6); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--crimson-22); }
.field.has-error input, .field.has-error textarea, .form-intent.has-error .seg, .bs-form [aria-invalid="true"] { border-color: var(--rose); }
.field-error { display: none; margin-top: 6px; font-size: 13.5px; color: var(--rose); }
.field-error:not(:empty) { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--r-btn);
	border: 1px solid var(--line-4); color: var(--text-2); font-size: 14.5px; font-weight: 500; cursor: pointer;
	transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.seg-opt span:hover { border-color: rgba(255, 255, 255, .6); color: var(--text); }
.seg-opt input:checked + span { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box { width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-4); background: var(--bg-input); position: relative; transition: background var(--t-fast), border-color var(--t-fast); }
.check-box::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity var(--t-fast); }
.check input:checked + .check-box { background: var(--crimson); border-color: var(--crimson); }
.check input:checked + .check-box::after { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--rose); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-hint { font-size: 13.5px; color: var(--text-3); }
.form-status { display: none; padding: 14px 16px; border-radius: var(--r-btn); font-size: 15px; }
.form-status.is-success { display: block; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .4); color: #b7f0c7; }
.form-status.is-error { display: block; background: var(--crimson-14); border: 1px solid var(--crimson-45); color: var(--rose-hover); }
.bs-form.is-sent .form-grid, .bs-form.is-sent .form-intent, .bs-form.is-sent .field, .bs-form.is-sent .form-actions { display: none; }

/* ─── CTA-Band ───────────────────────────────────────────────────────────── */
.cta-band { border-radius: 24px; padding: clamp(28px, 4vw, 56px); background: var(--bg-elevated); border: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); max-width: 22ch; }
.cta-band p { color: var(--text-2); margin-top: 8px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Unterseiten-Hero ───────────────────────────────────────────────────── */
.page-hero { position: relative; padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 40px); overflow: clip; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fn-chips .chip { min-height: 36px; }
.fn-chips .chip:hover { border-color: var(--line-3); color: var(--text); }

/* ─── Funktionen: alternierende Detailblöcke ─────────────────────────────── */
.fn-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 72px); scroll-margin-top: 90px; }
.fn-block:nth-child(even) .fn-visual { order: -1; }
.fn-block h2 { font-size: clamp(28px, 3vw, 40px); }
.fn-block .lead { margin-top: 16px; font-size: 16.5px; }
.fn-list { margin-top: 18px; display: grid; gap: 8px; }
.fn-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.fn-list .icon { width: 20px; height: 20px; color: var(--rose); margin-top: 2px; }
.fn-visual { position: relative; }
.shot {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
	background: linear-gradient(160deg, var(--bg-card), var(--bg-deep)); border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
	display: grid; place-items: center;
}
.shot-placeholder { text-align: center; padding: 20px 24px; color: var(--text-2); font-size: 14px; background: rgba(13, 14, 14, .9); border: 1px solid var(--line-2); border-radius: 12px; max-width: 280px; }
.shot-placeholder .icon { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--rose); stroke-width: 1.25; }
.shot-placeholder .chip { margin-top: 12px; }
.shot-ui { position: absolute; inset: 0; padding: 8%; display: grid; gap: 4%; grid-template-rows: auto 1fr; pointer-events: none; opacity: .9; }
.ui-bar { height: 8%; border-radius: 6px; background: var(--bg-elevated); border: 1px solid var(--line); }
.ui-body { display: grid; grid-template-columns: 1fr 2fr; gap: 4%; }
.ui-panel { border-radius: 8px; background: var(--bg-elevated); border: 1px solid var(--line); }
.ui-panel.is-doc { background: #f6f6f5; border-color: transparent; position: relative; }
.ui-panel.is-doc::before, .ui-panel.is-doc::after { content: ''; position: absolute; left: 10%; right: 10%; height: 3%; border-radius: 2px; background: #e6e6e3; }
.ui-panel.is-doc::before { top: 16%; box-shadow: 0 14% 0 #e6e6e3, 0 28% 0 #e6e6e3; }
.ui-panel.is-doc::after { top: 65%; width: 40%; left: 50%; right: auto; height: 14%; background: rgba(157, 33, 57, .12); border: 1.5px dashed var(--crimson); }
@media (max-width: 900px) {
	.fn-block { grid-template-columns: 1fr; }
	.fn-block:nth-child(even) .fn-visual { order: 0; }
}

.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .system-grid { grid-template-columns: 1fr; } }

/* ─── Preise ─────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: stretch; }
.price-card { padding: clamp(28px, 3vw, 44px); gap: 0; }
.price-card:hover { transform: none; }
.price-card-featured { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson), 0 30px 80px -40px var(--crimson-45); }
.price-card .chip { align-self: flex-start; }
.price-card .price-big { margin-top: 20px; }
.price-card .price-big .amount { font-size: clamp(56px, 6.5vw, 88px); }
.price-card .desc { margin: 16px 0 24px; color: var(--text-2); font-size: 16px; }
.price-card .cloud-title { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; margin-top: 20px; }
.price-card .cloud-sub { color: var(--text-2); margin-top: 8px; }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 15.5px; margin-bottom: 28px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.incl .icon { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.incl-single { grid-template-columns: 1fr; }
.incl-single .icon { color: var(--rose); }
.price-card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .incl { grid-template-columns: 1fr; } }

.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.calc { padding: 28px; gap: 18px; }
.calc:hover { transform: none; }
.calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-head output { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-head output small { font-size: 15px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-left: 6px; }
input[type="range"].range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--crimson) var(--pct, 8%), var(--line-2) var(--pct, 8%)); outline: none; }
input[type="range"].range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--crimson); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); cursor: grab; transition: transform var(--t-fast); }
input[type="range"].range::-webkit-slider-thumb:hover { transform: scale(1.08); }
input[type="range"].range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--crimson); cursor: grab; }
input[type="range"].range:focus-visible { outline: 2px solid var(--rose); outline-offset: 6px; }
.range-marks { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-tile { border-radius: 12px; padding: 16px; background: var(--bg-card); }
.calc-tile.is-year { background: var(--crimson-14); }
.calc-tile small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.calc-tile.is-year small { color: var(--rose); }
.calc-tile strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.calc-tile span { font-size: 13px; color: var(--text-3); }
.calc-note { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

.compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.compare { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.compare .x { width: 40px; height: 40px; border-radius: 50%; background: var(--crimson-22); color: var(--rose); display: grid; place-items: center; }
.compare .x .icon { width: 18px; height: 18px; }
.compare h3 { font-size: 18px; }
.compare p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
@media (max-width: 960px) { .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .compare-grid { grid-template-columns: 1fr; } }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding-top: clamp(40px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-brand img { height: 24px; width: auto; }
.footer-claim { margin-top: 18px; color: var(--text-3); font-size: 15px; max-width: 32ch; }
.footer-heading { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.site-footer ul a { color: var(--text-2); }
.site-footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 28px 36px; margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── 404 / Standardseite ────────────────────────────────────────────────── */
.plain { padding-block: var(--section); max-width: 72ch; }
.plain h1 { font-size: clamp(32px, 4vw, 52px); }
.plain p { margin-top: 18px; color: var(--text-2); }
.plain .actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.entry-content { color: var(--text-2); }
.entry-content h2, .entry-content h3 { color: var(--text); margin-top: 1.6em; margin-bottom: .5em; }
.entry-content p { margin-top: 1em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; margin-top: 1em; }

/* ─── Echte Screenshots: Vollbreiten-Blöcke, Fensterrahmen, Ablauf-Stepper, Umschalter, Lightbox ── */
.fn-block-full { display: block; }
.fn-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(28px, 3.5vw, 44px); }
.fn-head h2 { max-width: 16ch; }
.fn-head .lead { margin-top: 0; }
.fn-head .fn-list { margin-top: 14px; }

.sc { margin: 0; min-width: 0; }
.sc-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.sc-btn {
	position: relative; display: block; width: 100%; padding: 0; text-align: left; color: inherit; font: inherit; cursor: zoom-in; text-decoration: none;
	border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-deep); box-shadow: var(--shadow-tablet);
	transition: border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.sc-btn:hover { border-color: var(--line-3); transform: translateY(-2px); }
.sc-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.sc-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--bg-elevated); border-bottom: 1px solid var(--line); }
.sc-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.sc-bar .icon { width: 14px; height: 14px; color: var(--rose); }
.sc-url { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .01em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-btn img { display: block; width: 100%; height: auto; }
.sc-zoom {
	position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
	border-radius: 8px; background: rgba(13, 14, 14, .88); color: #fff; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line-3);
	opacity: 0; transform: translateY(4px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out);
}
.sc-zoom .icon { width: 14px; height: 14px; }
.sc-btn:hover .sc-zoom, .sc-btn:focus-visible .sc-zoom { opacity: 1; transform: none; }
@media (hover: none) { .sc-zoom { opacity: 1; transform: none; } }
.sc figcaption { margin-top: 14px; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 72ch; }

/* Ablauf aus Kundensicht: Schritte links, Screenshot rechts */
.journey { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.journey-steps { display: grid; gap: 6px; position: sticky; top: 92px; }
.jstep {
	position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; width: 100%; padding: 14px 16px 14px 18px;
	text-align: left; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--text-3); font: inherit; cursor: pointer;
	transition: background var(--t-med), border-color var(--t-med), color var(--t-med);
}
.jstep::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--crimson); opacity: 0; transition: opacity var(--t-med); }
.jstep:hover { background: rgba(255, 255, 255, .03); color: var(--text-2); }
.jstep.is-active { background: var(--bg-elevated); border-color: var(--line); color: var(--text); }
.jstep.is-active::before { opacity: 1; }
.jstep:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.jstep-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--rose); padding-top: 4px; }
.jstep-title { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.jstep-text { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.journey-stage { min-width: 0; }
.journey-stage .sc { max-width: 760px; }
.journey-stage .sc-mail { max-width: 620px; }
.tab-panel.is-active { animation: panelIn .45s var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab-panel.is-active { animation: none; } }

/* Zwei Screenshots nebeneinander (Ihre Ansicht / Sicht des Kunden) */
.sc-pair { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: start; }

/* Segment-Umschalter (Aufbau / Vorschau) */
.sw-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sw-hint { margin: 0; color: var(--text-3); font-size: 14.5px; }
.sw { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg-elevated); border: 1px solid var(--line); }
.sw-btn { min-height: 38px; padding: 6px 18px; border: 0; border-radius: 7px; background: transparent; color: var(--text-3); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background var(--t-med), color var(--t-med); }
.sw-btn:hover { color: var(--text); }
.sw-btn.is-active { background: var(--bg-card); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; }
.sw-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

@media (max-width: 900px) {
	.fn-head { grid-template-columns: 1fr; gap: 12px; }
	.fn-head h2 { max-width: none; }
	.journey { grid-template-columns: 1fr; }
	.journey-steps { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.jstep { grid-template-columns: 1fr; gap: 4px; padding: 10px 10px 14px; }
	.jstep-text { display: none; }
	.jstep-title { font-size: 14.5px; }
	.jstep::before { left: 10px; right: 10px; top: auto; bottom: -1px; width: auto; height: 3px; }
	.journey-stage .sc { max-width: none; }
}
@media (max-width: 820px) { .sc-pair { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lightbox (<dialog>, ohne backdrop-filter) */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.lightbox::backdrop { background: rgba(13, 14, 14, .95); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-inner { display: grid; gap: 14px; width: min(96vw, 1600px); max-height: 100dvh; padding: 18px 20px 22px; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lightbox-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-3); }
.lightbox-nav { display: flex; gap: 8px; margin-left: auto; }
.lightbox-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; min-width: 40px; padding: 0 14px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid var(--line-2); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; transition: background var(--t-fast); }
.lightbox-btn:hover { background: rgba(255, 255, 255, .12); }
.lightbox-btn:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.lightbox-btn .icon { width: 16px; height: 16px; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-figure { margin: 0; display: grid; justify-items: center; }
.lightbox-img { display: block; max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-deep); }
.lightbox-caption { margin-top: 12px; text-align: center; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 84ch; }
html.lb-open { overflow: hidden; }
