/* ==========================================================================
   Jörg Plinkert Wirtschaftberater – Theme-Stylesheet
   Navy/Gold, Playfair Display + Source Sans 3
   ========================================================================== */

:root {
	--background: 210 20% 98%;
	--foreground: 215 30% 15%;

	--card: 0 0% 100%;
	--card-foreground: 215 30% 15%;

	--primary: 215 50% 16%;
	--primary-foreground: 40 50% 90%;

	--secondary: 210 15% 93%;
	--secondary-foreground: 215 30% 15%;

	--muted: 210 15% 93%;
	--muted-foreground: 215 10% 45%;

	--accent: 40 70% 50%;
	--accent-foreground: 215 50% 10%;

	--border: 210 15% 88%;

	--radius: 6px;

	--hero-gradient: linear-gradient(135deg, hsl(215 50% 12%) 0%, hsl(215 45% 22%) 100%);
	--gold-gradient: linear-gradient(135deg, hsl(42 85% 58%) 0%, hsl(38 90% 65%) 100%);
	--shadow-elegant: 0 20px 60px -15px hsl(215 50% 16% / 0.2);
	--shadow-card: 0 4px 24px -4px hsl(215 50% 16% / 0.08);
	--shadow-glow: 0 0 40px hsl(40 70% 50% / 0.15);

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

	--container-max: 1400px;
	--header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; }
}
html, body { overflow-x: hidden; }
body {
	margin: 0;
	background: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: hsl(var(--background)); }
::-webkit-scrollbar-thumb { background: hsl(var(--muted-foreground) / 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(var(--muted-foreground) / 0.5); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 24px; }
@media (min-width: 768px) { .section-padding { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .section-padding { padding: 112px 96px; } }

.section-narrow { max-width: 896px; margin: 0 auto; }
.section-narrow--sm { max-width: 768px; }

.eyebrow {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--accent));
	margin-bottom: 1rem;
}
.eyebrow--light { color: hsl(var(--accent)); }

.section-title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); margin-bottom: 1rem; }
.section-intro { max-width: 680px; color: hsl(var(--muted-foreground)); font-size: 1.125rem; }
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.text-center { text-align: center; }

