/*
Theme Name: iqonex
Theme URI: https://iqonex.de
Author: IQONEX GmbH
Description: Custom-Theme der IQONEX SEO-Agentur Erfurt. Portiert das Design der Next.js-Site (iqonex.de) auf WordPress: Hanken Grotesk / Fraunces / IBM Plex Mono, Navy-Hero, Karten-Grids, FAQ-Accordion, Consent-Banner.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: proprietary
Text Domain: iqonex
*/

/* ==========================================================================
   Fonts (self-hosted, DSGVO — keine CDN-Calls)
   ========================================================================== */

@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ==========================================================================
   Tokens — 1:1 aus app/globals.css der Next-Site
   ========================================================================== */

:root {
	--ink: #0b1020;
	--ink-muted: #3a4150;
	--accent: #2563eb;
	--accent-strong: #1e40af;
	--accent-soft: #dde7ff;
	--surface: #ffffff;
	--surface-strong: #f4f5fa;
	--surface-alt: #eef0f7;
	--border: #e7e9f0;
	--border-strong: #cfd4e0;
	--faint: #9aa1ae;
	--url-green: #0b6b43;
	--navy: #0a1124;

	--font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;

	--radius-card: 1.25rem;
	--radius-pill: 9999px;
	--radius-hero: 1.875rem;
	--radius-frame: 1.5rem;
}

/* ==========================================================================
   Basis
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: rgba(37, 99, 235, 0.16); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-sans); color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden, .skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--ink);
	color: #fff;
	padding: 8px 12px;
	z-index: 100;
	text-decoration: none;
}
.skip-link:focus { top: 0; }

.container { margin: 0 auto; max-width: 72rem; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.mono { font-family: var(--font-mono); }
.faint { color: var(--faint); }

/* Eyebrow — IBM Plex Mono, uppercase, accent */
.eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

/* ==========================================================================
   Buttons (pill)
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	padding: 0.65rem 1.35rem;
	font-family: var(--font-sans);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s, opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-muted); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--surface-strong); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { padding: 0.8rem 1.6rem; font-size: 15.5px; }
.btn svg { flex-shrink: 0; }

/* ==========================================================================
   Navbar (weiß, oben, kein Sticky — bewusste Vereinfachung)
   ========================================================================== */

.navbar { background: var(--surface); position: relative; z-index: 40; }
.navbar__inner {
	margin: 0 auto;
	max-width: 72rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 16px 1rem;
}
@media (min-width: 768px) { .navbar__inner { padding: 16px 2rem; } }
.navbar__brand {
	font-family: var(--font-sans);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.035em;
	color: var(--ink);
	text-decoration: none;
}
.navbar__nav { display: none; }
.navbar__nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.navbar__nav a {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--ink-muted);
	text-decoration: none;
	transition: color 0.2s;
}
.navbar__nav a:hover, .navbar__nav a.is-active { color: var(--accent); }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__phone { display: none; font-size: 13.5px; color: var(--ink-muted); text-decoration: none; }
.navbar__phone:hover { color: var(--accent); }
.navbar__lang {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-muted);
	text-decoration: none;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	padding: 0.3rem 0.7rem;
}
.navbar__lang:hover { color: var(--accent); border-color: var(--border-strong); }
.navbar__cta { display: none; }
.navbar__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--ink);
	cursor: pointer;
}
@media (min-width: 900px) {
	.navbar__nav { display: block; }
	.navbar__cta { display: inline-flex; }
	.navbar__burger { display: none; }
}
@media (min-width: 1280px) { .navbar__phone { display: inline; } }

/* Mobile-Menü */
.mobile-menu {
	display: none;
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 1rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
	display: block;
	padding: 0.7rem 0.4rem;
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin-top: 0.8rem; width: 100%; }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero (navy, große Serif-H1 zentriert, statischer Gradient)
   ========================================================================== */

