@font-face { font-family: "Clash Grotesk"; src: url("fonts/clash-grotesk-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("fonts/clash-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Grotesk"; src: url("fonts/clash-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --tint: #f2f4f6;
  --tint-2: #e8ecf0;
  --ink: #14181d;
  --muted: #4d5763;
  --accent: #14181d;
  --accent-strong: #000000;
  --accent-ink: #ffffff;
  --signal: #ff5a3c;
  --signal-strong: #ff7357;
  --signal-ink: #14181d;
  --signal-soft: #ffe3dc;

  --font: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --step-display: clamp(2.375rem, 1.3rem + 4.2vw, 5.25rem);

  --margin: clamp(16px, 4vw, 64px);
  --max: 1280px;
  --gap: clamp(96px, 10vw, 160px);
  --radius: 10px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }
main p, .popup p { text-wrap: balance; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main > section, .bar, .foot { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
main > section + section { margin-top: var(--gap); }
.section-title { font-size: var(--step-head); }

/* Buttons und Links */
.button { display: inline-flex; width: auto; min-width: 280px; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px; background: var(--signal); color: var(--signal-ink); font: 600 var(--step-body)/1 var(--font); text-decoration: none; border: 0; border-radius: var(--radius); cursor: pointer; transition: transform 120ms var(--ease-out), background-color 200ms ease; }
.button:active { transform: scale(0.97); }
.button--small { min-height: 46px; padding: 0 22px; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--signal-strong); transform: translateY(-2px); }
  .link:hover { text-decoration-color: currentColor; }
}

/* Leiste */
.bar { display: flex; align-items: center; gap: 32px; padding-block: 24px; }
.wordmark { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; line-height: 1; }
.wordmark span { color: var(--signal); }
.bar__links { display: flex; gap: 28px; margin-left: auto; }
@media (max-width: 760px) { .bar__links { display: none; } .bar .button { margin-left: auto; } }

/* Hero: zentriert, Foto darunter */
.hero { padding-top: clamp(32px, 6vw, 88px); text-align: center; }
.hero__title { font-size: var(--step-display); font-weight: 600; line-height: 1; letter-spacing: -0.04em; max-width: 17ch; margin-inline: auto; }
.hero__title mark { background: none; color: inherit; position: relative; white-space: nowrap; z-index: 0; }
.hero__title mark::after { content: ""; position: absolute; z-index: -1; left: -0.06em; right: -0.04em; bottom: 0.04em; height: 0.36em; background: var(--signal); transform-origin: left; }
.hero__visual { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.sticker { position: absolute; z-index: 3; right: clamp(-8px, 2vw, 40px); top: clamp(-40px, -3vw, -24px); width: clamp(104px, 11vw, 156px); aspect-ratio: 1; border-radius: 50%; background: var(--signal); color: var(--signal-ink); display: grid; place-items: center; text-align: center; font-weight: 600; font-size: clamp(0.9375rem, 0.8rem + 0.5vw, 1.25rem); line-height: 1.05; letter-spacing: -0.02em; transform: rotate(-10deg); }
.hero__sub { margin: 28px auto 0; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 46ch; }
.hero__actions { margin: 36px auto 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__trust { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: var(--step-small); text-align: left; }
.hero__trust img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 42%; flex-shrink: 0; }
.hero__trust b { color: var(--ink); font-weight: 600; }
.hero__media { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 760px) {
  .hero { text-align: left; }
  .hero__title, .hero__sub { margin-inline: 0; }
  .hero__actions { align-items: stretch; }
  .hero__actions { margin-inline: 0; }
  .hero__trust { justify-content: flex-start; }
  .hero__media { aspect-ratio: 16 / 10; }
}

/* Bänder: abwechselnd weiß und hellgrau, volle Breite */
main > section + section { margin-top: 0; }
main > section:not(.hero) { padding-block: clamp(72px, 9vw, 128px); }
.hero { padding-bottom: clamp(72px, 9vw, 128px); }
.band { background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }

/* Igor */
.partner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.partner__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; max-width: 460px; }
.partner__photo img { width: 100%; height: 100%; object-fit: cover; }
.partner__text { display: grid; gap: 18px; max-width: 56ch; justify-items: start; }
.partner__title { font-size: var(--step-display); line-height: 1; letter-spacing: -0.04em; margin-bottom: 6px; }
.partner__title mark, .section-title mark, .final__title mark { background: none; color: var(--signal); }
.partner__lead { font-size: var(--step-lead); line-height: 1.35; }
.partner__text > p:not(.partner__lead):not(.partner__close):not(.partner__sign) { color: var(--muted); }
.partner__close { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.partner__sign { font-weight: 500; color: var(--muted); padding-left: 40px; position: relative; }
.partner__sign::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 4px; border-radius: 2px; background: var(--signal); }
.partner__text .button { margin-top: 10px; }
@media (max-width: 760px) {
  .partner { grid-template-columns: 1fr; }
  .partner__photo { max-width: none; aspect-ratio: 4 / 4.4; }
}

/* Salon: Bilder und Zahlen im Raster */
.salon__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: end; }
.salon__head p { font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 40ch; }
.bento { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 12px;
  grid-template-areas: "a a f1 b" "a a f2 b" "f3 c d d" "f4 c d d"; }
