/* ==========================================================================
   KDS Beck Autoservice – main.css
   Seitengerüst nach KDS-Webstandard. Farben/Fonts projektspezifisch:
   Farben aus dem Beck-Logo (Rot, Blau, Petrol, Grau), Zilla Slab (Display) + Manrope (Text/UI).
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO) ---------- */
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2-variations"), url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--bg: #ffffff;
	--bg-alt: #f1f4f6;
	--surface: #ffffff;
	--ink: #1b2228;
	--ink-2: #424c55;
	--muted: #6b7680;
	--line: rgba(27, 34, 40, .12);
	--line-strong: rgba(27, 34, 40, .24);

	--dark: #0f2a33;
	--dark-2: #143640;
	--dark-3: #1b4350;
	--on-dark: #f2f6f8;
	--on-dark-2: #b4c6cd;
	--line-dark: rgba(242, 246, 248, .16);

	--red: #e2001a;
	--red-dark: #b80015;
	--red-light: #ff4d5e;
	--blue: #008bc4;
	--blue-dark: #00709f;
	--teal: #007a84;
	--grey: #707070;
	--grey-light: #d9d9d9;

	--accent: var(--red);
	--accent-2: var(--red-light);
	--accent-ink: #ffffff;
	--accent-soft: rgba(226, 0, 26, .08);
	--blue-soft: rgba(0, 139, 196, .1);
	--ok: #2e9e5b;
	--todo: #e8962e;

	--font-display: "Zilla Slab", "Rockwell", Georgia, serif;
	--font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--wrap-mid: 920px;
	--wrap-narrow: 860px;
	--wrap-legal: 760px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--sec: clamp(64px, 9vw, 128px);
	--sec-sm: clamp(44px, 6vw, 80px);
	--gap: clamp(1rem, 2.4vw, 1.75rem);
	--radius: 16px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15, 42, 51, .05), 0 12px 32px -14px rgba(15, 42, 51, .2);
	--shadow-lg: 0 2px 4px rgba(15, 42, 51, .06), 0 28px 60px -24px rgba(15, 42, 51, .32);
	--header-h: clamp(64px, 7vw, 78px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: clamp(15.5px, .3vw + 14.6px, 16px);
	line-height: 1.78;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { margin: 0 0 .5em; font-weight: 600; line-height: 1.12; letter-spacing: -.012em; }
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-family: var(--font-sans); font-size: clamp(1.02rem, .4vw + .95rem, 1.15rem); font-weight: 700; letter-spacing: -.005em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; color: var(--red); }
.sec--dark h2 em, .page-hero h1 em { color: var(--red-light); }
.lead { font-size: clamp(1.02rem, .35vw + .95rem, 1.12rem); color: var(--ink-2); max-width: 62ch; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .7rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--mid { max-width: calc(var(--wrap-mid) + 2 * var(--gutter)); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }
.wrap--legal { max-width: calc(var(--wrap-legal) + 2 * var(--gutter)); }

.sec { padding-block: var(--sec); background: var(--bg); position: relative; }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec--dark .lead { color: var(--on-dark-2); }

.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sec-head--split h2 { margin-bottom: 0; }

/* Split-Layouts – nur über diese Klassen */
.kds-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 57fr 43fr; }
.kds-split--65 { grid-template-columns: 65fr 35fr; }
.kds-split--75 { grid-template-columns: 75fr 25fr; }
.kds-split--top { align-items: start; }
.kds-split--reverse > .kds-split__media { order: 2; }
.kds-split__text > h2 { margin-bottom: .6em; }
.kds-split__text > .btn-row { margin-top: 1.75rem; }