.accent { color: hsl(var(--accent)); }
.gradient-text {
	background: var(--gold-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.gold-underline { position: relative; display: inline-block; }
.gold-underline::after {
	content: '';
	position: absolute; left: 0; bottom: -4px; width: 100%; height: 3px;
	background: hsl(var(--accent)); border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	padding: 0.95rem 1.75rem;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 1rem;
	border: 1px solid transparent;
	transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out, border-color 180ms ease-out;
	min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
	box-shadow: var(--shadow-card);
}
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn-outline {
	background: transparent;
	border-color: hsl(0 0% 100% / 0.35);
	color: #fff;
}
.btn-outline:hover { background: hsl(0 0% 100% / 0.08); border-color: hsl(0 0% 100% / 0.6); }
.btn-outline-dark {
	background: transparent;
	border-color: hsl(var(--border));
	color: hsl(var(--foreground));
}
.btn-outline-dark:hover { background: hsl(var(--secondary)); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	height: var(--header-h);
	display: flex; align-items: center;
	background: hsl(215 50% 10% / 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background-color 250ms ease-out, box-shadow 250ms ease-out, height 250ms ease-out;
}
.site-header.is-scrolled {
	background: hsl(215 50% 10% / 0.96);
	box-shadow: 0 8px 30px -10px hsl(215 50% 5% / 0.6);
	height: 64px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }

.brand { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 1; min-width: 0; }
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.brand-logo .logo-bg { fill: hsl(var(--accent)); }
.brand-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.brand-name .brand-accent { color: hsl(var(--accent)); }

.primary-nav { display: none; }
@media (min-width: 900px) {
	.primary-nav { display: flex; align-items: center; gap: 2.25rem; }
	.primary-nav .nav-list { display: flex; align-items: center; gap: 2.25rem; }
	.primary-nav .nav-list > li { position: relative; }
	.primary-nav .nav-list a {
		color: hsl(0 0% 100% / 0.78);
		font-weight: 600;
		font-size: 0.95rem;
		padding: 0.4rem 0.1rem;
		position: relative;
		transition: color 180ms ease-out;
	}
	.primary-nav .nav-list a:hover,
	.primary-nav .nav-list .current-menu-item > a,
	.primary-nav .nav-list .current_page_item > a,
	.primary-nav .nav-list .current-menu-parent > a {
		color: hsl(var(--accent));
	}
	.primary-nav .nav-list .current-menu-item > a::after,
	.primary-nav .nav-list .current_page_item > a::after {
		content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: hsl(var(--accent));
	}
	.primary-nav .sub-menu {
		display: block; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
		background: hsl(215 48% 13%); border: 1px solid hsl(0 0% 100% / 0.08); border-radius: var(--radius);
		min-width: 240px; padding: 0.5rem; box-shadow: var(--shadow-elegant);
		opacity: 0; visibility: hidden; pointer-events: none;
		transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
		z-index: 10;
	}
	.primary-nav .nav-list > li:hover > .sub-menu,
	.primary-nav .nav-list > li:focus-within > .sub-menu {
		opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(2px);
	}
	.primary-nav .sub-menu li a { display: block; padding: 0.6rem 0.8rem; border-radius: 4px; white-space: nowrap; font-weight: 500; }
	.primary-nav .sub-menu li a:hover { background: hsl(0 0% 100% / 0.06); }
	.primary-nav .sub-menu .current-menu-item > a::after { display: none; }
}

.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; flex-shrink: 0; } }

.burger {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex-shrink: 0;
	background: transparent; border: none; color: #fff;
	position: relative; z-index: 210;
}
@media (min-width: 900px) { .burger { display: none; } }
.burger-box { position: relative; display: inline-block; width: 24px; height: 18px; }
.burger-box span {
	position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform 220ms ease-out, opacity 180ms ease-out, top 220ms ease-out;
}
.burger-box span:nth-child(1) { top: 0; }
.burger-box span:nth-child(2) { top: 8px; }
.burger-box span:nth-child(3) { top: 16px; }
.burger[aria-expanded="true"] .burger-box span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-box span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Mobile drawer: body-level sibling of header, NOT nested inside header/sticky element */
.mobile-drawer {
	position: fixed; inset: 0; z-index: 200;
	visibility: hidden;
	pointer-events: none;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.mobile-drawer-overlay {
	position: absolute; inset: 0; background: hsl(215 50% 6% / 0.6);
	opacity: 0; transition: opacity 220ms ease-out;
}
.mobile-drawer.is-open .mobile-drawer-overlay { opacity: 1; }
.mobile-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
	background: hsl(215 50% 11%);
	box-shadow: -20px 0 60px -15px hsl(215 50% 5% / 0.6);
	transform: translateX(100%);
	transition: transform 260ms ease-out;
	display: flex; flex-direction: column;
	padding: 90px 1.75rem 2rem;
	overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer .nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-drawer .nav-list a {
	display: block; padding: 0.85rem 0.25rem; color: hsl(0 0% 100% / 0.85); font-weight: 600; font-size: 1.05rem;
	border-bottom: 1px solid hsl(0 0% 100% / 0.08);
}
.mobile-drawer .nav-list .current-menu-item > a,
.mobile-drawer .nav-list .current_page_item > a { color: hsl(var(--accent)); }
.mobile-drawer .sub-menu { padding-left: 1rem; }
.mobile-drawer .sub-menu a { font-size: 0.95rem; font-weight: 500; padding: 0.6rem 0.25rem; }
.mobile-drawer .drawer-cta { margin-top: 1.5rem; }
@media (min-width: 900px) { .mobile-drawer { display: none; } }

@media (max-width: 899px) {
	.header-cta,
	.site-header .header-cta { display: none !important; }
	.site-header:hover .header-cta,
	.site-header:focus-within .header-cta { transform: none !important; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex; align-items: center;
	background: var(--hero-gradient);
	overflow: hidden;
	padding-top: var(--header-h);
}
.hero-bg {
	position: absolute; inset: 0;
	background-image: url('../images/hero-bg.jpg');
	background-size: cover; background-position: center;
	transform: scale(1.08);
	opacity: 0.55;
}
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, hsl(215 50% 10% / 0.95) 0%, hsl(215 48% 16% / 0.88) 55%, hsl(215 50% 12% / 0.85) 100%);
}
.hero-overlay::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: -2px; height: 140px;
	background: linear-gradient(to bottom, transparent, hsl(var(--background)));
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 4rem 24px 8rem; }
@media (min-width: 768px) { .hero-inner { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .hero-inner { padding-left: 96px; padding-right: 96px; } }
.hero-content { max-width: 760px; }
.hero-eyebrow { color: hsl(var(--accent)); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 1.25rem; }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 3.75rem); color: #fff; line-height: 1.12; margin-bottom: 1.25rem; }
.hero-title .accent-line { display: block; color: hsl(var(--accent)); }
.hero-subtitle { color: hsl(0 0% 100% / 0.82); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.trust-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem;
	max-width: 680px;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.trust-icon {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px;
	background: hsl(var(--accent) / 0.14); color: hsl(var(--accent));
	display: flex; align-items: center; justify-content: center;
}
.trust-icon .icon { width: 22px; height: 22px; }
.trust-copy strong { display: block; color: #fff; font-size: 0.92rem; font-weight: 700; }
.trust-copy span { display: block; color: hsl(0 0% 100% / 0.6); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Value pillars (replaces numeric stat counters) ---------- */
.value-pillars {
	position: relative; z-index: 3;
	margin-top: -64px;
	padding: 0 24px;
}
@media (min-width: 768px) { .value-pillars { padding: 0 48px; } }
@media (min-width: 1024px) { .value-pillars { padding: 0 96px; } }
.value-pillars-grid {
	max-width: var(--container-max); margin: 0 auto;
	display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .value-pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
	background: hsl(var(--card)); border-radius: 12px; padding: 2rem;
	box-shadow: var(--shadow-card);
	transition: box-shadow 400ms ease-out, transform 400ms ease-out;
	text-align: center;
}
.pillar-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.pillar-icon {
	width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 999px;
	background: hsl(var(--accent) / 0.12); color: hsl(var(--accent));
	display: flex; align-items: center; justify-content: center;
}
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.pillar-card p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin: 0; }

/* ---------- Why section ---------- */
.why-section { background: hsl(var(--background)); padding-top: 6rem; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.why-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; }
.why-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: hsl(var(--foreground)); }
.why-list .icon { color: hsl(var(--accent)); margin-top: 2px; }

.quote-card {
	background: hsl(var(--secondary)); border-radius: 16px; padding: 2.5rem;
	box-shadow: var(--shadow-card);
}
.quote-card blockquote { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: hsl(var(--foreground)); margin: 0 0 1.5rem; line-height: 1.5; }
.quote-author { display: flex; align-items: center; gap: 0.9rem; }
.quote-avatar {
	width: 48px; height: 48px; border-radius: 999px; background: hsl(var(--accent) / 0.15);
	color: hsl(var(--accent)); display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 700; flex-shrink: 0;
}
.quote-author strong { display: block; font-size: 0.98rem; }
.quote-author span { display: block; color: hsl(var(--muted-foreground)); font-size: 0.85rem; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .services-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid--3col { grid-template-columns: repeat(3, 1fr); } }

.service-card {
	background: hsl(var(--card)); border-radius: 12px; padding: 2.25rem;
	box-shadow: var(--shadow-card);
	transition: box-shadow 400ms ease-out, transform 400ms ease-out;
	display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-5px); }
