/* KAEMI Mikrosegmentierung Landingpage — Dark Edition
   Eigenständiger Look (bewusst nicht der Hauptseiten-Stil): warmes Near-Black,
   KAEMI-Orange als Glow-Akzent, Lato + System-Mono, geometrisch/rechteckig.
   Kontraste auf Dunkel geprüft: Body ≥10:1, Muted ≥6:1, Orange ≥6:1. */

@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/assets/fonts/lato-400.woff2) format("woff2");
}
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/assets/fonts/lato-700.woff2) format("woff2");
}
@font-face {
	font-family: "Lato";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url(/assets/fonts/lato-900.woff2) format("woff2");
}

:root {
	color-scheme: dark;
	--bg: #0c0b09;
	--bg-elev: #14120f;
	--bg-elev2: #1a1713;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.17);
	--ink: #f4f1ec;
	--body: #c9c4bc;
	--muted: #969087;
	--orange: #ea6c12;
	--orange-bright: #ff8a3d;
	--orange-ink: #17100a; /* Text auf Orange (≥6:1) */
	--glow: rgba(234, 108, 18, 0.32);
	--red: #ff5544;
	--amber: #ffb340;
	--font: "Lato", Calibri, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--body);
	background: var(--bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
::selection { background: var(--orange); color: var(--orange-ink); }

a { color: var(--orange-bright); }
:focus-visible { outline: 2px solid var(--orange-bright); outline-offset: 3px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--orange); color: var(--orange-ink); padding: 12px 18px; font-weight: 700;
	text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Mono-Auszeichnungen */
.eyebrow {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--orange-bright); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; }

/* ------------------------------ Header ------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(12, 11, 9, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { background: rgba(12, 11, 9, 0.96); box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 140px; height: 34px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
	font-family: var(--mono); font-weight: 500; font-size: 0.86rem;
	letter-spacing: 0.04em; color: var(--body);
	text-decoration: none; padding: 12px 12px;
	transition: color 0.2s;
}
.main-nav a:hover { color: var(--orange-bright); }

/* ------------------------------ Buttons ----------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font); text-decoration: none; cursor: pointer;
	border-radius: 0;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary {
	background: var(--orange); color: var(--orange-ink);
	font-size: 1.15rem; font-weight: 900; letter-spacing: 0.01em;
	padding: 17px 30px;
	box-shadow: 0 0 0 0 transparent;
}
.btn--primary:hover {
	background: var(--orange-bright);
	box-shadow: 0 8px 40px -8px var(--glow);
}
.btn--ghost {
	background: transparent; color: var(--ink);
	border: 1px solid var(--line-strong); font-size: 1.05rem; font-weight: 700;
	padding: 16px 27px;
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-bright); }
.btn--small {
	background: var(--orange); color: var(--orange-ink);
	font-size: 0.93rem; font-weight: 900; padding: 11px 18px;
}
.btn--small:hover { background: var(--orange-bright); box-shadow: 0 4px 24px -6px var(--glow); }
.cta-short { display: none; }
@media (max-width: 480px) {
	.cta-long { display: none; }
	.cta-short { display: inline; }
	.btn--small { padding: 11px 14px; }
}

/* ------------------------------- Hero ------------------------------- */
.hero { position: relative; padding: 104px 0 84px; }
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(720px 420px at 78% -10%, rgba(234, 108, 18, 0.16), transparent 70%),
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: auto, 72px 72px, 72px 72px;
	opacity: 0.55;
	-webkit-mask-image: linear-gradient(#000 55%, transparent);
	mask-image: linear-gradient(#000 55%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
h1 {
	font-size: clamp(2.35rem, 4.9vw, 3.7rem); font-weight: 900;
	line-height: 1.04; letter-spacing: -0.03em; color: var(--ink);
	hyphens: manual; overflow-wrap: break-word;
}
h1 em {
	font-style: normal;
	background: linear-gradient(100deg, var(--orange-bright), var(--orange));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.lead { font-size: 1.17rem; line-height: 1.65; margin: 26px 0 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 38px 0 0; }
.hero-facts > div { padding: 2px 26px; border-left: 1px solid var(--line-strong); }
.hero-facts > div:first-child { border-left: 0; padding-left: 0; }
.hero-facts dt { font-size: 1rem; font-weight: 900; letter-spacing: 0.01em; color: var(--ink); }
.hero-facts dd { margin: 3px 0 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--muted); }

.hero-visual {
	position: relative; margin: 0;
	border: 1px solid var(--line); background: #0f0e0b;
	padding: 22px 22px 16px;
	box-shadow: 0 40px 120px -60px rgba(0, 0, 0, 0.9), 0 0 90px -50px var(--glow);
}
.hero-visual::before {
	content: ""; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px;
	border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
}
.hero-visual::after {
	content: ""; position: absolute; bottom: -1px; right: -1px; width: 22px; height: 22px;
	border-bottom: 2px solid var(--orange); border-right: 2px solid var(--orange);
}
.hero-visual svg { display: block; width: 100%; height: auto; }
.legend {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px;
	list-style: none; padding: 14px 0 0; margin: 16px 0 0;
	border-top: 1px solid var(--line);
}
.legend li { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--muted); }
.sw { flex-shrink: 0; }
.sw--flow { width: 22px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 4px, transparent 4px 8px); }
.sw--ring { width: 12px; height: 12px; border: 1.5px solid var(--orange); opacity: 0.8; }
.sw--fence { width: 16px; height: 12px; border: 1.5px dashed rgba(234, 108, 18, 0.8); }
.sw--threat { width: 11px; height: 11px; background: var(--red); }
.sw--block { width: 11px; height: 11px; background: var(--orange); }