.hero-wrap { padding: 0.75rem 0.75rem 0; }
@media (min-width: 768px) { .hero-wrap { padding: 1rem 1rem 0; } }
.hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-hero);
	background: var(--navy);
	background-image:
		radial-gradient(42% 55% at 18% 22%, rgba(37, 99, 235, 0.5), transparent 70%),
		radial-gradient(48% 60% at 82% 30%, rgba(30, 64, 175, 0.55), transparent 72%),
		radial-gradient(55% 65% at 55% 90%, rgba(37, 99, 235, 0.32), transparent 70%);
	color: #fff;
	min-height: 620px;
	display: flex;
}
.hero__inner {
	position: relative;
	z-index: 10;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	max-width: 72rem;
	width: 100%;
	padding: 3.5rem 1.5rem;
}
@media (min-width: 768px) { .hero__inner { padding: 5rem 2rem 3.5rem; } }
.hero__eyebrow {
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 768px) { .hero__eyebrow { font-size: 14px; } }
.hero h1 {
	margin: 1.6rem auto 0;
	max-width: 1000px;
	text-align: center;
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 44px;
	line-height: 1.04;
	letter-spacing: -0.01em;
	color: #fff;
}
@media (min-width: 640px) { .hero h1 { font-size: 58px; } }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
.hero__spacer { flex: 1; min-height: 2rem; }
.hero__bottom {
	margin-top: 3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}
.hero__sub { max-width: 460px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.hero__sub a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(255, 255, 255, 0.4); }
.hero__sub a:hover { border-color: #fff; }
.hero__card {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.12);
	padding: 16px 18px;
	text-decoration: none;
	color: #fff;
	backdrop-filter: blur(8px);
}
.hero__card:hover { background: rgba(255, 255, 255, 0.16); }
.hero__card-title { font-size: 17px; font-weight: 600; line-height: 1.2; }
.hero__card-sub { margin-top: 5px; display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.hero__card-orb {
	display: flex;
	width: 58px;
	height: 58px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 13px;
	background: #fff;
}
.hero__card-orb span {
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, var(--accent-soft), var(--accent) 58%, var(--accent-strong));
}

/* ==========================================================================
   Sektionen
   ========================================================================== */

.section { padding: 5rem 0; background: var(--surface); }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--bordered { border-bottom: 1px solid var(--border); }
.section--slim { padding: 3rem 0; }
.section__head {
	margin-bottom: 3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 3rem;
}
.section__head-main { max-width: 560px; }
.section__head h2, .section h2.section__title {
	margin-top: 0.75rem;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.06;
}
@media (min-width: 768px) { .section__head h2, .section h2.section__title { font-size: 44px; } }
.section__head-side { max-width: 380px; font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.section__head--center { display: block; text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Karten-Grids
   ========================================================================== */

.grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.iq-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--surface);
	padding: 1.5rem;
	color: inherit;
	text-decoration: none;
}
.iq-card__icon {
	margin-bottom: 1rem;
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--surface-strong);
	color: var(--accent);
}
.iq-card h3 { margin-bottom: 0.5rem; font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; }
.iq-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); }
.iq-card__note {
	margin-top: 1rem;
	border-top: 1px solid var(--border);
	padding-top: 0.75rem;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-muted);
}
.iq-card__more {
	margin-top: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
}

.lift { transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s, border-color 0.2s, background 0.2s, color 0.2s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(11, 16, 32, 0.1); }

/* Check-Punkte (Warum IQONEX) */
.check-item { display: flex; gap: 1rem; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 1.5rem; }
.check-item__dot {
	margin-top: 2px;
	display: flex;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
}
.check-item h3 { margin-bottom: 0.25rem; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.check-item p { font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); }

/* ==========================================================================
   TrustStrip (Logos grayscale)
   ========================================================================== */

.trust-strip { padding: 2.75rem 0 3rem; background: var(--surface); }
.trust-strip__heading { text-align: center; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--faint); margin: 0; }
.trust-strip ul {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem 2.75rem;
}
@media (min-width: 768px) { .trust-strip ul { gap: 1.5rem 3.5rem; } }
.trust-strip img {
	height: 48px;
	width: auto;
	max-width: 170px;
	object-fit: contain;
	opacity: 0.6;
	filter: grayscale(1);
	transition: opacity 0.3s, filter 0.3s;
}
@media (min-width: 768px) { .trust-strip img { height: 52px; max-width: 190px; } }
.trust-strip a:hover img, .trust-strip li:hover img { opacity: 1; filter: none; }