.service-icon {
	width: 56px; height: 56px; border-radius: 12px; background: hsl(var(--accent) / 0.12);
	color: hsl(var(--accent)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.65rem; }
.service-card p { color: hsl(var(--muted-foreground)); font-size: 0.97rem; margin-bottom: 1rem; }
.service-points { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.service-points li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: hsl(var(--foreground)); }
.service-points .icon { width: 17px; height: 17px; color: hsl(var(--accent)); flex-shrink: 0; }
.service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; color: hsl(var(--accent)); font-weight: 600; font-size: 0.92rem; transition: gap 180ms ease-out; }
.service-more:hover { gap: 0.65rem; }
.service-more .icon { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: hsl(var(--card)); border-radius: 10px; box-shadow: var(--shadow-card); overflow: hidden; }
.faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.3rem 1.5rem; background: none; border: none; text-align: left;
	font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: hsl(var(--foreground));
}
.faq-question .icon { color: hsl(var(--accent)); transition: transform 220ms ease-out; flex-shrink: 0; }
.faq-item.is-open .faq-question .icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms ease-out; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 1.5rem 1.4rem; color: hsl(var(--muted-foreground)); margin: 0; font-size: 0.97rem; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step .step-number { font-family: var(--font-display); font-size: 2.75rem; color: hsl(var(--accent) / 0.35); margin-bottom: 0.25rem; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin: 0; }

