/* ==========================================================================
   Fileo – Theme Styles
   Hell wie das echte Haus: Kreide-Grund, Tinte, Signalrot nur für Aktionen,
   Logo-Blau für Links. Eine Schrift (Archivo, Breite als Hierarchie).
   Der 55°-Schnitt aus dem Logo steckt in Buttons, Bildkanten und Akzenten.
   ========================================================================== */

/* ---------- Schrift (lokal, DSGVO) ---------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metrisch angeglichener Fallback gegen Layoutsprünge beim Schriftwechsel. */
@font-face {
	font-family: "Archivo Fallback";
	src: local("Arial");
	size-adjust: 101%;
	ascent-override: 88%;
	descent-override: 21%;
	line-gap-override: 0%;
}

/* ---------- Tokens (Hex als Fallback, OKLCH wo unterstützt) ---------- */
:root {
	--paper: #f7f9fc;
	--tint: #edf1f5;
	--surface: #fcfdfe;
	--fill: #e3e9ef;
	--fill-hover: #d3dce5;
	--line: #d5dade;
	--line-input: #7a828a;
	--ink: #141b25;
	--ink-2: #464e58;
	--ink-3: #5c646e;
	--red: #c4111a;
	--red-hover: #a9000d;
	--red-mark: #e3141c;
	--red-soft: #fbeceb;
	--blue: #005caa;
	--blue-hover: #00488f;
	--blue-mark: #0070bb;
	--night: #10171f;
	--night-2: #1b222c;
	--night-line: #2f3742;
	--on-night: #f1f4f7;
	--on-night-2: #b7bfc7;
	--blue-on-night: #65b2f1;
	--ok: #21763c;
	--ok-soft: #e7f4ea;
	--focus: #0073cf;

	--font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;

	--text-xs: 0.9375rem;
	--text-sm: 1rem;
	--text-body: 1.125rem;
	--text-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.375rem);
	--text-h3: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem);
	--text-h2: clamp(2.125rem, 1.45rem + 2.4vw, 3.75rem);
	--text-h1: clamp(2.75rem, 1.55rem + 4.6vw, 6.25rem);

	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 24px;
	--s-6: 32px;
	--s-7: 48px;
	--s-8: 64px;
	--s-9: 96px;

	--gutter: clamp(20px, 4vw, 56px);
	--maxw: 1320px;
	--section: clamp(72px, 9vw, 128px);
	--header-h: 80px;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-wipe: cubic-bezier(0.65, 0, 0.35, 1);
	--slant: 14px;
	--shadow-sm: 0 1px 2px rgba(20, 27, 37, 0.06), 0 2px 8px rgba(20, 27, 37, 0.05);
	--shadow-md: 0 12px 32px -12px rgba(20, 27, 37, 0.22);
}
@supports (color: oklch(0% 0 0)) {
	:root {
		--paper: oklch(98.2% 0.004 250);
		--tint: oklch(95.5% 0.007 250);
		--surface: oklch(99.4% 0.002 250);
		--fill: oklch(93.2% 0.011 250);
		--fill-hover: oklch(88.8% 0.015 250);
		--line: oklch(88.5% 0.008 250);
		--line-input: oklch(60% 0.014 250);
		--ink: oklch(22% 0.022 255);
		--ink-2: oklch(42% 0.02 255);
		--ink-3: oklch(50% 0.018 255);
		--red: oklch(52% 0.205 27);
		--red-hover: oklch(46% 0.19 27);
		--red-soft: oklch(95.5% 0.02 27);
		--blue: oklch(47% 0.15 250);
		--blue-hover: oklch(40% 0.14 250);
		--night: oklch(20% 0.02 255);
		--night-2: oklch(25% 0.022 255);
		--night-line: oklch(34% 0.02 255);
		--on-night: oklch(96.5% 0.005 250);
		--on-night-2: oklch(80% 0.014 250);
		--blue-on-night: oklch(74% 0.12 245);
		--ok: oklch(50% 0.12 150);
		--ok-soft: oklch(95.5% 0.025 150);
		--focus: oklch(55% 0.17 250);
	}
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--text-body);
	line-height: 1.6;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img,
video,
svg,
canvas {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
a:hover {
	color: var(--blue-hover);
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}
::selection {
	background: var(--blue-mark);
	color: var(--surface);
}
h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 750;
	line-height: 1.1;
	text-wrap: balance;
}
p {
	margin: 0;
}
dl,
dd {
	margin: 0;
}
figure {
	margin: 0;
}
address {
	font-style: normal;
}
.icon {
	flex-shrink: 0;
}
.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 14px 20px;
	background: var(--ink);
	color: var(--surface);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}
.skip-link:focus,
.skip-link:hover {
	transform: none;
	color: var(--surface);
}
.site-main:focus {
	outline: none;
}
[hidden] {
	display: none !important;
}

/* ---------- Layout ---------- */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section {
	padding-block: var(--section);
}
.section--tight {
	padding-block: clamp(48px, 6vw, 80px);
}
.section--flush-top {
	padding-top: clamp(32px, 5vw, 64px);
}
.section--tint {
	background: var(--tint);
}
.section--night {
	background: var(--night);
	color: var(--on-night);
}
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.split--top {
	align-items: start;
}
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	align-items: center;
	margin-top: var(--s-6);
}

