/* Vorlage Bodenleger. Farben kommen aus firma.json (in den Seitenkopf geschrieben).
   Bild: Grauflächen wie Estrich und Belag, Kacheln mit schmalen Fugen, Rot nur für Anfrage, Telefon und Hover. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #F4F4F2;
  --surface: #E6E7E5;
  --ink: #18191B;
  --muted: #55585D;
  --primaer: #2C2E31;
  --primaer-tief: #1F2124;
  --dunkel: #18191B;
  --akzent: #C20000;
  --akzent-hell: #E0201B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9CBCE;
  --fuge: color-mix(in srgb, var(--ink) 14%, var(--bg));

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step-hero: clamp(2.6rem, 1.3rem + 4.6vw, 5.5rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.75rem);
  --step-lead: clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-small: 0.9375rem;

  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(88px, 11vw, 176px);
  --max: 1360px;
  --gap: 6px; /* Fuge zwischen Kacheln */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; } /* Rückmeldung beim Tippen kommt von :active */
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--akzent); color: var(--on-dark); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.on-dark :focus-visible, .on-red :focus-visible, .ticket :focus-visible { outline-color: var(--on-dark); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
h1 { font-size: var(--step-hero); }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.015em; line-height: 1.15; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.band { background: var(--surface); }
.after { margin-top: clamp(32px, 4vw, 56px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: var(--on-dark); padding: 12px 16px; z-index: 50; }
.skip:focus { top: 12px; }
.ph { background: #FBE0DE; color: #9A0000; padding: 0 0.3em; font-weight: 600; }
.on-dark .ph, .on-red .ph { background: #3A1C1C; color: #FFC4BF; }
.demo-band { margin: 0; padding: 8px var(--gutter); background: var(--ink); color: var(--on-dark); font-size: var(--step-small); text-align: center; }

/* Überschrift links, Satz rechts */
.head-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head-split p { max-width: 42ch; font-size: var(--step-lead); line-height: 1.4; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; } }

/* Häkchen-Liste */
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 9px; border-left: 3px solid var(--akzent); border-bottom: 3px solid var(--akzent); transform: rotate(-45deg); }
.on-dark .ticks li::before { border-color: var(--on-dark); }

/* ---------- Kopfleiste ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; line-height: 1; }
.wordmark { font-weight: 900; font-size: 1.5rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand small { font-size: var(--step-small); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 600; padding-block: 10px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tel { font-variant-numeric: tabular-nums; }
.header-cta { min-height: 48px; padding: 12px 22px; }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
@media (max-width: 860px) {
  .site-header { position: relative; }
  .site-header .wrap { flex-wrap: wrap; gap: 6px 18px; min-height: 0; padding-block: 12px; }
  .brand small { display: none; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 22px; }
  .header-cta { margin-left: auto; }
}

/* ---------- Schaltflächen: flach, eckig, Füllung läuft beim Überfahren von links herein ---------- */
.btn {
  --face: var(--ink); --fg: var(--on-dark); --hover: var(--akzent); --hover-fg: var(--on-dark);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 28px;
  font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none;
  color: var(--fg); background: var(--face); border: 0; cursor: pointer;
  transition: transform 140ms var(--ease-out), color 200ms ease;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--call { --face: var(--akzent); --hover: var(--ink); }
.btn--light { --face: var(--on-dark); --fg: var(--ink); --hover: var(--ink); }
.on-dark .btn--light { --hover: var(--akzent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--hover-fg); }
  .btn:hover::before { transform: scaleX(1); }
}

/* Pfeil, der beim Überfahren mitläuft */
.arrow { width: 20px; height: 14px; flex: none; transition: transform 220ms var(--ease-out); }

/* ---------- Medien ---------- */
.media { position: relative; background: var(--surface); overflow: hidden; }
.media > img, .media > video, .media > .swatch { width: 100%; height: 100%; object-fit: cover; }
.media img { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .media:hover img { transform: scale(1.04); } }
.slot { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 10%; color: var(--muted); font-size: var(--step-small); line-height: 1.35; background: var(--surface); }
.slot b { color: var(--ink); font-size: var(--step-body); }
.on-dark .slot, .path--dark .slot { background: #2A2C2F; color: var(--on-dark-muted); }
.on-dark .slot b, .path--dark .slot b { color: var(--on-dark); }
.r-16x9 { aspect-ratio: 16 / 9; } .r-4x5 { aspect-ratio: 4 / 5; } .r-3x2 { aspect-ratio: 3 / 2; } .r-1x1 { aspect-ratio: 1 / 1; }
.swatch { width: 100%; height: 100%; }

/* ---------- Hero: geteilt, links Wege zur Anfrage, rechts Bild bis an den Rand ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(calc(100svh - 80px), 920px); }
.hero-text { padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: 13ch; }
.hero-lead { margin-top: 28px; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; }
.routes { margin-top: clamp(32px, 4vw, 52px); max-width: 560px; }
.routes-q { font-weight: 800; font-size: var(--step-lead); margin-bottom: 14px; }
.routes ul { display: grid; gap: var(--gap); }
.route {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 22px; background: var(--surface);
  font-weight: 700; font-size: var(--step-body); text-decoration: none;
  transition: color 200ms ease, transform 140ms var(--ease-out);
}
.route::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.route:active { transform: scale(0.985); }
.route .arrow { color: var(--akzent); transition: transform 220ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .route:hover { color: var(--on-dark); }
  .route:hover::before { transform: scaleX(1); }
  .route:hover .arrow { color: var(--on-dark); transform: translateX(6px); }
}
.hero-call { margin-top: 28px; color: var(--muted); }
.hero-call a { color: var(--ink); font-weight: 800; text-decoration-color: var(--akzent); text-decoration-thickness: 3px; text-underline-offset: 6px; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; background: var(--surface); }
.hero-media .media { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 36px var(--gutter) 40px; }
  .hero-media { aspect-ratio: 4 / 3; order: -1; }
}

/* ---------- Beläge als Kacheln mit Fugen ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); background: var(--bg); }
.tile--wide { grid-column: span 2; grid-row: span 2; }
.tile a { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); transition: transform 220ms var(--ease-out); }
.tile-swatch { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tile--wide .tile-swatch { flex: 1; aspect-ratio: auto; min-height: 280px; }
.tile-swatch .swatch { position: absolute; inset: 0; transition: transform 500ms var(--ease-out); }
.tile-body { position: relative; display: grid; gap: 8px; padding: 22px 22px 24px; }
.tile-body::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.tile h3 { font-size: var(--step-lead); }
.tile-text { color: var(--muted); }
.tile-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 700; color: var(--akzent); }
.tile a:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tile a:hover { transform: translateY(-4px); }
  .tile a:hover .swatch { transform: scale(1.08) translateY(-3%); }
  .tile a:hover .tile-body::before { transform: scaleX(1); }
  .tile a:hover .arrow, .tile a:focus-visible .arrow { transform: translateX(6px); }
}
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-row: auto; } .tile--wide .tile-swatch { min-height: 220px; } }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile a { flex-direction: row; }
  .tile-swatch, .tile--wide .tile-swatch { flex: 0 0 34%; aspect-ratio: auto; min-height: 0; }
  .tile-body { padding: 18px; }
}

/* ---------- Zwei Wege: Privat hell, Objekt dunkel ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; }
.path { padding: clamp(56px, 7vw, 112px) clamp(24px, 5vw, 80px); display: grid; gap: 24px; align-content: start; }
.path--light { background: var(--surface); }
.path--dark { background: var(--primaer); color: var(--on-dark); }
.path--dark .ticks li::before { border-color: var(--on-dark); }
.path p { max-width: 44ch; }
.path .media { width: 100%; max-width: 560px; }
.path .btn { justify-self: start; }
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Ablauf mit großen Ziffern ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: schritt; }
.steps li { counter-increment: schritt; background: var(--bg); padding: 28px 24px 32px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(schritt); font-weight: 900; font-size: clamp(4rem, 2.4rem + 4vw, 7rem); line-height: 0.85; letter-spacing: -0.05em; color: var(--akzent); margin-bottom: 18px; }
.steps h3 { font-size: var(--step-lead); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { grid-template-columns: auto 1fr; column-gap: 20px; } .steps li::before { grid-row: span 2; margin: 0; font-size: 4rem; } }

/* ---------- Auftraggeber: dunkles Band ---------- */
.on-dark { background: var(--dunkel); color: var(--on-dark); }
.clients .head-split p { color: var(--on-dark-muted); }
.client-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.client-list li { background: var(--primaer); padding: 28px 24px 32px; transition: background-color 200ms ease; }
.client-list h3 { font-size: var(--step-lead); }
.client-list p { margin-top: 10px; color: var(--on-dark-muted); }
@media (hover: hover) and (pointer: fine) { .client-list li:hover { background: var(--akzent); } .client-list li:hover p { color: var(--on-dark); } }
@media (max-width: 900px) { .client-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .client-list { grid-template-columns: 1fr; } }

/* ---------- Über uns, Text und Bild ---------- */
.about, .text-image { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.about .media { width: min(100%, 520px); justify-self: end; }
.facts { display: grid; gap: 28px; margin-top: 40px; }
.facts h3 { font-size: var(--step-body); }
.facts p { margin-top: 6px; max-width: 48ch; }
.text-image p { margin-top: 18px; max-width: 54ch; }
@media (max-width: 900px) { .about, .text-image { grid-template-columns: 1fr; } .about .media { justify-self: start; width: 86%; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq > div:first-child { position: sticky; top: 112px; }
.faq > div:first-child p { margin-top: 20px; max-width: 36ch; }
.faq-list { display: grid; gap: var(--gap); }
.faq-list details { background: var(--surface); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 24px; font-weight: 700; transition: color 160ms ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.75rem; font-weight: 400; line-height: 1; color: var(--akzent); transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-answer { padding: 0 24px 24px; max-width: 62ch; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--akzent); } }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq > div:first-child { position: static; } }

/* ---------- Rotes Schlussband ---------- */
.on-red { background: var(--akzent); color: var(--on-dark); }
.call-band { padding-block: clamp(72px, 9vw, 140px); }
.call-band p { margin-top: 18px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.4; }
.call-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 40px; }
.call-band .phone { font-weight: 900; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.75rem); letter-spacing: -0.03em; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; position: relative; display: inline-block; padding-bottom: 8px; }
/* Unterstreichung wächst von links (transform statt Hintergrundgröße) */
.call-band .phone::after, .footer-grid a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .call-band .phone:hover::after, .footer-grid a:hover::after { transform: scaleX(1); } }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 96px); align-items: end; }
.page-head p { font-size: var(--step-lead); line-height: 1.4; max-width: 38ch; }
.page-head--plain { display: block; }
@media (max-width: 900px) { .page-head { grid-template-columns: 1fr; } }
.jump { display: flex; flex-wrap: wrap; gap: var(--gap); margin-top: 28px; }
.jump a { display: block; padding: 10px 14px; background: var(--surface); text-decoration: none; font-weight: 600; font-size: var(--step-small); transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .jump a:hover { background: var(--ink); color: var(--on-dark); } }