/* ---------- Timeline (Über uns) ---------- */
.timeline { position: relative; margin-top: 1rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: hsl(var(--border)); }
@media (min-width: 1024px) { .timeline::before { left: 50%; transform: translateX(-1px); } }
.timeline-item { position: relative; padding-left: 2.25rem; padding-bottom: 2.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: 0.35rem; width: 16px; height: 16px; border-radius: 999px; background: hsl(var(--accent)); box-shadow: 0 0 0 4px hsl(var(--accent) / 0.18); }
.timeline-date { font-weight: 700; color: hsl(var(--accent)); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.3rem; }
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.timeline-item p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin: 0; }
@media (min-width: 1024px) {
	.timeline-item { width: 50%; padding-left: 0; padding-right: 3rem; }
	.timeline-item .timeline-dot { left: auto; right: -8px; }
	.timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; }
	.timeline-item:nth-child(even) .timeline-dot { left: -8px; right: auto; }
}

/* ---------- Qualification cards (Über uns) ---------- */
.qual-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .qual-grid { grid-template-columns: repeat(2, 1fr); } }
.qual-card { background: hsl(var(--card)); border-radius: 12px; padding: 1.75rem; box-shadow: var(--shadow-card); }
.qual-card .qual-icon { width: 46px; height: 46px; border-radius: 10px; background: hsl(var(--accent) / 0.12); color: hsl(var(--accent)); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.qual-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.qual-card p { color: hsl(var(--muted-foreground)); font-size: 0.9rem; margin: 0; }

/* ---------- Dark intro (sub-pages) ---------- */
.page-intro {
	background: var(--hero-gradient);
	padding: calc(var(--header-h) + 3.5rem) 24px 4.5rem;
	text-align: center;
	position: relative;
}
.page-intro::before {
	content: ''; position: absolute; inset: 0;
	background-image: url('../images/hero-bg.jpg'); background-size: cover; background-position: center;
	opacity: 0.12; mix-blend-mode: overlay;
}
.page-intro .container { position: relative; z-index: 1; }
.page-intro .eyebrow { color: hsl(var(--accent)); }
.page-intro h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-intro h1 .accent { color: hsl(var(--accent)); }
.page-intro p { color: hsl(0 0% 100% / 0.78); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hero-gradient); padding: 5rem 24px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: hsl(0 0% 100% / 0.78); max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Light / muted sections ---------- */
.section-muted { background: hsl(var(--secondary) / 0.55); }

/* ---------- Institutions-ersatz (Werte-Leiste) ---------- */
.values-strip { background: hsl(var(--secondary) / 0.5); padding: 3rem 24px; text-align: center; }
.values-strip .eyebrow { margin-bottom: 1.25rem; }
.values-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; }
.values-pill { border: 1px solid hsl(var(--border)); border-radius: 999px; padding: 0.6rem 1.4rem; font-weight: 600; color: hsl(var(--muted-foreground)); font-size: 0.92rem; background: hsl(var(--card)); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 3rem; } }
.contact-form-card { background: hsl(var(--card)); border-radius: 14px; padding: 2.25rem; box-shadow: var(--shadow-card); }
.contact-form-card h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 540px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.45rem; }
.form-field input, .form-field textarea {
	width: 100%; border: 1px solid hsl(var(--border)); border-radius: 8px; padding: 0.8rem 1rem;
	background: hsl(var(--background)); color: hsl(var(--foreground));
	transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.form-field input:focus, .form-field textarea:focus {
	outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 3px hsl(var(--accent) / 0.18);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.contact-side { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { background: hsl(var(--card)); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow-card); }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.contact-row { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.1rem; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon { color: hsl(var(--accent)); margin-top: 3px; flex-shrink: 0; }
.contact-row strong { display: block; font-size: 0.9rem; }
.contact-row span, .contact-row a { display: block; color: hsl(var(--muted-foreground)); font-size: 0.95rem; }
.contact-note { background: hsl(var(--secondary) / 0.6); }
.contact-note h3 { margin-bottom: 0.75rem; }
.contact-note p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; margin: 0; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 768px; margin: 0 auto; padding: calc(var(--header-h) + 3rem) 24px 5rem; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.25rem; margin-bottom: 0.75rem; }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.legal-page p, .legal-page li { color: hsl(var(--foreground)); font-size: 1rem; }
.legal-page a { color: hsl(var(--accent)); text-decoration: underline; }
.legal-page ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: hsl(215 50% 10%); color: hsl(0 0% 100% / 0.75); }
.footer-main { padding: 4.5rem 24px 3rem; }
@media (min-width: 768px) { .footer-main { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .footer-main { padding-left: 96px; padding-right: 96px; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: var(--container-max); margin: 0 auto; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-logo { width: 34px; height: 34px; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; margin-bottom: 1.25rem; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; transition: color 180ms ease-out; }
.footer-col a:hover { color: hsl(var(--accent)); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.92rem; }
.footer-contact-row .icon { color: hsl(var(--accent)); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid hsl(0 0% 100% / 0.1); padding: 1.5rem 24px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom-links a:hover { color: hsl(var(--accent)); }

/* ---------- Scroll reveals: transform-only, visible without JS ---------- */
.reveal {
	transform: translateY(28px);
	transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}
.reveal.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	.reveal { transform: none !important; transition: none !important; }
}

/* ---------- 404 ---------- */
.error-404-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + 3rem) 24px 5rem; }
.error-404-page .error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); color: hsl(var(--accent) / 0.3); margin-bottom: 0.5rem; }