/* ---------- Typografie ---------- */
.h2 {
	font-stretch: 118%;
	font-weight: 780;
	font-size: var(--text-h2);
	line-height: 1.02;
	letter-spacing: -0.025em;
}
.h3 {
	font-stretch: 106%;
	font-weight: 720;
	font-size: var(--text-h3);
	line-height: 1.15;
	letter-spacing: -0.01em;
}
.lead {
	margin-top: var(--s-5);
	font-size: var(--text-lead);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 58ch;
	text-wrap: pretty;
}
.section--night .lead {
	color: var(--on-night-2);
	line-height: 1.6;
}
.section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: var(--s-5) var(--s-8);
	margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head .h2 {
	max-width: 16ch;
}
.section-head__intro {
	max-width: 46ch;
	color: var(--ink-2);
	font-size: var(--text-body);
	text-wrap: pretty;
}
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	min-height: 44px;
	font-weight: 700;
	text-decoration: none;
	color: var(--blue);
}
.link-arrow:hover {
	color: var(--blue-hover);
	text-decoration: underline;
}
.link-arrow .icon {
	transition: transform 0.3s var(--ease-out);
}
.link-arrow:hover .icon {
	transform: translateX(4px);
}
.link-plain {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
	color: var(--ink-2);
}
.link-plain:hover {
	color: var(--ink);
}
.nowrap {
	white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-3);
	min-height: 52px;
	padding: 14px 26px;
	border: 2px solid transparent;
	background: none;
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.15;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	isolation: isolate;
	transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.btn--lg {
	min-height: 58px;
	padding: 16px 30px;
	font-size: 1.125rem;
}
.btn--block {
	width: 100%;
}
/* Primär: Fläche mit 55°-Kante direkt als Hintergrund (kein clip-path, damit der Fokusring sichtbar bleibt
   und Kontrastprüfungen sowie der Windows-Kontrastmodus die Fläche erkennen). */
.btn--primary {
	--btn-bg: var(--red);
	color: var(--surface);
	background-color: transparent;
	background-image:
		linear-gradient(var(--btn-bg), var(--btn-bg)),
		linear-gradient(to bottom right, var(--btn-bg) 49.5%, transparent 50.5%);
	background-size: calc(100% - var(--slant)) 100%, var(--slant) 100%;
	background-position: left top, right top;
	background-repeat: no-repeat;
	padding-right: calc(30px + var(--slant) * 0.5);
}
.btn--primary:hover,
.btn--primary:focus-visible {
	--btn-bg: var(--red-hover);
	color: var(--surface);
}
.btn--primary:active {
	--btn-bg: var(--red-hover);
	transform: translateY(1px);
}
@media (forced-colors: active) {
	.btn--primary {
		background: ButtonFace;
		border-color: ButtonText;
		color: ButtonText;
	}
}
/* Sekundär: ruhige Fläche statt schwarzem Rahmen. Rot bleibt der eine Knopf, der handelt. */
.btn--secondary {
	color: var(--ink);
	background: var(--fill);
}
.btn--secondary .icon {
	color: var(--blue);
}
.btn--secondary:hover {
	background: var(--fill-hover);
	color: var(--ink);
}
.section--tint .btn--secondary,
.cta-band .btn--secondary {
	background: var(--surface);
}
.section--tint .btn--secondary:hover,
.cta-band .btn--secondary:hover {
	background: var(--fill);
}
.btn--ghost {
	background: var(--night-2);
	color: var(--on-night);
}
.btn--ghost:hover {
	background: var(--night-line);
	color: var(--on-night);
}
@media (forced-colors: active) {
	.btn--secondary,
	.btn--ghost {
		border-color: ButtonText;
	}
}
.btn.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

/* ---------- Statusleiste ---------- */
.status-bar {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.status-bar__inner {
	display: flex;
	align-items: center;
	gap: var(--s-2) var(--s-6);
	min-height: 44px;
	padding-block: 6px;
	flex-wrap: wrap;
}
.status-bar p {
	display: flex;
	align-items: center;
	gap: var(--s-2);
}
.status-bar__address {
	margin-left: auto;
}
.status-bar a {
	color: var(--ink-2);
}
.status-bar a:hover {
	color: var(--ink);
}
/* Telefon in der Statusleiste: nur, wenn es nicht im Header steht (mittlere Breiten) und auf dem Handy. */
.status-bar__phone {
	display: none !important;
}
.status-bar__phone .icon {
	color: var(--blue);
}
.status-bar__phone a {
	display: inline-flex;
	column-gap: 0.3em;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}
.status-bar__phone-label {
	font-weight: 400;
	color: var(--ink-2);
}

/* Live-Status „Jetzt geöffnet“ */
.open-status {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	font-weight: 700;
	color: var(--ink);
}
.open-status__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ink-3);
	flex-shrink: 0;
}
.open-status.is-open .open-status__dot {
	background: var(--ok);
	box-shadow: 0 0 0 4px var(--ok-soft);
}
.open-status.is-open {
	color: var(--ok);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s;
}
.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}
.site-header.is-scrolled {
	box-shadow: var(--shadow-sm);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--s-6);
	min-height: var(--header-h);
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
	flex-shrink: 0;
}
.brand:hover {
	color: var(--ink);
}
.brand__word {
	font-stretch: 125%;
	font-weight: 800;
	font-size: 1.625rem;
	line-height: 1;
	letter-spacing: -0.02em;
}
.brand__custom {
	max-height: 44px;
	width: auto;
}
.main-nav {
	margin-left: auto;
}
.main-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: clamp(16px, 1.8vw, 28px);
}
.main-nav a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}
.main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 2px;
	background: var(--red-mark);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
	transform: scaleX(1);
}
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--s-4);
}
.header-phone {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	min-height: 48px;
	font-size: 1.125rem;
	font-weight: 750;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.header-phone .icon {
	color: var(--blue);
}
.header-phone:hover {
	color: var(--blue);
}
.header-cta {
	white-space: nowrap;
	min-height: 48px;
	padding-block: 10px;
	font-size: 1rem;
}
.menu-toggle {
	display: none;
	align-items: center;
	gap: var(--s-2);
	min-height: 48px;
	padding: 0 16px;
	background: var(--tint);
	border: 0;
	color: var(--ink);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.menu-toggle:hover {
	background: var(--fill);
}
.menu-toggle[aria-expanded="true"] {
	background: var(--ink);
	color: var(--surface);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
	background: var(--surface);
}
@media (forced-colors: active) {
	.menu-toggle {
		border: 2px solid ButtonText;
	}
}
.menu-toggle__bars {
	display: grid;
	gap: 4px;
	width: 20px;
}
.menu-toggle__bars span {
	display: block;
	height: 2px;
	background: var(--ink);
	transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Mobiles Menü: klappt direkt unter dem Header auf, überdeckt nichts. */
.mobile-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--header-bottom, 140px));
	max-height: calc(100dvh - var(--header-bottom, 140px));
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--surface);
	border-top: 1px solid var(--line);
	box-shadow: var(--shadow-md);
}
.mobile-menu__inner {
	padding-block: var(--s-4) var(--s-7);
}
.mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mobile-menu__list a {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	min-height: 60px;
	border-bottom: 1px solid var(--line);
	font-stretch: 110%;
	font-weight: 700;
	font-size: 1.375rem;
	color: var(--ink);
	text-decoration: none;
}
/* Aktuelle Seite: der Schnitt aus dem Logo davor */
.mobile-menu__list .current-menu-item > a::before {
	content: "";
	width: 8px;
	height: 20px;
	background: var(--red-mark);
	transform: skewX(-35deg);
	flex-shrink: 0;
}
.mobile-menu__contact {
	display: grid;
	gap: var(--s-3);
	margin-top: var(--s-6);
}
.mobile-menu__contact .hours {
	margin-top: var(--s-4);
}

