/* casa Landingpage. Farben der Knete = Farben der Produktoberfläche (Terracotta als Akzent). */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #f3ecdf;
  --paper-2: #ece3d2;
  --card: #fffdf8;
  --ink: #15171b;
  --ink-2: #4c4a45;
  --ink-3: #7d786f;
  --line: #e0d6c4;
  --clay: #e15a2c;
  --clay-deep: #b9431d;
  --sage: #8fa886;
  --mustard: #e6b24c;
  --blue: #7b9ab8;
  --night: #1c1613;
  --s24: #b22222;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1180px, 100% - 2 * var(--gutter));
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --squish: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--clay-deep); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Typo ---------- */
.display, .statement, .h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -.022em; line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 5.3vw, 5.1rem); }
.statement { font-size: clamp(2.1rem, 3.9vw, 3.7rem); line-height: 1.03; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--clay-deep);
  margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: inset -1.5px -2px 0 rgba(0,0,0,.18); }
.eyebrow-light { color: var(--mustard); }
.eyebrow-light::before { background: var(--mustard); }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; margin-top: 1.4rem; }
.body { font-size: 1.12rem; color: var(--ink-2); max-width: 30em; margin-top: 1.2rem; }
.fineprint { font-size: .9rem; color: var(--ink-3); margin-top: 1.1rem; }
.time {
  font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--ink-3); margin-bottom: .9rem;
  font-variation-settings: "opsz" 40, "SOFT" 100;
}
.time-clay { color: var(--clay-deep); font-style: normal; font-weight: 600; }

/* Buchstaben, die unter dem Mauszeiger nachgeben (siehe main.js). */
.clay-text .w { display: inline-block; white-space: nowrap; }
.clay-text .ch { display: inline-block; transform-origin: 50% 100%; will-change: transform; }

/* ---------- Knöpfe aus Knete ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 600; font-size: 1.02rem; line-height: 1.1; letter-spacing: -.005em;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(0,0,0,.2), 0 10px 22px -10px rgba(60,30,10,.55);
  transition: transform .35s var(--squish), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: scale(1.045, .955); }
.btn:active { transform: scale(.97, .93) translateY(2px); box-shadow: inset 0 3px 0 rgba(0,0,0,.2), inset 0 -1px 0 rgba(0,0,0,.1), 0 3px 8px -6px rgba(60,30,10,.5); }
.btn-clay { --bg: var(--clay); }
.btn-clay:hover { --bg: #e9643a; }
.btn-ink { --bg: var(--ink); }
.btn-small { padding: .62rem 1.1rem; font-size: .92rem; }
.btn-big { padding: 1.15rem 2.1rem; font-size: 1.15rem; }
.btn-ghost, .btn-ghost-light {
  --bg: transparent; --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(21,23,27,.22);
}
.btn-ghost:hover { --bg: rgba(21,23,27,.05); }
.btn-ghost:active, .btn-ghost-light:active { box-shadow: inset 0 0 0 1.5px rgba(21,23,27,.4); }
.btn-ghost-light { --fg: #f6eee0; box-shadow: inset 0 0 0 1.5px rgba(246,238,224,.35); }
.btn-ghost-light:hover { --bg: rgba(246,238,224,.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; align-items: center; }
.link-quiet { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .3rem; }
.link-quiet:hover { color: var(--clay-deep); }
.link-arrow { display: inline-block; margin-top: 1.3rem; font-weight: 600; color: var(--clay-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .3s var(--squish); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled { background: rgba(243,236,223,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); padding-block: 9px; }
.nav.is-dark:not(.is-scrolled) { color: #f6eee0; }
.logo { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; }
.logo-mark {
  width: 20px; height: 18px; align-self: center; flex: none; display: inline-block;
  background: var(--clay);
  clip-path: polygon(50% 0, 100% 46%, 86% 46%, 86% 100%, 14% 100%, 14% 46%, 0 46%);
  border-radius: 3px;
}
.logo-word { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; line-height: 1; }
.logo-by { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.nav-links { display: flex; gap: 1.7rem; font-size: .93rem; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; color: var(--clay-deep); }
.nav-cta { display: flex; align-items: center; gap: .7rem; }

/* ---------- Bühne ---------- */
.stage { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); position: relative; }
.stage-scene {
  grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh;
  align-self: start;
}
.stage-steps { grid-column: 1; grid-row: 1; padding-left: var(--gutter); }
.clay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.scene-fallback {
  position: absolute; inset: 12% 10%; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 35% 30%, #f7c9a5, var(--clay) 70%); opacity: .0; transition: opacity .4s;
}
.no-webgl .scene-fallback { opacity: .35; }
.scene-hint {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--ink-3);
  padding: .4rem .9rem; border-radius: 999px; background: rgba(255,253,248,.7);
  transition: opacity .6s; white-space: nowrap; pointer-events: none;
}
.scene-hint.is-gone { opacity: 0; }