.bento figure { overflow: hidden; border-radius: var(--radius); }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento__a { grid-area: a; } .bento__b { grid-area: b; } .bento__c { grid-area: c; } .bento__d { grid-area: d; }
.bento__f1 { grid-area: f1; } .bento__f2 { grid-area: f2; } .bento__f3 { grid-area: f3; } .bento__f4 { grid-area: f4; }
.fact { border-radius: var(--radius); background: var(--tint); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.fact strong { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.fact span { color: var(--muted); font-size: var(--step-small); max-width: 22ch; }
.fact--signal { background: var(--signal); }
.fact--signal span { color: var(--signal-ink); }
.fact--soft { background: var(--signal-soft); }
.salon__extras { margin-top: 24px; color: var(--muted); }
@media (max-width: 860px) { .salon__head { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .fact { padding: 16px; }
  .fact strong { font-size: 2rem; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px;
    grid-template-areas: "a a" "a a" "f1 f2" "b c" "b c" "f3 f4" "d d" "d d"; }
}

/* Rolle: Du. / Wir. */
.roles .section-title { max-width: 18ch; }
.roles__cols { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.roles__who { font-size: clamp(3.5rem, 2rem + 6vw, 7.5rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 24px; }
.roles__col--wir .roles__who { color: var(--signal); }
.roles__list { list-style: none; }
.roles__list li { padding: 16px 0; border-top: 1px solid #d5dbe1; font-size: var(--step-body); }
.roles__list li:last-child { border-bottom: 1px solid #d5dbe1; }
.roles__cta { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: center; }
@media (max-width: 760px) { .roles__cols { grid-template-columns: 1fr; } }

/* Ablauf */
.steps__list { margin-top: 48px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }

.steps__list li { counter-increment: s; }
.steps__list li::before { content: counter(s); display: block; font-size: var(--step-display); font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--signal); margin-bottom: 14px; }
.steps__list h3 { font-size: var(--step-lead); margin-bottom: 10px; }
.steps__list p { color: var(--muted); max-width: 30ch; }
@media (max-width: 760px) { .steps__list { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 48px; align-items: start; }
.acc { display: grid; gap: 8px; }
.acc details { background: #fff; border-radius: var(--radius); padding: 0 24px; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: 0 0 10px; height: 10px; border-right: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.acc details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.acc details p { padding-bottom: 22px; color: var(--muted); max-width: 56ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* Abschluss */
.final__title { font-size: var(--step-display); line-height: 1; letter-spacing: -0.04em; max-width: 16ch; }
.final__sub { margin: 20px 0 32px; font-size: var(--step-lead); color: var(--muted); max-width: 40ch; }

/* Popup mit dem Formular */
.popup { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 24px; }
.popup[hidden] { display: none; }
.popup::before { content: ""; position: absolute; inset: 0; background: rgba(20, 24, 29, 0.8); opacity: 0; transition: opacity 300ms ease; }
.popup__card { position: relative; width: 100%; max-width: 640px; max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,0.35); outline: none; opacity: 0; transform: translateY(24px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.popup.is-offen::before { opacity: 1; }
.popup.is-offen .popup__card { opacity: 1; transform: none; }
.popup__top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 16px 0 28px; border-bottom: 1px solid var(--tint-2); flex-shrink: 0; }
.popup__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .popup__close:hover { background: var(--tint); color: var(--ink); } }
.popup__intro { text-wrap: balance; flex-shrink: 0; background: var(--signal-soft); text-align: center; padding: 10px 16px; font-weight: 600; font-size: var(--step-small); }
.popup__body { overflow-y: auto; overscroll-behavior: contain; padding: 8px clamp(16px, 3vw, 28px) 28px; }
@media (max-width: 640px) {
  .popup { padding: 0; }
  .popup__card { max-width: none; max-height: none; height: 100%; border-radius: 0; transform: translateY(100%); }
  .popup__top { padding-left: 16px; }
}

/* Trust unter dem Formular */
.trust { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--tint-2); display: grid; gap: 20px; }
.trust__igor { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.trust__igor img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 42%; }
.trust__igor p { font-size: var(--step-small); line-height: 1.45; }
.trust__igor span { display: block; margin-top: 4px; font-weight: 600; }
.trust__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trust__list li { position: relative; padding-left: 24px; font-size: var(--step-small); color: var(--muted); }
.trust__list li::before { content: ""; position: absolute; left: 3px; top: 0.2em; width: 6px; height: 11px; border-right: 2.25px solid var(--signal); border-bottom: 2.25px solid var(--signal); transform: rotate(45deg); }

.elio { margin: 0 auto; max-width: 720px; background: #fff; border-radius: 4px; padding: 20px clamp(16px, 3vw, 24px) 32px; min-height: 260px; }
.elio__bar { height: 4px; background: var(--tint-2); border-radius: 4px; overflow: hidden; }
.elio__fill { display: block; height: 100%; width: 10%; background: var(--signal); border-radius: 4px; transition: width 400ms var(--ease-out); }
.elio__q { margin: 28px auto 20px; text-align: center; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 600; line-height: 1.15; letter-spacing: 0; text-transform: uppercase; color: var(--ink); max-width: 24ch; }
.elio__tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.elio__tile { flex: 0 1 172px; min-height: 96px; padding: 16px 12px; background: #f1f4f7; color: var(--ink); border: 2px solid transparent; border-radius: 8px; font: 600 1rem/1.25 var(--font); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, transform 120ms var(--ease-out); }
.elio__tile:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .elio__tile:hover { border-color: var(--signal); background: #fff; } }
.elio__done { text-align: center; color: var(--muted); max-width: 40ch; margin: 0 auto; }
.elio__restart { display: block; margin: 20px auto 0; background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration-color: currentColor; }
.elio__step:not([hidden]) { animation: step-in 300ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .elio__tile { flex: 1 1 100%; min-height: 64px; } }

/* Fuß */
.foot { padding-block: 40px 48px; border-top: 1px solid var(--tint-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; color: var(--muted); }
.foot__name { color: var(--ink); }
.foot__links { display: flex; gap: 24px; margin-left: auto; }
@media (max-width: 760px) { .foot { flex-direction: column; } .foot__links { margin-left: 0; } }

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .shutter { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.1); transition: transform 1500ms var(--ease-out); }
  .js .shutter.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
  .js .shutter.is-in img { transform: none; }
  .js .hero__text > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .hero.is-in .hero__text > * { opacity: 1; transform: none; }
  .js .hero.is-in .hero__text > *:nth-child(2) { transition-delay: 90ms; }
  .js .hero.is-in .hero__text > *:nth-child(3) { transition-delay: 180ms; }
  .js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .reveal.is-in, .js .reveal-group.is-in > * { opacity: 1; transform: none; }
  .js .reveal-group.is-in > *:nth-child(2) { transition-delay: 80ms; }
  .js .reveal-group.is-in > *:nth-child(3) { transition-delay: 160ms; }
  .js .reveal-group.is-in > *:nth-child(4) { transition-delay: 240ms; }
}

/* Am Handy: Buttons immer volle Breite */
@media (max-width: 760px) {
  .button { display: flex; width: 100%; min-width: 0; }
  .hero__actions { align-items: stretch; }
  .roles__cta { display: block; }
}