/* ---------- Hero ---------- */
.hero {
	padding-top: clamp(40px, 6vw, 88px);
	padding-bottom: clamp(8px, 2vw, 24px);
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.hero__title {
	font-stretch: 125%;
	font-weight: 800;
	font-size: var(--text-h1);
	line-height: 0.92;
	letter-spacing: -0.035em;
}
.line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}
.line > span {
	display: inline-block;
}
.js .line > span {
	transform: translateY(100%);
	animation: line-up 0.9s var(--ease-out) forwards;
	animation-delay: calc(0.1s + var(--i, 0) * 0.08s);
}
@keyframes line-up {
	to {
		transform: none;
	}
}
.hero__lead {
	margin-top: var(--s-6);
	max-width: 52ch;
	font-size: var(--text-lead);
	color: var(--ink-2);
	text-wrap: pretty;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-6);
}
.hero__actions .btn--secondary {
	font-variant-numeric: tabular-nums;
}
.season-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-2) var(--s-3);
	margin-top: var(--s-6);
	font-weight: 600;
}
.slash {
	display: inline-block;
	width: 8px;
	height: 18px;
	background: var(--red-mark);
	transform: skewX(-35deg);
	flex-shrink: 0;
}
.season-note a {
	font-weight: 700;
}

/* „Auf einen Blick“ */
.glance {
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	padding: var(--s-5) var(--s-5) var(--s-4);
}
.glance__title {
	font-size: 1.125rem;
	font-weight: 750;
}
.glance__status {
	margin-top: var(--s-3);
}
.glance .hours {
	margin-top: var(--s-3);
}
.glance__contact {
	margin-top: var(--s-4);
}
.glance__contact > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px var(--s-3);
	padding-block: 10px;
	border-top: 1px solid var(--line);
}
.glance__contact dt {
	color: var(--ink-2);
}
.glance__contact dd {
	margin-left: auto;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.glance__contact a[href^="tel:"] {
	white-space: nowrap;
}
.glance__contact a {
	color: var(--ink);
	text-decoration: none;
}
.glance__contact a:hover {
	color: var(--blue);
	text-decoration: underline;
}
.glance__route {
	display: block;
	margin-top: 2px;
	font-weight: 600;
	color: var(--blue) !important;
}

/* Hauptbild in voller Breite. Mit JS beginnt es verkleinert auf die Breite des Inhaltsrasters
   und wächst beim Scrollen auf die ganze Breite (--open 0 → 1, nur transform). Das Foto bleibt
   dabei immer vollständig. Ohne JS und bei „Bewegung reduzieren“ steht es ruhig in voller Breite. */
.hero__media {
	--open: 1;
	--s: 1;
	--shrink: 0px;
	position: relative;
	margin-top: clamp(40px, 5vw, 72px);
}
.hero__frame {
	position: relative;
	overflow: hidden;
	background: var(--tint);
	clip-path: polygon(var(--cut, 64px) 0, 100% 0, 100% 100%, 0 100%);
	transform-origin: 50% 0;
}
.hero__frame img,
.hero__frame video {
	width: 100%;
	aspect-ratio: 2400 / 762;
	max-height: 72vh;
	object-fit: cover;
}
.hero__media.is-scrolly .hero__frame {
	transform: scale(calc(var(--s) + (1 - var(--s)) * var(--open)));
	will-change: transform;
}
.hero__media.is-scrolly figcaption {
	transform: translateY(calc(var(--shrink) * (var(--open) - 1)));
}
.hero__media figcaption {
	margin-top: var(--s-3);
	font-size: var(--text-xs);
	color: var(--ink-3);
}
.media-toggle {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--surface);
	border: 0;
	box-shadow: var(--shadow-sm);
	cursor: pointer;
}
.media-toggle__play,
.media-toggle[aria-pressed="true"] .media-toggle__pause {
	display: none;
}
.media-toggle[aria-pressed="true"] .media-toggle__play {
	display: block;
}