.service { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; padding-block: clamp(48px, 6vw, 96px); }
.service:nth-child(even) .service-media { order: 2; }
.service:nth-child(even) { grid-template-columns: 7fr 5fr; }
.service-text p { margin-top: 16px; max-width: 56ch; }
@media (max-width: 900px) {
  .service, .service:nth-child(even) { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 0; }
  .service-media { width: 82%; }
}

/* ---------- Anfrage: Fragen links, Auftragszettel rechts ---------- */
.order { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: start; padding-bottom: var(--section); }
.order-q { display: grid; gap: clamp(44px, 5vw, 72px); }
.q { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; }
.q legend { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.015em; padding: 0; margin-bottom: 18px; }
.q-sub { display: grid; gap: 14px; padding: 22px; background: var(--surface); }
.q-sub p { font-weight: 700; }
.q-sub[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--gap); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; align-items: center; min-height: 52px; padding: 12px 18px; background: var(--surface); font-weight: 600; transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out); }
.q-sub .chip span { background: var(--bg); }
.chip:active span { transform: scale(0.97); }
.chip input:checked + span, .chip input:checked ~ span { background: var(--ink); color: var(--on-dark); }
.chip input:focus-visible ~ span { outline: 3px solid var(--akzent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { background: var(--fuge); } .chip:hover input:checked ~ span { background: var(--ink); } }
.chips--swatch { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.chip--swatch { display: grid; background: var(--surface); }
.chip--swatch .swatch { height: 64px; transition: transform 300ms var(--ease-out); }
.chip--swatch { overflow: hidden; }
.chip--swatch span { min-height: 48px; font-size: var(--step-small); }
.chip--swatch input:checked ~ .swatch { transform: scale(1.06); }
.chips--swatch > .chip:not(.chip--swatch) span { height: 100%; }

.range { display: flex; align-items: center; gap: 20px; }
.range input { flex: 1; accent-color: var(--akzent); height: 32px; }
.range output { min-width: 5.5ch; font-weight: 900; font-size: var(--step-head); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.range.is-off output { color: var(--muted); }

.field label { display: block; font-weight: 600; font-size: var(--step-small); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid transparent; border-radius: 0; transition: border-color 160ms ease; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--akzent); }
.field-error { margin-top: 6px; color: var(--akzent); font-weight: 600; font-size: var(--step-small); }
.field-error:empty { margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; }
.switch input { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; margin: 0; background: var(--fuge); position: relative; cursor: pointer; flex: none; transition: background-color 160ms ease; }
.switch input::after { content: ""; position: absolute; top: 5px; left: 5px; width: 20px; height: 20px; background: var(--on-dark); transition: transform 200ms var(--ease-out); }
.switch input:checked { background: var(--akzent); }
.switch input:checked::after { transform: translateX(22px); }
.switch input:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.ticket { position: sticky; top: 104px; background: var(--primaer); color: var(--on-dark); padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 22px; }
.ticket::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 6px; background: var(--akzent); }
.ticket h2 { font-size: var(--step-lead); letter-spacing: -0.015em; }
.ticket dl { display: grid; gap: 12px; }
.ticket dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
.ticket dl > div[hidden] { display: none; }
.ticket dt { font-size: var(--step-small); color: var(--on-dark-muted); padding-top: 0.15em; }
.ticket dd { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.ticket dd.is-open { color: color-mix(in srgb, var(--on-dark) 55%, var(--primaer)); font-weight: 400; }
.ticket dd.is-new { animation: tick-in 260ms var(--ease-out); }
@keyframes tick-in { from { transform: translateX(-8px); opacity: 0.3; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step-small); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--akzent); }
.ticket a { color: var(--on-dark); }
.ticket .btn { justify-self: stretch; }
.ticket-tel { font-size: var(--step-small); color: var(--on-dark-muted); }
.ticket-tel a { font-weight: 700; }
.form-note { min-height: 1.5em; font-weight: 600; }
.form-note:empty { min-height: 0; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .ticket { position: relative; top: 0; } .row2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 22px; margin-top: 32px; }
.contact-list dt { font-size: var(--step-small); color: var(--muted); }
.contact-list dd { font-size: var(--step-lead); font-weight: 700; line-height: 1.25; }
.contact-list a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .contact-list a:hover { color: var(--akzent); } }
.map { background: var(--bg); padding: 32px; align-self: start; display: grid; gap: 14px; }

