/*
Theme Name: AHK IT-Systems
Theme URI: https://example.com/ahk-it-systems
Author: AHK IT-Systems
Description: Theme für AHK IT-Systems – IT Solutions for your Business. Dunkles Tech-Design in den Markenfarben (Markenblau, Navy, Indigo) mit Pixel-Bildmarke als Gestaltungselement, Raster-Hintergrund, animierten Kennzahlen, Leistungs-, Ablauf-, Referenz- und Kontaktbereich. Inhalte der Startseite über den Customizer anpassbar.
Version: 1.9.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahk-it-systems
Tags: dark, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ---------- Fonts (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-display-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-display-700.woff") format("woff"); }
/* Überschriften- & Logo-Schrift (nur ein Schnitt – deckt alle Stärken ab, kein künstliches Fett) */
@font-face { font-family: "Babylon5Credits"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/fonts/babylon5credits.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
	/* Markenfarben aus dem Logo */
	--brand: #009ee2;
	--brand-navy: #2d519d;
	--brand-indigo: #312782;
	--brand-gray: #575756;

	--bg: #060a14;
	--bg-2: #0a1020;
	--surface: #0e162a;
	--surface-2: #132038;
	--line: rgba(120, 160, 225, 0.13);
	--line-strong: rgba(120, 160, 225, 0.24);
	--text: #e6edf7;
	--muted: #98a5ba;
	--accent: #009ee2;
	--accent-2: #5cc8f5;
	--accent-soft: rgba(0, 158, 226, 0.13);
	--btn: linear-gradient(120deg, #0083c0 0%, #0079b2 45%, #2d519d 100%);
	--ok: #34d399;
	--radius: 6px;
	--radius-sm: 3px;
	--max: 1200px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Babylon5Credits", "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	/* Typo-Skala */
	--fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
	--fs-h2: clamp(1.85rem, 1.4rem + 1.8vw, 2.6rem);
	--fs-h3: 1.2rem;
	--fs-lead: clamp(1.06rem, 1rem + .3vw, 1.18rem);
	--fs-body: 1.0625rem;
	--fs-small: .9375rem;
	--fs-xs: .8125rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: radial-gradient(rgba(92,200,245,.07) 1px, transparent 1.3px) 0 0 / 28px 28px fixed, var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.7;
	font-feature-settings: "cv05", "cv08";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 600; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.01em; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -0.005em; }
/* Babylon5Credits hat sehr breite Leerzeichen – Wortabstand ausgleichen */
h1, h2, .brand, .cta-hotline a.big { word-spacing: -0.2em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.012em; }
h4 { font-size: 1rem; line-height: 1.4; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { clip: auto; width: auto; height: auto; top: 10px; left: 10px; z-index: 999; background: #0079b2; color: #fff; padding: 10px 16px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: url("assets/img/circuit-tile.svg") center / 720px 720px, var(--bg-2); background-blend-mode: normal; border-block: 1px solid var(--line); position: relative; }
.section--alt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(10,16,32,.86) 18%, rgba(10,16,32,.86) 82%, var(--bg-2) 100%); pointer-events: none; }
.section--alt > * { position: relative; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
	color: var(--accent-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 3px; height: 15px; background: var(--accent); transform: skewX(-20deg); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: .45em; }
.section-head p { color: var(--muted); font-size: var(--fs-lead); line-height: 1.65; max-width: 58ch; }
.section-head--center p { margin-inline: auto; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 3px; height: 15px; background: var(--accent); transform: skewX(-20deg); }
.text-gradient { background: linear-gradient(90deg, #009ee2 0%, #5cc8f5 60%, #a9e2fb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: .9375rem; line-height: 1.3; letter-spacing: -0.005em;
	border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn--primary { background: var(--btn); background-size: 160% 100%; background-position: 0 0; color: #fff; box-shadow: 0 8px 28px -10px rgba(0,158,226,.75); transition: transform .2s, box-shadow .2s, background-position .4s; }
.btn--primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 36px -8px rgba(0,158,226,.85); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background .3s, border-color .3s, backdrop-filter .3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(6, 10, 20, .84); backdrop-filter: blur(14px); border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-display); line-height: 1; }
.brand:hover { color: #fff; }
.brand .brand-logo { display: block; height: 56px; width: auto; max-width: 100%; }
.site-footer .brand .brand-logo { height: 52px; }
.custom-logo { max-height: 44px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 8px 14px; color: var(--muted); font-size: .9375rem; font-weight: 500; letter-spacing: -0.005em; border-radius: 4px; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); background: rgba(255,255,255,.04); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; color: var(--muted); }
.header-phone:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 4px; width: 44px; height: 44px; color: var(--text); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; }
.hero-grid {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112'%3E%3Cpath d='M0 6V0h6M106 0h6v6M112 106v6h-6M6 112H0v-6' fill='none' stroke='%235cc8f5' stroke-opacity='.35'/%3E%3C/svg%3E"),
		linear-gradient(rgba(92,200,245,.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(92,200,245,.09) 1px, transparent 1px),
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 112px 112px, 56px 56px, 56px 56px, 14px 14px, 14px 14px;
	background-position: -6px -6px, 0 0, 0 0, 0 0, 0 0;
	mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, #000 35%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 85% 75% at 55% 40%, #000 35%, transparent 80%);
	transform: translate3d(0, var(--py, 0px), 0);
}
/* Platinen-Leiterbahnen mit laufenden Datenpaketen */
.hero-tech { position: absolute; inset: -40px 0; z-index: 0; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0);
	mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.2) 42%, #000 64%), linear-gradient(180deg, transparent 4%, #000 18%, #000 72%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.2) 42%, #000 64%), linear-gradient(180deg, transparent 4%, #000 18%, #000 72%, transparent 100%);
	mask-composite: intersect; -webkit-mask-composite: source-in; }
.hero-tech .circuit { width: 100%; height: 100%; display: block; }
.circuit .ct-lines { stroke: rgba(0,158,226,.3); stroke-width: 1.2; }
.circuit .ct-pads { fill: rgba(0,158,226,.55); }
.circuit .ct-vias { stroke: rgba(92,200,245,.55); stroke-width: 1.2; }
.circuit .ct-pulses path { stroke: #7fd6ff; stroke-width: 2.2; stroke-dasharray: 4 96; stroke-dashoffset: 100; animation: ct-run var(--d, 5s) linear infinite; animation-delay: var(--dl, 0s); filter: drop-shadow(0 0 3px #009ee2) drop-shadow(0 0 7px rgba(0,158,226,.8)); }
@keyframes ct-run { to { stroke-dashoffset: 0; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px); }
.hero > .container { position: relative; z-index: 1; }
.hero-tech--page { opacity: .55; }
@media (max-width: 960px) { .hero-tech { opacity: .5; } }
.hero-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero-glow--1 { width: 560px; height: 560px; background: #2d519d; top: -140px; right: -100px; opacity: .6; }
.hero-glow--2 { width: 400px; height: 400px; background: #312782; bottom: -140px; left: -120px; opacity: .45; }
.hero-pixels { position: absolute; z-index: 0; right: -60px; top: 50%; width: min(46vw, 640px); transform: translate3d(0, calc(-50% + var(--py, 0px)), 0); opacity: .07; pointer-events: none; }
.hero-pixels svg { width: 100%; height: auto; display: block; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
	border: 1px solid var(--line-strong); border-radius: 4px; background: rgba(14,22,42,.75);
	font-size: var(--fs-xs); font-weight: 500; color: var(--muted); margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { margin-bottom: .4em; }
.hero-lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; color: var(--muted); font-size: var(--fs-xs); font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-2); }

/* Status panel */
.status-panel {
	background: linear-gradient(180deg, rgba(19,32,56,.92), rgba(11,17,32,.92));
	border: 1px solid var(--line-strong); border-radius: 8px; padding: 22px;
	box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
	font-family: var(--mono); font-size: var(--fs-xs);
}
.status-panel__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; color: var(--muted); }
.status-panel__dots { display: flex; gap: 6px; }
.status-panel__dots i { width: 9px; height: 9px; border-radius: 1px; background: #23324d; }
.status-panel__dots i:first-child { background: var(--brand); opacity: .8; }
.status-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.status-row:last-of-type { border: 0; }
.status-row b { font-weight: 500; color: var(--text); }
.status-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 8px; }
.status-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-chart { margin-top: 16px; height: 64px; }
.status-chart path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3s ease forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Open-Source-Stack (Kachel im Einstiegsbereich) */
.stack-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stack-chip { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); font-family: var(--font); font-size: .875rem; line-height: 1.3; color: var(--text); transition: border-color .25s, background .25s; }
.stack-chip:hover { border-color: rgba(0,158,226,.5); background: var(--accent-soft); }
.stack-chip i { width: 10px; height: 10px; background: var(--accent); flex: none; }
.stack-chip small { display: block; margin-top: 2px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.stack-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.stack-foot b { color: var(--accent-2); font-weight: 500; text-align: right; }
.js .stack-panel .stack-chip { opacity: 0; transform: translateY(8px); }
.js .stack-panel.is-visible .stack-chip { animation: chipIn .5s ease forwards; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.stack-panel.is-visible .stack-chip i { animation: chipPulse 4s ease-in-out infinite; animation-delay: calc(var(--i) * .5s + 1.5s); }
@keyframes chipPulse { 0%, 85%, 100% { box-shadow: none; } 90% { box-shadow: 0 0 10px 2px rgba(0,158,226,.7); } }
@media (max-width: 380px) { .stack-grid { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { padding: 0; margin-top: -1px; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stat-num em { font-size: .72em; margin-left: .06em; }
.stat-num em { font-style: normal; color: var(--accent-2); }
.stat-label { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.cards > .card { grid-column: span 2; }
.cards > .card--half { grid-column: span 3; }
.card {
	position: relative; padding: 32px 28px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line);
	transition: transform .3s, border-color .3s, background .3s; overflow: hidden;
}
.card::before {
	content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0,158,226,.14), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,158,226,.45); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon {
	width: 50px; height: 50px; border-radius: 4px; display: grid; place-items: center;
	background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; border: 1px solid rgba(0,158,226,.25);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.65; margin-bottom: 18px; }
.card ul { list-style: none; padding: 16px 0 0; margin: 0; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.card li { padding: 4px 0 4px 22px; position: relative; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; background: var(--accent); }
.card li:nth-child(2)::before { opacity: .7; }
.card li:nth-child(3)::before { opacity: .45; }

/* Breite Karte (letzte Karte, wenn sie allein in einer Reihe stünde) */
.card.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.card--wide > .card-icon { grid-column: 1; grid-row: 1; }
.card--wide > h3 { grid-column: 1; grid-row: 2; }
.card--wide > p { grid-column: 1; grid-row: 3; margin-bottom: 0; }
.card--wide > .card-link { grid-column: 1; grid-row: 4; }
.card--wide > ul { grid-column: 2; grid-row: 1 / span 4; align-self: center; border-top: 0; border-left: 1px solid var(--line); padding: 4px 0 4px 36px; font-size: var(--fs-small); }
.card--wide > ul li { padding-top: 7px; padding-bottom: 7px; }
.card--wide > ul li::before { top: 16px; }

/* ---------- Split / Managed ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 3px; }
.checklist strong { display: block; }
.checklist strong { font-weight: 600; margin-bottom: 2px; }
.checklist span { color: var(--muted); font-size: var(--fs-small); line-height: 1.55; }
.sla-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.sla-box h3 { margin-bottom: 24px; }
.sla-item { margin-bottom: 22px; }
.sla-item:last-child { margin-bottom: 0; }
.sla-item__head { display: flex; justify-content: space-between; font-size: var(--fs-small); margin-bottom: 8px; }
.sla-item__head span:last-child { font-family: var(--mono); font-size: var(--fs-xs); color: var(--accent-2); }
.bar { height: 6px; background: rgba(255,255,255,.06); border-radius: 1px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-navy), var(--accent) 60%, var(--accent-2)); border-radius: inherit; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.is-visible .bar i, .no-js .bar i { width: var(--w); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { padding: 28px 24px; border-top: 1px solid var(--line-strong); position: relative; }
.step::before {
	counter-increment: step; content: "0" counter(step);
	font-family: var(--mono); font-size: var(--fs-xs); color: var(--accent-2); display: block; margin-bottom: 16px;
}
.step::after { content: ""; position: absolute; top: -4px; left: 24px; width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.step p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-size: 1rem; line-height: 1.65; flex: 1; }
.quote-author { text-align: left; display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); line-height: 1.35; }
.quote-author strong { font-weight: 600; }
.quote-avatar { flex: none; width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); font-weight: 700; font-size: .85rem; }
.quote-author div span { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }
.stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 14px; font-size: .9rem; }

/* ---------- CTA ---------- */
.cta-box {
	position: relative; overflow: hidden; border-radius: 8px; padding: clamp(40px, 6vw, 72px);
	background: linear-gradient(135deg, #1b2f66 0%, #0d1735 55%, #062338 100%);
	border: 1px solid rgba(0,158,226,.35); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-box::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 40px 40px;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box > .cta-pixels { position: absolute; z-index: 0; right: -40px; bottom: -60px; width: 300px; opacity: .12; pointer-events: none; }
.cta-pixels svg { width: 100%; height: auto; display: block; }
.cta-box p { color: #b9c6dc; font-size: var(--fs-lead); line-height: 1.6; max-width: 48ch; margin-bottom: 0; }
.cta-hotline { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; }
.cta-hotline small { font-family: var(--mono); color: var(--accent-2); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.cta-hotline a.big { display: block; font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.75rem); font-weight: 600; color: #fff; margin: 6px 0 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-item { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-item svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-item { font-size: var(--fs-small); line-height: 1.55; }
.contact-item small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-bottom: 2px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select,
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
	width: 100%; padding: 13px 14px; border-radius: 4px; border: 1px solid var(--line-strong);
	background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); margin-top: 12px; }
.form-msg { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: var(--fs-small); }
.form-msg--ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: var(--ok); }
.form-msg--err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; }
.hp-field { position: absolute; left: -9999px; }

/* Formular-Erweiterungen */
.contact-form [aria-invalid="true"] { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(248,113,113,.15) !important; }
.field-error { display: block; margin-top: 6px; font-size: var(--fs-xs); color: #fca5a5; }
.field-hint { font-weight: 400; opacity: .75; display: none; }
.contact-form.wants-callback .field-hint { display: inline; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input[type="checkbox"] { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.form-note.check { margin: 0 0 18px; }
.callback-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; background: rgba(255,255,255,.015); font-size: var(--fs-small); }
.callback-time { display: none; margin: 14px 0 0; }
.contact-form.wants-callback .callback-time { display: block; }
.form-required { margin: 14px 0 0; }
.contact-form button[disabled] { opacity: .65; cursor: progress; }
.card { display: flex; flex-direction: column; }
.card-link { align-self: flex-start; margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 600; color: var(--accent-2); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover { color: #fff; }
.card-link:hover svg { transform: translateX(3px); }
.contact-shortcode { margin: 2em 0; scroll-margin-top: 110px; }
.entry-content .contact-form { font-size: 1rem; line-height: 1.6; }
.entry-content .contact-form a { text-decoration: underline; }
#kontakt { scroll-margin-top: 90px; }
.entry-intro { max-width: 720px; color: var(--muted); }

/* Rechtliches */
.legal-page h2, .legal-page h3 { word-spacing: normal; }
.legal-page h2 { font-family: var(--font); font-size: 1.3rem; letter-spacing: -0.01em; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal-page > h2:first-child, .legal-page > .legal-admin-hint + h2, .legal-page > .legal-lead + h2 { border-top: 0; padding-top: 0; margin-top: 1em; }
.legal-page h3 { font-family: var(--font); font-size: 1.05rem; margin-top: 1.6em; color: var(--text); }
.legal-page p, .legal-page li { color: #c3cbd8; }
.legal-lead { font-size: 1.08rem; color: var(--muted) !important; }
.legal-box { margin: 1.8em 0; padding: 20px 24px; border: 1px solid rgba(0,158,226,.35); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.legal-box h3 { margin-top: 0; }
.legal-box p { margin-bottom: 0; }
.legal-date { margin-top: 2.5em; font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted) !important; }
mark.legal-missing { background: rgba(251,191,36,.15); color: #fcd34d; border: 1px dashed rgba(251,191,36,.6); padding: 1px 6px; border-radius: 3px; font-weight: 500; }
.legal-admin-hint { margin-bottom: 2em; padding: 14px 18px; border-radius: var(--radius); background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.4); color: #fde68a; font-size: var(--fs-small); }
.legal-admin-hint a { color: #fff; }
.legal-extra { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4 { font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 500; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a, .footer-grid li { color: var(--text); opacity: .82; font-size: var(--fs-small); }
.footer-grid a:hover { opacity: 1; color: var(--accent-2); }
.footer-about { color: var(--muted); font-size: var(--fs-small); line-height: 1.65; max-width: 320px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Content pages ---------- */
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); max-width: 22ch; }
.page-hero { padding: 170px 0 70px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .hero-grid { mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 20%, transparent 70%); }
.page-hero .container { position: relative; }
.entry-meta { color: var(--muted); font-family: var(--mono); font-size: var(--fs-xs); }
.entry-content { max-width: 720px; margin: 0 auto; padding: 70px 0 110px; font-size: 1.0625rem; line-height: 1.75; }
.entry-content h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); margin-top: 1.9em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.7em; }
.entry-content li { margin-bottom: .4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: .4em 0 .4em 1.4em; color: var(--muted); }
.entry-content pre, .entry-content code { font-family: var(--mono); background: var(--surface); border-radius: 6px; }
.entry-content code { padding: 2px 6px; font-size: .9em; }
.entry-content pre { padding: 18px; overflow-x: auto; border: 1px solid var(--line); }
.entry-content img { border-radius: var(--radius); }
.alignwide { max-width: 1000px; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { color: var(--muted); font-size: .85rem; text-align: center; }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 70px 0 110px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; display: flex; flex-direction: column; }
.post-card:hover { border-color: rgba(0,158,226,.45); transform: translateY(-3px); }
.post-card__img { aspect-ratio: 16/9; background: var(--surface-2); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 a { color: var(--text); }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; flex: 1; }
.pagination { padding-bottom: 100px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 3px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.pagination .current { background: var(--btn); color: #fff; border-color: var(--accent); }

/* ---------- Parallax ---------- */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero-pixels[data-parallax] { transform: translate3d(0, calc(-50% + var(--py, 0px)), 0); }
.hero-grid[data-parallax] { inset: -160px 0 -160px 0; }
.parallax-wrap { position: relative; }
.section--deco { overflow: hidden; }
.section--deco > .container { position: relative; z-index: 1; }
.deco-pixels { position: absolute; z-index: 0; width: 380px; opacity: .05; pointer-events: none; }
.deco-pixels svg { width: 100%; height: auto; display: block; }
.deco-pixels--right { right: -110px; top: 12%; }
.deco-pixels--left { left: -130px; bottom: 6%; width: 420px; }
.deco-pixels--small { width: 260px; top: 8%; opacity: .06; }
.no-parallax [data-parallax] { transform: none; will-change: auto; }
.no-parallax .hero-pixels[data-parallax] { transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.circuit .ct-pulses { display: none; }
	.reveal { opacity: 1; transform: none; }
	.js .stack-panel .stack-chip { opacity: 1; transform: none; }
	.bar i { width: var(--w); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero .container, .split, .contact-grid, .cta-box { grid-template-columns: 1fr; }
	.cards, .quotes, .post-list { grid-template-columns: repeat(2, 1fr); }
	.cards > .card, .cards > .card--half { grid-column: span 1; }
	.cards > .card.card--wide { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero { min-height: auto; }
	.header-phone { display: none; }
}
@media (max-width: 860px) {
	.brand .brand-logo { height: 44px; }
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: 78px 0 auto 0; background: rgba(6,10,20,.97); backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line); padding: 16px 24px 24px;
		transform: translateY(-120%); transition: transform .35s; z-index: -1;
	}
	.nav-open .main-nav { transform: none; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 14px 10px; font-size: 1.0625rem; }
	.header-actions .btn { display: none; }
	.stats .container { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
	.card.card--wide { display: flex; }
	.card--wide > ul { align-self: stretch; }
	.card--wide > ul { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; margin-top: 18px; }
	:root { --fs-body: 1rem; --fs-small: .9375rem; }
	h1 { letter-spacing: -0.01em; }
	.section-head { margin-bottom: 40px; }
	.hero-lead { margin-bottom: 30px; }
	.cards, .quotes, .post-list, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
	.cards > .card, .cards > .card--half, .cards > .card.card--wide { grid-column: 1 / -1; }
	.stat { padding: 28px 16px; }
}