/* ---------- Öffnungszeiten-Tabelle ---------- */
.hours > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px var(--s-4);
	padding-block: 10px;
	border-bottom: 1px solid var(--line);
}
.hours dd {
	margin-left: auto;
	white-space: nowrap;
}
.hours > div:last-child {
	border-bottom: 0;
}
.hours dt {
	color: var(--ink-2);
}
.hours dd {
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.hours--compact > div {
	padding-block: 8px;
}
.hours--footer > div {
	border-color: var(--night-line);
	flex-direction: column;
	gap: 2px;
}
.hours--footer dt {
	color: var(--on-night-2);
}
.hours--footer dd {
	margin-left: 0;
	text-align: left;
	color: var(--on-night);
}
.hours .is-today dt {
	color: var(--ink);
	font-weight: 700;
}
.hours--footer .is-today dt {
	color: var(--on-night);
}

/* ---------- Leistungen ---------- */
.svc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.svc__media {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	aspect-ratio: 4 / 5;
	max-height: calc(100vh - var(--header-h) - 64px);
	overflow: hidden;
	background: var(--tint);
}
.svc__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	clip-path: polygon(calc(100% + 120px) 0, calc(100% + 120px) 0, 100% 100%, 100% 100%);
	z-index: 0;
}
.svc__img.is-active {
	z-index: 2;
	clip-path: polygon(0 0, calc(100% + 120px) 0, 100% 100%, -120px 100%);
	transition: clip-path 0.7s var(--ease-wipe);
}
.svc__img.was-active {
	z-index: 1;
	clip-path: polygon(0 0, calc(100% + 120px) 0, 100% 100%, -120px 100%);
}
.svc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--ink);
}
.svc__item {
	border-bottom: 1px solid var(--line);
}
.svc__heading {
	font-size: inherit;
	font-weight: inherit;
}
.svc__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	gap: var(--s-4);
	min-height: 76px;
	padding: var(--s-4) 0;
	background: none;
	border: 0;
	text-align: left;
	color: var(--ink);
	cursor: pointer;
}
.svc__title {
	flex-grow: 1;
	font-stretch: 112%;
	font-weight: 750;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	line-height: 1.15;
	letter-spacing: -0.015em;
}
.svc__chip {
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.svc__icon {
	position: relative;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border: 2px solid var(--ink);
	border-radius: 50%;
}
.svc__icon::before,
.svc__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	background: var(--ink);
	transition: transform 0.3s var(--ease-out);
}
.svc__icon::after {
	transform: rotate(90deg);
}
.svc__item.is-active .svc__icon::after {
	transform: rotate(0deg);
}
.svc__trigger:hover .svc__title {
	color: var(--blue);
}
.svc__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--ease-out);
}
.svc__item.is-active .svc__panel {
	grid-template-rows: 1fr;
}
.svc__panel-inner {
	overflow: hidden;
}
.svc__panel-inner > p:first-of-type {
	max-width: 56ch;
	color: var(--ink-2);
}
.svc__item.is-active .svc__panel-inner {
	padding-bottom: var(--s-5);
}
.svc__inline-img {
	display: none;
}
.svc__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-5);
	margin-top: var(--s-3);
}

/* ---------- Ablauf / Versprechen ---------- */
.process__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.process__note {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
	margin-top: var(--s-6);
	padding: var(--s-4) var(--s-5);
	background: var(--surface);
	border: 1px solid var(--line);
	max-width: 58ch;
}
.process__note .icon {
	color: var(--blue);
	margin-top: 2px;
}
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-6) var(--s-6);
	counter-reset: step;
}
.steps li {
	counter-increment: step;
	padding-top: var(--s-4);
	border-top: 2px solid var(--ink);
}
.steps li::before {
	content: counter(step);
	display: block;
	font-stretch: 125%;
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}
.steps__title {
	margin-top: var(--s-3);
	font-stretch: 106%;
	font-size: 1.375rem;
	font-weight: 720;
}
.steps p {
	margin-top: var(--s-2);
	color: var(--ink-2);
}

/* ---------- Preistafel ---------- */
.price-board {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: var(--s-6) clamp(32px, 5vw, 64px);
}
.price-board__title {
	padding-bottom: var(--s-3);
	border-bottom: 2px solid var(--ink);
	font-stretch: 112%;
	font-size: 1.375rem;
	font-weight: 750;
}
.price-board__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.price-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--s-5);
	padding-block: var(--s-4);
	border-bottom: 1px solid var(--line);
}
.price-row__name {
	font-weight: 700;
	font-size: 1.1875rem;
}
.price-row__note {
	margin-top: 2px;
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.price-row__price {
	text-align: right;
	flex-shrink: 0;
}
.price-row__amount {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: var(--s-2);
	white-space: nowrap;
}
.price-row__qualifier {
	font-size: var(--text-xs);
	color: var(--ink-2);
}
.price-row__value {
	font-stretch: 112%;
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}
.price-row__unit {
	font-size: var(--text-xs);
	color: var(--ink-2);
}
.price-row__ask a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	white-space: nowrap;
}
.price-board__foot {
	margin-top: var(--s-5);
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.section--night .price-board__title {
	border-color: var(--on-night);
}
.section--night .price-row {
	border-color: var(--night-line);
}
.section--night .price-row__note,
.section--night .price-row__qualifier,
.section--night .price-row__unit,
.section--night .price-board__foot {
	color: var(--on-night-2);
}
.section--night a:not(.btn) {
	color: var(--blue-on-night);
}

/* ---------- Haus / Galerie ---------- */
.mosaic {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: clamp(200px, 22vw, 300px);
	gap: var(--s-3);
}
.mosaic__item {
	position: relative;
	grid-column: span 4;
	overflow: hidden;
	background: var(--line);
}
.mosaic__item--hero {
	grid-column: span 7;
	grid-row: span 2;
}
.mosaic__item:nth-child(2),
.mosaic__item:nth-child(3) {
	grid-column: span 5;
}
.mosaic__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mosaic__item figcaption {
	position: absolute;
	left: var(--s-3);
	bottom: var(--s-3);
	max-width: calc(100% - 24px);
	padding: 6px 12px;
	background: var(--surface);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink);
}
.team-photo {
	margin-bottom: var(--s-3);
}
.team-photo img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}
.team-photo figcaption {
	margin-top: var(--s-2);
	font-size: var(--text-xs);
	color: var(--ink-3);
}
.house__more {
	margin-top: var(--s-5);
}