/* ==========================================================================
   ProcessSteps
   ========================================================================== */

.step-card { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); padding: 1.5rem; }
.step-card__num {
	margin-bottom: 1rem;
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: var(--surface-strong);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
}
.step-card h3 { margin-bottom: 0.5rem; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step-card p { font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); }

/* ==========================================================================
   Referenz-Sektion (Case-Panel)
   ========================================================================== */

.case-panel {
	display: grid;
	gap: 2rem;
	border-radius: 26px;
	background: var(--surface-strong);
	padding: 2rem;
}
@media (min-width: 768px) { .case-panel { grid-template-columns: 1.2fr 1fr; padding: 2.5rem; } }
.case-panel__text { font-size: 17px; line-height: 1.65; color: var(--ink); }
.case-panel__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.case-panel__facts {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: var(--surface);
	padding: 1.5rem;
}
.case-panel__facts-kicker {
	margin-bottom: 0.75rem;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--faint);
}
.case-panel__facts ul { margin: 0; padding: 0; list-style: none; }
.case-panel__facts li { margin-bottom: 0.75rem; font-size: 14.5px; line-height: 1.55; color: var(--ink-muted); }
.case-panel__facts li:last-child { margin-bottom: 0; }
.case-panel__facts strong { color: var(--ink); }

