/* ==========================================================================
   envitron 2026 - main.css
   Brand-Token-basiertes, semantisches Layout (WCAG 2.1 AA).
   Keine externe Font-Quelle (DSGVO), System-Font-Stack.
   ========================================================================== */

/* ------------------------------------------------------------- 1. Tokens */
:root {
	/* Brand */
	--brand-50:  #f0fdf4;
	--brand-100: #dcfce7;
	--brand-200: #bbf7d0;
	--brand-300: #86efac;
	--brand-400: #30c553;
	--brand-500: #28a745;
	--brand-600: #218838;
	--brand-700: #1c7430;
	--brand-800: #166528;
	--brand-900: #0c4517;

	/* Neutrals - dunkleres Blau-Grau statt reinem Schwarz */
	--ink-900: #2a3142;   /* Headlines + Body - etwas dunkler als #40495D */
	--ink-800: #353d52;
	--ink-700: #40495d;   /* sekundaerer Text */
	--ink-500: #6b7280;
	--ink-300: #d1d5db;
	--ink-100: #f3f4f6;
	--ink-50:  #f9fafb;
	--white:   #ffffff;

	--danger:  #dc3545;
	--warning: #f59e0b;

	/* Schrift */
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--fs-xs:  0.875rem;
	--fs-sm:  1rem;
	--fs-md:  clamp(1rem,   0.95rem + 0.25vw, 1.125rem);
	--fs-lg:  clamp(1.25rem, 1.15rem + 0.5vw,  1.5rem);
	--fs-xl:  clamp(1.5rem,  1.35rem + 0.75vw, 2rem);
	--fs-2xl: clamp(2rem,    1.75rem + 1.25vw, 2.75rem);
	--fs-3xl: clamp(2.5rem,  2rem + 2.5vw,     3.75rem);

	--lh-tight:   1.15;
	--lh-snug:    1.25;
	--lh-normal:  1.5;
	--lh-relaxed: 1.6;

	/* Spacing */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;

	/* Layout
	 * --wide-width    = .container       (1290px, Standard ueberall)
	 * --content-width = .container--narrow (780px, reine Lesetext-Pages)
	 * --gutter         = horizontale Polsterung links/rechts im Container */
	--content-width: 780px;
	--wide-width:    1290px;
	--gutter:        clamp(1rem, 4vw, 2.5rem);

	/* Header */
	--header-height: 84px;

	/* Shadows */
	--shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
	--shadow-md: 0 4px 12px rgba(17, 24, 39, .08);
	--shadow-lg: 0 12px 36px rgba(17, 24, 39, .12);

	/* Radius */
	--radius-sm: 3px;
	--radius-md: 6px;
	--radius-lg: 12px;

	/* Motion */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-med:  250ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

	/* Fehlende Ink-Stufen fuer feingranulare Borders / Hintergruende. */
	--ink-200: #e5e7eb;
	--ink-400: #9ca3af;
	--ink-600: #4b5563;
}

/* ----------------------------------------------------- 2. Reset / Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	font-size: 100%;
	line-height: var(--lh-relaxed);
	scroll-padding-top: calc(var(--header-height) + 1rem);
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	/* Mobile-Drawer-Fix: verhindert horizontalen Body-Scroll, durch den
	 * der position:fixed Drawer (translateX(100%) "off-screen") sichtbar
	 * mit-scrollt, sobald irgendein anderes Element die Seite über 100vw
	 * verbreitert. `clip` ist sticky-safe (anders als `hidden`, das die
	 * `position: sticky`-Verankerung auf .site-header bricht).
	 * Fallback `hidden` via @supports unten - Safari <16, FF <81. */
	overflow-x: hidden;
}
@supports (overflow-x: clip) {
	html { overflow-x: clip; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-md);
	color: var(--ink-800);
	background: var(--white);
	font-feature-settings: "kern", "liga", "calt", "cv11";
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Default-Body-Text in --ink-800 (Brand-Dunkelblau-Grau), nicht hartem
   Schwarz. Headings koennen --ink-900 nehmen fuer Kontrast. */
p, li, dd, td, th { color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--ink-900); }

img, svg, video, picture {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--brand-600);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color var(--transition-fast);
}
a:hover { color: var(--brand-700); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--brand-500);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