/* --------------------------- Hero-SVG-Szene -------------------------- */
.seg { fill: #14120f; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; }
.seg--fence { stroke: rgba(234, 108, 18, 0.42); stroke-dasharray: 7 5; }
.seg-label { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; fill: var(--muted); }
.fence-tag { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; fill: rgba(255, 138, 61, 0.6); }
.intra line { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.2; }
.nodes rect { fill: #1c1915; stroke: #6f6960; stroke-width: 1.5; }

/* Mikrosegmentierung: jede Workload trägt ihre eigene Richtlinie */
.wlring { fill: none; stroke: var(--orange); stroke-width: 1.2; opacity: 0.5; }
.wlring--t1 { animation: ringFlash 8s ease infinite; }
@keyframes ringFlash {
	0%, 16% { opacity: 0.5; stroke-width: 1.2; }
	20% { opacity: 1; stroke-width: 2.2; }
	32% { opacity: 0.85; stroke-width: 1.6; }
	90% { opacity: 0.85; stroke-width: 1.6; }
	96%, 100% { opacity: 0.5; stroke-width: 1.2; }
}

.flow { stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 4 7; animation: flowdash 1.6s linear infinite; }
.gate { fill: #0f0e0b; stroke: var(--orange); stroke-width: 1.8; }
@keyframes flowdash { to { stroke-dashoffset: -22; } }

.threat { fill: var(--red); filter: drop-shadow(0 0 6px rgba(255, 85, 68, 0.8)); animation: threatCycle 8s ease infinite; }
.pulse-ring {
	fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0;
	transform-box: fill-box; transform-origin: center;
	animation: pulseRing 2s ease-out infinite;
}
@keyframes threatCycle { 0% { opacity: 0; } 5% { opacity: 1; } 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(2.4); opacity: 0; } 100% { opacity: 0; } }

.attempt { stroke: var(--red); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 0; }
.attempt--1 { stroke-width: 1.8; animation: attemptDraw1 8s ease infinite; }
.attempt--2 { animation: attemptDraw2 8s ease infinite; }
@keyframes attemptDraw1 { 0%, 8% { stroke-dashoffset: 100; opacity: 1; } 16% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes attemptDraw2 { 0%, 26% { stroke-dashoffset: 100; opacity: 1; } 40% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }

.block1 { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 6px var(--glow)); animation: blockPop1 8s ease infinite; }
.block1 rect { fill: var(--orange); }
.block1 line { stroke: var(--orange-ink); stroke-width: 2; }
@keyframes blockPop1 {
	0%, 16% { opacity: 0; transform: scale(0.3); }
	21% { opacity: 1; transform: scale(1.12); }
	25% { opacity: 1; transform: scale(1); }
	90% { opacity: 1; transform: scale(1); }
	96%, 100% { opacity: 0; transform: scale(1); }
}

.blockmark { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 8px var(--glow)); animation: blockPop 8s ease infinite; }
.blockmark rect { fill: var(--orange); }
.blockmark line { stroke: var(--orange-ink); stroke-width: 2.2; }
@keyframes blockPop {
	0%, 38% { opacity: 0; transform: scale(0.3); }
	44% { opacity: 1; transform: scale(1.12); }
	48% { opacity: 1; transform: scale(1); }
	90% { opacity: 1; transform: scale(1); }
	96%, 100% { opacity: 0; transform: scale(1); }
}
.blockchip { animation: chipIn 8s ease infinite; }
.blockchip rect { fill: var(--orange); }
.blockchip text {
	font-family: var(--mono); font-size: 10px; font-weight: 700;
	letter-spacing: 0.09em; fill: var(--orange-ink); text-anchor: middle;
}
@keyframes chipIn { 0%, 42% { opacity: 0; } 48% { opacity: 1; } 90% { opacity: 1; } 96%, 100% { opacity: 0; } }

.seg--guard { animation: guard 8s ease infinite; }
@keyframes guard {
	0%, 38% { stroke: rgba(234, 108, 18, 0.42); stroke-width: 1.5; }
	44% { stroke: var(--orange); stroke-width: 2.5; }
	60% { stroke: var(--orange); stroke-width: 2; }
	90% { stroke: var(--orange); stroke-width: 2; }
	96%, 100% { stroke: rgba(234, 108, 18, 0.42); stroke-width: 1.5; }
}

/* ----------------------------- Proof-Zeile --------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item {
	display: flex; align-items: center; gap: 12px;
	padding: 22px 28px;
	border-left: 1px solid var(--line);
	font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em;
	line-height: 1.5; color: var(--body);
}
.proof-item:first-child { border-left: 0; }
.proof-item::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex-shrink: 0; }

/* ---------------------------- Sektionen ------------------------------ */
.section { position: relative; padding: 104px 0; scroll-margin-top: 78px; }
.section--soft { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
	font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 900;
	line-height: 1.12; letter-spacing: -0.025em; color: var(--ink);
	margin: 0 0 18px; max-width: 820px;
}
.section-intro { font-size: 1.1rem; max-width: 720px; color: var(--body); }

/* Karten (Warum-Sektion) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.card {
	background: var(--bg-elev); border: 1px solid var(--line); padding: 30px;
	transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.3s;
}
.card:hover {
	border-color: rgba(234, 108, 18, 0.55); transform: translateY(-3px);
	box-shadow: 0 24px 60px -36px var(--glow);
}
.card h3 { font-size: 1.16rem; font-weight: 900; color: var(--ink); margin: 18px 0 9px; }
.card p { font-size: 0.98rem; }
.card-icon {
	width: 44px; height: 44px; padding: 9px;
	background: rgba(234, 108, 18, 0.09); border: 1px solid rgba(234, 108, 18, 0.3);
	fill: none; stroke: var(--orange-bright); stroke-width: 1.7;
	stroke-linecap: square; stroke-linejoin: miter;
}

/* Themen-Alarm (KI-gestützte Angriffe) */
.ai-alert {
	position: relative; overflow: clip;
	margin-top: 56px;
	border: 1px solid rgba(234, 108, 18, 0.45);
	background: var(--bg-elev);
	box-shadow: 0 0 110px -40px var(--glow);
	padding: 38px 44px 36px;
}
.ai-alert::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(620px 280px at 6% 0%, rgba(234, 108, 18, 0.16), transparent 70%);
}
.ai-alert::after {
	content: ""; position: absolute; top: -1px; left: -1px; width: 24px; height: 24px;
	border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
}
.ai-alert > * { position: relative; }
.news-tag {
	font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--orange-bright); margin-bottom: 18px;
}
.ai-alert-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 44px; align-items: center; }
.ai-stat {
	display: flex; flex-direction: column; gap: 8px;
	max-width: 250px; padding-right: 44px;
	border-right: 1px solid var(--line-strong);
}
.ai-stat-num {
	font-family: var(--mono); font-weight: 700; line-height: 1;
	font-size: clamp(2.7rem, 4.2vw, 3.8rem); color: var(--orange-bright);
	white-space: nowrap;
}
.ai-stat-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; line-height: 1.5; color: var(--muted); }
.ai-headline {
	font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 900;
	line-height: 1.15; letter-spacing: -0.01em; color: var(--ink);
	margin-bottom: 10px;
}
.ai-alert-copy > p:last-child { font-size: 1rem; max-width: 640px; }
.ai-alert-copy strong { color: var(--ink); font-weight: 700; }
.ai-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.ai-links a {
	display: flex; flex-direction: column; gap: 5px;
	border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02);
	padding: 16px 20px; text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease-out);
}
.ai-links a:hover { border-color: var(--orange); background: rgba(234, 108, 18, 0.08); transform: translateY(-2px); }
.ai-links a strong { color: var(--ink); font-weight: 900; font-size: 1.02rem; line-height: 1.3; }
.ai-links a span { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--orange-bright); }