/* ---------- Über uns: Geschichte beim Scrollen ---------- */
.story__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--s-5) clamp(32px, 6vw, 88px);
	align-items: end;
}
.story__head .lead {
	max-width: 46ch;
}
.story__body {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(40px, 6vw, 96px);
	margin-top: clamp(32px, 5vw, 64px);
}
.story__stage {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	height: calc(100vh - var(--header-h) - 48px);
	max-height: 780px;
	display: flex;
	flex-direction: column;
	gap: var(--s-5);
	padding-left: 36px;
}
.story__rail {
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 48px;
	width: 2px;
	background: var(--line);
}
.story__rail-fill {
	position: absolute;
	left: 0;
	top: 0;
	width: 2px;
	height: 100%;
	background: var(--ink);
	transform: scaleY(var(--story-progress, 0));
	transform-origin: top;
}
.story__rail-mark {
	position: absolute;
	left: -4px;
	top: calc(var(--story-progress, 0) * 100%);
	width: 9px;
	height: 22px;
	margin-top: -11px;
	background: var(--red-mark);
	transform: skewX(-35deg);
}
.story__years {
	position: relative;
	flex-shrink: 0;
	height: clamp(104px, 11vw, 176px);
	overflow: hidden;
}
.story__year {
	position: absolute;
	left: 0;
	top: 0;
	padding-right: 160px;
	background: var(--paper);
	font-stretch: 125%;
	font-weight: 800;
	font-size: clamp(116px, 12.5vw, 196px);
	line-height: 0.9;
	letter-spacing: -0.05em;
	font-variant-numeric: tabular-nums;
}
.story__frames {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	background: var(--tint);
	clip-path: polygon(56px 0, 100% 0, 100% 100%, 0 100%);
}
.story__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Wechsel im 55°-Schnitt wie bei den Leistungen: das neue Bild bzw. Jahr schiebt sich über das alte. */
.story__year,
.story__frame {
	z-index: 0;
	clip-path: polygon(calc(100% + 160px) 0, calc(100% + 160px) 0, 100% 100%, 100% 100%);
}
.story__year.is-active,
.story__frame.is-active {
	z-index: 2;
	clip-path: polygon(0 0, calc(100% + 160px) 0, 100% 100%, -160px 100%);
	transition: clip-path 0.7s var(--ease-wipe);
}
.story__year.was-active,
.story__frame.was-active {
	z-index: 1;
	clip-path: polygon(0 0, calc(100% + 160px) 0, 100% 100%, -160px 100%);
}
.story__caption {
	flex-shrink: 0;
	font-size: var(--text-xs);
	color: var(--ink-3);
}
.story__chapters {
	list-style: none;
	margin: 0;
	padding: 0;
}
.story__chapter {
	min-height: 72vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: var(--s-7);
}
/* Nicht aktive Kapitel treten zurück, bleiben aber lesbar (Ink 3 hält 4,5:1 auf Papier). */
.js .story.is-live .story__chapter :is(.story__kicker, .story__title, .story__text) {
	color: var(--ink-3);
	transition: color 0.4s var(--ease-out);
}
.js .story.is-live .story__chapter.is-active .story__kicker {
	color: var(--blue);
}
.js .story.is-live .story__chapter.is-active .story__title {
	color: var(--ink);
}
.js .story.is-live .story__chapter.is-active .story__text {
	color: var(--ink-2);
}
.story__big,
.story__inline {
	display: none;
}
.story__kicker {
	font-stretch: 112%;
	font-weight: 800;
	font-size: 1.375rem;
	color: var(--blue);
	font-variant-numeric: tabular-nums;
}
.story__title {
	margin-top: var(--s-2);
	font-stretch: 112%;
	font-weight: 750;
	font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.375rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.story__text {
	margin-top: var(--s-4);
	max-width: 34ch;
	font-size: var(--text-lead);
	color: var(--ink-2);
}
.story__outro {
	margin-top: clamp(32px, 5vw, 64px);
	padding-top: var(--s-6);
	border-top: 2px solid var(--ink);
	max-width: 32ch;
	font-stretch: 112%;
	font-weight: 750;
	font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
	line-height: 1.2;
}

/* Fotos öffnen sich beim ersten Erscheinen im 55°-Schnitt (nur mit JS und ohne „Bewegung reduzieren“). */
.js [data-wipe] {
	clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%);
	transition: clip-path 0.9s var(--ease-wipe);
}
.js [data-wipe].is-visible {
	clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%);
}

/* ---------- Reifen (dunkler Abschnitt) ---------- */
.tyres__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.tyres .h2 {
	max-width: 14ch;
}
.tyres .price-board {
	margin-top: var(--s-6);
	grid-template-columns: minmax(0, 1fr);
}
.tyres .price-board__title,
.tyres .price-board__foot {
	display: none;
}
.tyre-stage {
	position: relative;
	aspect-ratio: 4 / 5;
	max-height: 720px;
	width: 100%;
	overflow: hidden;
	background: radial-gradient(110% 80% at 50% 45%, var(--night-2) 0%, var(--night) 72%);
	touch-action: pan-y;
}
.tyre-stage__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.8s;
}
.tyre-stage canvas {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	cursor: grab;
	opacity: 0;
	transition: opacity 0.8s;
}
.tyre-stage.is-3d canvas {
	opacity: 1;
}
.tyre-stage.is-3d .tyre-stage__fallback {
	opacity: 0;
}
.tyre-stage.is-dragging canvas {
	cursor: grabbing;
}
.tyre-stage__hint {
	position: absolute;
	left: var(--s-4);
	bottom: var(--s-4);
	font-size: var(--text-xs);
	color: var(--on-night-2);
	opacity: 0;
	transition: opacity 0.4s;
	pointer-events: none;
}
.tyre-stage.is-3d .tyre-stage__hint {
	opacity: 1;
}
.tyre-hero {
	padding-block: clamp(48px, 7vw, 96px);
}
.tyre-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.tyre-hero .lead {
	color: var(--on-night-2);
}
.tyre-stage--hero {
	aspect-ratio: 1 / 1;
	max-height: 620px;
	background: transparent;
}

/* ---------- Medien, Listen ---------- */
.media-figure img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut, 48px)) 100%, 0 100%);
}
.check-list {
	list-style: none;
	margin: var(--s-5) 0 0;
	padding: 0;
	display: grid;
	gap: var(--s-2);
}
.check-list li {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
}
.check-list .icon {
	color: var(--blue);
	margin-top: 4px;
}
.section--night .check-list .icon {
	color: var(--blue-on-night);
}
/* „Gut zu wissen“ (z. B. Pickerl: mitbringen, wann, Dauer) */
.facts {
	margin-top: var(--s-6);
}
.facts__title {
	padding-bottom: var(--s-2);
	border-bottom: 2px solid var(--ink);
	font-size: 1.1875rem;
	font-weight: 750;
}
.facts dl > div {
	display: grid;
	grid-template-columns: minmax(7.5rem, 0.32fr) 1fr;
	gap: 2px var(--s-4);
	padding-block: var(--s-3);
	border-bottom: 1px solid var(--line);
}
.facts dt {
	font-weight: 700;
}
.facts dd {
	color: var(--ink-2);
}
.model-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--s-5);
	border-top: 2px solid var(--ink);
}
.model-list > div {
	padding-block: var(--s-3);
	border-bottom: 1px solid var(--line);
}
.model-list dt {
	font-weight: 700;
}
.model-list dd {
	color: var(--ink-2);
	font-size: var(--text-sm);
}