::selection { background: var(--brand-500); color: var(--white); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--space-4);
	color: var(--ink-900);
	font-weight: 700;
	line-height: var(--lh-tight);
	/* Lange deutsche Compound-Words (Schneelast-Monitoring-System,
	 * Dachueberwachung, Produktfamilie) brechen sonst nicht und
	 * sprengen Mobile-Container. hyphens funktioniert nur mit
	 * `lang="..."` korrekt — und das setzt language_attributes()
	 * am <html> bereits. */
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
	word-wrap: break-word;
	text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-xl);  line-height: var(--lh-snug); font-weight: 600; }
h4 { font-size: var(--fs-lg);  font-weight: 600; }

/* Paragraph-Tails: keine Hyphenation, aber Fluss vermeiden,
 * dass lange URLs / Words horizontal scrollen. */
p {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

p, ul, ol, dl, blockquote, figure, table {
	margin: 0 0 var(--space-5);
}

ul, ol { padding-left: 1.5rem; }

/* Fliesstext-List-Spacing.
 *
 * Frueher GLOBAL: `li + li { margin-top: var(--space-2); }` - das ist
 * fuer Fliesstext-Listen schoen, killt aber JEDES Grid/Flex-Layout, das
 * <ul role="list"> als Container nutzt. Dort werden Card 2..N um die
 * volle var(--space-2) nach unten verschoben, Card 1 bleibt oben - und
 * weil `align-items: stretch` (Default) gilt, wirkt Card 1 visuell
 * groesser / weiter oben als alle anderen. Genau das hatten wir auf
 * partners-grid, schneelast-stats, schneelast-pillars,
 * info-banner-contact, contact-cta-cards, contact-channels usw.
 *
 * Fix: das List-Spacing nur in "natuerlichen" Listen-Kontexten anwenden
 * (Prose, Footer-Listen, Search-Results, Legal-Pages). Layout-Listen
 * sind explizit mit `role="list"` markiert oder leben in einem Grid-
 * Container - die schliessen wir per :not()-Kombi aus.
 *
 * Der :where()-Wrapper haelt die Spezifitaet bei 0,0,1 (eine Tag-Spez),
 * sodass die Regel beliebig leicht ueberschrieben werden kann. */
:where(.prose, .site-footer, .search-results, .legal-content)
li:not([role="list"] > *) + li:not([role="list"] > *) {
	margin-top: var(--space-2);
}

/* Layout-Listen mit role="list" bekommen kein li+li Spacing - der Gap
 * der Grid-/Flex-Container ist die Quelle der Trennung. Pflicht, weil
 * VoiceOver bei list-style: none den list-Role sonst droppt; deshalb
 * setzen wir das role="list" im Template explizit. */
ul[role="list"], ol[role="list"] {
	padding-left: 0;
	list-style: none;
}
ul[role="list"] > li + li,
ol[role="list"] > li + li {
	margin-top: 0;
}

/* --------------------------------------- 3. Accessibility Utilities */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -64px;
	left: 1rem;
	z-index: 9999;
	background: var(--brand-700);
	color: var(--white) !important;
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-sm);
	text-decoration: none;
	font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand-700);
	font-weight: 600;
	margin: 0 0 var(--space-3);
}