.step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 16vh; max-width: 36rem; }
.step > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.step.is-in > * { opacity: 1; transform: none; }
.step.is-in > *:nth-child(2) { transition-delay: .08s; }
.step.is-in > *:nth-child(3) { transition-delay: .16s; }
.step.is-in > *:nth-child(4) { transition-delay: .24s; }
.step.is-in > *:nth-child(5) { transition-delay: .32s; }
.step.is-in > *:nth-child(6) { transition-delay: .4s; }
.step-hero { padding-top: 15vh; }
.step-pain { min-height: 80vh; min-height: 80svh; }
.pains { margin-top: 1.5rem; display: grid; gap: .7rem; font-size: 1.14rem; color: var(--ink-2); }
.pains li { padding-left: 1.5rem; position: relative; }
.pains li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: inset -1.5px -2px 0 rgba(0,0,0,.18); }
.step-turn .btn { align-self: flex-start; margin-top: 1.8rem; }
.scroll-cue { margin-top: 3.2rem; font-size: .88rem; color: var(--ink-3); display: flex; align-items: center; gap: .7rem; }
.scroll-cue span { width: 1.5px; height: 34px; background: currentColor; display: inline-block; transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Abschnittsköpfe ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.4rem); }
section { position: relative; }
.demo-section { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); background: var(--paper-2); border-radius: 44px 44px 0 0; }