/* ---------- Contact Form 7 ---------- */
.contact-form-card .wpcf7-form p { margin: 0; }
.contact-form-card .wpcf7-form-control-wrap { display: block; }
.contact-form-card .wpcf7-form input[type="text"],
.contact-form-card .wpcf7-form input[type="email"],
.contact-form-card .wpcf7-form input[type="tel"],
.contact-form-card .wpcf7-form textarea {
	width: 100%; border: 1px solid hsl(var(--border)); border-radius: 8px; padding: 0.8rem 1rem;
	background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: var(--font-body);
	transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.contact-form-card .wpcf7-form input:focus,
.contact-form-card .wpcf7-form textarea:focus {
	outline: none; border-color: hsl(var(--accent)); box-shadow: 0 0 0 3px hsl(var(--accent) / 0.18);
}
.contact-form-card .wpcf7-form textarea { min-height: 140px; resize: vertical; }
.contact-form-card .wpcf7-form .btn[type="submit"] {
	border: none; width: 100%;
}
.contact-form-card .wpcf7-spinner { margin-left: 0.75rem; }
.contact-form-card .wpcf7-not-valid-tip { color: hsl(0 72% 51%); font-size: 0.85rem; margin-top: 0.35rem; }
.contact-form-card .wpcf7-response-output { border-radius: 8px; margin: 1.25rem 0 0; padding: 0.9rem 1.1rem; font-size: 0.92rem; }

@media (max-width: 599px) {
	.section-padding { padding: 64px 20px; }
	.hero-inner { padding-top: 3rem; padding-bottom: 5rem; }
	.hero-actions .btn { width: 100%; }
	.value-pillars { margin-top: -40px; }
	body { font-size: 16px; }
}
