/* Gangwahl – Website
   Schwarz-weiss mit kursiven Titeln, Akzent Signalgelb aus dem Logo. */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/plus-jakarta-sans-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-800-italic.woff2") format("woff2"); }

:root {
  --ink: #0B1220;
  --ink-2: #111A2C;
  --navy: #13294B;
  --amber: #F2A900;
  --text: #151B26;
  --muted: #5B6676;
  --muted-dark: #A9B3C2;
  --line: #E4E7EB;
  --line-dark: #263247;
  --soft: #F4F5F7;
  --white: #FFFFFF;
  --wrap: 1240px;
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* Kursive Titel in zwei Zeilen: kräftig, dann leicht */
.display { font-style: italic; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.display b { display: block; font-weight: 800; }
.display span { display: block; font-weight: 300; }
h2.display { font-size: clamp(2rem, 3.6vw, 3.1rem); }

/* Knöpfe mit Punkt */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; font: inherit; font-weight: 600; font-size: 0.97rem; text-decoration: none; cursor: pointer; border: 0; border-radius: 2px; transition: background-color .15s, color .15s; }
.btn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex: none; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #E9ECF0; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy); }
.btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--white); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 600; color: var(--white); }
.nav a:hover { color: var(--amber); }
.nav .meta { font-weight: 400; font-size: 0.85rem; color: var(--muted-dark); }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.nav .btn-light, .nav .btn-light:hover { color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--white); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Einstieg mit Foto über die ganze Breite */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Intro: vom Schalthebel zum fertigen Auto (wird beim Scrollen abgespielt) */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.intro, .show { --header: 66px; background: var(--ink); color: var(--white); }
.intro-stage { position: relative; min-height: calc(100svh - var(--header)); display: grid; place-items: center; overflow: hidden; }
.iv-layer { grid-area: 1 / 1; width: 100%; }
.iv-start, .iv-end { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 40px max(24px, env(safe-area-inset-left)); }
.iv-start img, .iv-end img { width: clamp(150px, 18vw, 216px); height: auto; }
.iv-start h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.iv-end .display { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.iv-start > p, .iv-end > p:not(.display) { color: var(--muted-dark); max-width: 46ch; }
.iv-start .hero-actions { justify-content: center; }
.iv-hint { display: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.iv-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: var(--amber); animation: hint 1.8s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.iv-scene, .iv-end, .iv-skip { display: none; }
.js-motion .intro { height: 300vh; }
.js-motion .intro-stage { position: sticky; top: var(--header); height: calc(100svh - var(--header)); min-height: 0; }
.js-motion .iv-hint { display: block; }
.js-motion .iv-end { display: grid; opacity: 0; pointer-events: none; }
.js-motion .iv-scene { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; position: absolute; inset: 0; padding: 12px max(24px, env(safe-area-inset-left)) 30px; opacity: 0; pointer-events: none; }
.iv-svg { width: min(100%, 1000px); height: 100%; min-height: 0; overflow: visible; font-family: var(--font); }
.iv-svg .part { opacity: 0; }
.iv-caps { display: grid; width: 100%; max-width: 780px; min-height: 168px; text-align: center; }
.iv-cap { grid-area: 1 / 1; display: grid; gap: 10px; justify-items: center; align-content: start; opacity: 0; }
.iv-cap .display { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.iv-cap > p:not(.display) { color: var(--muted-dark); }
.iv-chips, .iv-gears { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.iv-chips li, .iv-gears li { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-dark); padding: 6px 12px; font-size: 0.9rem; font-weight: 600; opacity: 0.35; transition: opacity 0.3s, border-color 0.3s; }
.iv-chips li { padding-left: 32px; }
.iv-chips li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: translateY(-70%) rotate(-45deg); opacity: 0; transition: opacity 0.3s; }
.iv-gears li b { color: var(--amber); font-style: italic; font-weight: 800; }
.iv-chips li.on, .iv-gears li.on { opacity: 1; border-color: var(--amber); }
.iv-chips li.on::before { opacity: 1; }
.js-motion .iv-skip { display: block; position: absolute; right: max(24px, env(safe-area-inset-right)); bottom: 16px; font-size: 0.85rem; color: var(--muted-dark); }
.iv-skip:hover { color: var(--white); }

/* Showroom: ein Raum, die Autos fahren beim Scrollen hinein und hinaus */
.show-stage { position: relative; }
.show-head { padding: clamp(36px, 6vw, 56px) max(24px, env(safe-area-inset-left)) 22px; }
.show-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1B1D21; }
.show-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-car { will-change: transform, opacity; }
.show-car + .show-car { opacity: 0; }
.show-caps { display: grid; padding: 14px max(24px, env(safe-area-inset-left)) 24px; }
.show-cap { grid-area: 1 / 1; display: grid; gap: 2px; line-height: 1.3; opacity: 0; transition: opacity 0.35s; }
.show-caps:not(.live) .show-cap:first-child, .show-cap.on { opacity: 1; }
.show-cap b { font-style: italic; font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.show-cap span { color: var(--muted-dark); font-size: 0.92rem; }
.show-notes { display: grid; padding: 0 max(24px, env(safe-area-inset-left)) 28px; }
.show-note { grid-area: 1 / 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: none; }
.show-note li { position: relative; background: var(--white); color: var(--ink); font-weight: 600; font-size: 0.95rem; line-height: 1.3; padding: 10px 16px 11px 40px; border-radius: 14px 14px 14px 3px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(14px) scale(0.85); transform-origin: 0 100%; transition: opacity 0.25s ease, transform 0.25s ease; }
.show-note li::before { content: ""; position: absolute; left: 15px; top: 50%; width: 12px; height: 7px; border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber); transform: translateY(-70%) rotate(-45deg); }
.show-note small { display: block; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.show-notes:not(.live) .show-note:first-child li, .show-note.on li { opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 1.5, 0.4, 1); }
.show-note.on li:nth-child(2) { transition-delay: 0.18s; }
.js-motion .show { height: 280vh; }
.js-motion .show-stage { position: sticky; top: var(--header); }
@media (min-width: 981px) and (min-aspect-ratio: 3 / 2) {
  .show-stage { height: calc(100svh - var(--header)); }
  .show-frame { position: absolute; inset: 0; aspect-ratio: auto; }
  .show-head { position: absolute; z-index: 2; left: 0; top: clamp(28px, 5vh, 56px); max-width: min(480px, 38vw); background: var(--ink); padding: 26px 40px 28px max(32px, env(safe-area-inset-left)); }
  .show-notes { position: absolute; z-index: 2; left: max(32px, env(safe-area-inset-left)); bottom: clamp(24px, 5vh, 48px); padding: 0; max-width: 58%; }
  .show-caps { position: absolute; z-index: 2; right: 0; bottom: clamp(24px, 5vh, 48px); background: var(--ink); padding: 16px max(32px, env(safe-area-inset-right)) 18px 26px; }
}

/* Inhalte erscheinen beim Scrollen */
.js-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.js-motion [data-reveal].in { opacity: 1; transform: none; }

/* Abschnitte */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.dark { background: var(--ink); color: var(--white); }
.section.soft { background: var(--soft); }
.cols { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cols > * { min-width: 0; }
.prose { display: grid; gap: 18px; font-size: 1.05rem; }
.prose p { color: var(--muted); }
.dark .prose p { color: var(--muted-dark); }
.dash { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dash li { display: grid; grid-template-columns: 22px minmax(0, 1fr); }
.dash li::before { content: "–"; }
.dash b { font-weight: 600; }

/* Ablauf */
.steps-head { margin-bottom: clamp(40px, 5vw, 64px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 22px; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: "0" counter(step); font-style: italic; font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--amber); }
.steps h3 { font-size: 1.15rem; font-weight: 600; }
.steps p { color: var(--muted-dark); font-size: 0.98rem; }

/* Leistungen und Preis */
.price-note { margin-top: 34px; border-left: 3px solid var(--amber); padding: 4px 0 4px 20px; display: grid; gap: 8px; }
.price-note h3 { font-size: 1.1rem; font-weight: 600; }
.price-note p { color: var(--muted); }

/* Team */
.team-head { margin-bottom: clamp(36px, 5vw, 60px); display: grid; gap: 16px; max-width: 640px; }
.team-head p { color: var(--muted-dark); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person { margin: 0; display: grid; gap: 16px; }
.person-photo { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 10px; align-items: end; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.85) contrast(1.03); }
.person-name { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 0.95rem; line-height: 1.2; }
.person-name b { font-weight: 600; }
.person-name span { color: var(--muted-dark); margin-top: 6px; }
.person figcaption { display: grid; gap: 10px; padding-right: 44px; }
.person h3 { font-style: italic; font-weight: 800; font-size: 1.35rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted-dark); font-size: 0.95rem; }
.tags li { display: inline-flex; align-items: center; gap: 8px; }
.tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Suchauftrag */
.form-wrap { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form-wrap > * { min-width: 0; }
.form-intro { display: grid; gap: 18px; position: sticky; top: 100px; }
.form-intro p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label, .form-group legend { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1px solid #C6CDD6; border-radius: 2px; padding: 12px 14px; width: 100%; min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--ink); }
.form-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-group legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #C6CDD6; border-radius: 2px; padding: 10px 14px; font-weight: 600; font-size: 0.93rem; cursor: pointer; min-height: 46px; background: var(--white); }
.chips input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.chips label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chips label:has(input:checked) input { accent-color: var(--amber); }
.unit-input { display: flex; max-width: 340px; background: var(--white); border: 1px solid #C6CDD6; border-radius: 2px; }
.unit-input:focus-within { outline: 2px solid var(--amber); border-color: var(--ink); }
.unit-input > span { display: flex; align-items: center; padding: 0 14px; font-weight: 600; font-size: 0.9rem; color: var(--muted); background: var(--soft); border-right: 1px solid #C6CDD6; }
.unit-after > span { order: 2; border-right: 0; border-left: 1px solid #C6CDD6; }
.field .unit-input input { border: 0; flex: 1; min-width: 0; }
.field .unit-input input:focus { outline: none; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.quick button { font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--text); background: var(--white); border: 1px solid #C6CDD6; border-radius: 2px; padding: 6px 12px; min-height: 38px; cursor: pointer; }
.quick button:hover { border-color: var(--ink); }
.quick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips .date-chip { gap: 10px; padding-block: 6px; }
.chips .date-chip input { width: auto; height: auto; font: inherit; font-size: 0.93rem; color: inherit; background: transparent; border: 0; padding: 4px 0; }
.chips .date-chip.is-set { border-color: var(--ink); background: var(--ink); color: var(--white); }
.chips .date-chip.is-set input { color-scheme: dark; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 0.92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.form-actions p { font-size: 0.9rem; color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: #E6F4EC; color: #145C38; }
.form-status.err { background: #FDECEA; color: #8A1C12; }
.hp { position: absolute; left: -9999px; }

/* Fragen */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-52%); font-weight: 300; font-size: 1.8rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* Kontakt */
.contact .cols { align-items: end; }
.contact-big { font-style: italic; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); text-decoration: none; color: var(--white); display: inline-block; line-height: 1.1; }
.contact-big:hover { color: var(--amber); }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted-dark); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--white); }

/* Fusszeile */
.site-footer { background: #070C16; color: var(--muted-dark); font-size: 0.88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px; }
.site-footer img { height: 22px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; color: #D5DCE6; }
.site-footer a:hover { color: var(--white); }

/* Rechtstexte */
.legal { max-width: 800px; padding-block: 64px 96px; }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 34px 0 10px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; }
.legal .stand { color: var(--muted); font-size: 0.92rem; margin-top: 34px; }

/* Tablet und Handy */
@media (max-width: 980px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 6px max(24px, env(safe-area-inset-left)) 22px; display: none; border-top: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 16px; border-bottom: 0; justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .cols, .form-wrap { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps, .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