/* ---------- Kontakt ---------- */
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.contact-info {
	display: grid;
	gap: var(--s-6);
}
.contact-info__phones {
	display: grid;
	gap: var(--s-3);
}
.phone-link {
	display: grid;
	gap: 2px;
	padding: var(--s-4) var(--s-5);
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-link:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
}
.phone-link__label {
	color: var(--ink-2);
	font-size: var(--text-sm);
}
.phone-link__number {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	font-stretch: 112%;
	font-weight: 800;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.phone-link__number .icon {
	color: var(--blue);
}
.contact-info__title {
	font-size: 1.25rem;
	font-weight: 750;
	margin-bottom: var(--s-2);
}
.contact-info__hours {
	margin-top: var(--s-2);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.contact-info__block .open-status {
	margin-bottom: var(--s-2);
}

/* Formular */
.form-card {
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	padding: clamp(24px, 3.2vw, 44px);
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.form-card__title {
	font-stretch: 112%;
	font-weight: 750;
	font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
	line-height: 1.15;
}
.form-card__intro {
	margin-top: var(--s-2);
	color: var(--ink-2);
}
.form-alert,
.form-success {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
	margin-top: var(--s-5);
	padding: var(--s-4) var(--s-5);
	border: 2px solid;
}
.form-alert {
	background: var(--red-soft);
	border-color: var(--red);
}
.form-alert .icon {
	color: var(--red);
	margin-top: 3px;
}
.form-success {
	background: var(--ok-soft);
	border-color: var(--ok);
}
.form-success .icon {
	color: var(--ok);
}
.form-success__title {
	font-weight: 750;
	font-size: 1.25rem;
}
.form-success p + p {
	margin-top: var(--s-2);
}
.form-alert:focus,
.form-success:focus {
	outline: none;
}
.form__legend {
	margin-top: var(--s-5);
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.form-grid {
	margin-top: var(--s-4);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-5);
}
.field {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	min-width: 0;
}
.field--full {
	grid-column: 1 / -1;
}
.field label {
	font-weight: 650;
	font-size: var(--text-sm);
}
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 54px;
	padding: 12px 14px;
	background: var(--surface);
	border: 2px solid var(--line-input);
	border-radius: 2px;
	color: var(--ink);
	font-size: 1.0625rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141b25' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 44px;
}
.field textarea {
	min-height: 132px;
	resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
	color: var(--ink-3);
	opacity: 1;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 3px solid var(--focus);
	outline-offset: 1px;
	border-color: var(--ink);
}
.field [aria-invalid="true"] {
	border-color: var(--red);
	background-color: var(--red-soft);
}
.field__error {
	display: flex;
	gap: var(--s-2);
	align-items: flex-start;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--red);
}
.field__error .icon {
	margin-top: 3px;
}
.consent {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
	margin-top: var(--s-5);
	font-size: var(--text-sm);
}
.consent input {
	width: 24px;
	height: 24px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--blue);
}
.consent [aria-invalid="true"] {
	outline: 3px solid var(--red);
	outline-offset: 2px;
}
.consent + .field__error {
	margin-top: var(--s-2);
	margin-left: 36px;
}
.form .btn--block {
	margin-top: var(--s-5);
}
.form__alt {
	margin-top: var(--s-3);
	text-align: center;
	color: var(--ink-2);
}
.form__alt a {
	font-weight: 700;
}
.hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Karte mit Zustimmung */
.map-consent {
	position: relative;
	margin-top: var(--s-6);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tint);
	border: 1px solid var(--line);
}
.map-consent img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}
.map-consent__box {
	position: absolute;
	inset: auto var(--s-4) var(--s-4) var(--s-4);
	padding: var(--s-5);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}
.map-consent__title {
	font-size: 1.25rem;
	font-weight: 750;
}
.map-consent__box p {
	margin-top: var(--s-2);
	color: var(--ink-2);
	font-size: var(--text-sm);
}
.map-consent__box .btn-row {
	margin-top: var(--s-4);
}
.map-consent iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Abschluss-Band ---------- */
.cta-band {
	padding-block: clamp(56px, 7vw, 96px);
	background: var(--tint);
	border-top: 1px solid var(--line);
}
.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--s-6);
}
.cta-band__text p {
	margin-top: var(--s-3);
	color: var(--ink-2);
}
.cta-band .btn-row {
	margin-top: 0;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--night);
	color: var(--on-night-2);
	padding: clamp(56px, 7vw, 96px) 0 var(--s-6);
	font-size: var(--text-sm);
	line-height: 1.6;
}
.site-footer a {
	color: var(--on-night);
}
.site-footer a:hover {
	color: var(--blue-on-night);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
	gap: var(--s-6);
}
.brand--footer {
	color: var(--on-night);
}
.brand--footer:hover {
	color: var(--on-night);
}
.site-footer__brand p {
	margin-top: var(--s-4);
	max-width: 32ch;
}
.site-footer__title {
	font-size: var(--text-sm);
	font-weight: 750;
	color: var(--on-night);
	margin-bottom: var(--s-3);
}
.site-footer__address a,
.site-footer__phones a {
	font-weight: 600;
}
.site-footer__phones {
	display: grid;
	gap: 2px;
	margin-top: var(--s-3);
	font-variant-numeric: tabular-nums;
}
.site-footer .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}
.site-footer .menu a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	text-decoration: none;
}
.site-footer .menu a:hover {
	text-decoration: underline;
}
.social-link {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	min-height: 44px;
	margin-top: var(--s-2);
	text-decoration: none;
}
.site-footer__legal {
	margin-top: var(--s-8);
	padding-top: var(--s-5);
	border-top: 1px solid var(--night-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s-3);
}
.site-footer__legal .menu {
	display: flex;
	gap: var(--s-5);
}