.legal { max-width: 72ch; padding-bottom: var(--section); }
.legal h2 { font-size: var(--step-lead); margin-top: 48px; }
.legal p, .legal address { margin-top: 12px; font-style: normal; }
.notice { background: #FBE0DE; color: #5A0F0F; padding: 20px 24px; margin-bottom: 40px; }

/* Bewertungen, Galerie, Team (nur bei Bedarf) */
.reviews { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); }
.review-list { display: grid; gap: var(--gap); }
.review { background: var(--surface); padding: 28px; }
.review blockquote { font-size: var(--step-lead); font-weight: 700; line-height: 1.3; }
.review figcaption { margin-top: 14px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.gallery .gallery-lead { grid-column: span 2; grid-row: span 2; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 48px 24px; }
.team h3 { margin-top: 18px; font-size: var(--step-body); }
.team p { color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer: der Name kehrt in voller Breite zurück ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 112px); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-grid address { font-style: normal; color: var(--on-dark-muted); }
.footer-grid address strong { color: var(--on-dark); }
.footer-grid .reach, .footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid a { text-decoration: none; color: var(--on-dark); justify-self: start; position: relative; padding-bottom: 2px; }
.footer-grid a::after { height: 2px; background: var(--akzent); }
.footer-mark { margin-top: clamp(48px, 6vw, 96px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.8; font-size: clamp(4rem, 1rem + 15.5vw, 15.5rem); color: var(--primaer); white-space: nowrap; overflow: hidden; } /* main.js passt die Größe an die Breite an, overflow nur als Rückfall */
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px 40px; color: var(--on-dark-muted); font-size: var(--step-small); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Video-Pause ---------- */
.video-toggle { position: absolute; right: var(--gutter); bottom: 24px; z-index: 3; width: 44px; height: 44px; border: 0; cursor: pointer; background: var(--dunkel); color: var(--on-dark); }
.video-toggle::before, .video-toggle::after { content: ""; position: absolute; top: 14px; bottom: 14px; width: 5px; background: currentColor; }
.video-toggle::before { left: 15px; } .video-toggle::after { right: 15px; }
.video-toggle[aria-pressed="true"]::before { left: 16px; width: 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video-toggle[aria-pressed="true"]::after { display: none; }
.video-toggle[hidden] { display: none; }
.hero { position: relative; }

/* ---------- Bewegung: Einstieg je Abschnitt (ohne GSAP per CSS, mit GSAP per main.js) ---------- */
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: 70ms; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: 140ms; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: 210ms; }
.gsap [data-reveal] > * { transition: none; }
/* Kacheln und Listenpunkte steigen als Ganzes */
.js li[data-reveal] > * { opacity: 1; transform: none; }
.js li[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.js li[data-reveal].is-in { opacity: 1; transform: none; }
.gsap li[data-reveal] { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] > *, .js li[data-reveal] { transform: none !important; transition: opacity 300ms ease; }
  .btn, .btn::before, .route, .route::before, .tile a, .tile .swatch, .tile-body::before, .arrow, .media img, .chip span, .switch input::after, .call-band .phone::after, .footer-grid a::after, .nav a::after { transition-duration: 0ms !important; }
  .tile a:hover, .tile a:hover .swatch, .media:hover img { transform: none !important; }
  .ticket dd.is-new { animation: none; }
}

/* Touch: kein Überfahren, die Kachel-Linie läuft einmal beim Sichtbarwerden */
@media (hover: none) {
  .js .tile.is-seen .tile-body::before { transform: scaleX(1); transition-delay: 200ms; }
}

/* ======================================================================
   Stil "showroom" (design.stil in firma.json): weiß, Steingrau, dünne Schrift,
   Material groß im Karussell. Bausteine: buehne, material, bildkarten.
   ====================================================================== */
[data-stil="showroom"] { --gap: 12px; }
[data-stil="showroom"] h1, [data-stil="showroom"] h2 { font-weight: 300; letter-spacing: -0.015em; line-height: 1.05; }
[data-stil="showroom"] h3 { font-weight: 600; }

/* Kopfleiste: Menü links, Wortmarke mittig, Anfrage rechts */
[data-stil="showroom"] .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
[data-stil="showroom"] .brand { grid-column: 2; grid-row: 1; justify-self: center; }
[data-stil="showroom"] .brand small { display: none; }
[data-stil="showroom"] .nav { grid-column: 1; grid-row: 1; margin-left: 0; }
[data-stil="showroom"] .header-cta { grid-column: 3; grid-row: 1; justify-self: end; }
.wordmark--duo { font-weight: 300; font-size: 1.375rem; letter-spacing: 0.1em; }
.wordmark--duo b { font-weight: 800; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  [data-stil="showroom"] .site-header .wrap { grid-template-columns: 1fr auto; }
  [data-stil="showroom"] .brand { grid-column: 1; justify-self: start; }
  [data-stil="showroom"] .header-cta { grid-column: 2; }
  [data-stil="showroom"] .nav { grid-column: 1 / -1; grid-row: 2; }
  .wordmark--duo { font-size: 1.0625rem; letter-spacing: 0.06em; }
}

/* Knöpfe: anthrazit, beim Überfahren schwarz von links; kein Rot */
[data-stil="showroom"] .btn, [data-stil="showroom"] .btn--call { --face: var(--primaer); --hover: #000; }
[data-stil="showroom"] .btn--light { --face: var(--on-dark); --fg: var(--ink); --hover: var(--surface); --hover-fg: var(--ink); }

/* Bühne */
.stage { position: relative; min-height: min(calc(100svh - 80px), 940px); display: grid; place-items: center; color: var(--on-dark); background: var(--primaer); overflow: hidden; }
.stage-media { position: absolute; inset: 0; }
.stage-media .media { position: absolute; inset: 0; background: var(--primaer); }
.stage-media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.45); } /* flache Abdunklung: weiße Schrift auf hellen Raumfotos ≥ 4,5:1 */
.stage-text { position: relative; z-index: 1; text-align: center; padding: 96px var(--gutter); max-width: 1100px; }
.stage h1 { font-size: clamp(2.4rem, 1rem + 5.4vw, 6.25rem); font-weight: 200; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; }
.stage-text p { margin: 28px auto 0; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; }
.stage-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 40px; }
.stage-tel { position: relative; font-weight: 600; text-decoration: none; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.stage-tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0.3); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .stage-tel:hover::after { transform: scaleX(1); } }
@media (max-width: 700px) { .stage { min-height: 78svh; } }