/* ---------- Eyebrow ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .75em;
	margin: 0 0 1.1rem;
	font-size: 11.75px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: #7fcbe8; }
.eyebrow__no { font-variant-numeric: tabular-nums; color: var(--ink); opacity: .55; }
.eyebrow:has(.eyebrow__no)::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 48px; padding: .85em 1.5em;
	border: 1px solid transparent; border-radius: 999px;
	font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgba(226, 0, 26, .6); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn--light:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header (volle Breite, sticky, 3px-Akzentlinie) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; width: 100%;
	background: rgba(255, 255, 255, .96); color: var(--ink);
	border-top: 3px solid var(--red);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__bar {
	display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem);
	min-height: var(--header-h);
	padding-inline: clamp(1.1rem, 3vw, 2.75rem);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand__logo { height: clamp(42px, 4.6vw, 62px); width: auto; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav__list a {
	position: relative; display: block; padding: .5rem 0;
	font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--ink); }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.site-nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }
.site-header .btn { min-height: 42px; padding: .7em 1.2em; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.burger__close { display: none; }

/* ---------- Startseiten-Hero (hell, Pinselstrich-Motiv aus dem Logo) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%); }
.hero__inner { display: grid; grid-template-columns: 46fr 54fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(56px, 8vw, 112px); }
.hero__visual { order: 2; position: relative; isolation: isolate; padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px); }
.hero__brush { position: absolute; z-index: -1; inset: 0 -6% 0 -4%; }
.hero__brush .brush { width: 100%; height: 100%; }
.hero__brush .brush__teal { animation: brushIn 1.1s var(--ease) both; }
.hero__brush .brush__blue { animation: brushIn 1.1s .18s var(--ease) both; }
@keyframes brushIn { from { opacity: 0; transform: translate(-24px, 24px); } to { opacity: 1; transform: none; } }
.hero__frame { width: 84%; margin-left: auto; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); box-shadow: 0 30px 70px -30px rgba(15, 42, 51, .55); border: 6px solid #fff; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__content { order: 1; }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.04; margin-bottom: .4em; }
.hero__sub { font-size: clamp(1.02rem, .5vw + .92rem, 1.16rem); color: var(--ink-2); max-width: 52ch; margin-bottom: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin-top: clamp(2rem, 4vw, 2.75rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero__facts li { display: inline-flex; align-items: center; gap: .55rem; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero__facts .icon { width: 20px; height: 20px; color: var(--blue); }

/* Live-Status */
.status { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .45rem .9rem .45rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.status[hidden] { display: none; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(46, 158, 91, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46, 158, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); } }
.status--card { margin: 1.25rem 0 0; background: var(--bg); border-color: var(--line); color: var(--ink); }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--dark); color: var(--on-dark); text-align: center; overflow: hidden; border-bottom: 4px solid transparent; border-image: linear-gradient(90deg, var(--teal) 0 33%, var(--blue) 33% 66%, var(--red) 66% 100%) 1; }
.page-hero__inner { padding-block: clamp(72px, 11vw, 140px) clamp(56px, 8vw, 104px); max-width: calc(860px + 2 * var(--gutter)); }
.page-hero__title { margin-bottom: .4em; }
.page-hero__sub { color: var(--on-dark-2); font-size: clamp(1.02rem, .4vw + .94rem, 1.14rem); max-width: 60ch; margin-inline: auto; }
.page-hero .eyebrow { color: #7fcbe8; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 51, .5) 0%, rgba(15, 42, 51, .82) 100%); }

/* ---------- Karten ---------- */
.card-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	text-decoration: none; color: inherit;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; border-color: var(--line-strong); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark-2); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.4vw, 1.6rem); position: relative; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: #fff; margin: calc(-1 * clamp(1.25rem, 2.4vw, 1.6rem) - 23px) 0 1rem; position: relative; box-shadow: 0 0 0 4px var(--surface); }
.card__icon .icon { width: 22px; height: 22px; }
.card__title { margin-bottom: .45rem; }
.card__body p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.card__more .icon { width: 16px; height: 16px; color: var(--red); transition: transform .3s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }
.card--cta { background: var(--dark); color: var(--on-dark); border-color: var(--dark); justify-content: flex-end; min-height: 320px; position: relative; isolation: isolate; }
.card--cta::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: 15%; top: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(0, 139, 196, .38) 0%, rgba(0, 139, 196, 0) 70%); }
.card--cta:hover { color: var(--on-dark); }
.card--cta .card__icon { margin-top: 0; background: var(--red); color: #fff; box-shadow: none; }
.card--cta .card__body p { color: var(--on-dark-2); }
.card--cta .card__more { color: var(--on-dark); }

/* ---------- Schritte ---------- */
.steps { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step__no { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--blue); opacity: .28; }
.step__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: 1.1rem; }
.step__icon .icon { width: 22px; height: 22px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ---------- Medien-Rahmen ---------- */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--dark-2); box-shadow: var(--shadow-lg); }
.media-frame--split { aspect-ratio: 16 / 10; }
.media-frame--card { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.media-frame--portrait { aspect-ratio: 4 / 5; }
.media-frame--banner { aspect-ratio: 21 / 9; }
.media-frame__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Checkliste ---------- */
.checklist { display: grid; gap: .7rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; flex: none; margin-top: .15em; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 2.4; }

/* ---------- HU-Rechner ---------- */
.hu-calc { margin-top: 1.5rem; padding: clamp(1.2rem, 2.5vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hu-calc__mode { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; padding: 4px; border: 0; background: var(--bg-alt); border-radius: 999px; width: fit-content; max-width: 100%; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .5rem 1rem; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--dark); color: var(--on-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hu-calc__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; }
.hu-calc__btn { min-height: 50px; }
.hu-calc__result { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.hu-calc__result[hidden] { display: none; }
.hu-calc__date { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.2; margin-bottom: .4rem; }
.hu-calc__date strong { font-weight: 600; color: var(--blue-dark); font-style: italic; }
.hu-calc__result.is-overdue .hu-calc__date strong { color: var(--red); }
.hu-calc__hint { color: var(--ink-2); margin-bottom: 1rem; }
.hu-calc__note { margin-top: 1rem; font-size: 13px; color: var(--muted); line-height: 1.55; }
.service__tool { margin-top: 1.75rem; }
.service__tool-title { margin-bottom: 0; }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field abbr { text-decoration: none; color: var(--red); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 14px 16px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	font-size: 16px; line-height: 1.4; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2228' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }

.request-form { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field--full { grid-column: 1 / -1; }
.chips { border: 0; padding: 0; margin: 0 0 1.5rem; }
.chips legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: .7rem; padding: 0; }
.chips__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; transition: all .2s var(--ease); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: .55rem; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; margin: 1.4rem 0 1.6rem; font-size: 14px; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-hint { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.form-msg .icon { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.4; }
.form-msg--ok { background: rgba(46, 158, 91, .1); border: 1px solid rgba(46, 158, 91, .35); }
.form-msg--error { background: rgba(192, 57, 43, .08); border: 1px solid rgba(192, 57, 43, .3); color: #8e2a1f; }

.kds-split__side { display: grid; gap: var(--gap); }
.side-card { padding: clamp(1.4rem, 2.6vw, 1.9rem); background: var(--dark); color: var(--on-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.side-card p { color: var(--on-dark-2); }
.side-card .btn { margin-top: .5rem; white-space: normal; }
.side-card .status--card { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: var(--on-dark); }
.side-card--plain { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* ---------- Öffnungszeiten ---------- */
.hours { margin: 0; display: grid; gap: .35rem; }
.hours__row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours__row:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- Besuch / Karte ---------- */
.info-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.info-card { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.6vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal); color: #fff; margin-bottom: 1.1rem; }
.info-card__icon .icon { width: 22px; height: 22px; }
.info-card p { color: var(--ink-2); }
.info-card p a { color: var(--ink); font-weight: 600; }
.info-card__link { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.info-card__link .icon { width: 16px; height: 16px; color: var(--red); }
.map { position: relative; margin-top: var(--gap); aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); box-shadow: var(--shadow); isolation: isolate; }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 48px 48px; opacity: .55; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.5rem; text-align: center; color: var(--on-dark-2); font-size: 14px; }
.map__consent a { color: var(--on-dark); }
.map__icon .icon { width: 34px; height: 34px; color: #7fcbe8; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Leistungen ---------- */
.jump { position: sticky; top: calc(var(--header-h) + 3px); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump__list { position: relative; display: flex; gap: .4rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.jump__list::-webkit-scrollbar { display: none; }
.jump__list a { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .4rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.jump__list a:hover, .jump__list a.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.jump__list a:hover .icon, .jump__list a.is-active .icon { color: #fff; }
.jump__list .icon { width: 17px; height: 17px; color: var(--blue); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.45; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { width: 20px; height: 20px; flex: none; color: var(--red); transition: transform .3s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(90deg); }
.faq__a { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }

/* ---------- Preise ---------- */
.price-list { display: grid; gap: .75rem; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.price:hover { transform: translateY(-2px); }
.price h3 { margin-bottom: .15rem; }
.price__text p { color: var(--muted); font-size: 14.5px; }
.price__value { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1; white-space: nowrap; }
.price__from { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price__ask { font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); background: var(--blue-soft); padding: .45rem .8rem; border-radius: 999px; }
.price-note { margin-top: 1.5rem; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Feature-Raster ---------- */
.feature-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.feature { padding: clamp(1.4rem, 2.6vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: 1.1rem; }
.feature__icon .icon { width: 22px; height: 22px; }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.signature { margin-top: 1.5rem; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 1.6rem; line-height: 1.1; }
.signature span { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.peek { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

/* ---------- Galerie + Lightbox ---------- */
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); grid-auto-flow: dense; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item { min-width: 0; }
.gallery__link { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); box-shadow: var(--shadow); }
.gallery__item--wide .gallery__link { aspect-ratio: auto; min-height: 260px; }
.gallery__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__link:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(10, 12, 15, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1400px, 100%); }
.lightbox__figure img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox__figure figcaption { margin-top: .8rem; text-align: center; color: var(--on-dark-2); font-size: 14px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark); cursor: pointer; }
.lightbox__btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.icon--flip { transform: scaleX(-1); }
body.is-locked { overflow: hidden; }

/* ---------- Abschluss-CTA ---------- */
.closing-cta { overflow: hidden; isolation: isolate; text-align: center; }
.closing-cta__glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(820px, 90%); aspect-ratio: 1.8; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 139, 196, .32) 0%, rgba(0, 139, 196, 0) 100%); }
.closing-cta__inner { max-width: calc(760px + 2 * var(--gutter)); }
.closing-cta .lead { margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-family: var(--font-sans); font-size: 1.08rem; font-weight: 700; margin: 2.2em 0 .6em; letter-spacing: 0; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.legal__stand { margin-top: 2.5rem; font-size: 14px; color: var(--muted); }

/* Platzhalter-Markierung (bis Go-live) */
.todo { background: rgba(232, 150, 46, .2); color: #7a4504; border-radius: 4px; padding: 0 .3em; font-size: .92em; font-weight: 600; }
.site-footer .todo, .side-card .todo { background: rgba(232, 150, 46, .22); color: #f4b866; }
.todo-note { margin-top: .8rem; font-size: 13px; color: var(--muted); font-style: italic; }
.todo-note--center { text-align: center; margin-top: 1.5rem; }
.site-footer .todo-note { color: var(--on-dark-2); opacity: .8; }

/* ---------- Footer (volle Breite, dunkel, 4-spaltig) ---------- */
.site-footer { width: 100%; background: #0b2229; color: var(--on-dark-2); border-top: 1px solid var(--line-dark); }
.site-footer__inner { padding: clamp(56px, 7vw, 96px) clamp(1.1rem, 3vw, 2.75rem) 0; max-width: 1480px; margin-inline: auto; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(40px, 5vw, 64px); }
.f-claim { margin-top: 1.25rem; max-width: 30ch; }
.brand--tile { background: #fff; padding: .9rem 1.1rem; border-radius: var(--radius-sm); }
.brand--tile .brand__logo { height: 54px; }
.f-title { font-family: var(--font-sans); font-size: 11.75px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1.2rem; }
.f-list { display: grid; gap: .8rem; }
.f-list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.55; }
.f-list .icon { width: 18px; height: 18px; flex: none; margin-top: .2em; color: #7fcbe8; }
.f-list a, .f-nav a, .f-legal a, .f-credit a { color: var(--on-dark); text-decoration: none; }
.f-list a:hover, .f-nav a:hover, .f-legal a:hover, .f-credit a:hover { color: #7fcbe8; }
.f-nav { display: grid; gap: .55rem; }
.hours--footer .hours__row { border-bottom-color: var(--line-dark); font-size: 14.5px; }
.hours--footer dt { color: var(--on-dark); }
.hours--footer dd { color: var(--on-dark-2); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; }
.f-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Mobiles Kontakt-Dock */
.dock { display: none; }

/* ---------- Breakpoints: 1120 (Burger), 860 (Splits/Footer), 640 (Buttons) ---------- */
@media (max-width: 1120px) {
	.burger { display: grid; }
	.header-phone { display: none; }
	.site-nav {
		position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0; z-index: 49;
		display: flex; flex-direction: column; gap: 2rem;
		padding: 1.5rem var(--gutter) 2.5rem; background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
	}
	.site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.site-header.is-open .burger__open { display: none; }
	.site-header.is-open .burger__close { display: block; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list a { padding: 1rem 0; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
	.site-nav__list a::after { display: none; }
	.site-nav__mobile-cta { display: flex; flex-direction: column; gap: .75rem; }
	.site-nav__mobile-cta .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
}

@media (max-width: 860px) {
	.kds-split, .kds-split--65, .kds-split--75 { grid-template-columns: 1fr; }
	.kds-split--reverse > .kds-split__media { order: 0; }
	.is-front .kds-split__text, .is-front .sec-head { text-align: center; margin-inline: auto; }
	.is-front .kds-split__text .eyebrow { justify-content: center; }
	.is-front .kds-split__text .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
	.is-front .kds-split__text .btn-row, .is-front .checklist { justify-content: center; }
	.is-front .checklist { text-align: left; max-width: 34rem; margin-inline: auto; }
	.is-front .hu-calc { text-align: left; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.f-col--brand { grid-column: 1 / -1; }
	.gallery__item--wide { grid-column: auto; }
	.gallery__item--wide .gallery__link { aspect-ratio: 4 / 3; min-height: 0; }
	.map { aspect-ratio: 4 / 3; }
	.hero__inner { grid-template-columns: 1fr; padding-block: clamp(32px, 7vw, 56px) clamp(48px, 9vw, 72px); }
	.hero__visual { order: 0; padding-block: 24px 40px; }
	.hero__brush { inset: 0 -4% 0 -4%; }
	.hero__frame { width: 88%; margin-inline: auto; }
	.hero__content { text-align: center; }
	.hero__content .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
	.hero__content .btn-row, .hero__facts { justify-content: center; }
	.hero__sub { margin-inline: auto; }
	body { padding-bottom: 68px; }
	.dock {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		background: rgba(11, 34, 41, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.dock__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 60px; color: var(--on-dark); text-decoration: none; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
	.dock__item .icon { width: 21px; height: 21px; color: #7fcbe8; }
	.dock__item--primary { background: var(--red); color: #fff; }
	.dock__item--primary .icon { color: #fff; }
	.dock__item:hover { color: var(--on-dark); }
	.dock__item--primary:hover { color: #fff; }
}

@media (max-width: 640px) {
	.btn { white-space: normal; max-width: 100%; text-align: center; }
	.btn-row .btn { flex: 1 1 100%; }
	.site-header__actions [data-header-cta] { display: none; }
	.form-grid { grid-template-columns: 1fr; }
	.hu-calc__row { grid-template-columns: 1fr 1fr; }
	.hu-calc__btn { grid-column: 1 / -1; }
	.hu-calc__mode { width: 100%; border-radius: 18px; }
	.seg { flex: 1 1 auto; text-align: center; }
	.price { flex-direction: column; align-items: flex-start; gap: .8rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
	.hero__facts { gap: .7rem 1.4rem; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}