/* ----------------------------------------------------- 4. Layout */
.container {
	width: 100%;
	max-width: var(--wide-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow {
	max-width: var(--content-width);
}

.section {
	padding-block: clamp(2.5rem, 6vw, 5rem);
}
.section--alt    { background: var(--ink-50); }
.section--accent { background: var(--brand-50); }
.section--dark   { background: var(--ink-900); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--centered { text-align: center; }

/* ============================================================
 * Layout-Konvention: section > container > hgroup + section__content
 * ============================================================
 * Eine Konvention, die ueberall im Theme greift:
 *
 *   <section class="section section--flow">
 *     <div class="container">
 *       <hgroup class="hgroup">
 *         <p class="eyebrow">EYEBROW</p>
 *         <h2>Headline</h2>
 *         <p class="hgroup__lead">Untertitel / Lead-Text</p>
 *       </hgroup>
 *       <div class="section__content">
 *         ...Cards, Grid, Liste, was auch immer
 *       </div>
 *     </div>
 *   </section>
 *
 * Die hgroup ist editorial-zentriert oder linksbuendig (Modifier),
 * der section__content ist auf Desktop + Tablet leicht eingerueckt
 * (1.25rem = 20px) — auf Mobile bündig. Ergibt einen klaren
 * "Editorial-Flow": erst Headline, dann der Content darunter mit
 * Indent zum H2 als visueller Hierarchie.
 * ------------------------------------------------------------ */

/* Browser-Reset fuer <hgroup> (manche UAs setzen list-like margins) */
hgroup, .hgroup {
	display: block;
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	padding: 0;
	max-width: 60ch;
	margin-inline: auto;
	text-align: center;
}

/* Modifier */
.hgroup--left,
hgroup.hgroup--left {
	margin-inline: 0;
	text-align: left;
	max-width: none;
}
.hgroup--narrow,
hgroup.hgroup--narrow {
	max-width: 50ch;
}
.hgroup--wide,
hgroup.hgroup--wide {
	max-width: 80ch;
}

/* Auf schmalen Viewports fuehrt hgroup--left mit grossen H2 zu
 * Overflow (kein Platz fuer "Direkter Draht zu Reiner Reisch."
 * in einer Zeile). Wir lassen die Schrift links, aber begrenzen die
 * Breite, sodass das H2 sauber umbricht. */
@media (max-width: 640px) {
	.hgroup--left,
	hgroup.hgroup--left {
		max-width: 100%;
	}
}

/* hgroup-Children */
.hgroup .eyebrow,
hgroup .eyebrow {
	margin-bottom: 0.4rem;
}

.hgroup h1,
.hgroup h2,
.hgroup h3,
.hgroup h4,
hgroup h1,
hgroup h2,
hgroup h3,
hgroup h4 {
	margin: 0;
}

.hgroup h2,
hgroup h2 {
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
	line-height: 1.18;
	color: var(--ink-900);
}

.hgroup__lead,
hgroup .hgroup__lead {
	margin: 0.75rem 0 0;
	color: var(--ink-700);
	font-size: var(--fs-md);
	line-height: 1.55;
}

.section--dark .hgroup__lead,
.section--dark hgroup .hgroup__lead {
	color: rgba(255, 255, 255, 0.78);
}

/* Section-Content
 * ------------------------------------------------------------
 * Default: kein Indent. Mit .section--flow am section-Container
 * wird der Content auf Desktop+Tablet 1.25rem links eingerueckt,
 * auf Mobile bündig — ergibt den editorialen Lesefluss. */
.section__content {
	margin: 0;
}

.section--flow .section__content {
	padding-left: clamp(0px, 2.5vw, 1.25rem);
}
@media (max-width: 720px) {
	.section--flow .section__content {
		padding-left: 0;
	}
}

/* Backwards-Compat: alte .section__header bleibt verlinkbar
 * (z.B. wenn Plugins / acf-blocks die Klasse benutzen).
 * Identische Optik wie .hgroup. */
.section__header {
	display: block;
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	max-width: 60ch;
	margin-inline: auto;
	text-align: center;
}
.section__header--left   { margin-inline: 0; text-align: left; max-width: none; }
.section__header--center { margin-inline: auto; text-align: center; }
.section__header h2 {
	margin: 0;
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
	line-height: 1.18;
	color: var(--ink-900);
}
.section__header .eyebrow { margin-bottom: 0.5rem; }
.section__header .section__lead,
.section__header .hgroup__lead {
	margin-top: 0.75rem;
	color: var(--ink-700);
	max-width: 60ch;
	margin-inline: auto;
}

/* ----------------------------------------------------- 5. Site Header (sticky)
   Styles ausgelagert nach assets/css/header.css (enqueued als 'envitron-header').
   Hier nur Anker-Kommentar - der Header sollte zusammenhängend in einer Datei
   bleiben (Mobile-Drawer, Submenu, Hide-on-Scroll). */

/* ----------------------------------------------------- 6. Hero */
.hero {
	position: relative;
	min-height: clamp(420px, 65vh, 700px);
	display: grid;
	place-items: end start;
	overflow: hidden;
	background: var(--ink-900);
}
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	opacity: 0.65;
}
/* BG-Variante: Snow-Crystal als Hintergrund, mit dunklem Veil ueberlagert
 * (hero--snow). Das Bild bleibt voll deckend, der Veil sorgt fuer
 * Textkontrast. */
.hero--snow {
	background: var(--ink-900, #08213b);
}
.hero__image--bg {
	opacity: 1;
}
.hero__veil {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(8, 33, 59, 0.55) 0%, rgba(8, 33, 59, 0.78) 100%),
		linear-gradient(90deg, rgba(8, 33, 59, 0.80) 0%, rgba(8, 33, 59, 0.40) 60%, rgba(8, 33, 59, 0.20) 100%);
	pointer-events: none;
}
.hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--wide-width);
	width: 100%;
	margin-inline: auto;
	padding: clamp(2.5rem, 8vw, 6rem) var(--gutter);
	color: var(--white);
}
.hero__eyebrow {
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-300);
	margin-bottom: var(--space-3);
}
.hero__title {
	color: var(--white);
	max-width: 900px;
	margin-bottom: var(--space-4);
	text-shadow: 0 2px 18px rgba(0,0,0,.4);
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
	word-wrap: break-word;
	text-wrap: balance;
}
.hero__subtitle {
	color: var(--ink-100);
	font-size: var(--fs-lg);
	max-width: 720px;
	margin-bottom: var(--space-6);
	font-weight: 400;
	text-shadow: 0 2px 12px rgba(0,0,0,.4);
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
	word-wrap: break-word;
	text-wrap: pretty;
}
.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}
.hero--secondary {
	min-height: clamp(280px, 45vh, 460px);
}

