/* Skyhaven v3 – ruhig, mit Haltung: Boxhalle + Schnittplatz */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }

:root {
  --band: oklch(0.89 0.17 98);
  --ring: oklch(0.17 0.01 90);
  --papier: oklch(0.97 0.012 95);
  --leise: oklch(0.38 0.012 90);
  --leise-hell: oklch(0.78 0.01 90);
  --linie: oklch(0.17 0.01 90 / .18);
  --display: "Big Shoulders Display", "Archivo Narrow", "Arial Narrow", sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(20px, 5vw, 80px);
  --breite: 1240px;
  --kopf: 70px;
  /* aus Skill animate (Emil Kowalski) */
  --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 { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf); }
body { margin: 0; background: var(--papier); color: var(--ring); font: 400 clamp(18px, .4vw + 15px, 21px)/1.5 var(--text); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2 { font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(54px, 5.6vw, 94px); }
h2 { font-size: clamp(44px, 5.4vw, 88px); }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 0 28px; border-radius: 2px; border: 0; cursor: pointer;
  background: var(--ring); color: var(--band); text-decoration: none;
  font: 700 18px/1.1 var(--text);
  transition: transform 140ms var(--ease-out), background 200ms var(--ease-out);
}
.knopf:hover { background: oklch(0.28 0.01 90); }
.knopf:active { transform: scale(.97); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: 16px; }
.knopf-gross { min-height: 64px; padding: 0 40px; font-size: 20px; }
.knopf-hell { color: var(--papier); }
.knopf[disabled] { opacity: .6; cursor: progress; }
.textlink { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 12px 0; cursor: pointer; }
.klein { font-size: 15px; color: var(--leise); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 10; height: var(--kopf);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--rand); background: var(--band); box-shadow: 0 2px 0 var(--ring);
}
.marke { font: 900 30px/1 var(--display); text-decoration: none; margin-right: auto; letter-spacing: .01em; }
.kopf-link { text-decoration: none; font-size: 16px; font-weight: 700; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.kopf-link:hover { text-decoration: underline; }

main > section, .recht { padding-left: max(var(--rand), calc((100% - var(--breite)) / 2)); padding-right: max(var(--rand), calc((100% - var(--breite)) / 2)); }

/* Sucher-Rahmen (Motiv) */
.schnitt { position: relative; overflow: hidden; background: var(--ring); }
.schnitt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.schnitt::before {
  content: ""; position: absolute; inset: 14px; z-index: 3; pointer-events: none;
  --l: 26px; --d: 3px; --c: var(--band);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--d) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--d) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--d) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--d) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--d) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--d) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--d) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--d) var(--l) no-repeat;
}
.marke-l, .marke-r { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--band); opacity: 0; z-index: 2; }
.marke-l { left: 0; } .marke-r { right: 0; }

/* Hero */
.hero {
  --h: min(calc(100svh - 190px), 690px);
  background: var(--band); min-height: calc(100svh - var(--kopf));
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--h) * 9 / 16); column-gap: 72px; align-items: center;
  padding-top: 40px; padding-bottom: 56px;
}
.hero-text { display: grid; gap: 28px; }
.hero h1 { max-width: 14ch; line-height: 1.04; }
.hero-text p { max-width: 34ch; font-size: clamp(19px, .6vw + 15px, 23px); }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.hero-medien { justify-self: end; display: grid; gap: 12px; justify-items: end; }
.hero-reel { height: var(--h); width: calc(var(--h) * 9 / 16); }
.kunde { font-size: 15px; font-weight: 600; max-width: calc(var(--h) * 9 / 16); text-align: right; }
/* Hero beim Laden: Querformat → Reel */
.js:not(.static) .hero .schnitt:not(.geschnitten) { width: calc(var(--h) * .55 * 16 / 9); height: calc(var(--h) * .55); }
.js:not(.static) .hero .schnitt { transition: width 900ms var(--ease-in-out), height 900ms var(--ease-in-out); }
.js:not(.static) .hero .schnitt:not(.geschnitten) .marke-l { opacity: 1; left: calc(50% - var(--h) * .55 * 9 / 32); }
.js:not(.static) .hero .schnitt:not(.geschnitten) .marke-r { opacity: 1; right: calc(50% - var(--h) * .55 * 9 / 32); }
.js:not(.static) .hero .schnitt .marke-l, .js:not(.static) .hero .schnitt .marke-r { transition: opacity 250ms var(--ease-out) 650ms, left 900ms var(--ease-in-out), right 900ms var(--ease-in-out); }
.js:not(.static) .hero .schnitt:not(.geschnitten)::before { opacity: 0; }
.hero .schnitt::before { transition: opacity 300ms var(--ease-out) 700ms; }

