/* KLARVOO · Richtung „Renovierung“ */

@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans-400-700.woff2) format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Gloock"; src: url(fonts/gloock-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/schibsted-grotesk-400-700.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-300-600.woff2) format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(fonts/newsreader-300-500-i.woff2) format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Onest"; src: url(fonts/onest-400-800.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --paper: #FBFBF9;
  --paper-2: #F0F0EB;
  --ink: #0F0F10;
  --ink-2: #54555A;
  --line: rgba(15, 15, 16, .14);
  --blue: #2338C8;
  --blue-2: #1A2AA0;
  --blue-soft: #A9B6FF;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --g: clamp(18px, 3.2vw, 48px);
  --section: clamp(88px, 11vw, 168px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.display { font-family: var(--sans); font-stretch: 75%; font-weight: 700; text-transform: uppercase; line-height: .86; letter-spacing: -.02em; }
.display > span { color: var(--blue); }
.display > .w { color: inherit; }
.h2 { font-size: clamp(2.6rem, 1rem + 6.4vw, 7.4rem); }

.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.logo { display: block; height: 15px; width: auto; flex: none; }
.logo__k { fill: var(--blue); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border: 0; background: var(--blue); color: #fff; font: 600 17px/1.15 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.btn:hover { background: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"] span::after { content: ""; display: inline-block; width: .9em; height: .9em; margin-left: .6em; vertical-align: -.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formular ---------- */
.lead { container-type: inline-size; width: 100%; }
.lead__fields { display: grid; gap: 0; border: 2px solid var(--ink); }
@container (min-width: 640px) { .lead__fields { grid-template-columns: repeat(3, 1fr); } .lead__fields .btn { grid-column: 1 / -1; } .lead__fields .field + .field { border-left: 2px solid var(--ink); } }
.field { display: flex; flex-direction: column; padding: 12px 16px 10px; background: #fff; border-bottom: 2px solid var(--ink); transition: background-color 200ms ease; }
.field:focus-within { background: #F4F6FF; }
.field label { font-size: 13px; color: var(--ink-2); }
.field input { border: 0; background: transparent; outline: 0; padding: 4px 0 0; font: 500 19px/1.3 var(--sans); color: var(--ink); min-width: 0; width: 100%; }
.field input::placeholder { color: var(--ink-2); }
.field input[aria-invalid="true"] { color: #B3261E; }
.field__error { font-size: 13px; color: #B3261E; padding-top: 4px; }
.lead .btn { min-height: 64px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__note { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.lead__status:empty { display: none; }
.lead__status { margin-top: 12px; padding: 16px 18px; background: var(--blue); color: #fff; font-size: 16px; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
.lead__status strong { display: block; font: 700 26px/1 var(--sans); font-stretch: 75%; text-transform: uppercase; margin-bottom: 6px; }
.lead__status.is-error { background: #B3261E; }
.lead.is-done .lead__fields, .lead.is-done .lead__note { display: none; }
.lead__plan { margin-bottom: 12px; padding: 12px 16px; border: 2px solid var(--blue-soft); color: #fff; font-size: 16px; }
@starting-style { .lead__status { opacity: 0; transform: translateY(8px); } }

/* =========================================================
   HERO · RENOVIERUNG
   ========================================================= */
.reno { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; overflow: hidden; background: #050507; }
.reno__old, .reno__new { position: absolute; inset: 0; }
.reno__new { background: var(--paper); display: flex; flex-direction: column; transform-origin: 50% 50%; }
.js .reno__new { visibility: hidden; }
.js .reno.is-on .reno__new { visibility: visible; }
.js .reno.is-on .reno__old { visibility: hidden; }

/* --- 2004 --- */
.reno__old {
  background-color: #000033;
  background-image: radial-gradient(#fff 1px, transparent 1.6px), radial-gradient(#FFFF66 1px, transparent 1.6px), radial-gradient(rgba(255,255,255,.6) .8px, transparent 1.2px);
  background-size: 70px 70px, 110px 110px, 37px 37px; background-position: 0 0, 35px 55px, 12px 20px;
  display: flex; justify-content: center; padding-top: 18px;
}
.y2k { width: 780px; flex: none; transform-origin: 50% 0; transform: scale(var(--ys, 1)); align-self: flex-start; background: #fff; border: 6px ridge #C0C0C0; font: 13px/1.4 "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive; color: #000080; }
.y2k__head { padding: 16px 12px 12px; text-align: center; background: linear-gradient(180deg, #000080, #1084D0); }
.y2k__title { display: inline-block; font: 900 46px/1 "Arial Black", Impact, sans-serif; letter-spacing: -1px; background: linear-gradient(90deg, #FF0000, #FF9900, #FFFF00, #33FF00, #00FFFF, #3366FF, #FF00FF); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(3px 3px 0 #000); transform: skewX(-8deg) scaleY(1.15); }
.y2k__slogan { color: #FFFF00; font-size: 17px; font-weight: bold; margin-top: 6px; animation: y2k-blink 1s steps(1) infinite; }
.y2k__marquee { display: block; background: #CC0000; color: #FFFF00; font-weight: bold; font-size: 14px; padding: 4px 0; border-top: 2px solid #FF6666; border-bottom: 2px solid #800000; }
.y2k__cols { display: flex; background: #C0C0C0; }
.y2k__nav { width: 172px; flex: none; padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; background: #008080; }
.y2k__nav > span { display: block; background: #D4D0C8; border: 3px outset #fff; padding: 4px 6px; font: bold 12px/1.2 Verdana, sans-serif; color: #000080; }
.y2k__ring { margin-top: 10px; padding: 6px; border: 2px dashed #FFFF00; color: #FFFF00; font: 10px/1.35 Verdana, sans-serif; text-align: center; }
.y2k__ring b { display: block; font-size: 12px; }
.y2k__main { flex: 1; background: #FFFFCC; padding: 12px 16px 14px; text-align: center; }
.y2k__construction { margin: 0 auto 12px; padding: 6px; border: 8px solid transparent; border-image: repeating-linear-gradient(45deg, #000 0 10px, #FFD700 10px 20px) 8; background: #FFFF99; color: #CC0000; font: bold 13px/1.3 Verdana, sans-serif; }
.y2k__construction span { font-size: 16px; animation: y2k-blink .8s steps(1) infinite; }
.y2k__h1 { font: bold 24px/1.2 "Comic Sans MS", cursive; color: #800080; text-shadow: 2px 2px 0 #FF99FF; margin: 0 0 10px; text-decoration: underline; }
.y2k__main p { margin: 0 0 9px; }
.y2k__new { display: inline-block; background: #FF0000; color: #FFFF00; font: bold 11px/1 Verdana, sans-serif; padding: 3px 5px; transform: rotate(-8deg); animation: y2k-blink .6s steps(1) infinite; }
.y2k__hr { height: 5px; margin: 12px 0; background: linear-gradient(90deg, #FF0000, #FF9900, #FFFF00, #33FF00, #00FFFF, #3366FF, #FF00FF); border: 1px solid #808080; }
.y2k__link { color: #0000EE; font-weight: bold; font-size: 15px; }
.y2k__counter { margin: 10px 0; font: 12px Verdana, sans-serif; color: #000; }
.y2k__counter span { display: inline-block; margin-left: 2px; background: #000; color: #00FF00; font: bold 16px/1 "Courier New", monospace; padding: 4px 5px; border: 1px inset #666; }
.y2k__badges { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.y2k__badges span { width: 88px; height: 31px; display: grid; place-items: center; font: bold 8px/1.1 Verdana, sans-serif; text-align: center; border: 1px solid #000; }
.y2k__badges span:nth-child(1) { background: #FFCC00; color: #000; }
.y2k__badges span:nth-child(2) { background: #000080; color: #fff; }
.y2k__badges span:nth-child(3) { background: #009900; color: #FFFF00; }
.y2k__badges span:nth-child(4) { background: #FF66CC; color: #fff; }
.y2k__music { margin-top: 6px; font: bold 11px/1 Verdana, sans-serif; color: #00FF00; }
.y2k__flash { margin-top: 8px; padding: 6px; background: #000; border: 2px solid #FF0000; color: #fff; font: 10px/1.35 Verdana, sans-serif; text-align: center; }
.y2k__flash b { color: #FF6600; }
.y2k__flash u { color: #FFFF00; }
.y2k__crumb { text-align: left; font: 10px/1.3 Verdana, sans-serif; color: #666; margin-bottom: 8px; }
.y2k__table { margin: 6px auto 0; border: 3px outset #999; border-collapse: separate; border-spacing: 2px; background: #CCCCCC; font: 11px/1.3 "Times New Roman", serif; color: #000; }
.y2k__table th { background: #000080; color: #FFFF00; padding: 3px 8px; font: bold 11px Arial, sans-serif; }
.y2k__table td { background: #fff; padding: 3px 8px; border: 1px inset #999; }
.y2k__fav { font-size: 11px; color: #008000; }
.reno.is-narrow .reno__old { justify-content: flex-start; padding-left: 8px; }
.reno.is-narrow .y2k { transform-origin: 0 0; }
.y2k__foot { background: #C0C0C0; border-top: 3px outset #fff; padding: 6px; font: 10px/1.4 "Times New Roman", serif; color: #333; text-align: center; }
@keyframes y2k-blink { 50% { visibility: hidden; } }

/* --- Heute --- */
.mast { display: flex; align-items: center; gap: 32px; padding: 22px var(--g); }
.mast__nav { display: flex; gap: 28px; margin-left: auto; font-size: 16px; }
.mast__nav a, .foot nav a { text-decoration: none; color: var(--ink-2); transition: color 200ms ease; }
.mast__nav a:hover, .foot nav a:hover { color: var(--ink); }
.mast__cta { text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 18px; box-shadow: inset 0 0 0 2px var(--ink); transition: background-color 200ms ease, color 200ms ease; }
.mast__cta:hover { background: var(--ink); color: var(--paper); }
.reno__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--g) clamp(28px, 4vw, 56px); }
.reno__h1 { font-size: clamp(3.3rem, 1rem + 9.4vw, 12rem); margin-bottom: clamp(24px, 3vw, 44px); }
.reno__h1 span { display: block; }
.reno__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 56px); align-items: end; }
.reno__lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 30em; }

.reno__replay { border: 0; background: transparent; font: 500 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; padding: 10px 4px; white-space: nowrap; transition: color 200ms ease; }
.reno__replay:hover { color: var(--blue); }
@media (max-width: 600px) { .reno__replay .long { display: none; } .mast { gap: 14px; } .mast__cta { font-size: 14px; padding: 10px 12px; } }
.mast__cta { white-space: nowrap; }
@media (max-width: 420px) { .mast { gap: 12px; } .reno__replay { display: none; } }
@media (max-width: 350px) { .mast__cta { padding: 9px 10px; font-size: 13px; } }

/* =========================================================
   VERSPRECHEN
   ========================================================= */
.pledge { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.pledge__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22em); gap: 16px 48px; align-items: end; padding: clamp(22px, 3vw, 40px) var(--g); will-change: transform; }
.pledge__row + .pledge__row { border-top: 1px solid var(--line); }
.pledge__row[data-dir="1"] { grid-template-columns: minmax(0, 22em) minmax(0, 1fr); }
.pledge__row[data-dir="1"] .pledge__big { order: 2; text-align: right; }
.pledge__big { font: 700 clamp(3rem, 1rem + 8vw, 10rem)/.84 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.03em; white-space: nowrap; }
.pledge__big span { color: var(--blue); }
.pledge__sub { font-size: clamp(16px, 1.25vw, 20px); color: var(--ink-2); padding-bottom: .4em; }
@media (max-width: 760px) {
  .pledge__row, .pledge__row[data-dir="1"] { grid-template-columns: 1fr; }
  .pledge__row[data-dir="1"] .pledge__big { order: 0; text-align: left; }
  .pledge__big { white-space: normal; }
}

/* =========================================================
   BEISPIELE
   ========================================================= */
.cases { padding-top: var(--section); }
.cases__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; padding: 0 var(--g) clamp(24px, 4vw, 56px); }
.cases__lede { color: var(--ink-2); max-width: 30em; }
.case { height: 230vh; position: relative; }
.case + .case { border-top: 2px solid var(--ink); }
.case__sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: 0 var(--g); }
.case__n { font-size: 14px; color: var(--blue); font-weight: 600; margin-bottom: 18px; }
.case__name { font: 700 clamp(2rem, 1rem + 2.8vw, 3.8rem)/.9 var(--sans); font-stretch: 75%; text-transform: uppercase; margin-bottom: 22px; }
.case__idea { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); max-width: 26em; margin-bottom: 26px; }
.case__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.case__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 12px; }
.case__list li::before { content: "→"; color: var(--blue); }
.frame { border: 2px solid var(--ink); background: #fff; box-shadow: 14px 14px 0 var(--ink); }
.frame__bar { height: 34px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid var(--ink); background: var(--paper-2); font-size: 13px; color: var(--ink-2); }
.frame__screen { position: relative; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.seam { position: absolute; top: 0; bottom: 0; left: calc((1 - var(--r, 0)) * 100%); width: 0; pointer-events: none; transition: opacity 240ms var(--ease-out); }
/* Fertig renoviert: Linie und Griff treten zurück, damit sie nichts verdecken */
.frame.is-done .seam { opacity: 0; }
.frame.is-done .seam__knob { pointer-events: none; }
.seam i { position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--blue); }
.seam__knob { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--sans); pointer-events: auto; cursor: ew-resize; touch-action: none; transition: transform 160ms var(--ease-out); }
.frame.is-drag .seam__knob { transform: scale(1.12); }
@media (hover: hover) and (pointer: fine) { .frame__screen:hover .seam__knob { transform: scale(1.08); } }
.cases__note { padding: 28px var(--g) 0; font-size: 14px; color: var(--ink-2); }

/* =========================================================
   ABLAUF
   ========================================================= */
.flow { padding: var(--section) var(--g) 0; }
.oldway { display: flex; flex-wrap: wrap; gap: 8px 34px; margin: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); font: 700 clamp(1.6rem, 1rem + 2vw, 3rem)/1 var(--sans); font-stretch: 75%; text-transform: uppercase; color: var(--ink-2); }
.oldway li { position: relative; }
.oldway li::after { content: ""; position: absolute; left: -4%; right: -4%; top: 50%; height: 4px; margin-top: -2px; background: var(--blue); transform-origin: 0 50%; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.step { padding: 28px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 2px solid var(--ink); }
.step__n { display: block; font-size: clamp(6rem, 3rem + 9vw, 13rem); line-height: .8; color: var(--blue); margin-bottom: 24px; }
.step h3 { font: 700 26px/1.1 var(--sans); margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 26em; }

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.scope { padding: var(--section) var(--g) 0; }
.scope__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.scope__head p { color: var(--ink-2); max-width: 28em; }
.scope__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.scope__list li { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.scope__list li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.scope__list b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.scope__extra { margin-top: 28px; color: var(--ink-2); }
.scope__extra span { color: var(--ink); font-weight: 600; }

/* =========================================================
   VERGLEICH
   ========================================================= */
.versus { padding: var(--section) var(--g) 0; }
.versus .h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.vs { width: 100%; border-collapse: collapse; font-size: 18px; }
.vs th, .vs td { text-align: left; padding: 20px 20px; border-bottom: 1px solid var(--line); }
.vs thead th { font-size: 15px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.vs tbody th { font-weight: 500; padding-left: 0; width: 30%; }
.vs td { color: var(--ink-2); }
.vs .us { background: var(--blue); color: #fff; font-weight: 600; border-bottom-color: rgba(255,255,255,.2); }
.vs thead .us { color: #fff; border-bottom-color: var(--blue); }

/* =========================================================
   PREISE
   ========================================================= */
.prices { padding: var(--section) var(--g) 0; }
.prices .h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.plans { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border: 2px solid var(--ink); }
.plan { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; }
.plan--abo { background: var(--blue); color: #fff; }
.plan--kauf { border-left: 2px solid var(--ink); }
.plan__tag { align-self: flex-start; font-size: 13px; font-weight: 600; background: #fff; color: var(--blue); padding: 6px 10px; margin-bottom: 20px; }
.plan__name { font: 700 28px/1 var(--sans); margin-bottom: 18px; }
.plan__amt { font-size: clamp(4.4rem, 2rem + 8vw, 10rem); line-height: .82; }
.plan--abo .plan__amt { color: #fff; }
.plan__unit { margin: 10px 0 26px; opacity: .8; }
.plan ul { display: grid; gap: 10px; margin-bottom: 34px; padding-top: 24px; border-top: 1px solid currentColor; }
.plan--abo ul { border-top-color: rgba(255,255,255,.35); }
.plan--kauf ul { border-top-color: var(--line); }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "+"; position: absolute; left: 0; font-weight: 700; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.prices__note { margin-top: 18px; color: var(--ink-2); font-size: 15px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--section) var(--g) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; }
.faq .h2 { position: sticky; top: 24px; align-self: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; transition: color 200ms ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: .8; color: var(--blue); transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44em; }
.faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 300ms var(--ease-out), opacity 250ms ease, content-visibility 300ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }

/* =========================================================
   ÜBER
   ========================================================= */
.about { padding: var(--section) var(--g); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 48px; }
.about__label { font-size: 16px; font-weight: 600; color: var(--blue); }
.about__text { font-size: clamp(22px, 1rem + 1.2vw, 34px); line-height: 1.3; letter-spacing: -.01em; max-width: 34em; }

/* =========================================================
   ABSCHLUSS
   ========================================================= */
.closing { background: var(--ink); color: var(--paper); padding: var(--section) var(--g); }
.closing__title { font-size: clamp(3.2rem, 1rem + 10vw, 13rem); line-height: 1.04; margin-bottom: clamp(32px, 4vw, 64px); }
.closing__title span { display: block; color: var(--blue-soft); }
.lead--dark .lead__fields { border-color: var(--paper); }
.lead--dark .field { background: #1B1B1D; border-color: var(--paper) !important; }
.lead--dark .field + .field { border-left-color: var(--paper); }
.lead--dark .field:focus-within { background: #24252B; }
.lead--dark .field label { color: #A9AAAF; }
.lead--dark .field input { color: #fff; }
.lead--dark .field input::placeholder { color: #A9AAAF; }
.lead--dark .lead__note { color: #A9AAAF; }
.lead--dark .lead__note a { color: #fff; }
.lead--dark .btn:hover { background: #fff; color: var(--blue); }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px var(--g); font-size: 15px; color: var(--ink-2); }
.foot .wordmark { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; }

/* =========================================================
   RÖHRENMONITOR · Wechsel 2004 → heute
   ========================================================= */
.reno__scan { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 2px, transparent 2px 4px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55)); }
.reno__beam { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; z-index: 6; pointer-events: none; opacity: 0; background: #fff;
  box-shadow: 0 0 18px 4px rgba(190, 205, 255, .95), 0 0 80px 20px rgba(35, 56, 200, .55); }
.reno.is-glitch .y2k { animation: kv-glitch 480ms steps(2, jump-none) both; }
.reno.is-glitch .reno__scan { opacity: 1; transition: opacity 120ms linear; }
@keyframes kv-glitch {
  0%   { transform: scale(var(--ys, 1)); filter: none; }
  15%  { transform: scale(var(--ys, 1)) translateX(-14px) skewX(-4deg); filter: drop-shadow(-8px 0 0 rgba(255,0,60,.85)) drop-shadow(8px 0 0 rgba(0,240,255,.85)) contrast(1.6); }
  30%  { transform: scale(var(--ys, 1)) translateX(10px); filter: saturate(3) hue-rotate(40deg) brightness(1.4); }
  45%  { transform: scale(var(--ys, 1)) translate(-6px, 6px) skewX(6deg); filter: drop-shadow(12px 0 0 rgba(255,0,60,.9)) drop-shadow(-12px 0 0 rgba(0,240,255,.9)); }
  60%  { transform: scale(var(--ys, 1)) translateX(0); filter: invert(1) contrast(1.4); }
  75%  { transform: scale(var(--ys, 1)) translateX(18px) skewX(-8deg); filter: brightness(2) saturate(0); }
  100% { transform: scale(var(--ys, 1)); filter: brightness(1.6); }
}

/* Hero-Aufbau nach dem Einschalten */
.reno__h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }
.reno__h1 .wi { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .reno__h1 .wi { transform: translateY(108%); }
  .js .reno.is-live .reno__h1 .wi { transform: none; transition: transform 1000ms var(--ease-out); transition-delay: calc(120ms + var(--wi, 0) * 55ms); }
  .js .reno .mast, .js .reno .reno__lede, .js .reno .lead { opacity: 0; transform: translateY(14px); }
  .js .reno.is-live .mast, .js .reno.is-live .reno__lede, .js .reno.is-live .lead { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .reno.is-live .mast { transition-delay: 80ms; }
  .js .reno.is-live .reno__lede { transition-delay: 520ms; }
  .js .reno.is-live .lead { transition-delay: 640ms; }
}

/* Abschluss: beginnt als 2004-WordArt und schaltet um */
.closing__title.is-old { font: 900 clamp(2.6rem, 1rem + 6vw, 7rem)/1.05 "Comic Sans MS", "Chalkboard SE", cursive; text-transform: none; letter-spacing: 0; background: linear-gradient(90deg, #FF0000, #FF9900, #FFFF00, #33FF00, #00FFFF, #3366FF, #FF00FF); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(4px 4px 0 #000080); }
.closing__title.is-old span { color: transparent; }
.closing__title.is-glitch { animation: kv-glitch-t 420ms steps(2, jump-none) both; }
@keyframes kv-glitch-t {
  0% { transform: none; }
  25% { transform: translateX(-12px) skewX(-6deg); filter: drop-shadow(-8px 0 0 rgba(255,0,60,.9)) drop-shadow(8px 0 0 rgba(0,240,255,.9)); }
  50% { transform: scaleY(.04); filter: brightness(3); }
  75% { transform: scaleY(1) translateX(8px); filter: drop-shadow(10px 0 0 rgba(255,0,60,.8)); }
  100% { transform: none; filter: none; }
}

/* Preise: das Abo schaltet sich ein wie ein Bildschirm */
.plan--abo { clip-path: inset(0 0); }
.plan--abo.is-off { clip-path: inset(49.6% 0); }
.plan--abo.is-switching { transition: clip-path 700ms var(--ease-in-out) 150ms, opacity .7s var(--ease-out), transform .9s var(--ease-out); }

/* =========================================================
   BEWEGUNG
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0s); }
  .js .rv.is-in { opacity: 1; transform: none; }
  .js .oldway li::after { transform: scaleX(0); transition: transform 500ms var(--ease-out); transition-delay: calc(200ms + var(--i, 0) * 140ms); }
  .js .oldway.is-in li::after { transform: scaleX(1); }
  .js .versus__wrap tbody tr { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(100ms + var(--i, 0) * 70ms); }
  .js .versus__wrap.is-in tbody tr { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 0; transition: opacity 400ms ease; }
  .js .rv.is-in { opacity: 1; }
  .y2k__slogan, .y2k__construction span, .y2k__new { animation: none; }
}

/* =========================================================
   RESPONSIV
   ========================================================= */
@media (max-width: 900px) {
  .mast__nav { display: none; }
  .mast__cta { margin-left: auto; }
  .reno__row { grid-template-columns: 1fr; }
  .cases__head, .scope__head { grid-template-columns: 1fr; }
  .case { height: 210vh; }
  .case__sticky { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
  .case__list { display: none; }
  .case__idea { margin-bottom: 0; font-size: 15px; }
  .case__n { margin-bottom: 8px; }
  .case__name { margin-bottom: 10px; }
  .case__fig { justify-self: center; width: min(250px, 62vw); }
  .frame { box-shadow: 8px 8px 0 var(--ink); }
  .frame__bar { height: 26px; font-size: 11px; }
  .screen { aspect-ratio: 390 / 780; }
  .seam__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; border-left: 0; }
  .step + .step { border-top: 2px solid var(--ink); }
  .scope__list { grid-template-columns: 1fr; }
  .scope__list li, .scope__list li:not(:nth-child(3n+1)) { padding: 18px 0; border-left: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan--kauf { border-left: 0; border-top: 2px solid var(--ink); }
  .plan .btn { align-self: stretch; }
  .faq, .about { grid-template-columns: 1fr; }
  .faq .h2 { position: static; }
  .vs thead { display: none; }
  .vs, .vs tbody { display: block; }
  .vs tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding: 14px 0; }
  .vs tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 8px; border: 0; }
  .vs td { border: 0; padding: 8px 10px; font-size: 15px; }
  .vs td::before { display: block; font-size: 12px; font-weight: 600; opacity: .7; margin-bottom: 2px; }
  .vs td:nth-of-type(1)::before { content: "Agentur"; }
  .vs td:nth-of-type(2)::before { content: "Baukasten"; }
  .vs td:nth-of-type(3)::before { content: "KLARVOO"; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 900px) and (max-height: 700px) { .case__idea { display: none; } }

.ai-note { padding: 0 var(--g) 18px; font-size: 13px; color: var(--ink-2); }

/* ---------- Unterseiten ---------- */
.legal { max-width: 46rem; margin: 0 auto; padding: 2rem var(--g) var(--section); }
.legal h1 { font: 700 clamp(2.6rem, 1rem + 5vw, 5rem)/.9 var(--sans); font-stretch: 75%; text-transform: uppercase; margin-bottom: 2rem; }
.legal h2 { font: 700 1.4rem/1.2 var(--sans); margin: 2.5rem 0 .8rem; }
.legal p, .legal ul { margin-bottom: 1rem; color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--ink); }
.legal .btn { color: #fff; margin-top: 1rem; }
.legal .todo { background: #E8EBFF; color: var(--ink); padding: .1rem .35rem; }