/* ==========================================================================
   FAQ-Accordion (details/summary)
   ========================================================================== */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	padding: 22px 4px;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
}
@media (min-width: 768px) { .faq summary { font-size: 18px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__chev { flex-shrink: 0; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary .faq__chev { transform: rotate(180deg); }
.faq__answer { max-width: 680px; padding: 0 4px 1.5rem; font-size: 15.5px; line-height: 1.6; color: var(--ink-muted); }

/* ==========================================================================
   CTA-Sektion (navy, rounded)
   ========================================================================== */

.cta-section {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background: var(--navy);
	background-image:
		radial-gradient(42% 55% at 18% 22%, rgba(37, 99, 235, 0.5), transparent 70%),
		radial-gradient(48% 60% at 82% 30%, rgba(30, 64, 175, 0.55), transparent 72%),
		radial-gradient(55% 65% at 55% 90%, rgba(37, 99, 235, 0.32), transparent 70%);
	color: #fff;
	padding: 5rem 1.5rem;
	text-align: center;
}
@media (min-width: 768px) { .cta-section { padding: 5rem 3rem; } }
.cta-section .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta-section h2 {
	margin: 0.75rem auto 0;
	max-width: 620px;
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: #fff;
}
@media (min-width: 768px) { .cta-section h2 { font-size: 52px; } }
.cta-section p { margin: 1rem auto 0; max-width: 500px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.cta-section__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }

/* ==========================================================================
   Formular
   ========================================================================== */

.form { margin: 0; }
.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .form__grid { grid-template-columns: repeat(2, 1fr); } }
.form label.form__field { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.form__field > span { display: block; margin-bottom: 6px; }
.form-input {
	display: block;
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: #ffffff;
	padding: 0.625rem 0.875rem;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--ink);
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
textarea.form-input { resize: vertical; min-height: 7rem; }
.form__footer { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form__privacy { font-size: 12px; color: var(--ink-muted); max-width: 32rem; }
.form__privacy a { text-decoration: underline; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0 0 1.25rem; border-radius: 12px; padding: 0.85rem 1rem; font-size: 14.5px; }
.notice--error { background: #fdecec; border: 1px solid #f5c2c0; color: #8a1f1b; }
.notice--ok { background: #e8f5ee; border: 1px solid #bfe3cf; color: var(--url-green); }

/* Formular-Panel (Startseite #analyse) */
.form-panel { margin-top: 2rem; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 1.5rem; }
@media (min-width: 768px) { .form-panel { padding: 2rem; } }
.form-panel__hint { margin-top: 1.5rem; text-align: center; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.form-panel__hint a { font-weight: 600; color: var(--accent); }
.form-panel__hint a:hover { color: var(--ink); }

/* ==========================================================================
   Footer (navy, 4 Spalten + Legal)
   ========================================================================== */

.site-footer { background: var(--navy); color: #fff; margin-top: auto; }
.site-footer__grid {
	margin: 0 auto;
	max-width: 72rem;
	display: grid;
	gap: 2rem;
	padding: 3.5rem 1rem;
}
@media (min-width: 768px) { .site-footer__grid { padding: 3.5rem 2rem; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } }
.site-footer__brand { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; color: #fff; text-decoration: none; }
.site-footer__tagline { margin: 1rem 0 1.25rem; max-width: 250px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.site-footer address { font-style: normal; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); }
.site-footer address a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.site-footer address a:hover { color: #fff; }
.site-footer h3 { margin-bottom: 1rem; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.5); }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li { margin-bottom: 11px; }
.site-footer__links a { font-size: 14px; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s; }
.site-footer__links a:hover { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__legal-inner {
	margin: 0 auto;
	max-width: 72rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.5rem 1rem;
}
@media (min-width: 768px) { .site-footer__legal-inner { flex-direction: row; align-items: center; padding: 1.5rem 2rem; } }
.site-footer__copy { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin: 0; }
.site-footer__legal ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 13px; }
.site-footer__legal ul a, .site-footer__legal button {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: color 0.2s;
}
.site-footer__legal ul a:hover, .site-footer__legal button:hover { color: #fff; }

/* ==========================================================================
   StickyMobileCTA (mobil fixed bottom)
   ========================================================================== */

.sticky-cta {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 40;
	border-top: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.95);
	padding: 0.5rem 0.75rem;
	box-shadow: 0 -4px 12px rgba(11, 16, 32, 0.06);
	backdrop-filter: blur(6px);
}
.sticky-cta__inner { margin: 0 auto; display: flex; max-width: 36rem; align-items: center; gap: 0.5rem; }
.sticky-cta a {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 12px;
	padding: 12px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}
.sticky-cta__call { border: 1px solid var(--border); background: #fff; color: var(--ink); }
.sticky-cta__call:hover { border-color: var(--accent); }
.sticky-cta__book { background: var(--navy); color: #fff; }
.sticky-cta__book:hover { background: #1a2540; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 64px; }
@media (min-width: 768px) { body.has-sticky-cta { padding-bottom: 0; } }

/* ==========================================================================
   Consent-Banner
   ========================================================================== */

.consent-banner {
	position: fixed;
	z-index: 60;
	inset-inline: 0.75rem;
	bottom: 0.75rem;
	margin: 0 auto;
	max-width: 34rem;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: 0 22px 50px rgba(11, 16, 32, 0.18);
	padding: 1.25rem;
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 16px; font-weight: 700; margin-bottom: 0.4rem; }
.consent-banner p { font-size: 13px; line-height: 1.55; color: var(--ink-muted); }
.consent-banner p a { text-decoration: underline; }
.consent-banner__actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-banner .btn { padding: 0.5rem 1.1rem; font-size: 13.5px; }

/* ==========================================================================
   Seiten-Inhalt (page.php, single.php — Gutenberg-Content)
   ========================================================================== */

.page-hero { padding: 3.5rem 0 2rem; }
.page-hero h1 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; max-width: 820px; }
@media (min-width: 768px) { .page-hero h1 { font-size: 48px; } }
.page-hero .eyebrow { margin-bottom: 0.75rem; }

.doc { max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.doc h2 { margin: 2.25rem 0 0.75rem; font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.doc h3 { margin: 1.75rem 0 0.5rem; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.doc ul, .doc ol { padding-left: 1.4rem; margin: 0 0 1em; }
.doc li { margin-bottom: 0.35rem; }
.doc a { color: var(--accent); }
.doc a:hover { color: var(--ink); }
.doc blockquote {
	margin: 1.5rem 0;
	border-left: 3px solid var(--accent);
	padding: 0.25rem 0 0.25rem 1.25rem;
	font-family: var(--font-serif);
	font-size: 19px;
	color: var(--ink);
}
.doc img { border-radius: var(--radius-card); }
.doc pre, .doc code { font-family: var(--font-mono); font-size: 0.9em; }
.doc pre { background: var(--surface-strong); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 0.5rem 0.75rem; text-align: left; }

/* Blog-Single */
.post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: 13.5px; color: var(--faint); }
.post-meta .mono { font-size: 12.5px; }
.author-line {
	margin-top: 3rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
	font-size: 14.5px;
	color: var(--ink-muted);
	max-width: 720px;
}
.author-line strong { color: var(--ink); }
.related { margin-top: 3.5rem; }
.related h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.related a {
	display: block;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: 15.5px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color 0.2s, background 0.2s;
}
.related a:hover { border-color: var(--accent); }
.related a span { display: block; margin-top: 0.2rem; font-weight: 400; font-size: 13.5px; color: var(--ink-muted); }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: var(--faint); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 0.35rem; }

/* 404 */
.error-page { padding: 4rem 0 6rem; }
.error-page .quicklinks { margin-top: 2.5rem; display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 768px) { .error-page .quicklinks { grid-template-columns: repeat(2, 1fr); } }
.error-page .quicklinks a {
	display: block;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--surface-strong);
	padding: 1.25rem;
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.error-page .quicklinks a:hover { border-color: var(--border-strong); background: #fff; box-shadow: 0 4px 14px rgba(11, 16, 32, 0.06); }
.error-page .quicklinks strong { display: block; font-size: 14px; color: var(--ink); }
.error-page .quicklinks span { display: block; margin-top: 0.25rem; font-size: 12.5px; color: var(--ink-muted); }

/* ==========================================================================
   Motion (Reveal), reduziert bei prefers-reduced-motion
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .lift, .btn { transition: none; }
	.reveal { opacity: 1; transform: none; }
}

/* === templates-agent === */

/* Seiten-Hero-Untertitel (parts/page-hero.php) */
.page-hero__sub { margin-top: 1rem; max-width: 680px; font-size: 17px; line-height: 1.65; color: var(--ink-muted); }

/* Longform-Body (.doc-Erweiterung für die Seiten-Templates) */
.iq-prose > h2:first-child { margin-top: 0.5rem; }
.iq-prose cite { font-family: var(--font-sans); font-style: normal; font-size: 13.5px; color: var(--ink-muted); }
.iq-prose blockquote p { margin-bottom: 0.5em; }

/* Badges (Cases: Client / Branche / Featured) */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.85rem; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.badges .badge--client { border-radius: 5px; background: var(--accent-soft); color: var(--accent); padding: 3px 8px; }
.badges .badge--faint { color: var(--faint); }
.badges .badge--featured { display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; background: var(--accent); color: #fff; padding: 3px 8px; }

/* Karten-Zusätze (Cases-/Blog-Grid) */
.iq-card__cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.iq-card__subtitle { font-weight: 500; }
.iq-card h2.iq-card__title { margin-bottom: 0.5rem; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 0.6rem; font-size: 12.5px; color: var(--faint); }
.card-meta .mono { font-size: 12px; }

/* Info-Kasten mit Mono-Kicker + Pfeil-Liste (Case-Takeaways) */
.info-card { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 1.5rem; }
.info-card__kicker { margin-bottom: 0.75rem; font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.arrow-list { margin: 0; padding: 0; list-style: none; }
.arrow-list li { display: flex; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.arrow-list li:last-child { margin-bottom: 0; }
.arrow-list__arrow { flex-shrink: 0; color: var(--accent); }

/* Kontakt-Grid (template-kontakt.php) */
.contact-grid { display: grid; gap: 1rem; margin: 2rem 0 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-card { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); padding: 1.1rem 1.25rem; margin: 0; }
.contact-card dt { font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.contact-card dd { margin: 0.35rem 0 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.contact-card dd a { text-decoration: none; }
.contact-card dd a:hover { color: var(--accent); }

/* Jan-Karte (template-danke.php) */
.person-card { margin: 2.5rem 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 1.5rem; max-width: 720px; }
.person-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: #fff; }
.person-card p { margin: 0; }
.person-card__name { font-weight: 600; color: var(--ink); }
.person-card__role, .person-card__hint { margin-top: 2px; font-size: 14px; color: var(--ink-muted); }
.person-card__hint a { font-weight: 600; color: var(--ink); }