/* Schnellkontakt-Leiste (nur schmale Bildschirme) */
.call-bar {
	display: none;
}

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
	padding-block: clamp(40px, 6vw, 88px);
	border-bottom: 1px solid var(--line);
}
.page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.page-hero--media .page-hero__grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.page-hero__title {
	font-stretch: 122%;
	font-weight: 800;
	font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	max-width: 18ch;
}
.page-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	clip-path: polygon(var(--cut, 56px) 0, 100% 0, 100% 100%, 0 100%);
}
.tyre-hero .page-hero__title {
	color: var(--on-night);
}

/* Sprungnavigation */
.jump-nav {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
}
.jump-nav__list {
	list-style: none;
	margin: 0;
	padding: var(--s-2) 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 var(--s-5);
}
.jump-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	font-weight: 650;
	color: var(--ink);
}

/* Leistungsdetails */
.service-details .container {
	display: grid;
	gap: clamp(72px, 9vw, 128px);
}
.service-detail {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	scroll-margin-top: calc(var(--header-h) + 32px);
}
.service-detail--flip {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.service-detail--flip .service-detail__media {
	order: 2;
}
.service-detail__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 620px;
	object-fit: cover;
}
.service-detail .h2 {
	font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}

/* Über uns */
/* ---------- Fahrzeuge ---------- */
.vehicle-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: var(--s-5);
}
.vehicle-card__link {
	display: block;
	height: 100%;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow 0.2s, border-color 0.2s;
}
.vehicle-card__link:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-md);
	color: var(--ink);
}
.vehicle-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tint);
}
.vehicle-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vehicle-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink-3);
}
.vehicle-card__body {
	padding: var(--s-5);
}
.spec-chips {
	list-style: none;
	margin: var(--s-2) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.spec-chips li + li::before {
	content: "·";
	margin-inline: 8px;
}
.vehicle-card__price,
.vehicle-hero__price {
	margin-top: var(--s-3);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
}
.vehicle-hero__price {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
}
.badge--status,
.status-pill {
	display: inline-block;
	padding: 4px 10px;
	background: var(--ink);
	color: var(--surface);
	font-size: var(--text-xs);
	font-weight: 700;
}
.badge--status {
	position: absolute;
	top: var(--s-3);
	left: var(--s-3);
}
.status-pill.is-verfuegbar {
	background: var(--ok);
}
.status-pill {
	margin-bottom: var(--s-3);
}
.is-verkauft .vehicle-card__media img {
	filter: grayscale(1);
	opacity: 0.6;
}
.vehicle-hero {
	padding-block: clamp(40px, 6vw, 80px);
}
.vehicle-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.vehicle-hero__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--tint);
	overflow: hidden;
}
.vehicle-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.spec-table {
	margin-top: var(--s-5);
	border-top: 2px solid var(--ink);
}
.spec-table > div {
	display: flex;
	justify-content: space-between;
	gap: var(--s-4);
	padding-block: 10px;
	border-bottom: 1px solid var(--line);
}
.spec-table dt {
	color: var(--ink-2);
}
.spec-table dd {
	font-weight: 700;
	text-align: right;
}
.vehicle-hero__note {
	margin-top: var(--s-4);
	color: var(--ink-2);
}
.empty-state {
	padding-block: var(--s-6);
}
.empty-state--card {
	max-width: 760px;
	padding: clamp(24px, 4vw, 48px);
	background: var(--surface);
	border: 1px solid var(--line);
}
.empty-state--card .icon {
	color: var(--blue);
	margin-bottom: var(--s-4);
}
.empty-state p:not(.h3) {
	margin-top: var(--s-3);
	color: var(--ink-2);
}

