/* =========================================================================
   Auto Service Käfertal – Theme Styles
   Design: Graphit + Signalrot, Poppins/Inter, modern & responsive
   ========================================================================= */

:root {
	--ink: #11151c;
	--ink-2: #1b212b;
	--surface: #ffffff;
	--surface-2: #f5f7fa;
	--muted: #5b6573;
	--line: #e6e9ee;
	--brand: #f5b400;          /* Marken-Gelb (wie Firmenschild) */
	--brand-dark: #d99a00;     /* Hover */
	--brand-tint: #fff3cc;     /* helles Gelb für Icon-Flächen */
	--on-brand: #1a1505;       /* fast-schwarz: Text/Icons auf Gelb */
	--white: #ffffff;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 3px rgba(17, 21, 28, .06), 0 4px 16px rgba(17, 21, 28, .05);
	--shadow-md: 0 10px 30px rgba(17, 21, 28, .12);
	--container: 1180px;
	--font-head: "Poppins", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--surface);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	font-size: 17px;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-select: none; -webkit-user-select: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
	padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------- Buttons ---------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem;
	padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-dark); color: var(--on-brand); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }

/* SVG-Icons */
.icon { width: 26px; height: 26px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

/* ---------------------------- Header ----------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
	padding: 14px 0;
}
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 8px 0; }
.site-header__inner { display: flex; align-items: center; gap: 24px; }
.site-header__brand { margin-right: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
	background: var(--brand); color: var(--on-brand); font-family: var(--font-head); font-weight: 800; font-size: .92rem;
	letter-spacing: -.02em; box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand__text strong { font-weight: 700; font-size: 1.05rem; }
.brand__text em { font-style: normal; font-weight: 600; font-size: .85rem; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; }

/* Header auf Hero (transparent) – heller Text bevor gescrollt wird */
.is-front .site-header:not(.is-scrolled) .brand,
.is-front .site-header:not(.is-scrolled) .site-nav__list a { color: #fff; }
.is-front .site-header:not(.is-scrolled) .brand__text em { color: #fff; }

.site-nav__list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav__list a {
	font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink);
	position: relative; padding: 6px 0;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: width .2s ease;
}
.site-nav__list a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.is-front .site-header:not(.is-scrolled) .lang-switch { border-color: rgba(255,255,255,.4); }
.lang-switch__item { padding: 6px 11px; font-size: .8rem; font-weight: 600; font-family: var(--font-head); color: var(--muted); }
.is-front .site-header:not(.is-scrolled) .lang-switch__item { color: rgba(255,255,255,.8); }
.lang-switch__item.is-active { background: var(--brand); color: var(--on-brand); }

/* Mobile-Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.is-front .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { background: var(--ink); padding: 16px 24px 28px; }
.mobile-nav__list { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav__list a { display: block; padding: 14px 0; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ---------------------------- Hero ------------------------------------- */
.hero { position: relative; color: #fff; padding: 180px 0 110px; overflow: hidden; }
.hero__bg {
	position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(245,180,0,.40), transparent 60%),
		linear-gradient(135deg, #0c0f15 0%, #161c26 55%, #0c0f15 100%);
}
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 44px 44px; mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; text-align: center; }
.hero__kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 18px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin: 0 0 20px; }
.hero__text { font-size: 1.18rem; color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; justify-content: center; }
.hero__usps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.hero__usps li { display: flex; align-items: center; gap: 9px; font-size: .98rem; color: rgba(255,255,255,.9); }
.hero__usps .icon { color: var(--on-brand); background: var(--brand); border-radius: 50%; padding: 3px; }

/* ---------------- Hero-Dekoration: 3D-Icon-Cluster --------------------- */
/* --art-bob steuert die Bewegungsamplitude (Default 2px, dezent). */
.hero__art {
	position: absolute; z-index: 0; pointer-events: none;
	top: 50%; transform: translateY(-50%);
	width: clamp(96px, 11vw, 156px); aspect-ratio: 1 / 1;
	opacity: .2;
	--art-bob: 2px;
}
.hero__art--left  { left:  clamp(24px, 17vw, 320px); }
.hero__art--right { right: clamp(24px, 17vw, 320px); }
.hero__art .scene { position: absolute; inset: 0; perspective: 1000px; }
.hero__art .scene__inner {
	position: absolute; inset: 0; transform-style: preserve-3d;
	animation: askArtFloat 8s ease-in-out infinite;
}
.hero__art--right .scene__inner { animation-delay: -4s; }
.hero__art .layer { position: absolute; transform-style: preserve-3d; }
.hero__art .layer svg { width: 100%; height: 100%; display: block; overflow: visible;
	fill: none; stroke-width: 0.7; stroke-linecap: round; stroke-linejoin: round; }
/* Haarlinie: Strichbreite bleibt unabhängig von der Skalierung konstant */
.hero__art .layer svg * { vector-effect: non-scaling-stroke; }
.layer--gear   svg, .layer--wrench svg { stroke: var(--brand); }
.layer--engine svg, .layer--wheel  svg { stroke: #eef2f7; }

/* LINKS: Felge · RECHTS: Zahnrad */
.layer--wheel { width: 100%; left: 0; top: 0; transform: translateZ(40px); }
.layer--gear  { width: 100%; left: 0; top: 0; transform: translateZ(40px); }

/* Langsame Drehung */
.layer--gear  svg { animation: askArtSpin 55s linear infinite; transform-origin: 50% 50%; }
.layer--wheel svg { animation: askArtSpin 70s linear infinite reverse; transform-origin: 50% 50%; }

@keyframes askArtFloat {
	0%, 100% { transform: rotateX(0) rotateY(0) translateY(0); }
	50%      { transform: rotateX(2deg) rotateY(-3deg) translateY(calc(-1 * var(--art-bob))); }
}
@keyframes askArtSpin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) { .hero__art { opacity: .16; } }
@media (max-width:  820px) { .hero__art { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.hero__art .scene__inner { animation: none; }
}

/* ---- Hero-Easteregg: Autos fahren beim ersten Besuch durch (Kontur, 30 %) ---- */
.hero__cars {
	position: absolute; left: 0; right: 0; bottom: 30px; height: 56px;
	z-index: 0; pointer-events: none; overflow: hidden; opacity: .3;
}
.hero__cars .car {
	position: absolute; bottom: 0; left: 0;
	width: clamp(86px, 9vw, 124px);
	transform: translateX(-170px); will-change: transform;
}
.hero__cars .car svg { width: 100%; display: block;
	fill: none; stroke: #eef2f7; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.hero__cars .car svg * { vector-effect: non-scaling-stroke; }
/* Nur beim ersten Besuch abspielen (JS setzt .ask-cars-run auf <html>) */
.ask-cars-run .hero__cars .car { animation: askCarDrive linear forwards; }
.ask-cars-run .hero__cars .car--1 { animation-duration: 7s;   animation-delay: .4s; }
.ask-cars-run .hero__cars .car--2 { animation-duration: 8.5s; animation-delay: 3s; }
.ask-cars-run .hero__cars .car--3 { animation-duration: 10s;  animation-delay: 5.8s; }
@keyframes askCarDrive {
	from { transform: translateX(-170px); }
	to   { transform: translateX(calc(100vw + 170px)); }
}
@media (prefers-reduced-motion: reduce) { .hero__cars { display: none; } }
@media (max-width: 760px) { .hero__cars { display: none; } }

/* ---------------------------- Stats ------------------------------------ */
.stats { background: var(--ink-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 38px 24px; }
.stat { text-align: center; color: #fff; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; }
.stat__label { color: rgba(255,255,255,.6); font-size: .92rem; }

/* ---------------------------- Sections --------------------------------- */
.section { padding: 96px 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section__lead { color: rgba(255,255,255,.7); }
.section__cta { text-align: center; margin-top: 48px; }
.section__cta--left { text-align: left; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--brand); border-radius: 2px; vertical-align: middle; margin-right: 10px; margin-top: -3px; }
.eyebrow--light { color: var(--brand); }
.eyebrow--light::before { display: none; }

/* ---------------------------- Cards (Leistungen) ----------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
	box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link, a.card { color: var(--ink); display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
	background: var(--brand-tint); color: var(--on-brand); margin-bottom: 18px;
}
.card__icon--lg { width: 72px; height: 72px; }
.card__title { font-size: 1.18rem; font-weight: 700; margin: 0 0 8px; }
.card__text { color: var(--muted); font-size: .97rem; margin: 0; }

/* Leistungs-Karten mit Bild + Link */
.card--svc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card--svc:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); border-radius: 10px; box-shadow: var(--shadow-sm); }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.card__more .icon { transition: transform .2s ease; }
.card--svc:hover .card__more { color: var(--brand-dark); }
.card--svc:hover .card__more .icon { transform: translateX(4px); }

/* Leistungs-Detailseite */
.leistung__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.leistung__head .section__title { margin: 0; }
.leistung__hero { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.leistung__hero img { width: 100%; height: auto; display: block; }
.leistung__gallery-title { font-family: var(--font-head); font-size: 1.4rem; margin: 38px 0 18px; }

/* ---------------------------- Split (Über uns / Kontakt) --------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--contact { align-items: stretch; }
.split__body p { color: var(--muted); }
.section--dark .split__body p { color: rgba(255,255,255,.75); }

.split__media { position: relative; }
.split__image {
	border-radius: var(--radius); min-height: 420px;
	background:
		linear-gradient(135deg, rgba(245,180,0,.18), transparent 50%),
		linear-gradient(0deg, rgba(17,21,28,.55), rgba(17,21,28,.15)),
		linear-gradient(135deg, #2a3340, #161c26);
	box-shadow: var(--shadow-md);
}
.split__badge {
	position: absolute; left: -14px; bottom: 24px; background: #fff; color: var(--ink);
	display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md);
	font-family: var(--font-head); font-weight: 700;
}
.split__badge .icon { color: var(--brand); }

.ticks, .contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; }
.ticks .icon { color: var(--on-brand); background: var(--brand-tint); border-radius: 50%; padding: 4px; }

.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list .icon { color: var(--brand); flex: none; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--brand); }
.split--contact .btn { margin-top: 26px; }

.split__map { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow-md); }

/* ---------------------------- Über uns (Banner + Spalten) -------------- */
.about-banner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin: 0 auto 44px; max-width: 900px; }
.about-banner img { width: 100%; height: auto; display: block; }
.about-banner--ph { min-height: 200px; background: linear-gradient(135deg, rgba(245,180,0,.20), transparent 55%), linear-gradient(135deg, #2a3340, #161c26); }
.about-banner__badge {
	position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px;
	background: var(--brand); color: var(--on-brand); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-md);
	font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.about-banner__badge .icon { color: var(--on-brand); }
.about-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-cols__text p { color: var(--muted); margin: 0 0 16px; }
.about-cols__ticks { margin-top: 0; }
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; gap: 20px; } }

/* ---------------------------- Galerie ---------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover .gallery__img { transform: scale(1.06); }
.gallery__item--ph { display: grid; place-items: center; color: var(--muted); border: 1px dashed var(--line); font-size: .9rem; }

/* Galerie mit Seitenblättern */
.gallery--paged { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .gallery--paged { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .gallery--paged { grid-template-columns: repeat(2, 1fr); } }
.gallery-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.gallery-nav__btn {
	min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); background: #fff;
	border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
	cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.gallery-nav__btn:hover:not(:disabled) { border-color: var(--brand); }
.gallery-nav__btn.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.gallery-nav__btn:disabled { opacity: .4; cursor: default; }

/* ---------------------------- Kontaktformular -------------------------- */
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(245,180,0,.28); }
.field textarea { resize: vertical; min-height: 120px; }
.field--full { margin-bottom: 18px; }
.field--consent { flex-direction: row; align-items: flex-start; gap: 11px; margin-bottom: 22px; }
.field--consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.field--consent span { font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--muted); }
.contact-form .btn { width: 100%; justify-content: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; }
.form-note--ok { background: #e8f6ec; color: #1a7f37; border: 1px solid #b7e4c4; }
.form-note--ok .icon { color: #1a7f37; }
.form-note--error { background: #fdecec; color: #b3141f; border: 1px solid #f4c4c4; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .contact-form { padding: 22px; } }

/* ---------------------------- Lightbox --------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,12,16,.93); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox__close { position: absolute; top: 16px; right: 22px; width: 46px; height: 46px; font-size: 2.2rem; line-height: 1; background: transparent; border: 0; color: #fff; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, color .15s ease; }
.lightbox__nav:hover { background: var(--brand); color: var(--on-brand); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--font-head); font-size: .9rem; }
body.lightbox-open { overflow: hidden; }
@media (max-width: 600px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; } .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }

/* ---------------------------- Hinweis-/Aktions-Popup ------------------- */
.notice-popup { position: fixed; inset: 0; z-index: 1001; background: rgba(10,12,16,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.notice-popup[hidden] { display: none; }
.notice-popup__card { position: relative; background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 38px 34px 32px; box-shadow: var(--shadow-md); border-top: 5px solid var(--brand); animation: ask-pop .25s ease; }
@keyframes ask-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.notice-popup__close { position: absolute; top: 10px; right: 14px; width: 38px; height: 38px; font-size: 1.8rem; line-height: 1; background: transparent; border: 0; color: var(--muted); cursor: pointer; }
.notice-popup__close:hover { color: var(--ink); }
.notice-popup__label { display: inline-flex; align-items: center; gap: 7px; background: var(--brand-tint); color: var(--on-brand); font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.notice-popup__label .icon { color: var(--on-brand); }
.notice-popup__title { font-family: var(--font-head); font-size: 1.5rem; margin: 0 0 10px; }
.notice-popup__text { color: var(--muted); }
.notice-popup__text p { margin: 0 0 .6em; }
body.notice-open { overflow: hidden; }

/* ---------------------------- Footer ----------------------------------- */
.site-footer { background: #0c0f15; color: rgba(255,255,255,.75); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 72px 24px 48px; }
.brand--light .brand__text strong, .brand--light { color: #fff; }
.brand--light .brand__text em { color: var(--brand); }
.site-footer__claim { margin-top: 18px; max-width: 320px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; }
.site-footer__list .icon { color: var(--brand); margin-top: 2px; }
.site-footer__list a { color: rgba(255,255,255,.75); }
.site-footer__list a:hover { color: #fff; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .88rem; color: rgba(255,255,255,.5); }
.site-footer__bar p { margin: 0; }

/* ---------------------------- Prose / Innenseiten ---------------------- */
.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; font-family: var(--font-head); }

/* ---------------------------- Reveal-Animation ------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------------------- Responsive ------------------------------- */
@media (max-width: 980px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.split__image, .split__map { min-height: 320px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.site-nav, .site-header__actions { display: none; }
	.nav-toggle { display: flex; }
	.hero { padding: 140px 0 80px; }
	.section { padding: 64px 0; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
	.cards { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr; }
}