/* Mobile (<=640px): kompaktere Hero-Typo, voller Platz fuer Umbruch. */
@media (max-width: 640px) {
	.hero {
		min-height: clamp(420px, 80vh, 640px);
	}
	.hero__title {
		max-width: 100%;
		font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem);
	}
	.hero__subtitle {
		font-size: 1rem;
		line-height: 1.5;
		max-width: 100%;
		margin-bottom: var(--space-5);
	}
	.hero__cta {
		gap: var(--space-2);
	}
	.hero__cta .button {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: center;
	}
}

/* ----------------------------------------------------- 7. Buttons */
.button {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding: 0.875rem 1.5rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	font-weight: 600;
	text-decoration: none;
	font-size: var(--fs-sm);
	cursor: pointer;
	transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.button--primary {
	background: var(--brand-500);
	color: var(--white);
	border-color: var(--brand-500);
}
.button--primary:hover {
	background: var(--brand-600);
	border-color: var(--brand-600);
	color: var(--white);
	transform: translateY(-1px);
}

/* Secondary: weisse Pille mit Grün - fuer farbige / dunkle Hintergruende */
.button--secondary {
	background: var(--white);
	color: var(--brand-700);
	border-color: var(--white);
}
.button--secondary:hover {
	background: var(--brand-50);
	color: var(--brand-800);
	border-color: var(--brand-50);
	transform: translateY(-1px);
}

/* Ghost: transparent + weisser Text + weisser Border (auf dunklen BGs) */
.button--ghost {
	background: transparent;
	color: var(--white);
	border-color: rgba(255,255,255,.6);
}
.button--ghost:hover {
	background: rgba(255,255,255,.12);
	color: var(--white);
	border-color: var(--white);
}

/* Outline: transparent + Grün - auf hellen Hintergruenden */
.button--outline {
	background: transparent;
	color: var(--brand-700);
	border-color: var(--brand-500);
}
.button--outline:hover {
	background: var(--brand-500);
	color: var(--white);
}

/* ----------------------------------------------------- 8. Product Grid (Startseite)
 * auto-fill statt auto-fit:
 *   - auto-fit kollabiert leere Spalten -> Cards in der letzten Reihe
 *     strecken sich, wenn die Reihe nicht voll ist (z.B. 4+2 auf 1500px:
 *     die 2 Cards in Reihe 2 waeren doppelt so breit wie in Reihe 1).
 *   - auto-fill behaelt leere Spalten -> alle Cards ueberall gleich breit. */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: var(--space-6);
}
.product-card {
	background: var(--white);
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}
.product-card:hover,
.product-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--brand-300);
}
.product-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ink-100);
}
.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-card__body {
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1;
}
.product-card__eyebrow {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand-700);
}
.product-card__title {
	font-size: var(--fs-lg);
	margin: 0;
}
.product-card__title a {
	color: var(--ink-900);
	text-decoration: none;
}
.product-card__title a:hover { color: var(--brand-700); }
.product-card__description {
	color: var(--ink-700);
	font-size: var(--fs-sm);
	flex: 1;
}
.product-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--brand-700);
	font-weight: 600;
	text-decoration: none;
	margin-top: auto;
}
.product-card__link::after {
	content: "→";
	transition: transform var(--transition-fast);
}
.product-card__link:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------- 9. Contact CTA Module
 * Redesigned 2026-05-19: Split-Layout
 *   - Links: Intro (Eyebrow + H2 + Sub + Signature mit Reiner-Reisch-Avatar)
 *   - Rechts: zwei Action-Cards (Telefon + E-Mail), jeweils mit Icon,
 *     Label, Wert und Helper-Text. Telefon-Card hat zusaetzlich einen
 *     Pulse-Ring um das Icon — diskret, signalisiert "wir sind erreichbar".
 *   - Hintergrund: dunkler Markenton mit zwei weichen Brand-Blobs.
 * --------------------------------------------------------------------- */