/* Statement-Band */
.statement { position: relative; padding: 96px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: clip; }
.statement::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(640px 300px at 22% 50%, rgba(234, 108, 18, 0.11), transparent 70%);
}
.statement-text {
	position: relative;
	font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.35; font-weight: 700;
	color: var(--ink); max-width: 940px;
	border-left: 3px solid var(--orange); padding-left: 32px;
}
.statement-text strong { font-weight: 900; color: var(--orange-bright); }

/* ------------------------ Ablauf + Policy-Log ------------------------ */
.ablauf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 40px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
	content: ""; position: absolute; left: 13px; top: 34px; bottom: 6px;
	width: 1px; background: var(--line-strong);
}
.timeline li:last-child::before { display: none; }
.tl-num {
	position: absolute; left: 0; top: 0;
	width: 28px; height: 28px; display: grid; place-items: center;
	font-family: var(--mono); font-size: 0.76rem; font-weight: 700;
	color: var(--orange-bright);
	border: 1px solid rgba(234, 108, 18, 0.5); background: rgba(234, 108, 18, 0.08);
}
.timeline h3 { font-size: 1.2rem; font-weight: 900; color: var(--ink); margin: 2px 0 8px; }
.timeline p { font-size: 0.99rem; }

.terminal {
	border: 1px solid var(--line-strong); background: #0a0908;
	box-shadow: 0 40px 100px -60px rgba(0, 0, 0, 0.9), 0 0 70px -40px var(--glow);
	font-family: var(--mono);
}
.term-bar {
	display: flex; align-items: center; gap: 7px;
	padding: 12px 16px; border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.025);
}
.term-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.term-bar .dot:first-child { background: rgba(255, 85, 68, 0.55); }
.term-bar .dot:nth-child(2) { background: rgba(255, 179, 64, 0.5); }
.term-title { margin-left: 10px; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted); }
.term-body { padding: 18px 18px 20px; display: grid; gap: 10px; }
.tline {
	display: flex; justify-content: space-between; gap: 18px;
	font-size: 0.8rem; line-height: 1.5; color: var(--body);
	white-space: nowrap;
}
.tline .t-src { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tline .t-status { flex-shrink: 0; font-weight: 700; }
.t-div { color: var(--muted); letter-spacing: 0.1em; font-size: 0.72rem; padding-top: 4px; }
.t-ok .t-status { color: var(--orange-bright); }
.t-warn .t-status { color: var(--amber); }
.t-block .t-status { background: var(--red); color: #1a0503; padding: 1px 8px; }
/* Policy-Log: Zeilen erscheinen einmal, sobald das Terminal sichtbar wird
   (app.js setzt .play), und bleiben dann stehen. Ohne JS: alles sichtbar. */
html.js .terminal .tline { opacity: 0; transform: translateY(6px); }
html.js .terminal.play .tline { animation: tlineIn 0.5s var(--ease-out) forwards; }
html.js .terminal.play .tline:nth-child(2) { animation-delay: 0.8s; }
html.js .terminal.play .tline:nth-child(3) { animation-delay: 1.6s; }
html.js .terminal.play .tline:nth-child(4) { animation-delay: 2.6s; }
html.js .terminal.play .tline:nth-child(5) { animation-delay: 3.4s; }
html.js .terminal.play .tline:nth-child(6) { animation-delay: 4.6s; }
html.js .terminal.play .tline:nth-child(7) { animation-delay: 5.6s; }
@keyframes tlineIn { to { opacity: 1; transform: none; } }

/* ------------------------------ Bento -------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 52px; }
.bento .card { display: flex; flex-direction: column; }
.b-4 { grid-column: span 4; }
.b-2 { grid-column: span 2; }
.b-6 { grid-column: span 6; }
.card--feature { position: relative; overflow: clip; }
.card--feature::after {
	content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px;
	background: radial-gradient(closest-side, var(--glow), transparent);
	opacity: 0.5; pointer-events: none;
}
.bento .card--wide { flex-direction: row; align-items: center; gap: 26px; flex-wrap: wrap; }
.card--wide .card-body { flex: 1 1 380px; }
.card--wide h3 { margin-top: 0; }
.card--wide .card-icon { flex-shrink: 0; }
.card-link {
	font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em;
	color: var(--orange-bright); text-decoration: none;
	border: 1px solid rgba(234, 108, 18, 0.5); padding: 12px 18px;
	transition: background-color 0.2s, color 0.2s;
	flex-shrink: 0;
}
.card-link:hover { background: var(--orange); color: var(--orange-ink); }

/* Phasen */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; padding: 0; list-style: none; counter-reset: phase; }
.phases li {
	counter-increment: phase;
	border-top: 2px solid var(--orange); background: var(--bg-elev);
	border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
	padding: 20px 22px 24px;
}
.phases li::before {
	content: "phase " counter(phase, decimal-leading-zero);
	font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-bright);
}
.phases h3 { font-size: 1.14rem; font-weight: 900; color: var(--ink); margin: 8px 0 8px; }
.phases p { font-size: 0.94rem; }

