/* =====================================================================
   nexxtcars – Website-Styles (Mobile First, keine externen Abhaengigkeiten)
   Markenfarben zentral in :root aenderbar.
   ===================================================================== */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-v19-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-v19-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-v19-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-v19-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-v31-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-v31-latin-600.woff2") format("woff2"); }

:root {
  --ink: #101214;
  --ink-2: #1a1e22;
  --ink-3: #2a3036;
  --paper: #f4f3ef;
  --card: #ffffff;
  --line: #dfddd5;
  --line-2: #ebe9e3;
  --muted: #5d6369;
  --accent: #c8f135;
  --accent-d: #b4dc22;
  --accent-ink: #101214;
  --danger: #b3261e;
  --danger-bg: #fdeceb;
  --wa: #128c4b;
  --r: 14px;
  --r-s: 10px;
  --shadow: 0 1px 2px rgba(16,18,20,.05), 0 12px 32px -12px rgba(16,18,20,.18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Montserrat", "Inter", system-ui, sans-serif;
  --hd-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .ft :focus-visible, .phead :focus-visible { outline-color: var(--accent); }
.card :focus-visible { outline-color: var(--ink); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 8px; background: var(--accent); transform: skewX(-24deg); flex: none; }
.todo { background: #fff4c9; color: #5c4700; border-radius: 4px; padding: 1px 6px; font-size: .92em; }
p.todo { padding: 10px 14px; border-radius: var(--r-s); }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px 22px; color: var(--muted); max-width: 720px; }

/* Icons */
.ic { width: 1.5em; height: 1.5em; flex: none; }
.ic--sm { width: 1.2em; height: 1.2em; }
.ic--xs { width: 1em; height: 1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .6em 1.25em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .96rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; font-size: 1.02rem; padding-inline: 1.6em; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-d); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn .ic { transition: transform .2s; }
.btn:hover .ic:last-child { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------- Header ----------------------------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(244,243,239,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 14px; height: var(--hd-h); }
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-size: 1.42rem; letter-spacing: -.035em; text-decoration: none; line-height: 1; margin-right: auto; }
.logo img { height: 36px; width: auto; align-self: center; }
.logo__mark { width: 18px; height: 11px; background: var(--accent); transform: skewX(-24deg); margin-right: 8px; align-self: center; box-shadow: -6px 0 0 -1px var(--ink); }
.logo__a { font-weight: 600; }
.logo__b { font-weight: 500; color: var(--muted); }
.logo--inv .logo__mark { box-shadow: -6px 0 0 -1px #fff; }
.logo--inv .logo__b { color: #a9b0b6; }
.hd__tel { display: none; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; }
.nav { position: fixed; inset: var(--hd-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 22px; display: none; flex-direction: column; box-shadow: 0 24px 40px -20px rgba(16,18,20,.3); max-height: calc(100dvh - var(--hd-h)); overflow: auto; }
.nav.is-open { display: flex; }
.nav a { display: flex; align-items: center; gap: 6px; padding: 14px 4px; font-weight: 500; font-size: 1.06rem; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a.nav__cta { border-bottom: 0; margin-top: 16px; justify-content: center; font-weight: 600; }

@media (min-width: 960px) {
  :root { --hd-h: 76px; }
  .burger { display: none; }
  .logo { margin-right: 28px; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 4px; background: none; border: 0; padding: 0; box-shadow: none; margin-right: auto; overflow: visible; }
  .nav a { border: 0; padding: 8px 14px; font-size: .96rem; border-radius: 999px; }
  .nav a:not(.btn):hover { background: var(--line-2); }
  .nav a[aria-current="page"] { font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .nav a.nav__cta { display: none; }
  .hd__tel { display: inline-flex; }
}

/* ------------------------------ Hero ------------------------------ */
.hero { background: var(--ink); color: #fff; position: relative; padding: 34px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(114deg, transparent 0 58%, rgba(200,241,53,.07) 58% 100%), repeating-linear-gradient(114deg, transparent 0 38px, rgba(255,255,255,.028) 38px 39px); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 26px; }
.hero h1 { margin-bottom: .35em; }
.hero__intro { color: #c5cbd0; font-size: 1.04rem; max-width: 34em; margin-bottom: 0; }
.hero__form { margin-bottom: -36px; }
.steps { display: grid; counter-reset: s; margin-top: 34px; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--accent); border: 1.5px solid rgba(200,241,53,.55); }
.steps li > span:last-child { color: #aab1b7; font-size: .94rem; line-height: 1.45; }
.steps strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; }

@media (min-width: 960px) {
  .hero { padding: 72px 0 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: start; }
  .hero__text { padding-top: 26px; padding-bottom: 80px; }
  .hero__intro { font-size: 1.14rem; }
  .hero__form { margin-bottom: -56px; }
}
/* Auf dem Smartphone folgen die Schritte kompakt unter dem Formular. */
@media (max-width: 959.98px) {
  .hero__text { display: contents; }
  .hero .eyebrow, .hero h1, .hero__intro { order: 1; }
  .hero__form { order: 2; margin-bottom: 0; }
  .steps { order: 3; margin: 28px 0 0; }
  .hero { padding-bottom: 36px; }
  .hero + .sec { padding-top: 56px; }
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero .eyebrow { margin-bottom: .7em; }
  .hero__intro { margin-bottom: 22px; }
}

/* ------------------------------ Cards ------------------------------ */
.card { background: var(--card); color: var(--ink); border-radius: var(--r); border: 1px solid var(--line); padding: 22px 18px; }
.card--form { box-shadow: var(--shadow); border-color: transparent; }
.card__title { font-size: 1.28rem; margin-bottom: .9em; }
.card__sub { color: var(--muted); font-size: .92rem; margin: -.6em 0 1.2em; }
@media (min-width: 600px) { .card { padding: 28px; } }

/* ------------------------------ Forms ------------------------------ */
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label, .rf legend, .up__label { font-weight: 600; font-size: .9rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: 4px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-s); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 92px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23101214' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:hover, select:hover, textarea:hover { border-color: #bdbab0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200,241,53,.55); }
input[aria-invalid="true"] { border-color: var(--danger); }
::placeholder { color: #8b9096; opacity: 1; }

.rf { display: grid; gap: 16px; }
.rf fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rf legend { padding: 0; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; }
.rf__req { font-weight: 500; font-size: .8rem; color: var(--accent-ink); background: var(--accent); padding: 2px 9px; border-radius: 999px; }
.rf__pair .fld label { font-weight: 500; font-size: .84rem; color: var(--muted); }
.rf__row { display: grid; gap: 14px; }
@media (min-width: 520px) { .rf__row { grid-template-columns: 1fr 1fr; } .rf__row > .fld:only-child { grid-column: 1 / -1; } }
.rf__err { color: var(--danger); font-size: .86rem; margin: 0; font-weight: 500; }
.rf__alert { background: var(--danger-bg); color: #7a1a14; border-radius: var(--r-s); padding: 12px 14px; font-size: .94rem; font-weight: 500; border-left: 4px solid var(--danger); }
.rf__alert p { margin: 0; }
.rf__alert p + p { margin-top: 6px; }
.rf__submit { width: 100%; }
.rf__legal { font-size: .8rem; color: var(--muted); margin: -4px 0 0; text-align: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Upload */
.up { display: grid; gap: 10px; }
.up__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.up__count { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.up__hints { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
.up__hints::-webkit-scrollbar { display: none; }
.up__hints li { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 66px; padding: 8px 6px 6px; background: var(--paper); border-radius: 10px; font-size: .68rem; font-weight: 500; color: var(--ink-3); text-align: center; line-height: 1.2; }
.up__hints .ic { width: 26px; height: 26px; }
.up__hints li { hyphens: manual; }
@media (min-width: 600px) { .up__hints { margin-inline: 0; padding-inline: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; } .up__hints li { min-width: 0; font-size: .64rem; padding-inline: 2px; } }
.up__drop { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 18px 14px; border: 1.5px dashed #bdbab0; border-radius: var(--r-s); background: #fbfaf8; cursor: pointer; transition: border-color .15s, background-color .15s; }
.up__drop:hover, .up__drop.is-over { border-color: var(--ink); background: #f3fbd3; }
.up__drop .ic { width: 28px; height: 28px; margin-bottom: 4px; }
.up__cta { font-weight: 600; }
.up__sub { font-size: .78rem; color: var(--muted); }
.up__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.up__input:focus-visible + .up__list, .up__drop:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.no-js .up__input { position: static; width: auto; height: auto; opacity: 1; }
.up__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.up__list:empty { display: none; }
@media (min-width: 600px) { .up__list { grid-template-columns: repeat(5, 1fr); } }
.up__item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line-2); }
.up__item img { width: 100%; height: 100%; object-fit: cover; }
.up__item.is-busy img { opacity: .45; }
.up__item.is-error { outline: 2px solid var(--danger); outline-offset: -2px; }
.up__bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 5px; border-radius: 3px; background: rgba(16,18,20,.25); overflow: hidden; }
.up__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s linear; }
.up__item.is-done .up__bar { display: none; }
.up__rm { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(16,18,20,.78); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.up__rm .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.up__rm::after { content: ""; position: absolute; inset: -8px; }
.up__msg { margin: 0; font-size: .86rem; color: var(--danger); font-weight: 500; }
.up__msg:empty { display: none; }
.up__note { display: flex; gap: 6px; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.45; }
.up__note .ic { margin-top: 2px; }

/* ----------------------------- Sections ----------------------------- */
.sec { padding: 72px 0 56px; }
.hero + .sec { padding-top: 92px; }
.sec--tight { padding: 32px 0 64px; }
.sec--tint { background: #eceae4; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.sec__head h2 { margin: 0; }
@media (min-width: 960px) { .sec { padding: 104px 0 88px; } .hero + .sec { padding-top: 136px; } .sec--tight { padding: 40px 0 96px; } }

.split { display: grid; gap: 28px; align-items: center; }
.split__media img { border-radius: var(--r); width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.split__text p { color: var(--ink-3); max-width: 34em; }
.split__text .btn { margin-top: 8px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--form { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); } }

/* Kontakt */
.ct { display: grid; gap: 12px; }
@media (min-width: 720px) { .ct { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .split .ct { grid-template-columns: 1fr; } }
.ct__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; transition: border-color .15s, transform .15s; overflow-wrap: anywhere; }
.ct__item:hover { border-color: var(--ink); transform: translateY(-2px); }
.ct__item .ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--ink); color: var(--accent); }
.ct__item small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------- Fahrzeugkarten ------------------------- */
.vgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.vc__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.vc__img { aspect-ratio: 4 / 3; background: var(--line-2); overflow: hidden; }
.vc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vc:hover .vc__img img { transform: scale(1.04); }
.vc__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vc__title { margin: 0; font-size: 1.06rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--ink-3); }
.vc__specs li { display: inline-flex; align-items: center; gap: 5px; }
.vc__specs .ic { color: var(--muted); }
.vc__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vc__price { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; }
.vc__more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; }
.vc:hover .vc__more .ic { transform: translateX(3px); }
.vc__more .ic { transition: transform .2s; }

/* Filter */
.flt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 24px; align-items: end; }
.flt .fld label { font-size: .78rem; color: var(--muted); font-weight: 500; }
.flt .fld:nth-child(5) { grid-column: 1 / -1; }
.flt__go { grid-column: 1 / -1; }
.js .flt__go { display: none; }
.flt__info { color: var(--muted); font-size: .92rem; }
@media (min-width: 860px) { .flt { grid-template-columns: repeat(5, 1fr); } .flt .fld:nth-child(5) { grid-column: auto; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; color: var(--muted); font-size: .92rem; }

/* --------------------------- Seitenkopf --------------------------- */
.phead { background: var(--ink); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.phead::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(114deg, transparent 0 38px, rgba(255,255,255,.028) 38px 39px); pointer-events: none; }
.phead > .wrap { position: relative; }
.phead h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); margin: 0; max-width: 18em; }
.phead__sub { color: #c5cbd0; margin: 14px 0 0; max-width: 38em; }
.phead__split { display: grid; gap: 28px; align-items: center; }
.phead--care .btn { margin-top: 26px; }
.phead__media img { border-radius: var(--r); width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
@media (min-width: 860px) { .phead { padding: 64px 0 68px; } .phead__split { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* -------------------------- Fahrzeugpflege -------------------------- */
.care { display: grid; gap: 44px; }
.care__item { display: grid; gap: 20px; align-items: center; }
.care__media img { border-radius: var(--r); width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.care__n { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .12em; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.care__n::after { content: ""; width: 40px; height: 1.5px; background: var(--ink); }
.care__text p { color: var(--ink-3); max-width: 36em; }
@media (min-width: 860px) {
  .care { gap: 88px; }
  .care__item { grid-template-columns: 1fr 1fr; gap: 64px; }
  .care__item:nth-child(even) .care__media { order: 2; }
}

/* -------------------------- Fahrzeugdetail -------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); padding: 18px 0 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.vd { display: grid; gap: 22px; padding-bottom: 72px; }
.vd__main { min-width: 0; display: grid; gap: 22px; align-content: start; }
.vd__side { display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (min-width: 1000px) { .vd { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } .vd__side { position: sticky; top: calc(var(--hd-h) + 20px); max-height: none; } }
/* Smartphone: Galerie -> Preis/Kontakt -> Daten -> Anfrageformular */
@media (max-width: 999.98px) {
  .vd { display: flex; flex-direction: column; }
  .vd__main, .vd__side { display: contents; }
  .gal { order: 1; margin-inline: -20px; }
  .gal__stage { border-radius: 0; }
  .gal__thumbs { padding-inline: 20px; }
  .vd__buy { order: 2; }
  .vd__sec { order: 3; }
  .vd__side > #anfrage { order: 4; }
}
.vd__title { font-size: clamp(1.4rem, 4.4vw, 1.7rem); margin-bottom: .6em; }
.vd__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.vd__chips li { font-size: .82rem; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--paper); }
.vd__price { font-family: var(--display); font-weight: 600; font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; margin: 0; }
.vd__net { color: var(--muted); font-size: .86rem; margin: 8px 0 0; }
.vd__actions { display: grid; gap: 10px; margin-top: 22px; }
.vd__sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; }
.vd__sec h2 { font-size: 1.2rem; margin-bottom: .9em; }
@media (min-width: 600px) { .vd__sec { padding: 28px; } }
.dl { display: grid; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dl { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .94rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.feat { display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); font-size: .94rem; }
.feat li { display: flex; gap: 8px; align-items: flex-start; }
.feat .ic { margin-top: .3em; stroke-width: 2.4; }
.prose { overflow-wrap: anywhere; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose h3, .prose h4 { font-size: 1.05rem; margin: 1.5em 0 .5em; font-family: var(--display); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose--legal { max-width: 760px; }
.prose--legal > :first-child { margin-top: 0; }

/* Galerie */
.gal__stage { position: relative; background: var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.gal__img { width: 100%; height: 100%; object-fit: contain; }
.gal__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gal__nav--prev { left: 12px; } .gal__nav--prev .ic { rotate: 180deg; }
.gal__nav--next { right: 12px; }
.gal__count { position: absolute; right: 12px; bottom: 12px; background: rgba(16,18,20,.75); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 6px; scroll-snap-type: x proximity; }
.gal__thumbs li { flex: none; scroll-snap-align: start; }
.gal__thumbs button { display: block; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: var(--line-2); cursor: pointer; opacity: .72; transition: opacity .15s, border-color .15s; }
.gal__thumbs button:hover, .gal__thumbs button[aria-current="true"] { opacity: 1; }
.gal__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------ Bestaetigung / 404 ------------------------ */
.done { padding: 72px 0 96px; }
.done__in { max-width: 640px; text-align: center; }
.done__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; margin-bottom: 26px; }
.done__icon .ic { width: 34px; height: 34px; stroke-width: 2.4; }
.done h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.done__ref { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 12px 20px; margin: 10px 0 14px; }
.done__ref strong { font-family: var(--display); letter-spacing: .04em; margin-left: 6px; }
.done__hint { color: var(--muted); font-size: .92rem; }
.done__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.nf__code { font-family: var(--display); font-weight: 600; font-size: 5.5rem; line-height: 1; letter-spacing: -.05em; margin: 0 0 12px; color: var(--ink); -webkit-text-stroke: 0; }

/* ------------------------------ Footer ------------------------------ */
.ft { background: var(--ink); color: #c5cbd0; padding: 56px 0 0; font-size: .94rem; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .ft__grid { grid-template-columns: 1.4fr repeat(auto-fit, minmax(150px, 1fr)); gap: 48px; } }
.ft .logo { color: #fff; margin-bottom: 14px; }
.ft__brand p { max-width: 24em; }
.ft__h { font-family: var(--font); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.ft__links { display: grid; gap: 8px; }
.ft__addr { line-height: 1.8; }
.ft__hours { margin: 0; line-height: 1.8; }
.ft__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.ft__bottom { margin-top: 44px; padding-block: 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #8b939a; }
.ft .todo { background: rgba(255,244,201,.14); color: #f0e2a8; }
/* Platz fuer den WhatsApp-Button, damit er den Footer-Text nicht verdeckt */
.has-wa .ft__bottom { padding-right: 76px; }

/* ----------------------------- WhatsApp ----------------------------- */
.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; min-width: 52px; padding: 0 14px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: 0 8px 24px -8px rgba(16,18,20,.5); transition: transform .2s, opacity .2s, visibility .2s; }
.wa:hover { transform: translateY(-2px); }
.wa .ic { width: 24px; height: 24px; }
.wa span { display: none; }
@media (min-width: 960px) { .wa { right: 24px; bottom: 24px; padding: 0 20px 0 16px; } .wa span { display: inline; } }
/* Nicht ueber offener Navigation, Cookie-Banner oder beim Tippen im Formular */
.nav-open .wa, .cc-open .wa, .is-typing .wa, .cta-visible .wa { opacity: 0; visibility: hidden; pointer-events: none; }

/* --------------------------- Cookie-Banner --------------------------- */
.cc { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.cc__box { pointer-events: auto; max-width: 640px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 60px -16px rgba(16,18,20,.45); padding: 20px; max-height: calc(100dvh - 24px); overflow: auto; }
.cc h2 { font-size: 1.1rem; }
.cc p { font-size: .88rem; color: var(--ink-3); }
.cc__opts { display: grid; gap: 10px; margin-bottom: 16px; }
.cc__opt { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; padding: 10px 12px; background: var(--paper); border-radius: var(--r-s); cursor: pointer; }
.cc__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.cc__btns { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.cc__btns .btn--ghost { grid-column: 1 / -1; min-height: 42px; }
.cc__btns .btn { padding-inline: .8em; font-size: .9rem; }

/* Einblenden beim Scrollen (dezent) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .hd, .ft, .wa, .cc, .rf, .burger { display: none !important; } body { background: #fff; } }