.contact-cta {
	position: relative;
	color: var(--white);
	padding-block: clamp(3.5rem, 8vw, 6rem);
	background:
		radial-gradient(ellipse at 80% 0%, rgba(40, 167, 69, 0.20) 0%, transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(40, 167, 69, 0.16) 0%, transparent 50%),
		linear-gradient(165deg, var(--ink-900) 0%, #1f2738 60%, var(--ink-900) 100%);
	overflow: hidden;
	isolation: isolate;
}

.contact-cta__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.contact-cta__blob {
	position: absolute;
	width: 28rem;
	aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0.45;
}
.contact-cta__blob--a {
	background: radial-gradient(circle, var(--brand-500) 0%, transparent 70%);
	top: -8rem;
	right: -6rem;
}
.contact-cta__blob--b {
	background: radial-gradient(circle, #28a76b 0%, transparent 70%);
	bottom: -10rem;
	left: -8rem;
	opacity: 0.32;
}

.contact-cta__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
@media (max-width: 900px) {
	.contact-cta__inner {
		grid-template-columns: 1fr;
		gap: clamp(2rem, 5vw, 3rem);
	}
}

/* Intro-Block */
.contact-cta__intro {
	display: grid;
	gap: var(--space-3);
}
.contact-cta__eyebrow {
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--brand-300);
	margin: 0;
}
.contact-cta__lead {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 700;
	margin: 0;
	color: var(--white);
	line-height: 1.15;
	text-wrap: balance;
}
.contact-cta__sub {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--fs-md);
	max-width: 48ch;
	line-height: 1.55;
}

/* Signature: Reiner Reisch Avatar + Name */
.contact-cta__signature {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: clamp(1.25rem, 3vw, 2rem);
	padding-top: clamp(1.25rem, 3vw, 1.75rem);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-cta__avatar {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.20);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.contact-cta__signature-text {
	display: grid;
	gap: 0.15rem;
}
.contact-cta__signature-name {
	margin: 0;
	font-weight: 700;
	color: var(--white);
	font-size: 1rem;
}
.contact-cta__signature-role {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.65);
}

/* Cards-Wrapper rechts */
.contact-cta__cards {
	display: grid;
	gap: clamp(0.75rem, 1.5vw, 1rem);
}

.contact-cta__card {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1.1rem;
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--white);
	backdrop-filter: blur(8px);
	transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	will-change: transform;
}
.contact-cta__card:hover,
.contact-cta__card:focus-visible {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow: 0 18px 38px -20px rgba(40, 167, 69, 0.55);
	color: var(--white);
}
.contact-cta__card:focus-visible {
	outline: 3px solid var(--brand-300);
	outline-offset: 3px;
}

.contact-cta__icon {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
	display: grid;
	place-items: center;
	color: var(--white);
	flex-shrink: 0;
	box-shadow: 0 8px 20px -8px rgba(40, 167, 69, 0.65);
}
.contact-cta__icon svg {
	width: 26px;
	height: 26px;
	display: block;
}