.tech-note {
	margin-top: 44px; max-width: 860px; font-size: 0.99rem;
	background: rgba(234, 108, 18, 0.06); border: 1px solid rgba(234, 108, 18, 0.25);
	border-left: 3px solid var(--orange); padding: 18px 22px;
}

/* Use Cases */
.usecases { margin-top: 72px; }
.usecases-title { font-size: 1.35rem; font-weight: 900; color: var(--ink); }
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.usecase-grid li {
	position: relative; border: 1px solid var(--line); background: var(--bg-elev);
	padding: 20px 22px 20px 46px; font-size: 0.97rem;
	transition: border-color 0.25s;
}
.usecase-grid li:hover { border-color: rgba(234, 108, 18, 0.55); }
.usecase-grid li::before {
	content: "▸"; position: absolute; left: 20px; top: 19px;
	font-family: var(--mono); color: var(--orange-bright);
}
.usecase-grid strong { display: block; font-weight: 900; color: var(--ink); margin-bottom: 4px; }

/* FAQ */
.faq-list { margin-top: 42px; border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
	display: flex; align-items: center; justify-content: space-between; gap: 18px;
	list-style: none; cursor: pointer; padding: 22px 4px;
	font-size: 1.08rem; font-weight: 700; color: var(--ink);
	transition: color 0.2s;
}
.faq-list summary:hover { color: var(--orange-bright); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: "+"; flex-shrink: 0; color: var(--orange-bright);
	font-family: var(--mono); font-size: 1.5rem; font-weight: 400; line-height: 1;
	transition: transform 0.25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 44px 24px 4px; }