/* Szene – jede Scrollbewegung verändert etwas (von JS gesteuert) */
.szene-sektion { background: var(--ring); color: var(--papier); height: 380vh; position: relative; }
.szene {
  --h: min(calc(100svh - 170px), 640px);
  position: sticky; top: var(--kopf); height: calc(100svh - var(--kopf));
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--h) * .7 * 16 / 9); gap: 48px; align-items: center;
}
.szene-text { display: grid; gap: 32px; align-content: center; }
.szene-text h2 { color: var(--band); }
.schritt-reihe { display: grid; grid-template-columns: 4px 1fr; gap: 24px; }
.schiene { position: relative; background: oklch(0.97 0.012 95 / .18); }
.schiene-fuell { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--band); }
.schritte { position: relative; min-height: 8em; }
.schritte li { position: absolute; inset: 0 auto auto 0; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; opacity: 0; transform: translateY(10px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.schritte li.aktiv { opacity: 1; transform: none; }
.nr { font: 900 44px/1 var(--display); color: var(--band); }
.schritte p { font-size: 20px; line-height: 1.35; color: var(--leise-hell); max-width: 28ch; }
.schritte strong { display: block; color: var(--papier); font: 700 clamp(26px, 1.4vw + 14px, 36px)/1.1 var(--display); margin-bottom: 8px; }
.weiter { font-size: 16px; font-weight: 600; color: var(--band); transition: opacity 200ms var(--ease-out); }
.weiter span { display: inline-block; animation: hinweis 1.6s var(--ease-in-out) infinite; }
@keyframes hinweis { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.szene-buehne { display: grid; align-items: center; justify-items: center; height: 100%; }
.szenen-rahmen { height: var(--h); width: calc(var(--h) * 9 / 16); }
.szenen-rahmen video { object-position: 50% 30%; }
.abdunkeln { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; --b: 31.64%;
  background: linear-gradient(to right, rgb(0 0 0 / .62) calc(50% - var(--b) / 2), transparent calc(50% - var(--b) / 2), transparent calc(50% + var(--b) / 2), rgb(0 0 0 / .62) calc(50% + var(--b) / 2)); }
.szenen-rahmen::before { opacity: var(--ecken, 1); }

/* ohne JS / ?static / reduzierte Bewegung: Liste + Endzustand */
html:not(.js) .szene-sektion, .static .szene-sektion { height: auto; }
html:not(.js) .szene, .static .szene { position: static; height: auto; padding: 120px 0; }
html:not(.js) .schritte, .static .schritte { min-height: 0; display: grid; gap: 24px; }
html:not(.js) .schritte li, .static .schritte li { position: static; opacity: 1; transform: none; }
html:not(.js) .weiter, .static .weiter, html:not(.js) .schiene, .static .schiene { display: none; }
html:not(.js) .schritt-reihe, .static .schritt-reihe { grid-template-columns: 1fr; }

/* Beweis */
.beweis { padding-top: 96px; padding-bottom: 112px; }
.zahl-titel { display: grid; grid-template-columns: auto minmax(24ch, 1fr); align-items: end; gap: 0 48px; }
.zahl { font: 900 clamp(120px, 15.5vw, 250px)/.85 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.zahl-text { font: 600 clamp(22px, 1.8vw, 30px)/1.25 var(--text); max-width: 26ch; padding-bottom: .15em; }
.buehne { margin-top: 64px; }
.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.reels li { display: grid; gap: 10px; }
.reels a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ring); }
.reels video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms var(--ease-out); }
.reels a:hover video { transform: scale(1.03); }
.reels b { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; bottom: 24px; z-index: 4; font: 800 30px/1 var(--display); color: var(--band); text-shadow: 0 1px 12px rgb(0 0 0 / .7); }
.reels a::before { inset: 8px; --l: 16px; }
.reels a::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent 40%); pointer-events: none; }
.js:not(.static) .buehne:not(.in) .reels { transform: translateY(32px); }
.js:not(.static) .buehne .reels { transition: transform 600ms var(--ease-out) 300ms; }
.js:not(.static) .buehne:not(.in) .reels li { opacity: 0; }
.js:not(.static) .buehne .reels li { transition: opacity 400ms var(--ease-out); transition-delay: calc(300ms + var(--i) * 50ms); }