/* Material-Karussell */
.shelf-head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.shelf-head h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); }
.shelf-head p { margin: 16px auto 0; max-width: 52ch; color: var(--muted); }
.shelf-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-track:focus-visible { outline-offset: -3px; }
.shelf-track ul { display: flex; gap: var(--gap); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.swatch-card { flex: 0 0 clamp(260px, 32vw, 500px); scroll-snap-align: start; scroll-margin-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.swatch-card a { display: grid; gap: 6px; text-decoration: none; }
.swatch-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.swatch-media > img, .swatch-media > .swatch { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.swatch-name { position: relative; justify-self: start; margin-top: 12px; font-weight: 600; padding-bottom: 3px; }
.swatch-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.swatch-note { color: var(--muted); font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) {
  .swatch-card a:hover .swatch-media > * { transform: scale(1.05); }
  .swatch-card a:hover .swatch-name::after { transform: scaleX(1); }
}
.swatch-card a:focus-visible .swatch-name::after { transform: scaleX(1); }
@media (max-width: 700px) { .swatch-card { flex-basis: 78vw; } }
.shelf-nav { display: flex; align-items: center; gap: var(--gap); margin-top: 28px; }
.shelf-nav .btn { margin-left: auto; }
.shelf-btn { position: relative; isolation: isolate; overflow: hidden; width: 52px; height: 52px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--surface); color: var(--ink); transition: color 200ms ease, opacity 200ms ease, transform 140ms var(--ease-out); }
.shelf-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primaer); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.shelf-btn[data-shelf-prev] .arrow { transform: rotate(180deg); }
.shelf-btn:active { transform: scale(0.95); }
.shelf-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .shelf-btn:not(:disabled):hover { color: var(--on-dark); } .shelf-btn:not(:disabled):hover::before { transform: scaleX(1); } }