/* ---------- Demo: Freigaben ---------- */
.demo {
  background: #fafaf8; border-radius: 22px; overflow: hidden; color: #15171b;
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(70,40,15,.45), 0 0 0 1px rgba(60,40,20,.1);
  font-size: 15px;
}
.demo-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #efebe4; border-bottom: 1px solid #e3ded4; }
.demo-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #d8d1c4; }
.demo-url { margin-left: 14px; flex: 1; max-width: 360px; background: #fafaf8; border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: #7d786f; }
.demo-body { display: grid; grid-template-columns: 190px minmax(0, 1fr) 270px; min-height: 560px; }
.demo-side { border-right: 1px solid #ebe9e4; padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; background: #f7f5f1; }
.demo-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; padding: 0 8px; }
.demo-side ul { display: grid; gap: 2px; }
.demo-side li { padding: 8px 10px; border-radius: 9px; color: #666b72; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.demo-side li.is-active { background: #fff; color: #15171b; box-shadow: 0 0 0 1px #ebe9e4; }
.demo-side b { background: var(--clay); color: #fff; font-size: 11.5px; min-width: 21px; height: 21px; border-radius: 999px; display: grid; place-items: center; transition: transform .4s var(--squish), background .3s; }
.demo-side b.is-zero { background: var(--sage); }
.demo-side b.bump { transform: scale(1.35); }
.demo-clock { margin-top: auto; padding: 10px; font-size: 12.5px; color: #8a8f96; font-variant-numeric: tabular-nums; }
.demo-clock span { font-family: var(--display); font-size: 1.5rem; color: #15171b; font-weight: 600; display: block; line-height: 1; }
.demo-main { padding: 22px 22px 26px; min-width: 0; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 16px; }
.demo-top h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -.01em; }
.demo-top p { color: #666b72; font-size: 13.5px; }

.cards { display: grid; gap: 10px; }
.card {
  background: #fff; border: 1px solid #ebe9e4; border-radius: 14px; padding: 14px 16px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: start;
  transition: transform .5s var(--ease), opacity .45s var(--ease), box-shadow .25s, border-color .25s, max-height .55s var(--ease) .15s, margin .55s var(--ease) .15s, padding .55s var(--ease) .15s;
  max-height: 420px; overflow: hidden;
}
.card:hover { border-color: #d9d5ce; box-shadow: 0 8px 24px -16px rgba(40,25,10,.4); }
.card.is-leaving { transform: translateX(46px) rotate(1.4deg) scale(.96); opacity: 0; max-height: 0; padding-block: 0; margin-top: -10px; border-width: 0; pointer-events: none; }
.card-icon { width: 38px; height: 38px; border-radius: 12px 14px 11px 15px; display: grid; place-items: center; grid-row: span 2; box-shadow: inset -2px -3px 0 rgba(0,0,0,.12), inset 2px 2px 0 rgba(255,255,255,.3); }
.card-icon svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-rechnung { background: var(--clay); } .ic-bank { background: var(--blue); } .ic-post { background: var(--sage); } .ic-mahn { background: var(--mustard); }
.card-title { font-weight: 650; font-size: 15.5px; line-height: 1.3; }
.card-title small { font-weight: 500; color: #8a8f96; font-size: 12.5px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.card-amount { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15.5px; }
.card-text { grid-column: 2 / 4; color: #50545a; font-size: 14px; line-height: 1.45; }
.card-text b { color: #15171b; font-weight: 600; }
.card-why {
  grid-column: 2 / 4; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease);
}
.card-why > div { overflow: hidden; }
.card.is-why .card-why { grid-template-rows: 1fr; margin-top: 8px; }
.why-box { background: #f4f2ef; border-radius: 10px; padding: 11px 13px; font-size: 13.5px; color: #3d4046; border-left: 3px solid var(--clay); }
.why-box li { padding-left: 16px; position: relative; }
.why-box li + li { margin-top: 4px; }
.why-box li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.card-edit { grid-column: 2 / 4; display: none; gap: 8px; align-items: center; margin-top: 8px; font-size: 13.5px; flex-wrap: wrap; }
.card.is-edit .card-edit { display: flex; }
.card-edit select { font: inherit; padding: 6px 10px; border-radius: 9px; border: 1px solid #d9d5ce; background: #fff; }
.learn { grid-column: 2 / 4; margin-top: 8px; background: #fff7ea; border: 1px dashed #e6b24c; border-radius: 10px; padding: 10px 13px; font-size: 13.5px; display: none; gap: 10px; align-items: center; flex-wrap: wrap; }
.card.is-learn .learn { display: flex; }
.card-actions { grid-column: 2 / 4; display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; }
.act {
  border: 0; cursor: pointer; border-radius: 999px; padding: 8px 15px; font-weight: 600; font-size: 13.5px; background: #f4f2ef; color: #15171b;
  transition: transform .3s var(--squish), background .2s;
}
.act:hover { transform: scale(1.05, .95); background: #ebe7e0; }
.act:active { transform: scale(.96, .92); }
.act-go { background: var(--clay); color: #fff; box-shadow: inset 0 -3px 0 rgba(0,0,0,.16), inset 0 1.5px 0 rgba(255,255,255,.3); }
.act-go:hover { background: #e9643a; }
.act-why { background: transparent; color: #666b72; padding-inline: 8px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cfc9be; }
.act-why:hover { background: transparent; color: var(--clay-deep); }
.act-mini { padding: 5px 11px; font-size: 12.5px; }

.demo-done { text-align: center; padding: 54px 20px 30px; animation: pop .7s var(--squish) both; }
.demo-done h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 144, "SOFT" 100; line-height: 1.1; }
.demo-done p { color: #666b72; margin: 10px auto 20px; max-width: 26em; }
.done-check { width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%; background: var(--sage); display: grid; place-items: center; box-shadow: inset -6px -8px 0 rgba(0,0,0,.12), inset 5px 5px 0 rgba(255,255,255,.25), 0 16px 30px -16px rgba(40,60,30,.6); }
.done-check svg { width: 46px; height: 46px; fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; animation: draw .6s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }

.demo-log { border-left: 1px solid #ebe9e4; padding: 22px 16px; background: #f7f5f1; }
.demo-log h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8a8f96; margin-bottom: 14px; font-weight: 600; }
.demo-log ol { display: grid; gap: 0; position: relative; }
.demo-log li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; padding: 0 0 14px 0; font-size: 13px; line-height: 1.35; position: relative; animation: logIn .6s var(--ease) both; }
.demo-log li::before { content: ""; position: absolute; left: 46px; top: 5px; bottom: -5px; width: 1px; background: #e0dbd1; }
.demo-log li:last-child::before { display: none; }
.demo-log time { color: #8a8f96; font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; }
.demo-log span { padding-left: 14px; position: relative; color: #3d4046; }
.demo-log span::before { content: ""; position: absolute; left: -4px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #cfc9be; box-shadow: 0 0 0 3px #f7f5f1; }
.demo-log i { grid-column: 2; padding-left: 14px; font-style: normal; font-size: 11.5px; color: #8a8f96; }
.demo-log li.by-you span::before { background: var(--clay); }
.demo-log li.by-you i { color: var(--clay-deep); font-weight: 600; }
@keyframes logIn { from { opacity: 0; transform: translateY(-10px); } }
.demo-note { margin-top: 14px; font-size: .86rem; color: var(--ink-3); text-align: center; }

/* ---------- Werte ---------- */
.values { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--paper-2); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value {
  background: var(--card); border-radius: 26px; padding: 30px 28px 32px; position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(60,40,20,.07), 0 24px 40px -34px rgba(70,40,15,.5);
  transition: transform .5s var(--squish), box-shadow .3s;
}
.value:hover { transform: translateY(-5px) rotate(-.35deg); box-shadow: 0 0 0 1px rgba(60,40,20,.09), 0 34px 50px -34px rgba(70,40,15,.6); }
.value-blob {
  --c: var(--clay);
  width: 62px; height: 62px; margin-bottom: 24px; background: var(--c);
  border-radius: 58% 42% 47% 53% / 46% 55% 45% 54%;
  box-shadow: inset -7px -9px 0 rgba(0,0,0,.13), inset 5px 6px 0 rgba(255,255,255,.26), 0 14px 20px -14px rgba(60,30,10,.6);
  transition: border-radius .9s var(--squish), transform .9s var(--squish);
}
.value:hover .value-blob { border-radius: 42% 58% 55% 45% / 57% 42% 58% 43%; transform: rotate(14deg) scale(1.08, .94); }
.v-2 .value-blob { --c: var(--ink); border-radius: 22% 24% 22% 26%; }
.v-3 .value-blob { --c: var(--blue); border-radius: 50%; }
.v-4 .value-blob { --c: var(--mustard); border-radius: 50% 50% 16% 16% / 60% 60% 18% 18%; }
.v-5 .value-blob { --c: var(--sage); border-radius: 70% 30% 62% 38% / 38% 62% 38% 62%; }
.v-6 .value-blob { --c: #d98b6a; border-radius: 50% 50% 46% 54% / 34% 34% 66% 66%; }
.value-blob { display: grid; place-items: center; }
.value-blob svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-4 .value-blob svg { stroke: #3a2a10; }
.value-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .55rem; }
.value h3 { font-family: var(--display); font-weight: 600; font-size: 1.62rem; line-height: 1.1; letter-spacing: -.015em; font-variation-settings: "opsz" 100, "SOFT" 100; margin-bottom: .8rem; text-wrap: balance; }
.value p:last-child { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }

/* ---------- Win-CASA ---------- */
.wincasa { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--paper); }
.wincasa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.facts { margin-top: 2.2rem; display: grid; gap: 1.1rem; max-width: 34em; }
.facts li { padding-left: 2.1rem; position: relative; color: var(--ink-2); }
.facts li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 55% 45% 50% 50%; background: var(--sage); box-shadow: inset -2px -3px 0 rgba(0,0,0,.14); }
.facts b { color: var(--ink); }
.status-card { background: var(--card); border-radius: 28px; padding: 32px 30px; box-shadow: 0 0 0 1px rgba(60,40,20,.07), 0 30px 50px -36px rgba(70,40,15,.55); transform: rotate(.6deg); }
.status-card h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.015em; font-variation-settings: "opsz" 100, "SOFT" 100; }
.status-intro { color: var(--ink-2); margin: .5rem 0 1.5rem; font-size: 1rem; }
.status-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4rem; }
.status-label { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.status-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink-3); }
.status-label.is-live { color: #4f6b46; }
.status-label.is-live::before { background: var(--sage); border-color: var(--sage); }
.status-cols li { font-size: .97rem; padding: .34rem 0; border-top: 1px solid var(--line); line-height: 1.35; }
.status-cols li:first-child { border-top: 0; }

/* Kundenstimmen */
.voices { margin-top: clamp(3.5rem, 7vw, 6rem); }
.voices-label { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.4rem; }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.voice { margin: 0; background: var(--card); border-radius: 26px; padding: 2.6rem 1.7rem 1.6rem; position: relative; box-shadow: 0 0 0 1px rgba(60,40,20,.07), 0 24px 40px -34px rgba(70,40,15,.5); transition: transform .5s var(--squish); }
.voice:nth-child(1) { transform: rotate(-.7deg); } .voice:nth-child(2) { transform: translateY(14px) rotate(.5deg); } .voice:nth-child(3) { transform: rotate(-.3deg); }
.voice:hover { transform: translateY(-4px) rotate(0); }
.voice::before { content: "„"; position: absolute; top: -3.3rem; left: 1.4rem; font-family: var(--display); font-size: 5.2rem; line-height: 1; color: var(--clay); font-variation-settings: "opsz" 144, "SOFT" 100; }
.voice blockquote { margin: 0; font-family: var(--display); font-size: 1.22rem; line-height: 1.32; letter-spacing: -.01em; font-variation-settings: "opsz" 40, "SOFT" 100; }
.voice figcaption { margin-top: 1.1rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: .55rem; }
.voice figcaption::before { content: ""; width: 14px; height: 14px; border-radius: 55% 45% 50% 50%; background: var(--sage); box-shadow: inset -2px -2px 0 rgba(0,0,0,.14); }
.voices .link-arrow { margin-top: 2.2rem; }

/* ---------- Feierabend ---------- */
.finale { background: var(--night); color: #f6eee0; min-height: min(100vh, 900px); display: grid; align-items: center; overflow: hidden; border-radius: 44px 44px 0 0; }
.finale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 72% 62%, rgba(255,150,70,.22), transparent 70%); pointer-events: none; }
.finale-scene { position: absolute; inset: 0; }
.finale-copy { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 9rem); pointer-events: none; }
.finale-copy > * { max-width: 30rem; pointer-events: auto; }
.finale-copy > .display { max-width: 40rem; font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
.display-light { color: #fbf3e4; }
.lede-light { color: #cfc3b1; }

/* Lichtschalter und Nachtprotokoll */
.lights {
  margin-top: 2.2rem; display: inline-flex; align-items: center; gap: .9rem; cursor: pointer; text-align: left;
  background: rgba(246,238,224,.06); border: 1.5px solid rgba(246,238,224,.28); border-radius: 999px;
  color: #f6eee0; padding: .65rem 1.4rem .65rem .75rem; line-height: 1.2;
  transition: transform .35s var(--squish), background .2s, border-color .2s;
}
.lights:hover { background: rgba(246,238,224,.12); border-color: rgba(246,238,224,.5); transform: scale(1.03, .97); }
.lights b { display: block; font-weight: 600; font-size: 1rem; }
.lights small { display: block; font-size: .82rem; color: #b9ad9b; }
.finale:not(.is-night) .lights-knob { animation: beckon 2.4s ease-in-out infinite; }
@keyframes beckon { 0%, 100% { box-shadow: inset 0 2px 4px rgba(0,0,0,.5), 0 0 0 1.5px rgba(246,238,224,.18), 0 0 0 0 rgba(230,178,76,.5); } 50% { box-shadow: inset 0 2px 4px rgba(0,0,0,.5), 0 0 0 1.5px rgba(246,238,224,.18), 0 0 0 9px rgba(230,178,76,0); } }
.lights-knob {
  width: 50px; height: 28px; border-radius: 999px; background: #3a2e27; position: relative; flex: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.5), 0 0 0 1.5px rgba(246,238,224,.18);
  transition: background .4s;
}
.lights-knob::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mustard); box-shadow: inset -2px -3px 0 rgba(0,0,0,.18), 0 0 18px 4px rgba(255,180,80,.55);
  transform: translateX(22px); transition: transform .5s var(--squish), background .4s, box-shadow .4s;
}
.is-night .lights-knob::after { transform: none; background: #8d9bc4; box-shadow: inset -2px -3px 0 rgba(0,0,0,.2); }
.finale { transition: background 1.2s; }
.finale::before { transition: opacity 1.2s; }
.finale.is-night { background: #11131c; }
.finale.is-night::before { opacity: .15; }
.night-log { position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 5vw, 3.5rem); z-index: 3; display: grid; gap: .5rem; justify-items: end; max-width: min(24rem, 100% - 2 * var(--gutter)); pointer-events: none; }
.night-log li {
  background: rgba(246,238,224,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(246,238,224,.16); color: #f1e8d8; border-radius: 14px; padding: .55rem .9rem; font-size: .93rem; line-height: 1.35;
  animation: toast .7s var(--squish) both;
}
.night-log time { font-family: var(--display); font-weight: 600; color: var(--mustard); margin-right: .55rem; font-variant-numeric: tabular-nums; }
.night-log li.is-morning { background: var(--mustard); color: #2a1d10; border-color: transparent; font-weight: 600; }
.night-log li.is-morning time { color: #2a1d10; }
@keyframes toast { from { opacity: 0; transform: translateY(14px) scale(.92); } }

/* ---------- Fuß ---------- */
.footer { background: var(--night); color: #a89c8b; padding: 28px 0 36px; font-size: .9rem; border-top: 1px solid rgba(246,238,224,.1); }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: baseline; }
.footer-brand { display: flex; align-items: baseline; gap: .7rem; }
.footer-brand .logo-word { color: #f6eee0; font-size: 1.35rem; }
.s24 { color: #f6eee0; border-bottom: 2px solid var(--s24); }
.footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: #f6eee0; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  .demo-body { grid-template-columns: minmax(0, 1fr) 250px; }
  .demo-side { display: none; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-links, .logo-by { display: none; }
  .stage { display: block; }
  .stage-scene { height: 42svh; z-index: 3; background: linear-gradient(var(--paper) 86%, rgba(243,236,223,0)); }
  .stage-steps { padding-inline: var(--gutter); }
  .step, .step-pain { min-height: 58svh; padding-block: 6vh; max-width: none; }
  .step-hero { padding-top: 3vh; min-height: 0; padding-bottom: 12vh; }
  .scene-hint { display: none; }
  .scroll-cue { display: none; }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo-log { border-left: 0; border-top: 1px solid #ebe9e4; }
  .demo-log ol { max-height: 190px; overflow: auto; }
  .demo-main { padding: 16px 14px 20px; }
  .card { grid-template-columns: auto minmax(0, 1fr); padding: 13px; }
  .card-amount { grid-column: 2; }
  .card-text, .card-why, .card-actions, .card-edit, .learn { grid-column: 1 / -1; }
  .wincasa-grid { grid-template-columns: minmax(0, 1fr); }
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
  .voice:nth-child(n) { transform: none; }
  .status-card { transform: none; }
  .finale { display: block; min-height: 0; }
  .finale-scene { position: relative; inset: auto; height: 46svh; }
  .finale-copy { padding-top: 0; }
  .night-log { left: var(--gutter); right: var(--gutter); bottom: auto; top: calc(46svh - 12px); transform: translateY(-100%); justify-items: start; max-width: none; }
  .night-log li:not(:last-child) { display: none; }
  .demo-section, .finale { border-radius: 28px 28px 0 0; }
}
@media (max-width: 620px) {
  .value-grid { grid-template-columns: minmax(0, 1fr); }
  .status-cols { grid-template-columns: minmax(0, 1fr); }
  .nav-cta .link-quiet { display: none; }
  .demo-top { flex-wrap: wrap; }
  .demo-url { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .step > * { opacity: 1; transform: none; }
}

.finale.is-night .lights small { display: none; }