.contact-cta__pulse {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--brand-300);
	opacity: 0.7;
	animation: envitronPulse 2.4s ease-out infinite;
	pointer-events: none;
}
@keyframes envitronPulse {
	0%   { transform: scale(0.95); opacity: 0.7; }
	70%  { transform: scale(1.30); opacity: 0;   }
	100% { transform: scale(1.30); opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
	.contact-cta__pulse { animation: none; opacity: 0.3; }
	.contact-cta__card,
	.contact-cta__card:hover { transition: none; transform: none; }
}

.contact-cta__card-body {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}
.contact-cta__card-label {
	font-size: 0.78rem;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--brand-300);
}
.contact-cta__card-value {
	font-size: clamp(1.05rem, 1vw + 0.65rem, 1.25rem);
	font-weight: 700;
	color: var(--white);
	word-break: break-word;
}
.contact-cta__card-helper {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.62);
}

/* Wenn KEIN Sub vorhanden ist (z.B. ueber template-args), bekommt
 * der Lead-H2 etwas mehr Abstand zum Signature-Block. */
.contact-cta__intro:has(.contact-cta__sub:empty) .contact-cta__signature {
	margin-top: 0.5rem;
}

/* ----------------------------------------------------- 9b. Story-Sektion ("Ueber uns") */
.story {
	padding-block: clamp(3.5rem, 7vw, 6rem);
	background: var(--ink-50);
}
.story__inner {
	max-width: var(--wide-width);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
@media (max-width: 900px) {
	.story__inner { grid-template-columns: 1fr; }
}
.story__col { display: grid; gap: var(--space-5); }

.story__eyebrow-badge {
	display: inline-flex;
	align-self: start;
	padding: var(--space-2) var(--space-4);
	background: var(--brand-100);
	color: var(--brand-800);
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 999px;
}

.story__headline {
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	line-height: 1.15;
	margin: 0;
	color: var(--ink-900);
	letter-spacing: -0.01em;
}

.story__lead {
	font-size: var(--fs-md);
	color: var(--ink-700);
	margin: 0;
}

.story__figure {
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.story__figure img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.story__figure--portrait img { aspect-ratio: 3 / 4; }
.story__figure--landscape img { aspect-ratio: 16 / 10; }
.story__figure--right { margin-left: auto; max-width: 80%; }
.story__figure--left  { max-width: 75%; }

.story__quote {
	border-left: 4px solid var(--brand-500);
	padding-left: var(--space-4);
	font-size: var(--fs-lg);
	font-style: italic;
	color: var(--ink-800);
	margin: 0;
}

.story__cta { align-self: start; }

/* ----------------------------------------------------- 9c. Awards-Sektion: ausgelagert in awards.css */

/* ----------------------------------------------------- 10. Press Grid */
.press-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: var(--space-6);
}
.press-card {
	background: var(--white);
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--transition-med), box-shadow var(--transition-med);
}
.press-card:hover,
.press-card:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}
.press-card__cover {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--ink-100);
}
.press-card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.press-card__body {
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	flex: 1;
}
.press-card__source {
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand-700);
	font-weight: 600;
}
.press-card__title {
	font-size: var(--fs-lg);
	margin: 0;
	line-height: var(--lh-snug);
}
.press-card__excerpt {
	color: var(--ink-700);
	font-size: var(--fs-sm);
	flex: 1;
}
.press-card__action {
	margin-top: auto;
}

/* ----------------------------------------------------- 11. FAQ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}
.faq-item {
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-md);
	background: var(--white);
}
.faq-item__trigger {
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	padding: var(--space-5);
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--ink-900);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	cursor: pointer;
}
.faq-item__trigger::after {
	content: "+";
	font-size: 1.5rem;
	color: var(--brand-700);
	transition: transform var(--transition-fast);
}
.faq-item__trigger[aria-expanded="true"]::after { content: "−"; }
.faq-item__content {
	padding: 0 var(--space-5) var(--space-5);
	color: var(--ink-700);
}
.faq-item__content[hidden] { display: none; }

/* ----------------------------------------------------- 12. Site Footer
 * Footer-Styles wurden in `assets/css/footer.css` ausgelagert (Datei-Hygiene).
 */

/* ----------------------------------------------------- 13. Misc */
.page-header {
	background: var(--ink-50);
	padding-block: clamp(2rem, 5vw, 4rem);
}
.page-header__title { margin: 0; }

.search-form {
	display: flex;
	gap: var(--space-2);
}
.search-form__field {
	flex: 1;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--ink-300);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
	min-height: 44px;
}
.search-form__submit {
	background: var(--brand-500);
	color: var(--white);
	border: 0;
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}

.icon {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	vertical-align: -0.18em;
	fill: currentColor;
}
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.75em; height: 1.75em; }