/* Bildkarten mit Text darauf */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-inline: var(--gap); }
.card { position: relative; display: block; overflow: hidden; color: var(--on-dark); text-decoration: none; background: var(--primaer); }
.card .card-media { aspect-ratio: 4 / 5; height: 100%; }
.card .card-media img { transition: transform 900ms var(--ease-out); }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, 0.45); pointer-events: none; }
.card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 12px; padding: clamp(24px, 4vw, 56px); }
.card h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.25rem); }
.card-text > span:not(.card-go) { max-width: 40ch; }
.card-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-media img { transform: scale(1.04); } .card:hover .arrow { transform: translateX(6px); } }
.card:focus-visible { outline-offset: -6px; outline-color: var(--on-dark); }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } .card .card-media { aspect-ratio: 4 / 5; } }

/* Kurzes Kontaktformular (beide Stile; Showroom: Linien-Felder) */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact-intro p { margin-top: 20px; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; }
.contact-direct { display: grid; gap: 18px; margin-top: 36px; }
.contact-direct dt { font-size: var(--step-small); color: var(--muted); }
.contact-direct dd { font-weight: 600; font-size: var(--step-lead); line-height: 1.3; }
.contact-direct a { position: relative; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-direct a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .contact-direct a:hover::after { transform: scaleX(1); } }
.contact-more { font-size: var(--step-body) !important; color: var(--muted); }
.contact-more a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.contact-form { display: grid; gap: 22px; background: var(--bg); padding: clamp(24px, 4vw, 56px); }
.contact-form select { width: 100%; min-height: 52px; padding: 12px 40px 12px 14px; font: inherit; color: var(--ink); background-color: var(--surface); border: 2px solid transparent; border-radius: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23212529' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; transition: border-color 160ms ease; }
.contact-form select:focus { outline: none; border-color: var(--ink); }
.contact-form .field-error:empty { display: none; }
.contact-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.contact-send .form-note { flex: 1 1 220px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Showroom: Felder als Linie auf Weiß, Beschriftung klein darüber */
[data-stil="showroom"] .contact-form .field input, [data-stil="showroom"] .contact-form .field textarea, [data-stil="showroom"] .contact-form select {
  background-color: transparent; border: 0; padding-inline: 0; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--ink) 30%, transparent); transition: box-shadow 200ms var(--ease-out); }