/* Beispiele (Zielgruppen ohne eigene Aufrufzahlen) */
.beispiele-text { margin-top: 18px; max-width: 46ch; color: var(--leise); }
.beispiel-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 40px; margin-top: 48px; }
.beispiel-liste li { display: grid; gap: 14px; }
.beispiel-rahmen { aspect-ratio: 9 / 16; }
.beispiel-liste p { font-size: 17px; }
.beispiel-liste b { display: block; font: 800 24px/1.1 var(--display); }
.beispiele-nachsatz { margin-top: 48px; max-width: 52ch; font-weight: 600; }

/* Preise */
.preise { background: var(--band); padding-top: 112px; padding-bottom: 96px; }
.pakete { margin-top: 48px; border-top: 3px solid var(--ring); }
.pakete li { display: grid; grid-template-columns: 300px 1fr 220px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--linie); }
.pakete .name { font: 800 34px/1 var(--display); }
.pakete small { display: block; font: 600 15px var(--text); margin-top: 6px; }
.pakete .preis { font: 900 40px/1 var(--display); text-align: right; white-space: nowrap; }
.pakete .preis small { display: inline; font: 600 15px var(--text); margin: 0 0 0 4px; }
.pakete .empfohlen { background: var(--ring); color: var(--band); margin: 0 -24px; padding-left: 24px; padding-right: 24px; border-bottom-color: var(--ring); }
.pakete .empfohlen .was { color: var(--papier); }
.garantie { margin-top: 32px; max-width: 52ch; }
.leistungen { margin-top: 16px; }
.leistungen summary, .gratis summary { display: block; list-style: none; width: fit-content; }
.leistungen summary::-webkit-details-marker, .gratis summary::-webkit-details-marker { display: none; }
.leistungen-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--linie); }
.leistungen h3 { font: 800 26px/1 var(--display); margin-bottom: 12px; }
.leistungen li { padding: 6px 0 6px 22px; position: relative; font-size: 17px; }
.leistungen li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 3px; background: var(--ring); }

