/* ============================================================
   Car Wash Arman – Startseite
   Dunkel, cineastisch, Schaum-Pink als einziger Akzent.
   Display: Big Shoulders Display · Text: Instrument Sans
   ============================================================ */
:root {
  --bg: #0a0a0e;
  --bg-2: #111118;
  --bg-3: #17171f;
  --ink: #f3eff5;
  --ink-2: rgba(243, 239, 245, .68);
  --ink-3: rgba(243, 239, 245, .42);
  --line: rgba(243, 239, 245, .11);
  --foam: #ff57d6;
  --foam-deep: #c21e9b;
  --foam-rgb: 255 87 214;
  --foam-ink: #16070f;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

body.home {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--foam); color: var(--foam-ink); }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; padding: 10px 14px; background: var(--foam); color: var(--foam-ink); border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Typo-Bausteine ---------- */
.num {
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .3em;
  color: var(--foam); margin-bottom: 18px;
}
.num::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--foam); vertical-align: middle; margin-right: 14px; }
.h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6.6rem); line-height: .9; letter-spacing: -.005em;
}
.sub { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--foam); margin-top: 18px; }
.body { color: var(--ink-2); max-width: 54ch; margin-top: 26px; }
.body strong { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  transition: transform .35s var(--ease-out), background-color .2s ease-out, color .2s ease-out, box-shadow .35s var(--ease-out);
}
.btn .ic { width: 18px; height: 18px; }
.btn--foam { background: var(--foam); color: var(--foam-ink); box-shadow: 0 0 0 0 rgb(var(--foam-rgb) / 0); }
.btn--foam:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgb(var(--foam-rgb) / .55); }
.btn--ghost { padding: 10px 16px; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); }
.textlink { color: var(--ink); text-decoration: none; font-weight: 500; position: relative; padding-bottom: 3px; }
.textlink::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--foam); transform-origin: right; transition: transform .4s var(--ease-out); }
.textlink:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------- Grain ---------- */
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .055; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%, 2%) } 50% { transform: translate(2%, -3%) } 75% { transform: translate(-1%, -1%) } 100% { transform: translate(0,0) } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  transition: background-color .4s ease-out, padding .4s var(--ease-out), box-shadow .4s ease-out;
}
.nav.is-scrolled { background: rgba(10,10,14,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.nav__logo img { width: 230px; height: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .15s ease-out; }
.nav:not(.is-scrolled) .nav__links a, .nav:not(.is-scrolled) .nav__hours { color: var(--ink); text-shadow: 0 1px 14px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.5); }
.nav:not(.is-scrolled) .btn--ghost { border-color: rgba(255,255,255,.35); background: rgba(10,10,14,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav__hours { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.nav__hours .ic { width: 16px; height: 16px; color: var(--foam); }
@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__logo img { width: 200px; }
  .nav__links { display: none; }
  .nav__hours { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto;
  padding: clamp(100px, 16vh, 150px) var(--gutter) 28px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #000 url("../video/poster.jpg") center 62% / cover no-repeat; }
.hero__media .hero-video { opacity: 0; transition: opacity .8s ease-out; will-change: transform; }
.hero__media .hero-video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,14,.82) 0%, rgba(10,10,14,.35) 12%, rgba(10,10,14,0) 26%),
    linear-gradient(to top, rgba(10,10,14,1) 0%, rgba(10,10,14,.55) 28%, rgba(10,10,14,0) 60%),
    linear-gradient(to right, rgba(10,10,14,.75) 0%, rgba(10,10,14,.25) 45%, rgba(10,10,14,0) 75%),
    radial-gradient(90% 60% at 80% 30%, rgb(var(--foam-rgb) / .14), transparent 70%);
}
.hero > *:not(.hero__media) { position: relative; z-index: 1; }

.hero__meta { font: inherit; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--foam); flex: none; }
.hero__meta span { white-space: nowrap; }
@media (max-width: 600px) {
  /* Eyebrow auf dem Handy: kleiner und enger, damit sie in eine Zeile passt; bricht sonst sauber zwischen den Blöcken */
  .hero__meta { flex-wrap: wrap; gap: 6px 10px; font-size: 11px; letter-spacing: .11em; }
}
@media (max-width: 360px) { .hero__meta .dot { display: none; } }

.hero__title {
  align-self: end;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(5.2rem, min(17vw, 20vh), 15.5rem); line-height: .82; letter-spacing: -.01em;
  margin: 30px 0 0 -.04em;
}
/* Maske für die Zeilen-Animation: oben und unten etwas Luft, sonst werden Ober- und Unterlängen abgeschnitten */
.hero__title .line { display: block; overflow: hidden; padding: .1em 0 .04em; margin: -.1em 0 -.04em; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__title .accent { color: var(--foam); }

.hero__copy { display: grid; grid-template-columns: minmax(0, 46ch); gap: 28px; margin-top: 34px; }
.hero__lede { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__side {
  position: absolute; right: var(--gutter); top: 50%; z-index: 1;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
.hero__side::after { content: ""; display: block; width: 1px; height: 64px; background: var(--foam); margin: 0 auto 16px; }

.hero__foot { display: flex; align-items: center; gap: 18px; margin-top: 40px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hero__progress { width: 64px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__progress i { position: absolute; inset: 0; background: var(--foam); transform: scaleX(0); transform-origin: left; }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__copy { gap: 22px; }
  .hero__side { display: none; }
  .hero__shade { background:
    linear-gradient(to top, rgba(10,10,14,1) 0%, rgba(10,10,14,.7) 35%, rgba(10,10,14,.1) 70%),
    linear-gradient(to bottom, rgba(10,10,14,.6), transparent 30%); }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.marquee__track span:nth-child(4n+1) { color: var(--foam); }
.marquee__track i { width: 6px; height: 6px; background: var(--foam); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektions-Rhythmus ---------- */
.spot, .prog, .gallery, .voices, .visit { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Schaumkanone ---------- */
.spot {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px);
}
.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.facts li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.facts li .ic { width: 22px; height: 22px; color: var(--foam); }
.facts b { color: var(--ink); font-weight: 600; }
.spot__media { position: relative; }
.spot__frame { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); will-change: transform; }
.spot__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgb(var(--foam-rgb) / .12); }
.spot__frame img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.spot__media figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot__media { order: -1; } }

/* ---------- Programm ---------- */
.prog {
  background: var(--bg-2);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px);
}
.prog__head { position: sticky; top: 110px; align-self: start; }
.steps { border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 56px 1fr 28px; grid-template-rows: auto auto; column-gap: 20px; align-items: baseline;
  padding: 26px 24px; border-bottom: 1px solid var(--line);
  transition: background-color .25s ease-out;
}
.step:hover { background: linear-gradient(to right, rgb(var(--foam-rgb) / .07), transparent 60%); }
.step__n { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--ink-3); transition: color .2s ease-out; font-variant-numeric: tabular-nums; }
.step:hover .step__n { color: var(--foam); }
.step__name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; letter-spacing: .01em; }
.step__name em { font-style: normal; color: var(--foam); }
.step__desc { grid-column: 2; color: var(--ink-2); margin-top: 8px; max-width: 48ch; }
.step__ic { grid-row: 1; grid-column: 3; width: 28px; height: 28px; color: var(--ink-3); align-self: center; transition: color .2s ease-out; }
.step:hover .step__ic { color: var(--foam); }
.step__ic.ic-mask { width: 34px; height: 34px; }
.facts .ic-mask { width: 26px; height: 26px; }
.aside__item .ic-mask { width: 34px; height: 34px; }
.step--hero { background: linear-gradient(to right, rgb(var(--foam-rgb) / .1), transparent 70%); }
.step--hero .step__n, .step--hero .step__ic { color: var(--foam); }
.prog__aside { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.aside__item { padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.02); }
.aside__item .ic { width: 30px; height: 30px; color: var(--foam); margin-bottom: 18px; }
.aside__item h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; }
.aside__item p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
@media (max-width: 900px) {
  .prog { grid-template-columns: 1fr; }
  .prog__head { position: static; }
  .prog__aside { grid-column: 1; grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr 24px; padding-left: 14px; padding-right: 14px; }
}