/* CTA */
.cta-panel {
	position: relative; overflow: clip;
	border: 1px solid var(--line-strong); background: var(--bg-elev);
	padding: 72px 60px;
	box-shadow: 0 0 140px -60px var(--glow);
	text-align: center;
}
.cta-panel::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(560px 280px at 85% 0%, rgba(234, 108, 18, 0.14), transparent 70%),
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: auto, 64px 64px, 64px 64px;
	opacity: 0.5;
	-webkit-mask-image: linear-gradient(105deg, transparent 40%, #000);
	mask-image: linear-gradient(105deg, transparent 40%, #000);
}
.cta-panel::after {
	content: ""; position: absolute; top: -1px; left: -1px; width: 26px; height: 26px;
	border-top: 2px solid var(--orange); border-left: 2px solid var(--orange);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { margin-top: 0; margin-left: auto; margin-right: auto; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-panel > p { max-width: 700px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 36px; align-items: start; }
.contact-title { font-size: 1.05rem; font-weight: 900; color: var(--ink); margin-bottom: 14px; }
.pd-form { margin: 0; min-height: 340px; }
#cal-booker { min-height: 520px; }
#cal-booker iframe { max-width: 100%; }
/* Pipedrive rendert hell; ohne explizites color-scheme erbt das iframe die
   Dark-Mode-Präferenz des Browsers und mischt dunkle Felder auf weißen Grund. */
.pd-form iframe { max-width: 100%; color-scheme: light; }
.cta-mail { margin-top: 20px; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }

/* ------------------------------ Footer ------------------------------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; background: #0a0908; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding: 60px 24px 0; }
.footer-grid img { margin-bottom: 16px; }
.footer-grid h3 {
	font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
	letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.footer-grid p { font-size: 0.95rem; line-height: 2; color: var(--body); }
.footer-grid a { color: var(--body); text-decoration-color: var(--line-strong); }
.footer-grid a:hover { color: var(--orange-bright); }
.footer-bottom {
	padding: 20px 24px; margin-top: 48px; border-top: 1px solid var(--line);
	font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted);
}
.footer-bar { height: 6px; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); }

/* --------------------------- Scroll-Reveal --------------------------- */
html.js .rv { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
html.js .rv.in { opacity: 1; transform: none; }
.card-grid > .rv:nth-child(2), .phases > .rv:nth-child(2), .usecase-grid > .rv:nth-child(2), .bento > .rv:nth-child(2) { transition-delay: 0.07s; }
.card-grid > .rv:nth-child(3), .phases > .rv:nth-child(3), .usecase-grid > .rv:nth-child(3), .bento > .rv:nth-child(3) { transition-delay: 0.14s; }
.card-grid > .rv:nth-child(4), .phases > .rv:nth-child(4), .usecase-grid > .rv:nth-child(4), .bento > .rv:nth-child(4) { transition-delay: 0.21s; }
.bento > .rv:nth-child(5) { transition-delay: 0.28s; }
.bento > .rv:nth-child(6) { transition-delay: 0.35s; }

/* ---------------------------- Responsive ----------------------------- */
@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero { padding: 72px 0 60px; }
	.lead { max-width: 640px; }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.phases { grid-template-columns: repeat(2, 1fr); }
	.ablauf-grid { grid-template-columns: 1fr; gap: 44px; }
	.b-4, .b-2 { grid-column: span 3; }
	.ai-alert-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; gap: 44px; }
	.ai-stat { flex-direction: row; align-items: baseline; gap: 16px; max-width: none; padding-right: 0; border-right: 0; }
	.ai-stat-label { max-width: 300px; }
}
@media (max-width: 860px) {
	.main-nav { display: none; }
	.section { padding: 76px 0; }
	.stats-inner { grid-template-columns: 1fr; }
	.proof-item { border-left: 0; border-top: 1px solid var(--line); padding: 16px 28px; }
	.proof-item:first-child { border-top: 0; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.card-grid, .phases, .usecase-grid { grid-template-columns: 1fr; }
	.b-4, .b-2, .b-6 { grid-column: span 6; }
	.bento .card--wide { flex-direction: column; align-items: flex-start; }
	.card--wide .card-body { flex-basis: auto; }
	.cta-panel { padding: 44px 26px; }
	.hero-actions .btn { width: 100%; }
	.cta-actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.brand img { width: 120px; height: 29px; }
	.tline { font-size: 0.72rem; }
	.legend { grid-template-columns: 1fr; }
	.ai-alert { padding: 28px 22px; }
	.ai-links { grid-template-columns: 1fr; }
	.hero-facts { grid-template-columns: 1fr; gap: 14px; }
	.hero-facts > div { border-left: 2px solid var(--orange); padding: 2px 0 2px 14px; }
	.hero-facts > div:first-child { border-left: 2px solid var(--orange); padding-left: 14px; }
}

/* ------------------------- Reduzierte Bewegung ------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js .rv { opacity: 1; transform: none; transition: none; }
	.hero-visual svg *, .tline { animation: none !important; }
	html.js .terminal .tline { opacity: 1; transform: none; }
	.pulse-ring { opacity: 0; }
	.card:hover { transform: none; }
	.btn, .card { transition: none; }
	.btn:active { transform: none; }
}
