/* =========================================================
   wilwers.de – „Arbeitsfläche Köln“
   Abenddämmerung über dem Dom, Designer-Werkzeuge als Gestaltungsmittel.
   Schriften (Google Fonts, lokal): Darker Grotesque · Atkinson Hyperlegible Next · Martian Mono
   ========================================================= */

@font-face { font-family: "Darker Grotesque"; src: url("../fonts/darker-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

@view-transition { navigation: auto; }
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

:root {
  --night: #0B0E16;
  --night-2: #111522;
  --night-3: #171C2B;
  --ink-line: rgb(244 238 228 / .12);
  --cream: #F4EEE4;
  --cream-2: rgb(244 238 228 / .74);
  --cream-3: rgb(244 238 228 / .52);
  --red: #FF5A3C;
  --red-2: #E2442A;
  --amber: #F6B14E;
  --green: #5BD19A;
  --blue: #4C8DFF;          /* Auswahlfarbe wie in Design-Programmen */
  --sky: #7E9BBD;
  --dusk: #B9BCCD;
  --peach: #F2BA9F;
  --rhein: #F6B14E;
  --dom: #3A2416;

  --display: "Darker Grotesque", "Atkinson Next", system-ui, sans-serif;
  --sans: "Atkinson Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: var(--mono);

  --wrap: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(2.25rem, 3.6vw, 3.4rem);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h3 { line-height: 1; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
em { font-style: normal; color: var(--red); }
/* Hervorhebung im Text: rot, kursiv, unterstrichen – überall gleich */
.hl { color: var(--red); font-style: normal; text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-skip-ink: auto; padding-right: .06em; }
.statement__text .hl.sw { color: var(--red); }
.about__lead .hl { font-weight: 700; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--cream); color: var(--night); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Körnung: vorerst aus. Zum Reaktivieren: <div class="grain"> in base.njk + .grain { position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .045; background: url("../img/noise.png"); } */

/* Scroll-Fortschritt */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; background: var(--red); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- Bausteine ---------- */
/* Abschnitts-Label wie ein Ebenen-Name im Design-Programm */
.label { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .8rem .4rem .6rem; border-radius: .5rem; background: rgb(126 155 189 / .14); box-shadow: inset 0 0 0 1px rgb(126 155 189 / .45); font: 500 .72rem/1 var(--mono); letter-spacing: .02em; color: #C9D6E8; margin-bottom: 1.4rem; }
.label .ico { width: 1rem; height: 1rem; color: var(--peach); }
.label span { color: var(--cream-3); }
.h2 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); max-width: 18ch; }
.head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: end; }
.head__aside { color: var(--cream-2); font-size: 1.08rem; max-width: 30rem; }
.head__aside em { display: block; margin-top: .6rem; color: var(--cream-3); font: 400 .78rem/1.5 var(--mono); }
@media (max-width: 56rem) { .head--split { grid-template-columns: 1fr; } }

/* Überschriften: beim Überfahren ein Auswahlrahmen mit Schrift-Info (nur Maus) */
@media (hover: hover) and (pointer: fine) {
  .h2 { position: relative; width: fit-content; }
  .h2::before, .h2::after { opacity: 0; transition: opacity .25s; pointer-events: none; }
  .h2::before { content: ""; position: absolute; inset: -.12em -.2em -.05em; border: 1.5px solid var(--blue);
    background: linear-gradient(var(--blue), var(--blue)) 0 0 / 7px 7px no-repeat, linear-gradient(var(--blue), var(--blue)) 100% 0 / 7px 7px no-repeat, linear-gradient(var(--blue), var(--blue)) 0 100% / 7px 7px no-repeat, linear-gradient(var(--blue), var(--blue)) 100% 100% / 7px 7px no-repeat; }
  .h2::after { content: "Darker Grotesque · 800"; position: absolute; left: -.2em; bottom: calc(100% + .2em); padding: .3rem .5rem; border-radius: 4px; background: var(--blue); color: #fff; font: 500 .68rem/1 var(--mono); letter-spacing: 0; white-space: nowrap; }
  .h2:hover::before, .h2:hover::after { opacity: 1; }
}

.btn {
  --bg: transparent; --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; gap: .65rem;
  min-height: 3.4rem; padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; text-decoration: none;
  overflow: hidden; isolation: isolate; transition: color .4s var(--ease);
}
.btn .ico { width: 1.15rem; height: 1.15rem; stroke-width: 2; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--cream); transform: translateY(101%); transition: transform .5s var(--ease-io); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { --fg: var(--night); }
.btn--red { --bg: var(--red); --fg: #1a0c08; }
.btn--ink { --bg: var(--night); --fg: var(--cream); }
.btn--ink::before { background: var(--red); }
.btn--glass { --fg: var(--night); background: rgb(255 255 255 / .35); box-shadow: inset 0 0 0 1px rgb(11 14 22 / .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass::before { background: var(--night); }
.btn--glass:hover { --fg: var(--cream); }
.btn--line { box-shadow: inset 0 0 0 1px rgb(244 238 228 / .35); }
.btn > span, .btn > svg { position: relative; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

/* Wort-Animation für Überschriften */
.split .w { display: inline-block; overflow: clip; overflow-clip-margin: .15em; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Kopfzeile ---------- */
.top { --tc: var(--cream); --tc2: var(--cream-2); position: fixed; inset: 0 0 auto; z-index: 100; color: var(--tc); transition: transform .5s var(--ease), background .4s, box-shadow .4s, color .4s; }
@media (min-width: 64.01rem) { .home .top:not(.is-solid) { --tc: var(--night); --tc2: rgb(11 14 22 / .7); } .home .top:not(.is-solid) .mark__dw { color: var(--cream); } .home .top:not(.is-solid) .nav__cta { color: var(--cream) !important; } }
.top.is-solid { background: rgb(11 14 22 / .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--ink-line); }
.top.is-hidden { transform: translateY(-100%); }
.top__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: 1.5rem; }
.mark { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.mark__dw {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .7rem;
  background: var(--tc); color: var(--night); font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: -.02em;
  transition: background .4s, color .4s, transform .6s var(--ease);
}
.mark:hover .mark__dw { background: var(--red); color: var(--night); transform: rotate(-8deg); }
.mark__text { display: grid; line-height: 1.05; }
.mark__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.mark__tag { font: 500 .62rem/1.4 var(--mono); color: var(--tc2); }
.back { text-decoration: none; color: var(--cream-2); font-size: .95rem; }
.back:hover { color: var(--cream); }

/* Navigation: gleitende Hervorhebung + Text, der nach oben „rollt“ */
.nav__list { position: relative; display: flex; align-items: center; gap: .25rem; }
.nav__list li { position: relative; z-index: 1; }
.nav__list a { display: flex; align-items: center; min-height: 2.5rem; text-decoration: none; font-size: .98rem; font-weight: 600; line-height: 1; color: var(--tc2); padding: 0 1rem; border-radius: 999px; transition: color .3s; }
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--tc); }
.roll__in { display: block; overflow: hidden; line-height: 1.25; padding-bottom: .05em; }
.roll__t { display: block; position: relative; transition: transform .45s var(--ease); }
.roll__t::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
@media (hover: hover) { .roll:hover .roll__t { transform: translateY(-100%); } }
.nav__list .nav__pill { position: absolute; z-index: 0; top: var(--py, 0); left: 0; height: var(--ph, 2.4rem); width: var(--pw, 0); translate: var(--px, 0) 0; border-radius: 999px; background: color-mix(in srgb, var(--tc) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 18%, transparent); opacity: 0; transition: translate .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nav__pill.is-on { opacity: 1; }
.nav__cta { display: inline-flex; margin-left: .5rem; padding: .6rem 1.3rem !important; background: var(--tc); color: var(--night) !important; font-weight: 700 !important; transition: background .3s; }
.nav__cta:hover { background: var(--red); color: var(--night) !important; }
.nav__toggle { display: none; }

@media (max-width: 60rem) {
  .nav__toggle { display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-size: .95rem; font-weight: 600; color: var(--tc); background: color-mix(in srgb, var(--tc) 8%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 20%, transparent); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; backdrop-filter: blur(10px); }
  .nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background .3s; }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -5px; } .nav__bars::after { top: 5px; }
  .nav__toggle[aria-expanded="true"] { color: var(--cream); }
  .nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav__pill { display: none; }
  .js .nav__list {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem;
    padding: 6rem var(--gutter) 3rem; background: rgb(11 14 22 / .97);
    clip-path: circle(0% at calc(100% - 3.5rem) 2.4rem); transition: clip-path .7s var(--ease-io); visibility: hidden;
  }
  .js .nav__list.is-open { clip-path: circle(150% at calc(100% - 3.5rem) 2.4rem); visibility: visible; }
  .js .nav__list a { font-family: var(--display); font-size: clamp(2.6rem, 12vw, 3.8rem); font-weight: 800; color: var(--cream); padding: .2rem 0; }
  .js .nav__list .nav__cta { margin: 1.5rem 0 0; font-family: var(--sans); font-size: 1.2rem; padding: .8rem 1.6rem !important; background: var(--cream); color: var(--night) !important; }
  html:not(.js) .nav__list { display: none; }
}

/* =========================================================
   HERO – Arbeitsfläche: Foto, Schrift hinter dem Dom, Werkzeuge
   ========================================================= */
.hero { position: relative; min-height: 100svh; overflow: clip; isolation: isolate; background: #8FA4C4; view-timeline: --hero; }
.hero__stage { position: absolute; top: 0; left: 50%; z-index: -1; width: max(100%, 100svh * 1.5); aspect-ratio: 3 / 2; translate: -50% 0; container-type: inline-size; }
.hero__bg, .hero__bg img, .hero__fg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fg { z-index: 3; pointer-events: none; }
.hero__stage::after { content: ""; position: absolute; inset: auto 0 -3px; height: calc(30% + 3px); z-index: 4; background: linear-gradient(to bottom, transparent, rgb(11 14 22 / .5) 50%, var(--night)); }

/* Schriftzug „Köln“ als ausgewählte Textebene */
.hero__word { position: absolute; z-index: 2; left: 30.2%; bottom: 56.2%; }
.sel__pre, .sel__big { position: relative; }
.sel { position: relative; padding: 0 .5cqw; }
.sel__pre { display: block; margin-bottom: -1.6cqw; padding: 2.4cqw 0 0 .3cqw; font-family: var(--display); font-weight: 800; font-size: 3.3cqw; line-height: 1; color: var(--night); }
.sel__big { display: block; font-family: var(--display); font-weight: 900; font-size: 14.5cqw; line-height: .74; letter-spacing: -.02em; color: var(--red); padding-top: .02em; }
.sel::before { content: ""; position: absolute; inset: 1.7cqw 0 -.5cqw; border: max(1.5px, .1cqw) solid var(--blue); pointer-events: none; }
.h { position: absolute; width: max(9px, .55cqw); height: max(9px, .55cqw); background: #fff; border: max(1.5px, .1cqw) solid var(--blue); translate: -50% -50%; }
.h--tl { left: 0; top: 1.7cqw; } .h--tr { left: 100%; top: 1.7cqw; } .h--bl { left: 0; top: calc(100% + .5cqw); } .h--br { left: 100%; top: calc(100% + .5cqw); }
.h--t { left: 50%; top: 1.7cqw; } .h--b { left: 50%; top: calc(100% + .5cqw); }
.sel__tag { position: absolute; left: 0; top: -.6cqw; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem; border-radius: 4px; background: var(--blue); color: #fff; font: 500 max(.62rem, .62cqw)/1 var(--mono); white-space: nowrap; }
.sel__tag .ico { width: 1.1em; height: 1.1em; }
.sel__dims { position: absolute; right: 0; top: -.6cqw; padding: .3rem .55rem; border-radius: 4px; background: var(--blue); color: #fff; font: 500 max(.62rem, .62cqw)/1 var(--mono); white-space: nowrap; }
.sel__dims b { font-weight: 600; }

/* Inhalt rechts im Himmel */
.hero__content { position: relative; z-index: 5; min-height: 100svh; display: grid; grid-template-columns: 1fr minmax(0, 33rem); padding-top: clamp(8rem, 17vh, 10.5rem); padding-bottom: 9rem; color: var(--night); }
.hero__copy { grid-column: 2; position: relative; align-self: start; padding: clamp(1.5rem, 2.6vw, 2.4rem); border-radius: 1.4rem; background: rgb(255 250 245 / .62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 30px 60px -30px rgb(40 20 30 / .45), inset 0 0 0 1px rgb(255 255 255 / .6); }
.hero__copy::before { content: "Frame · Startseite"; position: absolute; left: .2rem; bottom: calc(100% + .45rem); font: 500 .66rem/1 var(--mono); color: rgb(11 14 22 / .7); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .8rem; border-radius: 999px; background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px rgb(11 14 22 / .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 .7rem/1 var(--mono); color: var(--night); margin-bottom: 1.5rem; }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: #1FA46A; box-shadow: 0 0 0 0 rgb(31 164 106 / .6); }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 2.4s infinite; } @keyframes pulse { 70% { box-shadow: 0 0 0 .55rem rgb(31 164 106 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 164 106 / 0); } } }
.hero__title { font-size: clamp(2.8rem, 4.6vw, 4.8rem); color: var(--night); }
.hero__lead { margin-top: 1.4rem; font-size: 1.1rem; line-height: 1.55; color: rgb(11 14 22 / .82); max-width: 30rem; }

/* Lineale */
.ruler { position: absolute; z-index: 6; pointer-events: none; font: 500 .55rem/1 var(--mono); color: rgb(11 14 22 / .55); background: rgb(255 255 255 / .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; }
.ruler--x { left: 1.25rem; right: 0; top: 4.75rem; height: 1.25rem; box-shadow: inset 0 -1px 0 rgb(11 14 22 / .2);
  background-image: repeating-linear-gradient(90deg, rgb(11 14 22 / .35) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgb(11 14 22 / .5) 0 1px, transparent 1px 100px);
  background-size: auto 25%, auto 60%; background-position: 0 100%, 0 100%; background-repeat: repeat-x; }
.ruler--y { left: 0; top: 4.75rem; bottom: 0; width: 1.25rem; box-shadow: inset -1px 0 0 rgb(11 14 22 / .2);
  background-image: repeating-linear-gradient(180deg, rgb(11 14 22 / .35) 0 1px, transparent 1px 10px), repeating-linear-gradient(180deg, rgb(11 14 22 / .5) 0 1px, transparent 1px 100px);
  background-size: 25% auto, 60% auto; background-position: 100% 0, 100% 0; background-repeat: repeat-y; }
.ruler--x span { position: absolute; left: calc(var(--n) * 1px + 3px); top: 2px; }
.ruler--y span { position: absolute; top: calc(var(--n) * 1px + 3px); left: 2px; writing-mode: vertical-rl; rotate: 180deg; }

/* Live-Cursor */
.mp { position: absolute; z-index: 7; left: 0; top: 0; display: flex; align-items: flex-start; pointer-events: none; }
.mp .ico { width: 1.35rem; height: 1.35rem; fill: var(--c); stroke: #fff; stroke-width: 1.4; }
.mp span { margin: 1rem 0 0 -.3rem; padding: .3rem .6rem; border-radius: .35rem .9rem .9rem .9rem; background: var(--c); color: #fff; font: 600 .72rem/1 var(--sans); white-space: nowrap; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .4); }
.mp--a { --c: var(--red); }
.mp--b { --c: #7B61FF; }
.mp { translate: var(--ax, -999px) var(--ay, -999px); }
@media (prefers-reduced-motion: no-preference) { .mp { animation: fade-in .8s 2.6s both; } }

/* Farbpipette */
.picker { position: absolute; z-index: 7; left: max(var(--gutter), 2.5rem); bottom: 6.5rem; width: 12.5rem; padding: .75rem; border-radius: .9rem; background: rgb(17 21 34 / .82); color: var(--cream); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6), inset 0 0 0 1px var(--ink-line); font: 500 .66rem/1 var(--mono); }
.picker__head { display: flex; align-items: center; gap: .45rem; margin: 0 0 .65rem; color: var(--cream-2); }
.picker__head .ico { color: var(--red); }
.picker li { display: flex; align-items: center; gap: .55rem; padding: .35rem .3rem; border-radius: .4rem; }
.picker li i { width: 1.1rem; height: 1.1rem; border-radius: .3rem; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
/* Werkzeugleiste */
.toolbar { position: absolute; z-index: 7; left: 50%; bottom: 1.6rem; translate: -50% 0; display: flex; align-items: center; gap: 1rem; padding: .45rem .55rem; border-radius: 1rem; background: rgb(17 21 34 / .85); color: var(--cream-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6), inset 0 0 0 1px var(--ink-line); font: 500 .66rem/1 var(--mono); white-space: nowrap; }
.toolbar__meta { display: inline-flex; align-items: center; gap: .45rem; padding: 0 .6rem; }
.toolbar__meta .ico { color: var(--red); }
.toolbar__tools { display: flex; gap: .15rem; padding: 0 .4rem; border-inline: 1px solid var(--ink-line); }
.toolbar__tools i { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .55rem; color: var(--cream-2); }
.toolbar__tools i.is-on { background: var(--blue); color: #fff; }
.toolbar__tools .ico { width: 1.05rem; height: 1.05rem; }

/* Auftritt + Scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero__bg, .hero__fg { animation: bg-in 1.8s var(--ease) both; }
  @keyframes bg-in { from { opacity: 0; } }
  .hero__word { animation: rise-word 2.2s .4s var(--ease) both; }
  @keyframes rise-word { from { transform: translateY(45%); } }
  .sel::before, .h, .sel__tag, .sel__dims { animation: sel-in .5s 2.2s ease-out both; }
  @keyframes sel-in { from { opacity: 0; } }
  .hero__copy > :not(h1), .toolbar, .picker, .ruler { animation: fade-up 1s 1s var(--ease) both; }
  .hero__lead { animation-delay: 1.15s !important; } .hero__copy .actions { animation-delay: 1.3s !important; }
  .picker, .toolbar { animation-delay: 1.8s !important; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(1.25rem); } }
  .ruler { animation-name: fade-in !important; } @keyframes fade-in { from { opacity: 0; } }

  @supports (animation-timeline: view()) {
    .sel { animation: sink linear both; animation-timeline: --hero; animation-range: exit 0% exit 75%; }
    @keyframes sink { to { transform: translateY(55%); } }
    .hero__content { animation: lift linear both; animation-timeline: --hero; animation-range: exit 0% exit 70%; }
    @keyframes lift { to { transform: translateY(-10vh); opacity: 0; } }
  }
}

/* Wie im Kopfbereich: Abschnitte gleiten beim Verlassen nach oben leicht weg und blenden sich aus (nur über die Scrollposition, ohne JS) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .palette, .statement, .services, .ba-sec, .why, .flow, .about, .faq-sec {
      animation: fade-away linear both; animation-timeline: view(); animation-range: exit 35% exit 100%;
    }
    @keyframes fade-away { to { opacity: .15; translate: 0 -3rem; } }
  }
}

/* Schmal: Bild oben (Dom mittig), Text darunter auf dunklem Grund */
@media (max-width: 64rem) {
  .hero { background: var(--night); }
  .home .top:not(.is-solid) { background: var(--night); }
  .hero__stage { width: 215vw; translate: -36% 0; top: 4.75rem; }
  .hero__content { grid-template-columns: 1fr; padding-top: calc(4.75rem + 215vw / 1.5 * .74); padding-bottom: 4rem; color: var(--cream); }
  .hero__copy { grid-column: 1; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0; }
  .hero__copy::before { display: none; }
  .hero__title { color: var(--cream); font-size: clamp(3rem, 12vw, 4.4rem); }
  .hero__lead { color: var(--cream-2); }
  .kicker { background: rgb(255 255 255 / .08); color: var(--cream); box-shadow: inset 0 0 0 1px var(--ink-line); }
  .btn--ink { --bg: var(--red); --fg: #1a0c08; }
  .btn--glass { --fg: var(--cream); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--ink-line); }
  .btn--glass::before { background: var(--cream); } .btn--glass:hover { --fg: var(--night); }
  .picker, .toolbar, .mp--b, .sel__tag { display: none; }
  .ruler--y { bottom: auto; height: calc(215vw / 1.5 * .7); }
  .mp--a { display: none; }
}
@media (max-width: 64rem) and (min-width: 40rem) {
  .hero__stage { width: 170vw; }
  .hero__content { padding-top: calc(4.75rem + 170vw / 1.5 * .74); }
  .ruler--y { height: calc(170vw / 1.5 * .7); }
}

/* ---------- Farbpalette (statt Laufband) ---------- */
.palette { padding-block: clamp(2.5rem, 4vw, 3.5rem) 0; }
.palette__title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; max-width: 40ch; }

.swatches { display: flex; gap: .6rem; height: clamp(16rem, 32vw, 24rem); }
.swatch { flex: 1; min-width: 0; transition: flex-grow .6s var(--ease); }
.swatch button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 1.1rem; border-radius: 1.1rem; background: var(--c); color: var(--ink); cursor: pointer; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); }
.swatch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.swatch__name { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: .9; white-space: nowrap; }
.swatch__codes { display: grid; gap: .3rem; font: 500 .7rem/1.2 var(--mono); opacity: .85; white-space: nowrap; }
.swatch__codes b { font-weight: 600; font-size: .85rem; }
@media (hover: hover) { .swatches:hover .swatch { flex-grow: .7; } .swatches .swatch:hover { flex-grow: 2.6; } }
.swatch.is-copied .swatch__codes b::after { content: "  ✓ kopiert"; }
.palette__hint { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font: 500 .7rem/1.4 var(--mono); color: var(--cream-3); }
.palette__hint .ico { color: var(--red); }
@media (max-width: 56rem) {
    .swatches { flex-direction: column; height: auto; }
  .swatch button { flex-direction: row; align-items: center; min-height: 4.5rem; }
  .swatch__codes { text-align: right; }
}

/* ---------- Statement: Wörter leuchten beim Scrollen auf ---------- */
.statement { padding-block: var(--space); }
.statement__text { margin: 0; }
.statement__text { font-family: var(--display); font-weight: 750; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; max-width: 20ch; }
.statement__text .sw { color: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .statement__text .sw { opacity: .14; animation: light-up linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
    @keyframes light-up { to { opacity: 1; } }
  }
}


/* =========================================================
   LEISTUNGEN – Karten, die sich beim Scrollen stapeln
   ========================================================= */
.services { padding-bottom: var(--space); }
.stack { display: grid; gap: 2rem; }
.stack__item { position: sticky; top: calc(6.5rem + var(--i) * 1.4rem); }
.card {
  --bg: var(--peach); --fg: var(--night); --mute: rgb(11 14 22 / .72); --line: rgb(11 14 22 / .16);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  min-height: min(56vh, 30rem); padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--bg); color: var(--fg); border-radius: clamp(1.25rem, 2.5vw, 2rem);
  position: relative; transform-origin: 50% 0; transform: scale(var(--s, 1));
  box-shadow: 0 -20px 60px -30px rgb(0 0 0 / .6);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: var(--d, 0); pointer-events: none; }
.card--2 { --bg: var(--red); --fg: #1b0b07; --mute: rgb(27 11 7 / .72); --line: rgb(27 11 7 / .2); }
.card--3 { --bg: var(--dom); --fg: var(--cream); --mute: var(--cream-2); --line: rgb(244 238 228 / .16); }
.card--4 { --bg: var(--sky); --fg: var(--night); --mute: rgb(11 14 22 / .75); --line: rgb(11 14 22 / .18); }
.card__no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin-bottom: 1.5rem; }
.card__no span { opacity: .45; }
.card h3 { font-size: clamp(2.4rem, 5.5vw, 5rem); font-weight: 700; margin-bottom: 1.25rem; }
.card__text > p:not(.card__no) { color: var(--mute); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 32rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.tags li { font-size: .85rem; padding: .35rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.card__visual { position: relative; min-height: 18rem; display: grid; place-items: center; }
.also { margin-top: 2.5rem; color: var(--cream-3); font-size: .98rem; text-align: center; }
@media (max-width: 56rem) {
  .card { grid-template-columns: 1fr; min-height: 0; }
  .card__visual { min-height: 14rem; }
  .stack__item { top: calc(5.5rem + var(--i) * .9rem); }
}
.stack__dots { display: none; }
/* Handy: Karten seitlich wischen statt untereinander stapeln (spart rund drei Bildschirmhöhen) */
@media (max-width: 40rem) {
  .stack { display: flex; gap: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .stack::-webkit-scrollbar { display: none; }
  .stack:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
  .stack__item { position: relative; top: 0; flex: 0 0 86%; display: flex; scroll-snap-align: start; }
  .stack__item .card { width: 100%; transform: none; box-shadow: none; align-content: start; }
  .stack__item .card::after { display: none; }
  .stack__item .card { padding: 1.4rem; gap: 1.25rem; }
  .stack__item .card__no { margin-bottom: 1rem; }
  .stack__item .card h3 { font-size: 2.1rem; margin-bottom: .8rem; }
  .stack__item .card__text > p:not(.card__no) { font-size: .98rem; line-height: 1.55; }
  .stack__item .tags { margin-top: 1rem; gap: .4rem; }
  .stack__item .tags li { font-size: .78rem; padding: .3rem .7rem; }
  .card__visual { min-height: 0; }
  .stack__item .msg { padding: .6rem .85rem; font-size: .86rem; }
  .stack__item .chat { gap: .5rem; }
  .stack__item .status { padding: .6rem 1rem; font-size: .84rem; }
  .stack__item .status li { padding: .5rem 0; }
  .stack__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
  .stack__dots i { width: .5rem; height: .5rem; border-radius: 99px; background: var(--cream-3); opacity: .5; transition: width .3s var(--ease), background .3s, opacity .3s; cursor: pointer; }
  .stack__dots i.on { width: 1.5rem; background: var(--red); opacity: 1; }
  .also { margin-top: 1.5rem; }
}

/* Visual 1: Website baut sich auf */
.browser { width: min(100%, 26rem); aspect-ratio: 4 / 3; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -25px rgb(7 9 15 / .45), 0 0 0 1px rgb(7 9 15 / .08); overflow: hidden; position: relative; }
.browser__bar { display: flex; align-items: center; gap: .35rem; height: 2rem; padding-inline: .8rem; background: #EEE9E0; font-size: .7rem; color: #777; }
.browser__bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #d6cfc3; }
.browser__bar span { margin-left: .6rem; padding: .1rem .7rem; background: #fff; border-radius: 99px; }
.browser__body { position: absolute; inset: 2rem 0 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: .5fr 2.2fr .55fr .45fr .6fr 1.6fr; gap: 7px; padding: 10px; }
.bb { display: block; border-radius: 5px; background: #E8E2D7; }
.bb--nav { grid-column: 1 / -1; background: #f3efe8; }
.bb--hero { grid-column: 1 / -1; background: linear-gradient(135deg, #0C1019, #2A3550 60%, var(--red)); }
.bb--h { grid-column: 1 / 5; background: #1b1f2a; }
.bb--t { grid-column: 1 / 6; }
.bb--btn { grid-column: 1 / 3; background: var(--red); border-radius: 99px; }
.bb--c1, .bb--c2, .bb--c3 { grid-column: span 2; }
.cursor-dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--night); border: 2px solid #fff; left: 70%; top: 80%; }
@media (prefers-reduced-motion: no-preference) {
  .js .vis--build .bb { opacity: 0; transform: translateY(14px) scale(.96); }
  .vis--build.is-in .bb { animation: block-in .7s var(--ease) both; }
  .vis--build.is-in .bb:nth-child(2) { animation-delay: .12s; } .vis--build.is-in .bb:nth-child(3) { animation-delay: .24s; }
  .vis--build.is-in .bb:nth-child(4) { animation-delay: .32s; } .vis--build.is-in .bb:nth-child(5) { animation-delay: .4s; }
  .vis--build.is-in .bb:nth-child(6) { animation-delay: .5s; } .vis--build.is-in .bb:nth-child(7) { animation-delay: .58s; } .vis--build.is-in .bb:nth-child(8) { animation-delay: .66s; }
  @keyframes block-in { to { opacity: 1; transform: none; } }
  .vis--build.is-in .cursor-dot { animation: click-move 3.2s 1s var(--ease-io) infinite; }
  @keyframes click-move { 0%, 100% { left: 70%; top: 80%; } 40% { left: 18%; top: 66%; scale: 1; } 48% { scale: .7; } 56% { scale: 1; } 75% { left: 50%; top: 30%; } }
}

/* Visual 2: Sucher + Schreibmaschine */
.vis--write { gap: 1.25rem; }
.viewfinder { position: relative; width: min(100%, 26rem); aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.viewfinder img, .viewfinder picture { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.1); }
.vf { position: absolute; width: 1.6rem; height: 1.6rem; border: 2px solid #fff; }
.vf--tl { top: .8rem; left: .8rem; border-right: 0; border-bottom: 0; } .vf--tr { top: .8rem; right: .8rem; border-left: 0; border-bottom: 0; }
.vf--bl { bottom: .8rem; left: .8rem; border-right: 0; border-top: 0; } .vf--br { bottom: .8rem; right: .8rem; border-left: 0; border-top: 0; }
.vf__rec { position: absolute; top: .9rem; left: 50%; translate: -50% 0; font: 600 .7rem/1 var(--sans); letter-spacing: .15em; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .vf__rec { animation: blink 1.4s steps(2) infinite; } @keyframes blink { 50% { opacity: 0; } } }
.typer { font-family: var(--display); font-weight: 650; font-size: clamp(1.3rem, 2.2vw, 1.8rem); min-height: 1.4em; letter-spacing: -.02em; }
.caret { display: inline-block; width: 3px; height: 1.05em; background: currentColor; vertical-align: -.15em; margin-left: 3px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1s steps(2) infinite; } }

/* Visual 3: Chat */
.chat { width: min(100%, 25rem); display: grid; gap: .7rem; }
.msg { margin: 0; padding: .85rem 1.1rem; border-radius: 1.2rem; font-size: .98rem; line-height: 1.45; max-width: 85%; }
.msg--in { background: rgb(243 237 227 / .1); border-bottom-left-radius: .3rem; }
.msg--out { justify-self: end; background: var(--red); color: #1b0b07; border-bottom-right-radius: .3rem; font-weight: 600; }
.chat__note { font-size: .78rem; color: var(--cream-3); text-align: center; margin-top: .4rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .vis--chat .msg { opacity: 0; transform: translateY(12px) scale(.96); }
  .vis--chat.is-in .msg { animation: block-in .6s var(--ease) both; }
  .vis--chat.is-in .msg:nth-child(2) { animation-delay: 1.1s; } .vis--chat.is-in .msg:nth-child(3) { animation-delay: 2s; }
}

/* Visual 4: Status-Monitor */
.status { width: min(100%, 26rem); background: var(--night); color: var(--cream); border-radius: 16px; padding: 1.1rem 1.25rem; box-shadow: 0 30px 60px -25px rgb(7 9 15 / .55); font-size: .95rem; }
.status li { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--ink-line); }
.status li:last-child { border: 0; }
.status i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); flex: none; }
.status b { margin-left: auto; font-weight: 500; font-size: .8rem; color: var(--green); letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .js .vis--status li { opacity: 0; transform: translateX(-10px); }
  .vis--status.is-in li { animation: block-in .5s var(--ease) both; animation-delay: calc(var(--k, 0) * .15s); }
  .vis--status.is-in li:nth-child(2) { --k: 1; } .vis--status.is-in li:nth-child(3) { --k: 2; } .vis--status.is-in li:nth-child(4) { --k: 3; } .vis--status.is-in li:nth-child(5) { --k: 4; }
  .status i { animation: pulse-g 2.2s infinite; } @keyframes pulse-g { 50% { box-shadow: 0 0 2px var(--green); } }
}

/* =========================================================
   VORHER / NACHHER
   ========================================================= */
/* Vorher/Nachher als helle Fläche, damit sich der Abschnitt klar von Leistungen und Gründen abhebt */
.ba-sec { padding-block: var(--space); background: var(--cream); color: var(--night); margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(1.5rem, 3vw, 2.5rem); }
.ba-sec .label { background: rgb(11 14 22 / .06); box-shadow: inset 0 0 0 1px rgb(11 14 22 / .18); color: var(--night); }
.ba-sec .label span { color: rgb(11 14 22 / .55); }
.ba-sec .label .ico { color: var(--red-2); }
.ba-sec .head__aside { color: rgb(11 14 22 / .72); }
.ba-sec .head__aside em { color: rgb(11 14 22 / .55); }
.ba { position: relative; }
.ba__frame { position: relative; aspect-ratio: 16 / 10; border-radius: clamp(.8rem, 2vw, 1.5rem); overflow: hidden; container-type: inline-size; box-shadow: 0 40px 80px -40px rgb(11 14 22 / .55), 0 0 0 1px rgb(11 14 22 / .12); user-select: none; }
.old, .new { position: absolute; inset: 0; }
.new { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; z-index: 3; pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fff; color: var(--night); box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: scale .3s var(--ease); }
.ba__handle svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba:hover .ba__handle span, .ba__range:focus-visible ~ .ba__frame .ba__handle span { scale: 1.1; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba__range:focus-visible + .ba__frame, .ba:has(.ba__range:focus-visible) .ba__frame { outline: 2px solid var(--red); outline-offset: 4px; }
.ba__tag { position: absolute; bottom: 1rem; z-index: 3; padding: .35rem .8rem; border-radius: 99px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; background: rgb(7 9 15 / .75); color: var(--cream); backdrop-filter: blur(6px); }
.ba__tag--l { left: 1rem; } .ba__tag--r { right: 1rem; }

/* Vorher: typische Firmenseite um 2010 – feste Breite, Verlaufsmenü, Slider, kleine graue Verdana (alle Maße in cqw) */
.old { background: linear-gradient(#d9dde2, #c6ccd3); font-family: Verdana, Geneva, Arial, sans-serif; color: #555; font-size: 1.05cqw; line-height: 1.45; }
.old__page { position: absolute; left: 9%; right: 9%; top: 0; bottom: 0; background: #fff; box-shadow: 0 0 1.5cqw rgb(0 0 0 / .25); display: flex; flex-direction: column; }
.old__head { display: flex; justify-content: space-between; align-items: center; padding: 2cqw 2.4cqw 1.6cqw; background: linear-gradient(#ffffff, #eef2f6); border-bottom: .15cqw solid #c9d3de; }
.old__logo { margin: 0; font: bold 2.6cqw/1.1 Georgia, "Times New Roman", serif; color: #1f4f8a; text-shadow: .1cqw .1cqw 0 #c7d6ea; }
.old__slogan { margin: .3cqw 0 0; font: italic 1.1cqw Georgia, serif; color: #7a8a99; }
.old__tel { margin: 0; text-align: right; font: bold 1.2cqw Arial, sans-serif; color: #1f4f8a; }
.old__tel span { font-weight: normal; font-size: .95cqw; color: #888; }
.old__nav { display: flex; margin: 0; padding: 0 1.2cqw; background: linear-gradient(#5d8fcc, #2c5c98 55%, #244f86); border-top: .1cqw solid #8db3e2; }
.old__nav li { padding: 1cqw 1.3cqw; color: #fff; font: bold 1.05cqw Arial, sans-serif; border-right: .1cqw solid rgb(255 255 255 / .25); text-shadow: 0 -.1cqw 0 rgb(0 0 0 / .35); }
.old__nav li.on { background: linear-gradient(#7fb0ea, #4a7fc2); }
.old__slider { position: relative; height: 22cqw; margin: 1.6cqw 2.4cqw 0; display: flex; align-items: flex-end; justify-content: space-between; background: repeating-linear-gradient(135deg, #cfd6dd 0 1.2cqw, #c4ccd4 1.2cqw 2.4cqw); border: .15cqw solid #aab4be; }
.old__slider p { flex: 1; margin: 0; padding: .9cqw 1.4cqw; background: rgb(0 0 0 / .55); color: #fff; font: bold 1.3cqw Arial, sans-serif; }
.old__arrow { position: absolute; top: 35%; display: grid; place-items: center; width: 2.6cqw; height: 3.6cqw; background: rgb(0 0 0 / .4); color: #fff; font: bold 2.4cqw/1 Arial, sans-serif; }
.old__arrow:first-child { left: 0; } .old__arrow:nth-child(3) { right: 0; }
.old__dots { position: absolute; right: 1.4cqw; top: 1.2cqw; display: flex; gap: .5cqw; }
.old__dots b { width: .9cqw; height: .9cqw; border-radius: 50%; background: #fff; opacity: .6; } .old__dots b:first-child { opacity: 1; }
.old__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 1.6cqw 2.4cqw; flex: 1; }
.old__cols p { margin: 0; }
.old__h { margin-bottom: .7cqw !important; padding: .5cqw .8cqw; background: linear-gradient(#f2f4f7, #dfe4ea); border: .1cqw solid #c9d1da; color: #1f4f8a; font: bold 1.15cqw Arial, sans-serif; }
.old__cols u { color: #2c5c98; white-space: nowrap; }
.old__foot { margin: 0; padding: .9cqw; text-align: center; background: #e7eaee; border-top: .1cqw solid #cfd5dc; color: #8a939c; font-size: .9cqw; }

/* Nachher: moderner Handwerksbetrieb, eigene Schrift (Plus Jakarta Sans), Waldgrün und Ocker auf Weiß (alle Maße in cqw) */
.new { --g: #1E4A3D; --g2: #2C6652; --o: #E0A040; --ink: #16201C; --mute: #56625C; --line: rgb(22 32 28 / .1); --soft: #F4F1EA;
  overflow: hidden; background: #fff; color: var(--ink); font-family: "Plus Jakarta Sans", var(--sans); font-size: 1.1cqw; line-height: 1.4; }
.new svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nw__top { display: flex; gap: 2.6cqw; height: 2.4cqw; align-items: center; padding: 0 4cqw; background: var(--g); color: rgb(255 255 255 / .82); font-size: .82cqw; font-weight: 500; letter-spacing: .02em; }
.nw__top span + span::before { content: ""; display: inline-block; width: .3cqw; height: .3cqw; margin: 0 1.15cqw 0 -1.45cqw; border-radius: 50%; background: var(--o); vertical-align: middle; translate: 0 -.1cqw; }
.nw__nav { display: flex; align-items: center; height: 5.6cqw; padding: 0 4cqw; border-bottom: 1px solid var(--line); white-space: nowrap; }
.nw__logo { display: flex; align-items: center; gap: .9cqw; line-height: 1.05; }
.nw__logo i { display: grid; place-items: center; width: 3.1cqw; height: 3.1cqw; border-radius: .8cqw; background: var(--g); color: var(--o); }
.nw__logo i svg { width: 1.9cqw; height: 1.9cqw; }
.nw__logo b { display: block; font-size: 1.5cqw; font-weight: 800; letter-spacing: -.02em; }
.nw__logo small { display: block; margin-top: .2cqw; font-size: .78cqw; font-weight: 600; color: var(--mute); letter-spacing: .14em; text-transform: uppercase; }
.nw__links { display: flex; gap: 2.2cqw; margin-left: auto; font-size: 1cqw; font-weight: 600; color: var(--mute); }
.nw__links i { font-style: normal; }
.nw__links .on { color: var(--ink); box-shadow: inset 0 -.2cqw var(--o); padding-bottom: .5cqw; margin-bottom: -.7cqw; }
.nw__tel { display: flex; align-items: center; gap: .6cqw; margin-left: 3cqw; font-size: 1.05cqw; font-weight: 700; color: var(--ink); }
.nw__tel svg { width: 1.4cqw; height: 1.4cqw; color: var(--g2); }
.nw__cta { margin-left: 1.6cqw; padding: 1cqw 1.6cqw; border-radius: .7cqw; background: var(--g); color: #fff; font-size: 1cqw; font-weight: 700; }
.nw__hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 4.4cqw; align-items: center; padding: 2.8cqw 4cqw 0; }
.nw__kick { display: flex; align-items: center; gap: .9cqw; margin: 0 0 1.3cqw; color: var(--g2); font-size: .85cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nw__kick::before { content: ""; width: 2.4cqw; height: .18cqw; background: var(--o); }
.nw__h { margin: 0 0 1.5cqw; font-size: 4.1cqw; font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.nw__h span { color: var(--g2); }
.nw__p { margin: 0 0 2.1cqw; max-width: 36cqw; color: var(--mute); font-size: 1.2cqw; line-height: 1.6; }
.nw__btns { display: flex; gap: 1cqw; margin: 0 0 2.2cqw; white-space: nowrap; }
.nw__b1, .nw__b2 { padding: 1.15cqw 1.9cqw; border-radius: .7cqw; font-size: 1.05cqw; font-weight: 700; }
.nw__b1 { background: var(--o); color: var(--ink); }
.nw__b2 { box-shadow: inset 0 0 0 .12cqw rgb(22 32 28 / .22); }
.nw__rate { display: flex; align-items: center; gap: .9cqw; margin: 0; color: var(--mute); font-size: .95cqw; }
.nw__rate b { color: var(--o); letter-spacing: .14em; font-size: 1.1cqw; }
.nw__media { position: relative; height: 30cqw; }
.nw__media picture, .nw__media img { display: block; width: 100%; height: 100%; border-radius: 1.4cqw; object-fit: cover; object-position: 42% 50%; }
.nw__badge { position: absolute; left: -2.6cqw; bottom: 2.6cqw; display: flex; align-items: center; gap: 1cqw; padding: 1.1cqw 1.6cqw 1.1cqw 1.1cqw; border-radius: 1cqw; background: #fff; box-shadow: 0 1.6cqw 3.2cqw -1.4cqw rgb(22 32 28 / .45), 0 0 0 1px var(--line); white-space: nowrap; }
.nw__badge i { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--soft); color: var(--g2); }
.nw__badge i svg { width: 1.7cqw; height: 1.7cqw; }
.nw__badge span { display: grid; gap: .15cqw; font-size: .85cqw; color: var(--mute); }
.nw__badge b { font-size: 1.1cqw; color: var(--ink); }
.nw__usp { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; margin: 2.6cqw 4cqw 0; padding: 1.4cqw 0; border-block: 1px solid var(--line); list-style: none; font-size: 1cqw; font-weight: 700; white-space: nowrap; }
.nw__usp li { display: flex; align-items: center; gap: .8cqw; }
.nw__usp i { position: relative; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--g); }
.nw__usp i::after { content: ""; position: absolute; left: 35%; top: 22%; width: 26%; height: 44%; border: solid var(--o); border-width: 0 .2cqw .2cqw 0; rotate: 45deg; }
.nw__next { margin-top: 2.4cqw; padding: 2.6cqw 4cqw 0; background: var(--soft); height: 100%; }
.nw__nhead { display: flex; align-items: end; justify-content: space-between; margin-bottom: 2cqw; }
.nw__nhead .nw__kick { margin-bottom: .9cqw; }
.nw__h2 { margin: 0; font-size: 2.5cqw; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.nw__more { font-size: 1cqw; font-weight: 700; color: var(--g2); box-shadow: inset 0 -.15cqw var(--o); padding-bottom: .3cqw; }
.nw__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.nw__card { overflow: hidden; border-radius: 1.2cqw; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.nw__card picture, .nw__card img { display: block; width: 100%; height: 12cqw; object-fit: cover; }
.nw__card b { display: block; padding: 1.2cqw 1.4cqw; font-size: 1.2cqw; }

/* =========================================================
   WARUM – Bento auf einer „Arbeitsfläche“ mit Punktraster
   ========================================================= */
.why { position: relative; padding-block: var(--space) clamp(2rem, 4vw, 3rem); }
.why::before { /* Punktraster wie die Leinwand im Design-Programm */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgb(244 238 228 / .09) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  grid-template-areas: "koeln speed wp price" "koeln cookie read mobile";
}
.tile--koeln { grid-area: koeln; } .tile--speed { grid-area: speed; } .tile--wp { grid-area: wp; }
.tile--price { grid-area: price; } .tile--cookie { grid-area: cookie; } .tile--read { grid-area: read; } .tile--mobile { grid-area: mobile; }
@media (max-width: 87rem) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "koeln koeln" "speed wp" "price cookie" "read mobile"; }
}
@media (max-width: 40rem) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "koeln" "speed" "wp" "price" "cookie" "read" "mobile"; }
}
.tile__tog { display: none; }
/* Handy: Gründe 02–07 als Aufklapp-Liste, Kachel 01 bleibt groß. Ohne JS bleibt alles offen. */
@media (max-width: 40rem) {
  .bento { gap: .6rem; }
  .js .bento .tile:not(.tile--koeln) { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "no h tog" "vis vis vis" "p p p";
    align-items: center; column-gap: .8rem; row-gap: 0; min-height: 0; padding: .95rem 1rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .js .bento .tile:not(.tile--koeln):hover { transform: none; }
  .js .bento .tile:not(.tile--koeln) .tile__no { grid-area: no; margin: 0; align-self: center; }
  .js .bento .tile:not(.tile--koeln) h3 { grid-area: h; margin: 0; font-size: 1.3rem; line-height: 1.05; }
  .js .bento .tile:not(.tile--koeln) .tile__vis { grid-area: vis; display: none; margin: 1rem 0 .9rem; }
  .js .bento .tile:not(.tile--koeln) > p:not(.tile__no) { grid-area: p; display: none; }
  .js .bento .tile.is-open .tile__vis { display: grid; }
  .js .bento .tile.is-open > p:not(.tile__no) { display: block; }
  .js .tile__tog { grid-area: tog; display: block; position: relative; width: 2.2rem; height: 2.2rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--cream); box-shadow: inset 0 0 0 1px var(--ink-line); cursor: pointer; transition: background .3s, transform .5s var(--ease); }
  .js .tile__tog::before, .js .tile__tog::after { content: ""; position: absolute; left: 50%; top: 50%; width: .75rem; height: 1.5px; background: currentColor; translate: -50% -50%; }
  .js .tile__tog::after { rotate: 90deg; transition: rotate .4s var(--ease); }
  .js .tile.is-open .tile__tog { background: var(--red); color: var(--night); transform: rotate(180deg); }
  .js .tile.is-open .tile__tog::after { rotate: 0deg; }
  .js .tile__tog:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
}

.tile {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: .55rem; min-height: 19rem;
  padding: 1.5rem; border-radius: 1.4rem; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgb(255 255 255 / .045), rgb(255 255 255 / .01) 50%), var(--night-2);
  box-shadow: inset 0 0 0 1px var(--ink-line), 0 30px 60px -40px rgb(0 0 0 / .8);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.tile:hover { transform: translateY(-4px); }
/* Rote Lichtkante + Schein, folgt der Maus */
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: radial-gradient(16rem 16rem at var(--mx) var(--my), rgb(255 90 60 / .95), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(20rem 20rem at var(--mx) var(--my), rgb(255 90 60 / .12), transparent 65%); opacity: 0; transition: opacity .4s; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile__no { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin: 0 0 .5rem; padding: .3rem .55rem; border-radius: .45rem; background: rgb(244 238 228 / .06); box-shadow: inset 0 0 0 1px var(--ink-line); font: 500 .66rem/1 var(--mono); color: var(--cream-2); }
.tile__no .ico { width: .95rem; height: .95rem; color: var(--red); }
.tile h3 { font-size: clamp(1.6rem, 2vw, 2rem); margin-top: auto; hyphens: manual; }
.tile p:not(.tile__no) { color: var(--cream-2); font-size: .96rem; line-height: 1.55; margin: 0; }
.tile > .speed, .tile > .notes, .tile > .cookie, .tile > .contrast, .tile > .printer { margin: .5rem 0 1rem; }

/* 01 Köln – Foto, Sprechblase */

.tile__bg { position: absolute !important; inset: 0; z-index: -2; width: 100%; height: 100%; }
.tile__bg img, img.tile__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.12); transition: transform 2.4s var(--ease); }
.tile--koeln.is-in .tile__bg img, .tile--koeln.is-in img.tile__bg { transform: scale(1); }
.tile--koeln:hover .tile__bg img, .tile--koeln:hover img.tile__bg { transform: scale(1.04); }
.tile--koeln::after { opacity: 1 !important; background: linear-gradient(to top, rgb(11 14 22 / .96) 12%, rgb(11 14 22 / .35) 55%, rgb(11 14 22 / .15)); }
.tile--koeln .tile__body { margin-top: auto; }
.tile--koeln h3 { font-size: clamp(2.4rem, 3.4vw, 3.2rem); margin-bottom: .5rem; }
.bubble { display: flex; align-items: flex-end; gap: .55rem; margin-top: .4rem; max-width: 17rem; }
.bubble i { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--red); color: #fff; font: 700 .75rem/1 var(--mono); font-style: normal; box-shadow: 0 0 0 3px rgb(11 14 22 / .5); }
.bubble p { margin: 0; padding: .65rem .85rem; border-radius: 1rem 1rem 1rem .25rem; background: #fff; color: var(--night) !important; font-size: .88rem !important; line-height: 1.35 !important; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .6); }
.bubble b { display: block; font: 600 .62rem/1.4 var(--mono); color: var(--red); }

/* 02 Schnell – Tacho + Ladebalken */
.speed { display: grid; justify-items: center; gap: .6rem; }
.gauge { width: 10rem; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__track { stroke: rgb(244 238 228 / .1); }
.gauge__fill { stroke: var(--green); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease); }
.gauge__needle { transform-origin: 100px 110px; transform: rotate(-90deg); transition: transform 1.8s cubic-bezier(.3, 1.5, .5, 1); }
.gauge__needle line { stroke: var(--cream); stroke-width: 3; stroke-linecap: round; }
.gauge__needle circle { fill: var(--cream); }
.tile--speed.is-in .gauge__fill { stroke-dashoffset: 8; }
.tile--speed.is-in .gauge__needle { transform: rotate(74deg); }
.loadbar { position: relative; width: 100%; height: 1.7rem; border-radius: 99px; background: rgb(244 238 228 / .06); overflow: hidden; font: 500 .62rem/1.7rem var(--mono); text-align: center; color: var(--night); }
.loadbar i { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform 1.4s .3s var(--ease); }
.loadbar span { position: relative; opacity: 0; transition: opacity .4s 1.5s; }
.tile--speed.is-in .loadbar i { transform: scaleX(1); }
.tile--speed.is-in .loadbar span { opacity: 1; }

/* 03 WordPress-Meldungen verschwinden */
.notes { display: grid; gap: .4rem; font: 500 .7rem/1.3 var(--mono); }
.notes li { padding: .5rem .7rem; border-radius: .55rem; background: rgb(246 177 78 / .12); color: var(--amber); box-shadow: inset 3px 0 0 var(--amber); transition: opacity .5s, transform .6s var(--ease), text-decoration-color .3s; text-decoration: line-through transparent 1.5px; }
.notes .notes__ok { background: rgb(91 209 154 / .14); color: var(--green); box-shadow: inset 3px 0 0 var(--green); opacity: 0; transform: translateY(8px) scale(.96); }
.tile--wp.is-in .notes li:not(.notes__ok) { text-decoration-color: currentColor; opacity: .28; transform: translateX(10px); }
.tile--wp.is-in .notes li:nth-child(1) { transition-delay: .4s; } .tile--wp.is-in .notes li:nth-child(2) { transition-delay: .8s; } .tile--wp.is-in .notes li:nth-child(3) { transition-delay: 1.2s; }
.tile--wp.is-in .notes__ok { opacity: 1; transform: none; transition-delay: 1.7s; }

/* 04 Cookie-Banner wird abgestempelt */
.cookie { position: relative; background: #fff; color: #333; border-radius: .9rem; padding: .9rem 1rem; font-size: .8rem; box-shadow: 0 20px 40px -20px rgb(0 0 0 / .6); rotate: -2deg; transition: rotate .6s var(--ease), filter .6s; }
.cookie p { margin: 0 0 .6rem !important; color: #444 !important; font-size: .8rem !important; }
.cookie__btns { display: flex; gap: .4rem; }
.cookie__btns b { font-weight: 600; font-size: .72rem; padding: .3rem .65rem; border-radius: 99px; background: #2b6cf6; color: #fff; }
.cookie__btns b + b { background: #e8e8e8; color: #333; }
.cookie__stamp { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -14deg; scale: 2.4; opacity: 0; font: 800 1.4rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--red); border: 3px solid var(--red); padding: .3rem .8rem; border-radius: .4rem; background: rgb(255 255 255 / .92); transition: scale .45s cubic-bezier(.3, 1.6, .5, 1) .6s, opacity .2s .6s; }
.tile--cookie.is-in .cookie__stamp { scale: 1; opacity: 1; }
.tile--cookie.is-in .cookie { filter: grayscale(.6); rotate: 1deg; }

/* 05 Kontrast-Schalter */
.contrast { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem 1rem; padding: 1rem; border-radius: 1rem; background: #fff; }
.contrast__sample { margin: 0 !important; font-family: var(--display); font-weight: 800; font-size: 1.6rem !important; line-height: 1 !important; color: #c9c4bb !important; transition: color .8s .6s; }
.contrast__sample small { font: 500 .7rem/1.6 var(--mono); }
.contrast__switch { position: relative; width: 2.8rem; height: 1.6rem; border-radius: 99px; background: #d9d4cb; transition: background .4s .4s; }
.contrast__switch i { position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3); transition: translate .5s .4s var(--ease); }
.contrast__label { grid-column: 2; justify-self: center; font: 500 .58rem/1 var(--mono); color: #777; }
.tile--read.is-in .contrast__sample { color: var(--night) !important; }
.tile--read.is-in .contrast__switch { background: var(--green); }
.tile--read.is-in .contrast__switch i { translate: 1.2rem 0; }

/* 06 Festpreis – Bon kommt aus dem Drucker */
.tile--koeln { min-height: 30rem; }
.printer { position: relative; display: grid; justify-items: center; }
.printer__slot { width: 88%; height: .7rem; border-radius: 99px; background: #05070c; box-shadow: inset 0 2px 4px rgb(0 0 0 / .8), 0 1px 0 rgb(255 255 255 / .06); }
.receipt { position: relative; width: 92%; margin-top: -.35rem; padding: .9rem .9rem 1.5rem; background: #FBF7EF; color: var(--night); font: 500 .7rem/1.55 var(--mono);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 93% 97%, 86% 100%, 79% 97%, 72% 100%, 65% 97%, 58% 100%, 51% 97%, 44% 100%, 37% 97%, 30% 100%, 23% 97%, 16% 100%, 9% 97%, 2% 100%, 0 97%);
  transform: translateY(-104%); transition: transform 2.2s steps(11); }
.printer { overflow: hidden; padding-bottom: .2rem; }
.tile--price.is-in .receipt { transform: none; }
.tile .receipt p { display: flex; justify-content: space-between; gap: .5rem; margin: 0; color: var(--night); font-size: .7rem; line-height: 1.6; }
.tile .receipt .receipt__head { justify-content: center; margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px dashed currentColor; font-weight: 700; letter-spacing: .05em; }
.tile .receipt .receipt__sum { margin-top: .5rem; padding-top: .5rem; border-top: 1px dashed currentColor; font-weight: 700; font-size: .78rem; }
.receipt__stamp { position: relative; display: table; margin: .6rem auto 0; rotate: -6deg; padding: .25rem .5rem; border: 2px solid var(--red); border-radius: .3rem; color: var(--red); font: 800 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; opacity: 0; scale: 1.8; transition: scale .4s cubic-bezier(.3, 1.6, .5, 1) 2.4s, opacity .2s 2.4s; }
.tile--price.is-in .receipt__stamp { opacity: 1; scale: 1; }

@media (prefers-reduced-motion: reduce) {
  .gauge__fill { stroke-dashoffset: 8; } .gauge__needle { transform: rotate(74deg); }
  .loadbar i { transform: none; } .loadbar span { opacity: 1; }
  .receipt { transform: none; } .cookie__stamp, .receipt__stamp { scale: 1; opacity: 1; }
  .notes__ok { opacity: 1 !important; transform: none !important; }
}


/* Kachel-Icons in den Palettenfarben */
.tile--speed .tile__no .ico { color: var(--rhein); } .tile--wp .tile__no .ico { color: var(--sky); }
.tile--price .tile__no .ico { color: var(--peach); } .tile--cookie .tile__no .ico { color: var(--dusk); }
.tile--read .tile__no .ico { color: var(--rhein); } .tile--mobile .tile__no .ico { color: var(--peach); }

/* 07 Handy: Fenster schrumpft vom Desktop aufs Handy, Inhalt fließt um */
.device { display: grid; place-items: center; height: 9.5rem; }
.device__screen { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; width: 92%; height: 7rem; padding: 8px; border-radius: 10px; background: var(--cream); box-shadow: 0 0 0 4px #1f2433, 0 20px 30px -18px rgb(0 0 0 / .7); transition: width 1.2s .4s var(--ease), height 1.2s .4s var(--ease), border-radius 1.2s .4s; overflow: hidden; }
.device__screen i { display: block; height: 14px; border-radius: 4px; background: var(--dusk); flex: 1 1 40%; transition: flex-basis 1.2s .4s var(--ease); }
.device__screen .d1 { flex-basis: 100%; height: 22px; background: linear-gradient(90deg, var(--sky), var(--peach)); }
.device__screen .d3, .device__screen .d4 { background: rgb(58 36 22 / .25); }
.device__screen b { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 22px; display: grid; place-items: center; border-radius: 99px; background: var(--red); color: #fff; font: 600 .62rem/1 var(--sans); opacity: 0; translate: 0 10px; transition: opacity .4s 1.5s, translate .5s 1.5s var(--ease); }
.tile--mobile.is-in .device__screen { width: 5.2rem; height: 9rem; border-radius: 14px; }
.tile--mobile.is-in .device__screen i { flex-basis: 100%; }
.tile--mobile.is-in .device__screen b { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .device__screen { width: 5.2rem; height: 9rem; } .device__screen i { flex-basis: 100%; } .device__screen b { opacity: 1; translate: 0 0; } }

/* ---------- Statement + Zeichenstift-Illustration ---------- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.artboard { position: relative; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .8rem 1rem; }
.artboard__name { grid-column: 1 / -1; display: flex; align-items: center; gap: .4rem; margin: 0; font: 500 .68rem/1 var(--mono); color: var(--cream-3); }
.artboard__name .ico { color: var(--sky); width: .95rem; height: .95rem; }
.artboard__canvas { position: relative; border-radius: 1.2rem; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(circle, rgb(11 14 22 / .1) 1px, transparent 1.4px) 0 0 / 16px 16px, linear-gradient(180deg, #DCE3EE 0%, #F4DCCD 62%, #F2BA9F 100%);
  box-shadow: 0 30px 60px -35px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(255 255 255 / .5); }
.alt { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.alt__sun { fill: #FFF3E6; opacity: 0; }
.alt__fills path { opacity: 0; }
.alt__fills .f1 { fill: var(--peach); } .alt__fills .f2 { fill: var(--red); } .alt__fills .f3 { fill: var(--rhein); } .alt__fills .f4 { fill: var(--sky); }
.alt__win path { fill: rgb(11 14 22 / .82); opacity: 0; }
.alt__doors path { fill: var(--dom); opacity: 0; }
.alt__lines path { fill: none; stroke: var(--night); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.alt__lines .l0 { stroke-width: 2; }
.alt__rhein { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.alt__box { fill: none; stroke: var(--blue); stroke-width: 1.4; opacity: 0; }
.alt__handles line { stroke: var(--blue); stroke-width: 1.3; }
.alt__handles circle { fill: #fff; stroke: var(--blue); stroke-width: 1.3; }
.alt__handles { opacity: 0; }
.alt__anchors rect { fill: #fff; stroke: var(--blue); stroke-width: 1.3; opacity: 0; }
.alt__anchors rect.on { fill: var(--blue); }
.alt__pen { opacity: 0; offset-path: path("M260 258V118c0-22 22-26 30-38s10-24 15-30c5 6 7 18 15 30s30 16 30 38v140"); offset-rotate: 0deg; offset-distance: 0%; }
.alt__pen rect { fill: var(--night); }
.alt__pen path { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.artboard__label { position: absolute; right: 9%; top: 9%; padding: .3rem .5rem; border-radius: .3rem; background: var(--blue); color: #fff; font: 500 .62rem/1 var(--mono); white-space: nowrap; opacity: 0; }
.artboard__layers { align-self: start; width: 8.5rem; padding: .7rem; border-radius: .9rem; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--ink-line); font: 500 .62rem/1 var(--mono); color: var(--cream-2); }
.artboard__layers p { display: flex; align-items: center; gap: .35rem; margin: 0 0 .55rem; color: var(--cream-3); }
.artboard__layers li { display: flex; align-items: center; gap: .4rem; padding: .4rem .35rem; border-radius: .35rem; }
.artboard__layers li:first-child { background: rgb(76 141 255 / .2); color: #fff; }
.artboard__layers .ico { width: .85rem; height: .85rem; color: var(--sky); }
.artboard__caption { grid-column: 1 / -1; max-width: 34rem; font-size: .95rem; line-height: 1.55; color: var(--cream-2); }
.artboard__caption b { color: var(--cream); font-weight: 700; }

/* Ablauf der Zeichnung – bewusst ruhig, gut 7 Sekunden */
@media (prefers-reduced-motion: no-preference) {
  .artboard.is-in .alt__lines .l0 { animation: ab-draw 1s .2s ease-out forwards; }
  .artboard.is-in .alt__lines .l1 { animation: ab-draw 1.4s .5s var(--ease-io) forwards; }
  .artboard.is-in .alt__lines .l2 { animation: ab-draw 1.4s 1.3s var(--ease-io) forwards; }
  .artboard.is-in .alt__lines .l3 { animation: ab-draw 1.4s 2.1s var(--ease-io) forwards; }
  .artboard.is-in .alt__lines .l4 { animation: ab-draw 2s 2.9s var(--ease-io) forwards; }
  .artboard.is-in .alt__pen { animation: ab-pen 2s 2.9s var(--ease-io) forwards, ab-fade-out .5s 5.2s forwards; }
  .artboard.is-in .alt__anchors rect { animation: ab-in .3s forwards; }
  .artboard.is-in .alt__anchors rect:nth-child(1) { animation-delay: 2.9s; } .artboard.is-in .alt__anchors rect:nth-child(2) { animation-delay: 3.3s; }
  .artboard.is-in .alt__anchors rect:nth-child(3) { animation-delay: 3.6s; } .artboard.is-in .alt__anchors rect:nth-child(4) { animation-delay: 3.9s; }
  .artboard.is-in .alt__anchors rect:nth-child(5) { animation-delay: 4.2s; } .artboard.is-in .alt__anchors rect:nth-child(6) { animation-delay: 4.5s; }
  .artboard.is-in .alt__anchors rect:nth-child(7) { animation-delay: 4.8s; }
  .artboard.is-in .alt__handles { animation: ab-in .5s 5s forwards; }
  .artboard.is-in .alt__sun { animation: ab-in 1.2s 5s forwards; }
  .artboard.is-in .alt__fills .f1 { animation: ab-in .9s 5.3s forwards; }
  .artboard.is-in .alt__fills .f2 { animation: ab-in .9s 5.7s forwards; }
  .artboard.is-in .alt__fills .f3 { animation: ab-in .9s 6.1s forwards; }
  .artboard.is-in .alt__fills .f4 { animation: ab-in .9s 6.5s forwards; }
  .artboard.is-in .alt__win path, .artboard.is-in .alt__doors path { animation: ab-in .8s 7s forwards; }
  .artboard.is-in .alt__rhein { animation: ab-draw 1.6s 7s ease-out forwards; }
  .artboard.is-in .alt__box, .artboard.is-in .artboard__label { animation: ab-in .5s 7.6s forwards; }
  @keyframes ab-draw { to { stroke-dashoffset: 0; } }
  @keyframes ab-in { to { opacity: 1; } }
  @keyframes ab-fade-out { to { opacity: 0; } }
  @keyframes ab-pen { 0% { opacity: 1; offset-distance: 0%; } 100% { opacity: 1; offset-distance: 100%; } }
}
@media (prefers-reduced-motion: reduce) {
  .alt__lines path, .alt__rhein { stroke-dashoffset: 0; }
  .alt__sun, .alt__fills path, .alt__win path, .alt__doors path, .alt__box, .alt__handles, .alt__anchors rect, .artboard__label { opacity: 1; }
}
@media (max-width: 56rem) {
  .statement__grid { grid-template-columns: 1fr; }
  .artboard { max-width: 28rem; }
}
@media (max-width: 34rem) {
  .artboard { grid-template-columns: 1fr; }
  .artboard__layers { display: none; }
}


/* ---------- Gründe 02–07: einheitliche weiße Bühne für jede Animation ---------- */
.tile__vis { display: grid; place-items: center; height: 12rem; margin: .4rem 0 1.1rem; padding: 1rem; border-radius: 1rem; background: #fff; color: var(--night); overflow: hidden; box-shadow: inset 0 0 0 1px rgb(11 14 22 / .06); }
.tile__vis > * { margin: 0 !important; }
.tile__vis .speed { width: 100%; }
.tile__vis .gauge { width: 8.5rem; }
.tile__vis .gauge__track { stroke: rgb(11 14 22 / .08); }
.tile__vis .gauge__fill { stroke: #1FA46A; }
.tile__vis .gauge__needle line { stroke: var(--night); } .tile__vis .gauge__needle circle { fill: var(--night); }
.tile__vis .loadbar { background: rgb(11 14 22 / .06); color: #fff; }
.tile__vis .loadbar i { background: #1FA46A; }
.tile__vis .notes { width: 100%; gap: .35rem; }
.tile__vis .notes li { background: #FFF4DE; color: #8A5A00; box-shadow: inset 3px 0 0 var(--rhein); padding: .45rem .65rem; }
.tile__vis .notes .notes__ok { background: #E3F5EC; color: #0E7A4F; box-shadow: inset 3px 0 0 #1FA46A; }
.tile__vis .cookie { width: 100%; box-shadow: 0 10px 24px -12px rgb(11 14 22 / .35), 0 0 0 1px rgb(11 14 22 / .08); }
.tile__vis .contrast { width: 100%; padding: 0; background: none; }
.tile__vis .printer { width: 100%; align-self: start; }
.tile__vis .receipt__stamp { margin-top: .35rem; font-size: .7rem; }
.tile__vis .receipt p { line-height: 1.45; font-size: .64rem !important; }
.tile__vis .receipt .receipt__head { margin-bottom: .3rem; padding-bottom: .3rem; }
.tile__vis .receipt .receipt__sum { margin-top: .3rem; padding-top: .3rem; font-size: .68rem !important; }
.tile__vis .printer__slot { background: var(--night); }
.tile__vis .receipt { width: min(100%, 15rem); padding: .6rem .8rem 1.05rem; font-size: .64rem; white-space: nowrap; box-shadow: 0 10px 20px -12px rgb(11 14 22 / .4), 0 0 0 1px rgb(11 14 22 / .06); }
.tile__vis .device { height: auto; }
.tile__vis .device__screen { background: #F4EEE4; box-shadow: 0 0 0 4px var(--night), 0 16px 26px -16px rgb(0 0 0 / .5); }
.tile--mobile.is-in .tile__vis .device__screen { height: 8.4rem; }

/* =========================================================
   ABLAUF – horizontal, beim Scrollen „gepinnt“
   ========================================================= */
.flow { position: relative; background: var(--peach); color: var(--night); margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(1.5rem, 3vw, 2.5rem); overflow: clip; }
.flow .label { background: rgb(11 14 22 / .08); box-shadow: inset 0 0 0 1px rgb(11 14 22 / .2); color: var(--night); }
.flow .label span { color: rgb(11 14 22 / .6); }
.flow .label .ico { color: var(--red-2); }
.flow__pin { padding-block: clamp(2rem, 3.5vw, 2.75rem); }
.flow__head { margin-bottom: 2rem; }

.flow__viewport { overflow: hidden; }
.flow__track { display: flex; gap: clamp(1rem, 2vw, 1.5rem); padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2); width: max-content; will-change: transform; }
.step { width: min(80vw, 24rem); min-height: 17rem; padding: 2rem; border-radius: 1.4rem; background: #FFF8F3; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgb(7 9 15 / .06), 0 30px 50px -35px rgb(7 9 15 / .35); }
/* Konturziffer ohne innere Überschneidungen: doppelt breite Kontur unter einer Füllung in Kartenfarbe, sichtbar bleibt nur die Außenlinie */
.step__no { font-family: var(--display); font-weight: 800; font-size: 4.6rem; line-height: .9; letter-spacing: .02em; color: #FFF8F3; -webkit-text-stroke: 3px var(--red); paint-order: stroke fill; margin-bottom: auto; }
.step h3 { font-size: 1.9rem; font-weight: 650; margin: 1.5rem 0 .7rem; }
.step p { color: rgb(7 9 15 / .7); }
.step--price { background: var(--night); color: var(--cream); width: min(86vw, 30rem); justify-content: flex-end; }
.step--price h3 { font-size: 2.3rem; margin-top: 0; }
.step--price p { color: var(--cream-2); margin-bottom: 1.75rem; }
.step--price strong { color: var(--cream); }
.step--price .btn { align-self: flex-start; }
.flow__bar { height: 2px; background: rgb(11 14 22 / .15); margin-top: 1.75rem; border-radius: 2px; overflow: hidden; }
.flow__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
/* Wenn gepinnt (per JS aktiviert, nur Desktop & ohne reduzierte Bewegung) */
.flow.is-pinned { height: var(--flow-h, 300vh); }
.flow.is-pinned .flow__pin { position: sticky; top: max(5.25rem, min(9rem, (100svh - var(--pin-h, 40rem)) / 2)); display: flex; flex-direction: column; padding-block: 2.5rem 2rem; overflow: hidden; }
.flow:not(.is-pinned) .flow__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.flow:not(.is-pinned) .step { scroll-snap-align: center; }
.flow:not(.is-pinned) .flow__bar { display: none; }

/* =========================================================
   ÜBER MICH
   ========================================================= */
.about { padding-block: var(--space); }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.about__photo { position: sticky; top: 7rem; margin: 0; border-radius: 1.4rem; overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); transition: filter 1.4s var(--ease), transform 1.4s var(--ease); transform: scale(1.06); }
.about__photo.is-in img { filter: none; transform: none; }
.about__photo figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .9rem 1.1rem; border-radius: 1rem; background: rgb(7 9 15 / .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .85rem; color: var(--cream-2); }
.about__photo figcaption b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--cream); font-weight: 650; }
.about__text .h2 { margin-bottom: 2rem; }
.about__text > p.about__lead:not(.label) { font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.25; letter-spacing: -.015em; color: var(--cream); margin-bottom: 1.75rem !important; }

.about__text > p:not(.label) { color: var(--cream-2); font-size: 1.08rem; line-height: 1.65; max-width: 40rem; }
/* Werdegang als dezente Zeitlinie: feine Linie, kleine Punkte, nur „heute“ ausgefüllt */
.timeline { margin-top: 3rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; align-items: start; padding: .9rem 0 .9rem 2rem; color: var(--cream-2); line-height: 1.6rem; transition: color .3s; }
.timeline li::before { content: ""; position: absolute; left: .28rem; top: 0; bottom: 0; width: 1px; background: var(--ink-line); }
.timeline li:first-child::before { top: 1.84rem; }
.timeline li:last-child::before { bottom: auto; height: 1.84rem; }
.timeline li::after { content: ""; position: absolute; left: 0; top: calc(1.84rem - .3rem); width: .6rem; height: .6rem; box-sizing: border-box; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 1.5px var(--cream-3); transition: box-shadow .3s; }
.timeline li:last-child::after { background: var(--red); box-shadow: 0 0 0 4px rgb(255 90 60 / .18); }
.timeline li:hover { color: var(--cream); }
.timeline li:not(:last-child):hover::after { box-shadow: inset 0 0 0 1.5px var(--red); }
.timeline__year { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--cream); letter-spacing: -.02em; white-space: nowrap; }
.timeline li:hover .timeline__year, .timeline li:last-child .timeline__year { color: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .js .timeline li::before { transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease) calc(var(--i) * .15s); }
  .js .timeline.is-in li::before { transform: none; }
}
@media (max-width: 30rem) { .timeline li { grid-template-columns: 1fr; gap: .1rem; } }
@media (max-width: 56rem) { .about__grid { grid-template-columns: 1fr; } .about__photo { position: relative; top: 0; max-width: 24rem; } }

/* =========================================================
   FAQ
   ========================================================= */
/* Fragen als abgesetzte dunkle Fläche */
.faq-sec { padding-block: var(--space); background: var(--night-3); margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(1.5rem, 3vw, 2.5rem); box-shadow: inset 0 0 0 1px var(--ink-line); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-grid .head { position: sticky; top: 7rem; }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq details:first-child { border-top: 1px solid var(--ink-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; padding: 1.6rem 0; font-family: var(--display); font-weight: 550; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary i { position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-line); transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i { background: var(--red); color: var(--night); transform: rotate(180deg); }
.faq details[open] summary i::after { rotate: 0deg; }
.faq__a { padding: 0 3.5rem 1.75rem 0; color: var(--cream-2); font-size: 1.05rem; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}
@media (max-width: 56rem) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .head { position: static; } }

/* =========================================================
   KONTAKT – Kreis öffnet sich zum nächtlichen Dom
   ========================================================= */
.contact { position: relative; min-height: 0; display: grid; align-items: center; padding-block: var(--space); overflow: hidden; isolation: isolate; }
.contact__img { position: absolute; inset: 0; z-index: -1; }
.contact__img img, .contact__img picture { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.contact__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 9 15 / .92) 0%, rgb(7 9 15 / .7) 50%, rgb(7 9 15 / .35) 100%), linear-gradient(to top, var(--night), transparent 30%); }
/* Desktop: Hochformat-Foto nur rechts zeigen, damit Dom und Hohenzollernbrücke erkennbar bleiben statt eines vergrößerten Himmelsstreifens */
@media (min-width: 48rem) {
  .contact__img { left: auto; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
  .contact__img img, .contact__img picture { object-position: 50% 68%; }
  .contact__img::after { background: linear-gradient(90deg, rgb(7 9 15 / .6) 0%, rgb(7 9 15 / .15) 60%, rgb(7 9 15 / .1) 100%), linear-gradient(to top, var(--night), transparent 25%); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .contact__img { animation: iris linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes iris { from { clip-path: circle(8% at 70% 50%); } to { clip-path: circle(120% at 70% 50%); } }
  }
}
.contact__lead { margin-top: 2rem; max-width: 34rem; font-size: 1.15rem; color: var(--cream-2); }
.contact__mail { margin: 2.5rem 0 1.5rem; }
.contact__link { display: inline-block; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 5.4vw, 4.2rem); letter-spacing: -.03em; text-decoration: none; color: var(--cream); background: linear-gradient(var(--red), var(--red)) 0 100% / 0 3px no-repeat; transition: background-size .6s var(--ease), color .3s; overflow-wrap: anywhere; }
.contact__link:hover { background-size: 100% 3px; color: var(--red); }
.contact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; color: var(--cream-3); font-size: .95rem; }
.copy { font: inherit; font-size: .9rem; color: var(--cream); background: rgb(243 237 227 / .08); border: 1px solid var(--ink-line); border-radius: 99px; padding: .55rem 1.1rem; cursor: pointer; transition: background .3s; }
.copy:hover { background: rgb(243 237 227 / .16); }

/* =========================================================
   FUSSZEILE – Karte mit Dom-Linienzeichnung
   ========================================================= */
.foot { padding: 4rem 0 2rem; background: var(--night); }
.foot__card { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 2.5rem 3rem; padding: clamp(2rem, 4vw, 3rem); border-radius: 1.6rem; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--ink-line); overflow: hidden; }
.foot__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40rem 20rem at 0% 100%, rgb(242 186 159 / .12), transparent 70%); }
.foot__brand { position: relative; }
.dom-outline { width: 8rem; height: auto; margin-bottom: 1.2rem; overflow: visible; }
.dom-outline path { fill: none; stroke: var(--peach); stroke-width: 12; stroke-linejoin: round; vector-effect: none; }
@media (prefers-reduced-motion: no-preference) {
  .foot .dom-outline path { stroke-dasharray: 6000; stroke-dashoffset: 6000; transition: stroke-dashoffset 2.6s var(--ease-io); }
  .foot.is-in .dom-outline path { stroke-dashoffset: 0; }
}
.foot__name { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1; margin-bottom: .6rem; }
.foot__claim { color: var(--cream-2); font-size: .95rem; }
.foot__h { font: 500 .68rem/1 var(--mono); color: var(--cream-3); margin-bottom: 1rem; }
.foot__col li { margin-bottom: .55rem; color: var(--cream-2); font-size: .95rem; }
.foot a { color: var(--cream); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.foot a:hover { background-size: 100% 1px; color: var(--red); }
.foot__top { align-self: start; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--cream) !important; color: var(--night) !important; }
.foot__top svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.foot__top:hover svg { transform: translateY(-3px); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font: 500 .68rem/1.4 var(--mono); color: var(--cream-3); }
.foot__bottom p { margin: 0; }
.foot__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.foot__badges span { padding: .35rem .6rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink-line); }
.foot__badges span::before { content: "✓ "; color: var(--green); }
@media (max-width: 56rem) { .foot__card { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot__top { position: absolute; right: 1.5rem; top: 1.5rem; } }
@media (max-width: 30rem) { .foot__card { grid-template-columns: 1fr; } }

/* ---------- Designer-Details in den Abschnitten ---------- */
/* Icons in Karten & Schritten */
.card__no { display: flex; align-items: center; gap: .6rem; font: 500 .8rem/1 var(--mono) !important; font-style: normal !important; }
.card__ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: color-mix(in srgb, var(--fg) 8%, transparent); box-shadow: inset 0 0 0 1px var(--line); margin-right: .4rem; }
.card__ico .ico { width: 1.3rem; height: 1.3rem; }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: auto; }
.step__ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .9rem; background: rgb(255 90 60 / .1); color: var(--red); }
.step__ico .ico { width: 1.4rem; height: 1.4rem; }
.step--price .step__ico { background: rgb(255 255 255 / .08); }

/* Anmerkungs-Pins auf der „Nachher“-Seite */
.pin { position: absolute; z-index: 2; pointer-events: none; display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; min-width: 22px; min-height: 22px; border-radius: 50% 50% 50% 0; background: var(--red); color: #fff; font: 700 max(.7rem, 1.1cqw)/1 var(--mono); box-shadow: 0 0 0 .35cqw rgb(255 90 60 / .3); cursor: help; }
.pin::after { content: attr(data-note); position: absolute; left: calc(100% + .8cqw); top: 50%; translate: 0 -50%; width: max-content; max-width: 22cqw; padding: .8cqw 1.1cqw; border-radius: .8cqw; background: #fff; color: #0E1320; font: 500 max(.62rem, 1.05cqw)/1.35 var(--sans); box-shadow: 0 1cqw 3cqw rgb(0 0 0 / .35); pointer-events: none; }
.pin--1 { left: 44.2%; top: 26%; } .pin--2 { left: 95.4%; top: 1.9%; } .pin--3 { left: 47.9%; top: 48.6%; } .pin--4 { left: 71.9%; top: 3.2%; }
.pin--3::after { top: auto; bottom: .3cqw; translate: 0 0; }
.pin--4::after { left: auto; right: calc(100% + .8cqw); top: 0; translate: 0 -45%; }
@media (prefers-reduced-motion: no-preference) { .pin { animation: pin-pulse 2.4s infinite; } @keyframes pin-pulse { 50% { box-shadow: 0 0 0 .8cqw rgb(255 90 60 / 0); } } }
.pin--2::after { left: auto; right: 0; top: calc(100% + 4.4cqw); translate: 0 0; }

/* Kommentar am Porträt */
.note { position: absolute; z-index: 2; top: 1.2rem; right: -1rem; display: flex; align-items: center; gap: .55rem; margin: 0; padding: .55rem .9rem .55rem .55rem; border-radius: 1.2rem 1.2rem 1.2rem .2rem; background: #fff; color: var(--night); font-weight: 600; font-size: .9rem; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); rotate: 3deg; }
.note i { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--red); color: #fff; font: 700 .75rem/1 var(--mono); font-style: normal; }
.about__photo { overflow: visible !important; }
.about__photo img { border-radius: 1.4rem; }
@media (max-width: 56rem) { .note { right: .8rem; } }

/* Kontakt-Mail-Icon */
.contact__mail { display: flex; align-items: center; gap: 1rem; }
.contact__ico { width: clamp(2rem, 4vw, 3.2rem); height: clamp(2rem, 4vw, 3.2rem); color: var(--red); stroke-width: 1.4; }

/* Scroll-Einblendungen allgemein */
.js .io-up { opacity: 0; transform: translateY(2rem); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .io-up.is-in { opacity: 1; transform: none; }

/* =========================================================
   Rechtliches
   ========================================================= */
.legal main { padding-top: 4.75rem; }
.legal__body { padding-block: clamp(3rem, 8vw, 6rem) var(--space); max-width: 46rem; }
.legal__body h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 700; margin-bottom: 2.5rem; letter-spacing: -.04em; view-transition-name: page-title; }
.legal__body h2 { font-size: 1.45rem; margin: 2.75rem 0 .8rem; font-weight: 650; }
.legal__body p { color: var(--cream-2); }
.legal__body a { color: var(--cream); }
.legal__lead { font-size: 1.15rem; color: var(--cream) !important; padding: 1.25rem 1.5rem; border-radius: 1rem; background: rgb(255 90 60 / .1); box-shadow: inset 3px 0 0 var(--red); }
.legal__date { margin-top: 3rem; font-size: .9rem; }
.notfound .label { font-size: 1rem; }
.notfound .btn { margin-top: 1.5rem; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* =========================================================
   Reduzierte Bewegung: alles ruhig, alles sichtbar
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .split .w > span { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
  .top, .foot, .grain, .progress, .marquee, .city { display: none; }
  body, .flow, .card { background: #fff !important; color: #000 !important; }
}

/* ---------- Feinschliff Handy ---------- */
@media (max-width: 56rem) {
  .stack__item { position: relative; top: 0; }
  .card { transform: none; } .card::after { display: none; }
  .ba__tag { font-size: .62rem; padding: .25rem .55rem; bottom: .6rem; }
  .ba__tag--l { left: .6rem; } .ba__tag--r { right: .6rem; }
  .ba__handle span { width: 2.6rem; height: 2.6rem; }
  .step { min-height: 18rem; }
  .flow:not(.is-pinned) .flow__head::after { content: "Wischen für mehr →"; display: block; margin-top: 1rem; font-size: .85rem; color: rgb(7 9 15 / .55); }
}

/* Handy: im kleinen Vorschaubild nur die Pin-Nummern, keine Notizen */
@media (max-width: 40rem) { .pin::after { display: none; } .pin { min-width: 18px; min-height: 18px; } }

/* Kleine Handys: Bühne der Gründe mit weniger Innenabstand */
@media (max-width: 22rem) { .tile { padding: 1.2rem; } .tile__vis { padding: .7rem; } .contrast__sample { font-size: 1.35rem !important; } }