/* ---------- Galerie ---------- */
.gallery { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(60px, 8vw, 120px); }
.gallery__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
/* Feste Rasterzeilen, damit alle Kanten bündig schließen */
.masonry {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(64px, 7.6vw, 118px); gap: 14px;
}
.masonry__item { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.masonry__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s ease-out; filter: saturate(.9); }
.masonry__item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.m-a { grid-column: 1 / span 7; grid-row: 1 / span 4; }
.m-b { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.m-c { grid-column: 8 / span 5; grid-row: 3 / span 2; }
.m-d { grid-column: 1 / span 5; grid-row: 5 / span 3; }
.m-e { grid-column: 6 / span 7; grid-row: 5 / span 3; }
.m-f { display: none; } /* nur auf dem Handy, füllt dort die Lücke neben m-d */
@media (max-width: 700px) {
  .m-f { display: block; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .masonry__item { grid-column: auto !important; grid-row: auto !important; }
  .m-a, .m-e { grid-column: 1 / -1 !important; }
  .masonry__item img { position: static; aspect-ratio: 4 / 3; }
}

/* ---------- Stimmen ---------- */
.voices {
  position: relative; padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.voices > .num { grid-column: 1 / -1; }
.voices__big p { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: .95; letter-spacing: .005em; hyphens: manual; }
.voices__big mark { background: none; color: var(--foam); }
.voices__big footer { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--foam); }
.stars .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.voices__list { display: grid; gap: 0; align-self: center; }
.voices__list li { padding: 22px 0; border-top: 1px solid var(--line); }
.voices__list li:nth-child(even) { margin-left: 10%; }
.voices__list p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.voices__list footer { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.voices__list footer::after { content: " · Google"; }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; } .voices__list li:nth-child(even) { margin-left: 0; } }
@media (max-width: 600px) { .voices__big p { font-size: clamp(1.9rem, 9.6vw, 2.4rem); } }

/* ---------- Anfahrt ---------- */
.visit {
  background: var(--bg-2);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px);
  border-top: 1px solid var(--line);
}
.visit__label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.visit__hours { container-type: inline-size; min-width: 0; }
/* Ziffern richten sich nach der Spaltenbreite, nicht nach dem Viewport, damit sie nie in die Nachbarspalte laufen */
.visit__big { font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 12vw, 15rem); line-height: .85; letter-spacing: -.01em; display: flex; margin-top: 10px; font-variant-numeric: tabular-nums; }
@supports (container-type: inline-size) { .visit__big { font-size: clamp(5rem, 36cqw, 15rem); } }
.visit__big span:not(.dash) { min-width: 2ch; }
.visit__big .dash { color: var(--foam); margin: 0 .04em; }
.visit__days { margin-top: 14px; color: var(--ink-2); }
.visit__where { align-self: center; }
.visit__where address { margin: 30px 0 32px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); }
.visit__where address strong { color: var(--ink); font-weight: 600; }
.visit__more {
  grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none;
  background: rgba(255,255,255,.02);
  transition: border-color .25s ease-out, background-color .25s ease-out;
}
.visit__more:hover { border-color: rgb(var(--foam-rgb) / .5); background: rgb(var(--foam-rgb) / .05); }
.visit__more-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--foam); }
.visit__more-t { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.05; }
.visit__more-a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.visit__more-a .ic { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.visit__more:hover .visit__more-a .ic { transform: translateX(6px); }
@media (max-width: 900px) {
  .visit { grid-template-columns: 1fr; }
  .visit__more { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .visit__more > * { min-width: 0; }
  .visit__more-a { white-space: normal; }
}

/* ---------- Footer ---------- */
.foot {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px;
  padding: 36px var(--gutter) 90px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
}
.foot__logo { width: 200px; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); transition: border-color .2s ease-out, color .2s ease-out; }
.foot__social a:hover { border-color: var(--foam); color: var(--foam); }
.foot__social .ic { width: 18px; height: 18px; }
.foot__legal { display: flex; gap: 22px; }
.foot__legal a { text-decoration: none; color: var(--ink-2); }
.foot__legal a:hover { color: var(--ink); }
.foot__nap { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.foot__nap strong { color: var(--ink); font-weight: 600; }
.foot__nap a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__nap a:hover { color: var(--foam); border-color: var(--foam); }
.foot__copy { grid-column: 1 / -1; }
.foot__copy a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__copy a:hover { color: var(--foam); border-color: var(--foam); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; justify-items: center; text-align: center; } .foot__legal { justify-content: center; } }

/* ---------- Reveal-Zustände (werden von GSAP animiert) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js .hero__title .line > span { transform: translateY(110%); }
.no-js .hero__title .line > span { transform: none; }