/* Über mich – Ring-Schwarz, Porträt im Sucher */
.ueber { background: var(--ring); color: var(--papier); padding-top: 120px; padding-bottom: 120px;
  display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.ueber-bild img { display: block; width: 100%; height: auto; }
.ueber-text { display: grid; gap: 18px; max-width: 34ch; }
.ueber-text h2 { color: var(--band); margin-bottom: 8px; white-space: nowrap; }
.ueber-text p { font-size: clamp(20px, .6vw + 16px, 24px); line-height: 1.4; color: var(--leise-hell); }
.ueber-text p:first-of-type { color: var(--papier); }

/* Start */
.start { padding-top: 120px; padding-bottom: 120px; display: grid; gap: 28px; }
.start-call { display: grid; gap: 24px; justify-items: start; }
.start-call p { color: var(--leise); }
.start-call .klein { margin-top: -12px; }
.gratis { max-width: 560px; }
.gratis form { display: grid; gap: 18px; margin-top: 24px; }
.gratis label { display: grid; gap: 8px; font-size: 16px; color: var(--leise); }
.gratis .optional { color: oklch(0.55 0.01 90); }
.gratis input[type=email], .gratis input[type=url], .gratis input[type=tel] { font: 400 19px var(--text); color: var(--ring); background: #fff; border: 2px solid var(--ring); border-radius: 2px; padding: 14px 16px; }
.gratis input:focus { outline: 3px solid var(--band); outline-offset: 0; }
.gratis .haken { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.gratis .haken input { width: 20px; height: 20px; accent-color: var(--ring); margin: 2px 0 0; flex: none; }
.gratis .knopf { justify-self: start; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.meldung { padding: 14px 16px; font-weight: 600; }
.meldung.ok { background: var(--band); }
.meldung.fehler { background: oklch(0.93 0.05 30); }

/* Rechtsseiten */
.recht { padding-top: 64px; padding-bottom: 120px; max-width: calc(68ch + 2 * var(--rand)); }
.recht h1 { font-size: clamp(48px, 6vw, 80px); margin: 32px 0 40px; }
.recht h2 { font-size: 44px; margin: 48px 0 16px; scroll-margin-top: calc(var(--kopf) + 16px); }
.recht h3 { font: 700 22px/1.3 var(--text); margin: 28px 0 8px; }
.recht p { margin: 0 0 12px; max-width: 68ch; }
.recht { margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }

/* Fuß */
.fuss { background: var(--ring); color: var(--leise-hell); font-size: 15px; padding: 0 var(--rand); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 32px 0 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { text-decoration: none; padding: 6px 0; }
.fuss a:hover { color: var(--band); text-decoration: underline; }

/* Mobil */
@media (max-width: 1180px) {
  .zahl-titel { grid-template-columns: 1fr; gap: 16px; }
  .zahl-text { max-width: 34ch; }
}

@media (max-width: 860px) {
  :root { --kopf: 62px; }
  .kopf { gap: 16px; padding: 0 20px; }
  .kopf .kopf-link { order: 3; min-width: 36px; }
  .marke { font-size: 26px; }
  .hero { --h: 480px; grid-template-columns: 1fr; justify-content: stretch; row-gap: 32px; min-height: auto; padding-top: 28px; padding-bottom: 56px; }
  .hero h1 { font-size: 38px; }
  .hero-text p { font-size: 17px; line-height: 1.45; }
  .hero .aktionen .textlink { display: none; } /* steht unten beim Gespräch noch einmal */
  .hero { --h: 420px; row-gap: 24px; padding-top: 20px; }
  .aktionen { margin-top: 0; gap: 4px 20px; }
  .aktionen .textlink { padding: 8px 0; }
  .hero-text { gap: 20px; }
  .hero-text p { font-size: 18px; }
  .aktionen .knopf { width: 100%; }
  .hero-medien { justify-self: center; justify-items: center; }
  .kunde { text-align: center; }
  .js:not(.static) .hero .schnitt:not(.geschnitten) { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .js:not(.static) .hero .schnitt:not(.geschnitten) .marke-l { left: calc(50% - 15.8%); }
  .js:not(.static) .hero .schnitt:not(.geschnitten) .marke-r { right: calc(50% - 15.8%); }

  .szene-sektion { height: 300vh; }
  .szene { --h: 420px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 16px; align-items: start; padding-top: 24px; }
  .szene-text { gap: 16px; }
  .szene-text h2 { font-size: 46px; max-width: none; }
  .schritt-reihe { gap: 16px; }
  .schritte { min-height: 6.6em; }
  .schritte li { grid-template-columns: 38px 1fr; }
  .nr { font-size: 34px; }
  .schritte strong { font-size: 25px; }
  .schritte p { font-size: 17px; }
  .weiter { display: none; }
  .szene-buehne { align-items: start; }

  .beweis { padding-top: 80px; padding-bottom: 88px; }
  .zahl-titel { grid-template-columns: 1fr; gap: 12px; }
  .zahl { font-size: 25vw; line-height: .9; }
  .zahl-titel .zahl-text { margin-top: 14px; }
  .zahl-text { max-width: none; font-size: 22px; }
  .buehne { margin-top: 28px; }
  .reels { grid-template-columns: repeat(3, 1fr); gap: 24px 10px; }
  .beispiel-liste { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
  .beispiel-liste b { font-size: 19px; }
  .beispiel-liste p { font-size: 15px; }
  .reels b { font-size: 20px; bottom: 16px; }
  .reels a::before { inset: 6px; --l: 12px; }

  .preise { padding-top: 80px; padding-bottom: 88px; }
  .pakete li { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 0; }
  .pakete .was { grid-column: 1 / -1; grid-row: 2; font-size: 17px; }
  .pakete .name { font-size: 28px; }
  .pakete .preis { font-size: 32px; }
  .pakete .empfohlen { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .leistungen-raster { grid-template-columns: 1fr; gap: 20px; }

  .ueber { grid-template-columns: 1fr; gap: 32px; padding-top: 80px; padding-bottom: 88px; }
  .ueber-text h2 { white-space: normal; }
  .ueber-bild { width: 72%; justify-self: center; }
  .start { padding-top: 96px; padding-bottom: 88px; }
  .knopf-gross, .gratis .knopf { width: 100%; font-size: 18px; }
  .fuss-innen { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .buehne .reels, .js .buehne .reels li { opacity: 1 !important; transform: none !important; }
  .szene-sektion { height: auto; }
  .szene { position: static; height: auto; padding: 96px 0; }
  .schritte { min-height: 0; display: grid; gap: 24px; }
  .schritte li { position: static; opacity: 1 !important; transform: none !important; }
  .weiter, .schiene { display: none; }
  .schritt-reihe { grid-template-columns: 1fr; }
}

/* Platzhalter, bis die Videos der Zielgruppe da sind */
.platzhalter {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  font: 800 28px/1.1 var(--display); color: var(--band);
  background: repeating-linear-gradient(135deg, oklch(0.22 0.01 90) 0 14px, oklch(0.19 0.01 90) 14px 28px);
}