/* ---------- Beiträge ---------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: var(--s-6);
}
.post-card__link {
	display: block;
	color: var(--ink);
	text-decoration: none;
}
.post-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: var(--s-4);
	background: var(--tint);
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-card__date {
	font-size: var(--text-sm);
	color: var(--ink-2);
}
.post-card .h3 {
	margin-top: var(--s-2);
}
.post-card__link:hover .h3 {
	color: var(--blue);
}
.post-card p:last-child {
	margin-top: var(--s-2);
	color: var(--ink-2);
}
.pagination {
	margin-top: var(--s-7);
}
.pagination .nav-links {
	display: flex;
	gap: var(--s-2);
}
.pagination .page-numbers {
	min-width: 48px;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--line-input);
	color: var(--ink);
	text-decoration: none;
	font-weight: 700;
}
.pagination .current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--surface);
}
.post-nav {
	margin-top: var(--s-7);
	padding-top: var(--s-5);
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	gap: var(--s-5);
}

/* ---------- Fließtext (Impressum, Datenschutz, Beiträge) ---------- */
.prose {
	max-width: 68ch;
	font-size: var(--text-body);
	line-height: 1.7;
	color: var(--ink);
}
.prose > * + * {
	margin-top: 1em;
}
.prose h2 {
	margin-top: 2em;
	font-stretch: 110%;
	font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
	letter-spacing: -0.01em;
}
.prose h3 {
	margin-top: 1.6em;
	font-size: 1.3125rem;
}
.prose ul,
.prose ol {
	padding-left: 1.2em;
}
.prose li + li {
	margin-top: 0.4em;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
}
.prose .wp-block-table {
	margin-inline: 0;
}
.prose td,
.prose th,
.prose .wp-block-table td,
.prose .wp-block-table th {
	padding: 12px 16px 12px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.prose .wp-block-table table {
	border: 0;
}
.prose td:first-child {
	color: var(--ink-2);
	width: 38%;
}
.prose img {
	max-width: 100%;
	height: auto;
}

/* ---------- Scroll-Reveal (sparsam) ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
/* Mittlere Breiten: Navigation bleibt sichtbar, das Telefon wandert in die Statusleiste. */
@media (max-width: 1360px) {
	.site-header__inner {
		gap: var(--s-5);
	}
}
@media (max-width: 1360px) and (min-width: 1121px) {
	.header-phone {
		display: none;
	}
	/* Die Statusleiste bleibt einzeilig: das Telefon hat Vorrang, die Adresse steht in „Auf einen Blick“. */
	.status-bar .status-bar__address {
		display: none;
	}
	.status-bar__phone {
		margin-left: auto;
	}
}
/* Statusleiste mit Telefonnummer: wo der Header sie nicht (lesbar) zeigt. */
@media (max-width: 1360px) and (min-width: 1121px), (max-width: 640px) {
	.status-bar__phone {
		display: flex !important;
	}
}
@media (max-width: 1120px) {
	.main-nav {
		display: none;
	}
	.menu-toggle {
		display: inline-flex;
	}
	.header-actions {
		margin-left: auto;
	}
}

@media (max-width: 1180px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1000px) {
	.hero__grid,
	.svc,
	.process__grid,
	.contact__grid,
	.tyres__grid,
	.tyre-hero__grid,
	.split,
	.service-detail,
	.service-detail--flip,
	.vehicle-hero__grid,
	.page-hero--media .page-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.service-detail--flip .service-detail__media {
		order: 0;
	}
	.svc__media {
		display: none;
	}
	.svc__inline-img {
		display: block;
		width: 100%;
		aspect-ratio: 16 / 10;
		object-fit: cover;
		margin-bottom: var(--s-4);
	}
	.glance {
		max-width: 560px;
	}
	/* Geschichte: ohne stehende Bühne, jedes Kapitel mit eigenem Jahr und Bild. */
	.story__head,
	.story__body {
		grid-template-columns: minmax(0, 1fr);
	}
	.story__stage {
		display: none;
	}
	.story__chapters {
		position: relative;
		padding-left: 32px;
	}
	.story__chapters::before {
		content: "";
		position: absolute;
		left: 4px;
		top: 12px;
		bottom: 0;
		width: 2px;
		background: var(--ink);
	}
	.story__chapter {
		position: relative;
		min-height: 0;
		padding-block: 0 var(--s-7);
	}
	.story__chapter::before {
		content: "";
		position: absolute;
		left: -32px;
		top: 6px;
		width: 9px;
		height: 22px;
		background: var(--red-mark);
		transform: skewX(-35deg);
	}
	.js .story.is-live .story__chapter :is(.story__title, .story__text) {
		color: var(--ink);
	}
	.js .story.is-live .story__chapter .story__text {
		color: var(--ink-2);
	}
	.story__big {
		display: block;
		font-stretch: 125%;
		font-weight: 800;
		font-size: clamp(4rem, 3rem + 6vw, 6rem);
		line-height: 0.9;
		letter-spacing: -0.05em;
	}
	.story__inline {
		display: block;
		margin-top: var(--s-5);
	}
	.story__inline img {
		width: 100%;
		aspect-ratio: 16 / 10;
		object-fit: cover;
		clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
	}
	.story__kicker {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.story__title {
		margin-top: var(--s-5);
	}
	/* Kein 3D und kein Video auf kleineren Bildschirmen: ruhiges Foto, flacher Ausschnitt. */
	.tyre-stage,
	.tyre-stage--hero {
		aspect-ratio: 16 / 10;
		max-height: 420px;
	}
	.page-hero__media img {
		aspect-ratio: 16 / 9;
	}
	.service-detail__media img {
		aspect-ratio: 16 / 11;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 68px;
	}
	.header-cta {
		display: none;
	}
	.status-bar .status-bar__address {
		display: none;
	}
	.call-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--surface);
		border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px -12px rgba(20, 27, 37, 0.25);
	}
	.call-bar a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--s-2);
		min-height: 60px;
		font-weight: 700;
		font-size: var(--text-sm);
		color: var(--ink);
		text-decoration: none;
		border-right: 1px solid var(--line);
	}
	.call-bar a:last-child {
		border-right: 0;
	}
	.call-bar .icon {
		color: var(--blue);
	}
	.call-bar__cta {
		background: var(--red);
		color: var(--surface) !important;
	}
	body {
		padding-bottom: calc(60px + env(safe-area-inset-bottom));
	}
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(180px, 40vw, 260px);
	}
	.mosaic__item,
	.mosaic__item:nth-child(2),
	.mosaic__item:nth-child(3) {
		grid-column: span 1;
	}
	.mosaic__item--hero {
		grid-column: 1 / -1;
		grid-row: span 1;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 1.0625rem;
	}
	.header-phone__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.header-phone {
		width: 48px;
		justify-content: center;
		background: var(--tint);
	}
	.header-phone:hover {
		background: var(--fill);
	}
	.brand__word {
		font-size: 1.375rem;
	}
	.status-bar__hours {
		font-size: var(--text-xs);
	}
	.hero__actions .btn,
	.btn-row .btn {
		width: 100%;
	}
	.hero__media {
		--cut: 32px;
	}
	.hero__frame img,
	.hero__frame video {
		aspect-ratio: 16 / 10;
		object-position: 0% 50%; /* Schild „Fileo“ und „Autohaus“ bleiben im Bild */
	}
	/* Startseite: drei Fotos genügen, die übrigen zeigt „Über uns“. */
	.house .mosaic__item:nth-child(n + 4) {
		display: none;
	}
	.form-grid,
	.model-list {
		grid-template-columns: minmax(0, 1fr);
	}
	.price-row {
		flex-direction: column;
		gap: var(--s-2);
	}
	.price-row__price {
		text-align: left;
	}
	.price-row__amount {
		justify-content: flex-start;
	}
	.mosaic {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: 240px;
	}
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.map-consent {
		aspect-ratio: 3 / 4;
	}
}

/* ---------- Touch: Klickflächen mindestens 44 px ---------- */
@media (pointer: coarse) {
	.glance__contact > div {
		align-items: center;
		padding-block: 0;
	}
	.glance__contact dt {
		padding-block: 10px;
	}
	.glance__contact a,
	.price-row__ask a,
	.site-footer .menu a,
	.site-footer__phones a,
	.site-footer__address a,
	.contact-info__block a,
	.svc__links a,
	.season-note a,
	.form__alt a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
	.glance__route {
		display: flex !important;
		justify-content: flex-end;
		margin-top: 0;
	}
	.site-footer__phones {
		gap: 0;
	}
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.js .line > span {
		transform: none;
		animation: none;
	}
	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* ---------- WordPress-Klassen ---------- */
.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}
.alignright {
	float: right;
	margin: 0 0 16px 24px;
}
.aligncenter {
	margin-inline: auto;
}
.wp-caption-text,
.wp-element-caption {
	font-size: var(--text-xs);
	color: var(--ink-3);
}
