/* KRUME (Beispiel) · 18 Zentimeter durch das Moos */
@font-face { font-family: "Mona Sans"; src: url("../schrift/mona-sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../schrift/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --tinte: #0c2410; --tinte2: #2c4a30; --nacht: #0a1d0d;
  --papier: #f8f4e4; --rahm: #fffdf5; --linie: rgba(12, 36, 16, .16);
  --moos: #2a8a1c; --blatt: #8fdc2a; --himmel: #c4e6fb; --himmel2: #8fcdf6; --sonne: #ffd23c; --pilz: #ff8a1f;
  --schrift: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --rand: 34px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--himmel); -webkit-text-size-adjust: 100%; }
body { font-family: var(--schrift); color: var(--tinte); background: var(--papier); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sonne); border-radius: 6px; }
.sprung { position: fixed; left: 12px; top: -80px; z-index: 99; background: var(--tinte); color: #fff; padding: 12px 16px; border-radius: 6px; }
.sprung:focus { top: 12px; }
.innen { width: min(1600px, 100%); margin: 0 auto; padding: 0 var(--rand); }

.marke { display: inline-block; font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--moos); }
.gross { font-weight: 620; font-size: clamp(36px, 5vw, 84px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }

/* ---------- Menü: ein schwebender Balken ---------- */
.nav { position: fixed; left: 50%; top: 14px; z-index: 50; transform: translateX(-50%); width: min(1532px, calc(100% - 28px)); display: flex; align-items: center; gap: 18px; padding: 7px 7px 7px 16px; border-radius: 999px; background: rgba(255, 253, 245, .94); box-shadow: 0 10px 34px rgba(12, 36, 16, .14); }
.logo { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 720; font-size: 21px; letter-spacing: -.03em; min-height: 44px; }
.logo svg { width: 28px; height: 28px; }
.logo-blatt { fill: none; stroke: var(--blatt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; font-weight: 540; font-size: 15px; transition: background .25s; }
.nav-links a:hover { background: var(--himmel); }
.nav-knopf { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--tinte); color: #fff; font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.nav-knopf:hover { background: var(--sonne); color: var(--tinte); }

/* ---------- Fahrt: ohne Skript und in der ruhigen Fassung stehen die vier Bilder untereinander ---------- */
.fahrt { position: relative; background: var(--himmel); }
.station { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.bild { position: absolute; inset: 0; }
.bild img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 253, 245, .86) 0, rgba(255, 253, 245, .62) 26%, rgba(255, 253, 245, 0) 56%); }
.s1 .schleier { background: linear-gradient(90deg, rgba(255, 253, 245, .8) 0, rgba(255, 253, 245, .5) 30%, rgba(255, 253, 245, 0) 60%); }
.text { position: absolute; left: max(var(--rand), calc(50% - 766px)); top: 50%; transform: translateY(-50%); width: min(620px, 46vw); }
.s1 .text { width: min(900px, 62vw); top: 46%; }
.ort { display: inline-block; padding: 8px 12px; border-radius: 999px; background: var(--tinte); color: var(--blatt); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
h1 { margin-top: 22px; font-weight: 640; font-size: clamp(54px, 9.4vw, 168px); line-height: .88; letter-spacing: -.055em; }
h1 .zeile { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
h1 .zeile > span { display: block; }
.js:not(.ruhig) h1 .zeile > span { transform: translateY(108%); animation: spross 1s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
.js:not(.ruhig) h1 .zeile + .zeile > span { animation-delay: .3s; }
@keyframes spross { to { transform: none; } }
.unterzeile { margin-top: 26px; max-width: 30em; font-size: clamp(17px, 1.45vw, 22px); font-weight: 480; color: var(--tinte); }
.wink { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.wink i { width: 44px; height: 2px; background: var(--tinte); transform-origin: left; animation: wink 2.2s ease-in-out infinite; }
@keyframes wink { 0%, 100% { transform: scaleX(.35); } 50% { transform: scaleX(1); } }
.wert { display: flex; align-items: baseline; gap: .12em; margin-top: 14px; font-weight: 640; font-size: clamp(84px, 13vw, 230px); line-height: .86; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.wert span { font-size: .3em; font-weight: 600; letter-spacing: -.03em; color: var(--moos); }
.station h2 { margin-top: 18px; font-weight: 620; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.satz-klein { margin-top: 14px; max-width: 30em; font-size: clamp(16px, 1.2vw, 19px); color: var(--tinte2); font-weight: 480; }
.wand, .spitzen, .mass { display: none; }

/* ---------- Fahrt als Bühne ---------- */
.js:not(.ruhig) .fahrt { height: 560vh; }
.js:not(.ruhig) .buehne { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.js:not(.ruhig) .station { position: absolute; inset: 0; height: auto; min-height: 0; }
.js:not(.ruhig) .station + .station { visibility: hidden; }
.js:not(.ruhig) .bild { inset: auto; left: 0; top: 50%; width: max(118vw, 177.78vh); aspect-ratio: 16 / 9; transform: translate3d(-3vw, -50%, 0); will-change: transform; }
.js:not(.ruhig) .bild img { object-fit: fill; }
.js:not(.ruhig) .station + .station .text { opacity: 0; }
.js:not(.ruhig) .wand { display: block; position: absolute; left: 0; bottom: -7vh; height: 128vh; visibility: hidden; pointer-events: none; will-change: transform; }
.wand img { height: 100%; width: auto; max-width: none; }
.js:not(.ruhig) .spitzen { display: block; position: absolute; left: 0; bottom: -4vh; height: 34vh; width: 460vw; background: url("../bilder/spitzen-weich.webp") repeat-x left bottom / auto 100%; pointer-events: none; will-change: transform; }
.js:not(.ruhig) .mass { display: flex; align-items: center; gap: 16px; position: absolute; left: max(var(--rand), calc(50% - 766px)); bottom: 26px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 253, 245, .94); box-shadow: 0 10px 30px rgba(12, 36, 16, .16); }
.mass-zahl { display: flex; align-items: baseline; gap: 5px; padding: 9px 13px; border-radius: 999px; background: var(--tinte); color: #fff; font: 600 17px/1 var(--mono); font-variant-numeric: tabular-nums; }
.mass-zahl span { font-size: 11px; color: var(--blatt); }
.mass-fenster { position: relative; width: min(300px, 26vw); height: 26px; overflow: hidden; }
.mass-band { position: absolute; left: 50%; top: 0; height: 100%; width: 1640px; background:
  repeating-linear-gradient(90deg, var(--tinte) 0 2px, transparent 2px 80px) left bottom / 100% 100% no-repeat,
  repeating-linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px 8px) left bottom / 100% 45% no-repeat; will-change: transform; }
.mass-zeiger { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; margin-left: -1px; background: var(--pilz); }
.mass-ziel { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tinte2); }

/* ---------- Messwerte ---------- */
.messen { position: relative; z-index: 2; background: var(--papier); padding: 120px 0 110px; border-radius: 36px 36px 0 0; margin-top: -36px; }
.messen-kopf { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px 60px; align-items: end; }
.messen-kopf .marke { grid-column: 1 / -1; }
.messen-text { font-size: 17px; color: var(--tinte2); max-width: 30em; }
.werte { margin-top: 64px; border-top: 2px solid var(--tinte); }
.werte li { position: relative; display: grid; grid-template-columns: 70px 1.25fr 1fr 190px; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--linie); transition: background .4s; }
.werte-nr { font: 500 13px/1 var(--mono); color: var(--moos); }
.werte-name h3 { font-weight: 620; font-size: clamp(26px, 3vw, 46px); letter-spacing: -.04em; line-height: 1; }
.werte-name p { margin-top: 10px; max-width: 32em; color: var(--tinte2); font-size: 16px; }
.werte-zahl b { display: block; font-weight: 620; font-size: clamp(40px, 5vw, 80px); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.werte-zahl span { display: block; margin-top: 8px; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tinte2); }
.werte-zahl b.tick { animation: tick .5s ease; }
@keyframes tick { 0% { color: var(--moos); transform: translateY(-4px); } 100% { color: inherit; transform: none; } }
.werte-bild { display: block; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; clip-path: circle(50%); }
.werte-bild img { width: 100%; height: 100%; object-fit: cover; }
.js:not(.ruhig) .werte-bild { clip-path: circle(0%); transition: clip-path 1s cubic-bezier(.2, .8, .2, 1) .15s; }
.js:not(.ruhig) .werte-bild img { transform: scale(1.5) rotate(-10deg); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .15s; }
.js:not(.ruhig) .werte li.da .werte-bild { clip-path: circle(50%); }
.js:not(.ruhig) .werte li.da .werte-bild img { transform: none; }
@media (hover: hover) { .werte li:hover .werte-bild img { transform: scale(1.12); transition-delay: 0s; transition-duration: .6s; } }

/* ---------- Ablauf: vier Blätter schieben sich übereinander ---------- */
.weg { position: relative; z-index: 2; background: var(--papier); padding: 30px 0 120px; }
.weg-kopf { display: grid; gap: 14px; max-width: 900px; }
.stapel { margin-top: 56px; }
.blatt { position: sticky; top: calc(96px + var(--i, 0) * 22px); display: grid; grid-template-columns: 150px 1.5fr 1fr; gap: 34px; align-items: center; min-height: 300px; padding: 44px 48px; border-radius: 28px; margin-bottom: 26px; box-shadow: 0 -14px 40px rgba(12, 36, 16, .1); transform-origin: 50% 0; }
.b1 { --i: 0; background: var(--himmel); }
.b2 { --i: 1; background: var(--blatt); }
.b3 { --i: 2; background: var(--sonne); }
.b4 { --i: 3; background: var(--tinte); color: #fff; margin-bottom: 0; }
.blatt-nr { font-weight: 640; font-size: clamp(90px, 11vw, 190px); line-height: .8; letter-spacing: -.06em; }
.blatt h3 { font-weight: 620; font-size: clamp(26px, 3vw, 46px); letter-spacing: -.04em; line-height: 1; }
.blatt p { margin-top: 12px; font-size: 17px; max-width: 34em; }
.blatt .blatt-fakt { margin: 0; justify-self: end; text-align: right; font: 500 13px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Haltung ---------- */
.haltung { position: relative; z-index: 2; background: linear-gradient(180deg, var(--himmel) 0, var(--himmel2) 100%); padding: 130px 0 0; overflow: hidden; }
.satz { margin-top: 26px; max-width: 17em; font-weight: 620; font-size: clamp(36px, 6.2vw, 108px); line-height: .98; letter-spacing: -.05em; }
.satz .wort { display: inline-block; }
.satz .hervor { color: var(--moos); }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 90px; padding-top: 30px; border-top: 2px solid var(--tinte); }
.zahlen dt { font-weight: 620; font-size: clamp(38px, 4.6vw, 76px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.zahlen dd { margin-top: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--tinte2); }
.haltung-gras { height: clamp(150px, 24vw, 330px); margin-top: 50px; margin-left: -20vw; width: 160vw; background: url("../bilder/spitzen.webp") repeat-x left bottom / auto 100%; }

/* ---------- Kontakt ---------- */
.kontakt { position: relative; z-index: 2; background: var(--papier); padding: 120px 0 130px; }
.kontakt-raster { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(30px, 6vw, 110px); align-items: center; }
.kontakt-bild { border-radius: 300px 300px 28px 28px; overflow: hidden; aspect-ratio: 11 / 14; }
.kontakt-bild img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.kontakt-text > p { margin-top: 18px; font-size: 18px; color: var(--tinte2); max-width: 30em; }
.formular { display: grid; gap: 18px; margin-top: 34px; max-width: 560px; }
.formular label { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.formular input[type="text"], .formular input[type="email"] { height: 54px; padding: 0 16px; border: 1.5px solid rgba(12, 36, 16, .3); border-radius: 14px; background: var(--rahm); font: 500 17px/1 var(--schrift); }
.formular input[aria-invalid="true"] { border-color: #b3261e; }
.formular input[type="range"] { width: 100%; height: 44px; accent-color: var(--moos); }
.regler { padding: 20px 22px; border-radius: 20px; background: var(--himmel); }
.regler output { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.regler output b { font: 640 40px/1 var(--schrift); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.regler output span { font-weight: 500; color: var(--tinte2); }
.knopf { justify-self: start; min-height: 58px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--tinte); color: #fff; font: 620 17px/1 var(--schrift); cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.knopf:hover { background: var(--sonne); color: var(--tinte); transform: translateY(-2px); }
.formular-hinweis { min-height: 1.4em; font-size: 15px; color: var(--tinte2); }

/* ---------- Einblenden ---------- */
.js:not(.ruhig) [data-zeig] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease var(--warte, 0s), transform .9s cubic-bezier(.2, .8, .2, 1) var(--warte, 0s); }
.js:not(.ruhig) [data-zeig].da { opacity: 1; transform: none; }

/* ---------- Fuß ---------- */
.fuss { position: relative; z-index: 2; background: var(--nacht); color: #f3f1e8; padding: 70px 0 44px; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px; align-items: end; }
.fuss-logo { font-size: clamp(64px, 13vw, 220px); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: var(--blatt); }
.fuss-klein { margin-top: 22px; max-width: 420px; font-size: 14px; opacity: .75; }
.fuss nav { display: grid; gap: 2px; font-weight: 540; font-size: 15px; }
.fuss nav a { display: flex; align-items: center; min-height: 44px; }
.fuss nav a:hover { color: var(--blatt); }
.fuss :focus-visible, .b4 :focus-visible { outline-color: #fff; }
.zeichen-liste { display: flex; gap: 6px; }
.zeichen-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 241, 232, .3); transition: background .3s, color .3s; }
.zeichen-link:hover { background: var(--blatt); color: var(--tinte); }
.zeichen { width: 18px; height: 18px; }

/* ---------- Schmal ---------- */
@media (max-width: 1100px) {
  .werte li { grid-template-columns: 44px 1fr 150px; }
  .werte-zahl { grid-column: 2; grid-row: 2; }
  .werte-bild { grid-column: 3; grid-row: 1 / span 2; width: 150px; height: 150px; }
  .blatt { grid-template-columns: 110px 1fr; }
  .blatt .blatt-fakt { grid-column: 2; justify-self: start; text-align: left; }
}
@media (max-width: 820px) {
  :root { --rand: 20px; }
  .nav-links { display: none; }
  .nav { padding-left: 14px; }
  .schleier, .s1 .schleier { background: linear-gradient(180deg, rgba(255, 253, 245, .9) 0, rgba(255, 253, 245, .74) min(34%, 300px), rgba(255, 253, 245, 0) max(58%, 430px)); }
  .bild img { object-position: 68% 30%; }
  .js:not(.ruhig) .bild { top: 0; width: 231.2vh; transform: translate3d(-3vw, 0, 0); }
  .text, .s1 .text { left: var(--rand); right: var(--rand); width: auto; top: 96px; transform: none; }
  h1 { font-size: clamp(50px, 15.5vw, 92px); margin-top: 16px; }
  .unterzeile { margin-top: 16px; }
  .wink { margin-top: 18px; }
  .wert { font-size: clamp(76px, 25vw, 130px); margin-top: 12px; }
  .station h2 { margin-top: 10px; }
  .satz-klein { margin-top: 8px; font-size: 15.5px; }
  .js:not(.ruhig) .mass { left: var(--rand); bottom: 18px; gap: 10px; padding-right: 14px; }
  .mass-ziel { display: none; }
  .mass-fenster { width: 38vw; }
  .messen { padding: 84px 0 70px; border-radius: 26px 26px 0 0; margin-top: -26px; }
  .messen-kopf { grid-template-columns: 1fr; }
  .werte { margin-top: 40px; }
  .werte li { grid-template-columns: 1fr 104px; gap: 12px 16px; padding: 24px 0; }
  .werte-nr { grid-column: 1; }
  .werte-name { grid-column: 1; }
  .werte-zahl { grid-column: 1; grid-row: auto; }
  .werte-bild { grid-column: 2; grid-row: 1 / span 3; width: 104px; height: 104px; align-self: start; }
  .weg { padding-bottom: 80px; }
  .blatt { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; min-height: 0; top: calc(84px + var(--i, 0) * 14px); border-radius: 22px; }
  .blatt-nr { font-size: 84px; }
  .blatt .blatt-fakt { grid-column: 1; }
  .haltung { padding-top: 90px; }
  .zahlen { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .kontakt { padding: 80px 0 90px; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .kontakt-bild { max-width: 340px; aspect-ratio: 1 / 1; border-radius: 50%; }
  .fuss-raster { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 820px) and (max-height: 700px) { .satz-klein { display: none; } }
@media (max-height: 560px) { .unterzeile, .wink, .satz-klein { display: none; } h1 { font-size: clamp(44px, 11vw, 92px); } .wert { font-size: clamp(64px, 14vw, 120px); } }

/* ---------- Rechtliches ---------- */
.recht-seite { background: var(--papier); }
.recht-seite .nav { position: static; transform: none; margin: 14px auto 0; }
.recht { width: min(820px, 100%); margin: 0 auto; padding: 60px var(--rand) 110px; }
.recht h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 620; letter-spacing: -.045em; line-height: .95; margin: 0 0 26px; }
.recht h2 { margin: 44px 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.recht p, .recht dd { font-size: 16.5px; color: #33473a; }
.recht p + p { margin-top: 12px; }
.recht dl { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 10px 20px; }
.recht dt { font: 500 11px/1.9 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.recht-kasten { padding: 18px 20px; border-radius: 12px; background: var(--tinte); color: #f3f1e8 !important; }
.recht a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .recht dl { grid-template-columns: 1fr; gap: 2px; } .recht dd { margin-bottom: 10px; } }