[data-stil="showroom"] .contact-form select { padding-right: 28px; background-position: right 2px center; }
[data-stil="showroom"] .contact-form .field input:focus, [data-stil="showroom"] .contact-form .field textarea:focus, [data-stil="showroom"] .contact-form select:focus { box-shadow: inset 0 -2px 0 var(--ink); }
[data-stil="showroom"] .contact-form .field input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 var(--akzent); }
[data-stil="showroom"] .contact-form .field label { color: var(--muted); font-weight: 500; }
[data-stil="showroom"] .contact-form .switch input { background: var(--surface); }
[data-stil="showroom"] .contact-form .switch input:checked { background: var(--primaer); }
@media (hover: hover) and (pointer: fine) {
  [data-stil="showroom"] .contact-form .field input:hover, [data-stil="showroom"] .contact-form .field textarea:hover, [data-stil="showroom"] .contact-form select:hover { box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--ink) 55%, transparent); }
}

/* Vorhandene Bausteine im Showroom-Look */
[data-stil="showroom"] .head-split h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
[data-stil="showroom"] .steps li { background: var(--bg); }
[data-stil="showroom"] .steps li::before { color: var(--muted); font-weight: 200; font-size: clamp(3rem, 2rem + 2.4vw, 4.5rem); }
[data-stil="showroom"] .clients { background: var(--surface); color: var(--ink); }
[data-stil="showroom"] .clients .head-split p, [data-stil="showroom"] .client-list p { color: var(--muted); }
[data-stil="showroom"] .client-list li { background: var(--bg); }
@media (hover: hover) and (pointer: fine) { [data-stil="showroom"] .client-list li:hover { background: var(--primaer); color: var(--on-dark); } [data-stil="showroom"] .client-list li:hover p { color: var(--on-dark-muted); } }
[data-stil="showroom"] .clients .ph { background: #FBE0DE; color: #9A0000; }
[data-stil="showroom"] .clients :focus-visible { outline-color: var(--akzent); }
[data-stil="showroom"] .on-red { background: var(--primaer); }
[data-stil="showroom"] .call-band h2 { font-weight: 300; }
[data-stil="showroom"] .faq-list summary::after { color: var(--ink); font-weight: 200; }
[data-stil="showroom"] .site-footer { background: var(--surface); color: var(--ink); }
[data-stil="showroom"] .footer-grid address { color: var(--muted); }
[data-stil="showroom"] .footer-grid address strong, [data-stil="showroom"] .footer-grid a { color: var(--ink); }
[data-stil="showroom"] .footer-base { color: var(--muted); }
[data-stil="showroom"] .footer-mark { font-weight: 200; letter-spacing: 0.04em; color: color-mix(in srgb, var(--ink) 12%, var(--surface)); }
[data-stil="showroom"] .site-footer :focus-visible { outline-color: var(--akzent); }

@media (prefers-reduced-motion: reduce) {
  .swatch-media > *, .swatch-name::after, .shelf-btn, .shelf-btn::before, .card .card-media img, .stage-tel::after { transition-duration: 0ms !important; }
  .swatch-card a:hover .swatch-media > *, .card:hover .card-media img { transform: none !important; }
}
