/* nj-hoffmann.de
   Aufbau und Menü nach Dennis Snellenberg, Anordnung nach Pentagram,
   Bewegung beim ersten Blick nach Studio Feixen, Kapsel-Navigation wie bei Fair for Fitness. */
:root {
  --ink: #1c1d20;
  --ink-2: #2a2c31;
  --paper: #efeeec;
  --paper-2: #e3e2de;
  --white: #ffffff;
  --muted: #6b6c70;
  --line: rgba(28, 29, 32, 0.14);
  --accent: #b28a3e;            /* Gold, aus der bisherigen Marke */
  --accent-2: #455ce9;          /* Blau als zweite Bewegungsfarbe */
  --display: "Schibsted Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: linear(0, 0.45 7%, 0.95 16%, 1.12 24%, 1.08 32%, 0.98 44%, 1.01 60%, 1);
  --pad: clamp(20px, 4.2vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform 0.35s var(--ease-out); }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sec-title { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -0.03em; }


/* Buchstaben rollen beim Überfahren */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.3; }
.roll__row { display: block; white-space: nowrap; }
.roll__row + .roll__row { position: absolute; left: 0; top: 100%; }
.roll__row > span { display: inline-block; transition: transform 0.5s var(--ease-out); transition-delay: calc(var(--i) * 14ms); }
a:hover > .roll .roll__row > span, a:hover .cta__text .roll__row > span, .capsule.is-hover .roll__row > span { transform: translateY(-100%); }

/* Überschriften: Buchstaben steigen auf */

/* Allgemeines Einblenden */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s ease, transform 1s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Unterstrich zeichnet sich */
.uline { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); padding-bottom: 2px; }
.uline:hover { background-size: 100% 1px; }

/* Scroll-Fortschritt */
.progress { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------------- Vorspann ---------------- */
.loader { position: fixed; inset: 0; z-index: 100; color: var(--white); }
.loader.is-swirl { pointer-events: none; }
.loader__bg { position: absolute; inset: 0; background: var(--ink); will-change: clip-path; }
.loader__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.loader__word { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.02em; }
.loader__word::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.loader__word span { display: inline-block; animation: wordIn 0.22s var(--ease-out); }
@keyframes wordIn { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }
.loader__char { position: fixed; z-index: 101; left: 0; top: 0; color: var(--white); mix-blend-mode: difference; pointer-events: none; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; white-space: pre; will-change: transform, opacity; }
.loader__char--dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.capsule.is-absorb, .menu-btn.is-absorb { animation: absorb 0.6s var(--ease-out); }
@keyframes absorb { 0% { box-shadow: 0 0 0 0 rgba(178, 138, 62, 0.9); scale: 0.9; } 45% { scale: 1.14; } 100% { box-shadow: 0 0 0 22px rgba(178, 138, 62, 0); scale: 1; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #cfc9bf; color: var(--ink); }
.hero__photo { position: absolute; top: -6%; left: -2%; width: 104%; height: 106%; max-width: none; object-fit: cover; object-position: 50% 28%; will-change: transform; transition: translate 1.2s var(--ease-out); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(239, 238, 236, 0.45) 0%, rgba(239, 238, 236, 0) 24%, rgba(239, 238, 236, 0) 62%, rgba(239, 238, 236, 0.55) 100%); pointer-events: none; }

.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 26px var(--pad); }
.logo { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 1rem; }
.logo__c { display: inline-block; transition: transform 0.9s var(--ease); }
.logo__roll { display: grid; overflow: hidden; white-space: nowrap; }
.logo__roll > span { grid-area: 1 / 1; transition: transform 0.8s var(--ease); }
.logo__b { transform: translateX(105%); }
.logo:hover .logo__c { transform: rotate(360deg); }
.logo:hover .logo__a { transform: translateX(-105%); }
.logo:hover .logo__b { transform: translateX(0); }

.cta { position: relative; display: inline-flex; overflow: hidden; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500; font-size: 0.95rem; }
.cta__fill { position: absolute; left: -10%; width: 120%; height: 300%; top: 110%; border-radius: 50%; background: var(--accent); transition: top 0.6s var(--ease); }
.cta:hover .cta__fill { top: -100%; }
.cta__text { position: relative; }

/* Kapseln wie bei Fair for Fitness */
.capsules { position: fixed; z-index: 45; top: 94px; left: 50%; translate: -50% 0; max-width: calc(100vw - 2 * var(--pad)); will-change: transform; }
.capsules__list { position: relative; display: flex; gap: 8px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; transition: background 0.6s ease, box-shadow 0.6s ease; }
.capsules__list::-webkit-scrollbar { display: none; }
.capsules__bubble { position: absolute; top: 6px; bottom: 6px; left: 0; width: 100%; border-radius: 999px; background: var(--accent); opacity: 0; clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 0.55s var(--ease-out), opacity 0.35s ease; pointer-events: none; }
.capsules__bubble.is-on { opacity: 1; }
.capsule { position: relative; display: block; padding: 9px 18px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(28, 29, 32, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s; }
.capsule.is-hover { background: transparent; border-color: transparent; color: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.capsule.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(178, 138, 62, 0.35); }
.capsules.is-floating .capsules__list { background: rgba(28, 29, 32, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.capsules.is-floating .capsule { background: transparent; border-color: rgba(255, 255, 255, 0.14); color: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.capsules.is-floating .capsule.is-active { background: var(--white); color: var(--ink); border-color: var(--white); }
.nav-burger .capsules { display: none; }

.hero__badge { position: absolute; z-index: 4; left: 0; top: 47%; display: flex; align-items: center; gap: 26px; padding: 22px 22px 22px 30px; background: var(--ink); color: var(--white); border-radius: 0 999px 999px 0; font-size: 0.98rem; line-height: 1.25; transition: translate 1s var(--ease-out); }
.hero__globe { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #999d9e33; color: var(--white); }
.hero__globe svg { width: 34px; height: 34px; }
.globe-spin { transform-origin: 20px 20px; animation: globe 5s linear infinite; }
@keyframes globe { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }

.hero__role { position: absolute; z-index: 4; right: var(--pad); top: 42%; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; font-family: var(--display); font-weight: 500; transition: translate 1s var(--ease-out); }
.hero__arrow { width: 24px; height: 24px; margin-bottom: clamp(18px, 3vw, 44px); }

.marquee { position: absolute; z-index: 4; left: 0; right: 0; bottom: 3.5vh; overflow: hidden; pointer-events: none; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--display); font-weight: 500; font-size: clamp(5.5rem, 15.5vw, 15rem); line-height: 1; letter-spacing: -0.035em; padding-right: 0.25em; white-space: nowrap; }

/* ---------------- Menüknopf + Panel ---------------- */
.menu-btn { position: fixed; z-index: 60; top: 22px; right: var(--pad); width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; display: grid; place-items: center; transform: scale(0); transition: transform 0.55s var(--ease-out), background 0.3s; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 30px -12px rgba(0, 0, 0, 0.5); }
.menu-btn.is-shown { transform: scale(1); }
.menu-btn:hover { background: var(--accent); }
.menu-btn__lines { position: relative; width: 26px; height: 10px; }
.menu-btn__lines span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--white); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn__lines span:first-child { top: 0; }
.menu-btn__lines span:last-child { top: 100%; }
.menu-btn.is-open .menu-btn__lines span:first-child { top: 50%; transform: rotate(45deg); }
.menu-btn.is-open .menu-btn__lines span:last-child { top: 50%; transform: rotate(-45deg); }
.cta { transition: transform 0.6s var(--ease-out); }
.has-burger .topbar .cta { transform: translateX(-100px); }

.menu-dim { position: fixed; inset: 0; z-index: 40; background: rgba(12, 12, 14, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease); }
.menu-dim.is-on { opacity: 1; pointer-events: auto; }
.menu { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(600px, 100vw); background: var(--ink); color: var(--white); transform: translateX(calc(100% + 100px)); will-change: transform; }
.menu__curve { position: absolute; top: 0; left: -99px; width: 100px; height: 100%; fill: var(--ink); }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(40px, 6vw, 90px); gap: 14px; overflow-y: auto; }
.menu__label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #999d9e; padding-bottom: 16px; border-bottom: 1px solid #ffffff26; margin-bottom: 12px; }
.menu__list { display: grid; gap: 2px; margin-bottom: 36px; }
.menu__link { position: relative; display: flex; align-items: center; font-family: var(--display); font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.18; transform: translateX(90px); opacity: 0; transition: color 0.3s; }
.menu__link .dot { position: absolute; left: -30px; width: 9px; height: 9px; }
.menu__link:hover .dot, .menu__link.is-active .dot { transform: scale(1); }
.menu__mail { color: #d6d6d6; }
.menu__mail:hover { color: var(--white); }

/* ---------------- Reel ---------------- */
.reel { position: relative; height: clamp(460px, 80vh, 780px); overflow: hidden; background: var(--ink); will-change: clip-path; }
.reel__shape { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: 0.9; will-change: transform; }
.reel__shape--a { width: 22vw; height: 22vw; min-width: 160px; min-height: 160px; background: var(--accent); left: 6%; top: 12%; animation: drift1 16s ease-in-out infinite alternate; }
.reel__shape--b { width: 12vw; height: 12vw; min-width: 90px; min-height: 90px; background: var(--accent-2); right: 12%; top: 8%; animation: drift2 13s ease-in-out infinite alternate; }
.reel__shape--c { width: 7vw; height: 7vw; min-width: 56px; min-height: 56px; background: #f2f1ee; left: 44%; bottom: 10%; animation: drift3 11s ease-in-out infinite alternate; }
.reel__shape--d { width: 4vw; height: 4vw; min-width: 36px; min-height: 36px; background: #e0493e; right: 30%; bottom: 22%; animation: drift1 9s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 14vh) scale(0.85); } }
@keyframes drift3 { to { transform: translate(-6vw, -18vh) scale(1.3); } }
.reel__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle 320px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.13), transparent 70%); opacity: 0; transition: opacity 0.5s; }
.reel:hover .reel__spot { opacity: 1; }

.win { position: absolute; background: #f4f4f4; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); will-change: transform; cursor: pointer; }
.win__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #e6e6e6; font-size: 0.7rem; color: #777; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c9c9; transition: background 0.3s; }
.win:hover .win__bar i:nth-child(1) { background: #ff5f57; }
.win:hover .win__bar i:nth-child(2) { background: #febc2e; }
.win:hover .win__bar i:nth-child(3) { background: #28c840; }
.win__bar span { margin-left: 10px; }
.win__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.08); transition: opacity 0.9s ease; }
.frame.is-on { opacity: 1; animation: pan 6s linear forwards; }
@keyframes pan { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.08) translateY(-3.5%); } }
.win--a { width: min(46vw, 700px); left: 8%; top: 16%; --r: -5deg; transform: rotate(var(--r)); }
.win--b { width: min(34vw, 520px); right: 7%; top: 30%; --r: 6deg; transform: rotate(var(--r)); }
.win--c { width: min(24vw, 360px); left: 44%; top: 58%; --r: -10deg; transform: rotate(var(--r)); }

/* ---------------- Leistungen ---------------- */


/* Bildwelten der Leistungen */
.vis { display: grid; place-items: center; overflow: hidden; }
.vis--web { background: var(--ink); }
.vis--web img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vis--auto { background: #23201b; color: var(--accent); }
.vis--auto svg { width: 82%; }
.vis--brain { background: #e9e4d8; color: var(--ink); }
.vis--brain svg { width: 72%; }
.vis--voice { background: var(--accent-2); color: var(--white); }
.pulse { transform-origin: 200px 150px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.wave { display: flex; align-items: center; gap: 1.4%; width: 76%; height: 50%; }
.wave i { flex: 1; height: 100%; border-radius: 99px; background: currentColor; transform: scaleY(0.2); animation: bar var(--t, 1.1s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes bar { to { transform: scaleY(var(--h, 0.9)); } }
.tile:hover .wave i, .sheet .wave i { animation-duration: 0.45s; }

/* ---------------- Laufband ---------------- */

/* ---------------- Arbeiten ---------------- */
.work { position: relative; padding: clamp(100px, 12vw, 180px) var(--pad) clamp(90px, 12vw, 180px); max-width: 1500px; margin: 0 auto; }
.sentence { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.3em; width: fit-content; max-width: 100%; margin: 0 auto clamp(50px, 7vw, 90px); padding: 16px 26px; background: var(--paper-2); border-radius: 6px; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.01em; }
.sentence__pick { position: relative; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.sentence__pick select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; cursor: pointer; padding: 0 18px 2px 0; border-bottom: 2px solid var(--ink); border-radius: 0; font-weight: 600; max-width: 100%; }
.sentence__pick svg { position: absolute; right: 0; top: 50%; width: 12px; height: 8px; margin-top: -4px; pointer-events: none; }

.grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3.4vw, 50px) clamp(16px, 2.4vw, 36px); }
.tile { display: block; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.tile.is-out { opacity: 0; transform: scale(0.96); pointer-events: none; }
.tile.is-gone { display: none; }
.tile--wide, .tile--open { grid-column: 1 / -1; }
.tile__media { position: relative; overflow: hidden; border-radius: 6px; background: var(--paper-2); aspect-ratio: 4 / 3; display: grid; place-items: center; clip-path: inset(100% 0 0 0 round 6px); transition: clip-path 1.2s var(--ease), transform 0.6s var(--ease-out); transform-style: preserve-3d; }
.tile.is-seen .tile__media { clip-path: inset(0 0 0 0 round 6px); }
.tile--wide .tile__media { aspect-ratio: 16 / 7; }
.tile--open .tile__media { aspect-ratio: 16 / 4; }
.tile__media img { width: 86%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); scale: 1.25; transition: scale 1.4s var(--ease-out), transform 0.9s var(--ease-out); }
.tile.is-seen .tile__media img { scale: 1; }
.tile--wide .tile__media img { width: 64%; }
.tile__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 2px 0; }
.tile__meta h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.01em; }
.tile__meta p { color: var(--muted); font-size: 0.95rem; text-align: right; }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s var(--ease-out); }
.tile.is-drawn .draw, .tile--draw:hover .draw { stroke-dashoffset: 0; }
.tile__media--open { border: 1.5px dashed #b9b8b3; background: rgba(239, 238, 236, 0.7); }
.tile__media--open span { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--muted); transition: color 0.3s, letter-spacing 0.6s var(--ease-out); }
.tile--open:hover .tile__media--open span { color: var(--ink); letter-spacing: 0.04em; }

/* ---------------- Über mich ---------------- */
.intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 6vw, 110px); padding: clamp(60px, 8vw, 120px) var(--pad) clamp(70px, 9vw, 130px); max-width: 1500px; margin: 0 auto; scroll-margin-top: 60px; }
.intro__main .eyebrow { margin-bottom: 26px; }
.intro__big { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.22; letter-spacing: -0.01em; }
.scrub .w { opacity: 0.16; transition: opacity 0.25s linear; }
.mask { display: grid; }
.mask > * { grid-area: 1 / 1; }
.mask__layer { margin: -150px -40px; padding: 150px 40px; }
.mask__layer { color: var(--accent); pointer-events: none; -webkit-mask-image: radial-gradient(circle var(--mr, 0px) at var(--mx, 50%) var(--my, 50%), #000 98%, transparent 100%); mask-image: radial-gradient(circle var(--mr, 0px) at var(--mx, 50%) var(--my, 50%), #000 98%, transparent 100%); background: var(--ink); color: var(--paper); }
.intro__side { display: flex; flex-direction: column; gap: 44px; align-items: flex-start; padding-top: 50px; }
.intro__side p { max-width: 34ch; color: var(--muted); }

/* Stapelkarten */
.stack { max-width: 1300px; margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 150px); }
.stack__card { position: sticky; top: calc(96px + var(--i) * 26px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; min-height: clamp(300px, 50vh, 460px); margin-bottom: 10vh; padding: clamp(28px, 4vw, 60px); border-radius: 22px; transform-origin: center top; transform: scale(calc(1 - var(--p, 0) * 0.07)); will-change: transform; }
.stack__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: calc(var(--p, 0) * 0.25); pointer-events: none; }
.stack__card:last-child { margin-bottom: 0; }
.stack__card--1 { background: var(--paper-2); }
.stack__card--2 { background: var(--ink); color: var(--white); }
.stack__card--3 { background: var(--accent); color: var(--ink); }
.stack__num { font-family: var(--display); font-size: clamp(5rem, 13vw, 11rem); line-height: 0.8; letter-spacing: -0.05em; }
.stack__card h3 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.stack__card p { max-width: 42ch; font-size: 1.08rem; opacity: 0.85; }

/* ---------------- Pinnwand ---------------- */
.board { padding: clamp(40px, 6vw, 90px) var(--pad) clamp(120px, 14vw, 200px); max-width: 1500px; margin: 0 auto; }
.board__head { display: flex; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.board__head .eyebrow { width: 100%; }
.board__sub { color: var(--muted); padding-bottom: 10px; }
.board__area { position: relative; height: clamp(520px, 70vh, 700px); border-radius: 18px; background: #d9cdb8 radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1.5px) 0 0 / 14px 14px; box-shadow: inset 0 0 0 10px #b99f78, inset 0 0 40px rgba(0, 0, 0, 0.18); overflow: hidden; touch-action: pan-y; }
.note { position: absolute; left: var(--x); top: var(--y); width: clamp(150px, 16vw, 220px); padding: 14px 14px 16px; background: var(--white); border-radius: 3px; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.45); transform: rotate(var(--r)); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.note.is-drag { cursor: grabbing; box-shadow: 0 34px 50px -18px rgba(0, 0, 0, 0.5); }
.note img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 2px; pointer-events: none; }
.note--photo img { aspect-ratio: 3 / 4; object-position: 55% 22%; }
.note span { display: block; margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.note p { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.15; font-weight: 500; min-height: 5.5em; display: flex; align-items: flex-end; }
.note--yellow { background: #f3de7e; }
.note--blue { background: var(--accent-2); color: var(--white); }
.note--dark { background: var(--ink); color: var(--white); }
.pin { position: absolute; left: 50%; top: -7px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f07a6f, #b8322a 60%); box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35); }

/* ---------------- Runde Knöpfe + Pillen ---------------- */
.btn-round { position: relative; display: grid; place-items: center; width: clamp(150px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; color: var(--white); text-align: center; line-height: 1.2; }
.btn-round--dark { background: var(--ink); }
.btn-round--accent { background: var(--accent-2); }
.btn-round__fill, .pill__fill { position: absolute; left: -10%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); top: 100%; transition: top 0.6s var(--ease); }
.btn-round:hover .btn-round__fill { top: -10%; }
.btn-round__text, .pill__text { position: relative; }
.pill { position: relative; display: inline-flex; overflow: hidden; padding: 22px 34px; border-radius: 999px; border: 1px solid #ffffff33; background: none; color: var(--white); cursor: pointer; font-size: 1rem; }
.pill__fill { aspect-ratio: auto; height: 300%; top: 110%; }
.pill:hover .pill__fill { top: -100%; }

/* ---------------- Footer ---------------- */
.foot { position: relative; background: var(--ink); color: var(--white); padding: clamp(130px, 15vw, 220px) var(--pad) 100px; overflow: hidden; }
.foot__head { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); max-width: 1300px; margin: 0 auto; }
.foot__avatar { flex-shrink: 0; width: clamp(70px, 7vw, 110px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #cfc9bf; }
.foot__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 31%; transform: scale(2.7); transform-origin: 60% 31%; }
.foot__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 12ch; }
.foot__line { position: relative; max-width: 1300px; margin: clamp(60px, 8vw, 110px) auto clamp(60px, 7vw, 90px); height: 1px; background: #ffffff2e; }
.foot__line .btn-round { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); }
.foot__pills { display: flex; flex-wrap: wrap; gap: 14px; max-width: 1300px; margin: 0 auto clamp(80px, 10vw, 140px); }
.foot__base { display: flex; flex-wrap: wrap; gap: 44px; max-width: 1300px; margin: 0 auto; font-size: 0.92rem; }
.foot__label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #999d9e; margin-bottom: 10px; }
.foot__links { margin-left: auto; }
.foot__addr { font-style: normal; }
.foot__links a { margin-right: 18px; }

/* ---------------- Detailansicht ---------------- */
.sheet { position: fixed; inset: 0; z-index: 90; overflow-y: auto; background: var(--sheet-bg, var(--ink)); color: var(--sheet-fg, var(--white)); clip-path: circle(0px at var(--x, 50%) var(--y, 50%)); transition: clip-path 0.85s var(--ease); overscroll-behavior: contain; }
.sheet.is-open { clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); }
.sheet[data-theme="auto"] { --sheet-bg: #23201b; }
.sheet[data-theme="brain"] { --sheet-bg: #e9e4d8; --sheet-fg: var(--ink); }
.sheet[data-theme="voice"] { --sheet-bg: var(--accent-2); }
.sheet__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; max-width: 1300px; min-height: 100%; margin: 0 auto; padding: 120px var(--pad) 80px; }
.sheet__body > * { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.9s var(--ease-out); }
.sheet.is-open .sheet__body > * { opacity: 1; transform: none; }
.sheet.is-open .sheet__body > *:nth-child(1) { transition-delay: 0.3s; }
.sheet.is-open .sheet__body > *:nth-child(2) { transition-delay: 0.36s; }
.sheet.is-open .sheet__body > *:nth-child(3) { transition-delay: 0.42s; }
.sheet.is-open .sheet__body > *:nth-child(4) { transition-delay: 0.48s; }
.sheet.is-open .sheet__body > *:nth-child(5) { transition-delay: 0.54s; }
.sheet.is-open .sheet__body > *:nth-child(6) { transition-delay: 0.6s; }
.sheet .eyebrow { color: inherit; opacity: 0.6; margin-bottom: 18px; }
.sheet h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 26px; hyphens: manual; }
.sheet__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 44ch; margin-bottom: 26px; }
.sheet__list { display: grid; gap: 10px; margin-bottom: 26px; }
.sheet__list li { display: flex; gap: 12px; align-items: baseline; }
.sheet__list li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: currentColor; translate: 0 -2px; }
.sheet__ex { opacity: 0.75; margin-bottom: 36px; max-width: 46ch; }
.sheet__cta { display: inline-block; padding: 18px 30px; border-radius: 999px; background: var(--sheet-fg, var(--white)); color: var(--sheet-bg, var(--ink)); font-weight: 600; transition: transform 0.5s var(--spring); }
.sheet__cta:hover { transform: scale(1.06); }
.sheet__visual { border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; opacity: 0; transform: scale(0.85) rotate(4deg); transition: opacity 0.6s ease 0.35s, transform 1.1s var(--ease-out) 0.35s; }
.sheet.is-open .sheet__visual { opacity: 1; transform: none; }
.sheet__visual .vis { width: 100%; height: 100%; }
.sheet__close { position: fixed; z-index: 2; top: 22px; right: var(--pad); width: 76px; height: 76px; border-radius: 50%; border: 1px solid currentColor; background: transparent; cursor: pointer; transition: transform 0.6s var(--spring), background 0.3s; }
.sheet__close span { position: absolute; left: 50%; top: 50%; width: 26px; height: 1.5px; margin-left: -13px; background: currentColor; transform: rotate(45deg); }
.sheet__close span + span { transform: rotate(-45deg); }
.sheet__close:hover { transform: rotate(90deg); }

/* ---------------- Toast ---------------- */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 28px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border-radius: 999px; background: var(--white); color: var(--ink); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.4); transform: translateY(160%); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.3s; pointer-events: none; }
.toast.is-on { transform: none; opacity: 1; }
.toast svg { width: 22px; height: 22px; color: #1f9d55; }
.toast__check { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.5s ease 0.25s; }
.toast.is-on .toast__check { stroke-dashoffset: 0; }


/* ---------------- Cursor ---------------- */
.cursor { position: fixed; z-index: 97; left: 0; top: 0; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; color: var(--white); display: grid; place-items: center; font-size: 0.85rem; pointer-events: none; transform: scale(0.13); transition: transform 0.4s var(--ease-out), background 0.3s, opacity 0.3s; will-change: transform; }
.cursor span { opacity: 0; transition: opacity 0.2s; }
.cursor.is-link { transform: scale(0.45); }
.cursor.is-on { transform: scale(1); background: var(--accent-2); mix-blend-mode: normal; }
.cursor.is-on span { opacity: 1; }
.cursor.is-away { opacity: 0; }

/* ---------------- Responsiv ---------------- */
@media (max-width: 1200px) {
  .capsule { padding: 8px 14px; font-size: 0.88rem; }
}
@media (max-width: 900px) {
  .topbar .cta { display: none; }
  .menu-btn { transform: scale(1); width: 62px; height: 62px; top: 16px; }
  .topbar { padding: 24px var(--pad); }
  .capsules { position: absolute; z-index: 6; top: 86px; left: 0; right: 0; translate: none; max-width: none; padding: 0 var(--pad); transform: none !important; }
  .capsules__list { padding: 6px 0; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero__photo { object-position: 58% 20%; }
  .hero__badge { top: auto; bottom: 26vh; padding: 14px 14px 14px 20px; gap: 14px; font-size: 0.82rem; }
  .hero__globe { width: 46px; height: 46px; }
  .hero__role { top: auto; bottom: 38vh; font-size: 1.15rem; text-align: right; }
  .hero__role .hero__arrow { margin-left: auto; }
  .hero__arrow { margin-bottom: 10px; }
  .mask__layer { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .intro { grid-template-columns: 1fr; }
  .intro__side { padding-top: 0; }
  .grid { grid-template-columns: 1fr; }
  .tile--wide .tile__media, .tile--open .tile__media { aspect-ratio: 4 / 3; }
  .tile--wide .tile__media img { width: 86%; }
  .tile__meta { flex-direction: column; gap: 4px; }
  .tile__meta p { text-align: left; }
  .win--a { width: 78vw; left: 6%; top: 10%; }
  .win--b { width: 58vw; right: 4%; top: 46%; }
  .win--c { display: none; }
  .stack__card { grid-template-columns: 1fr; align-items: start; }
  .board__area { height: 620px; }
  .note { width: 44vw; }
  .sheet__inner { grid-template-columns: 1fr; padding-top: 110px; }
  .sheet__close { width: 62px; height: 62px; top: 16px; }
  .foot__head { flex-direction: column; align-items: flex-start; }
  .foot__title { font-size: clamp(2rem, 10.5vw, 3.4rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .foot__line .btn-round { right: 4%; }
  .foot__links { margin-left: 0; }
  .cursor { display: none; }
}

/* Ruhige Fassung bei prefers-reduced-motion */
html.calm { scroll-behavior: auto; }
.calm *, .calm *::before, .calm *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
.calm .loader { display: none; }
.calm .split .sl, .calm .scrub .w { transform: none; opacity: 1; }
.calm .tile__media { clip-path: none; }
.calm .tile__media img { scale: 1; }
.calm [data-reveal] { opacity: 1; transform: none; }

/* =====================================================================
   Runde 4: Umsetzungen aus dem Werkzeugkasten (IDs siehe werkzeugkasten/)
   ===================================================================== */
:root {
  --leaf: clamp(22px, 2.8vw, 42px);
  --ease-kip: linear(0, 0.42 10%, 0.86 22%, 1.03 34%, 1.02 46%, 1);   /* TW-Nachfedern, sanft als linear() */
  --ease-soft: cubic-bezier(0.3, 1, 0.3, 1);       /* DM, AV */
  --ease-hover: cubic-bezier(0.7, 0, 0.3, 1);      /* AH, GH, FG, ON */
  --ease-ak: cubic-bezier(0.6, 0, 0.1, 1);         /* AK */
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);     /* TW */
}

/* D-020 Abschnitte als gestapelte Blätter */
.leaf { position: relative; z-index: 2; margin-top: calc(var(--leaf) * -1); border-radius: var(--leaf) var(--leaf) 0 0; }
main { position: relative; z-index: 2; background: var(--paper); border-radius: 0 0 var(--leaf) var(--leaf); }
.reel.leaf { z-index: 3; }

/* A-101 Überschriften: Wörter kippen hoch und federn nach */
.split .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.04em 0.12em; margin: -0.08em -0.04em -0.12em; }
.split .sw > span { display: inline-block; transform: translateY(120%) rotate(6deg); transform-origin: left bottom; transition: transform 1s var(--ease-kip); transition-delay: calc(var(--i) * 50ms); }
.split.is-in .sw > span { transform: none; }

/* D-029 Datenzeile mit Live-Uhr, A-601 Kompass */
.dataline { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px var(--pad) 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.dataline__label { color: rgba(255, 255, 255, 0.45); margin-right: 6px; }
.dataline__mid { text-align: center; }
.dataline__word { display: inline-block; min-width: 17ch; text-align: left; color: var(--accent); font-weight: 600; }
.dataline__geo { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.compass { width: 18px; height: 18px; animation: compass 2.4s ease-in-out infinite; }
@keyframes compass { 0% { transform: rotate(0); } 75% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }

/* A-326 Kapseln: Punkt wandert zum Hover */
.capsules__dot { position: absolute; left: 0; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); pointer-events: none; transition: translate 0.6s var(--ease-soft), opacity 0.3s; opacity: 0; }
.capsules__dot.is-on { opacity: 1; }
.capsules.is-floating .capsules__dot { bottom: -1px; }

/* A-116 Menülinks: Wort kippt weg, Kursive in Gold kommt */
.swap { position: relative; display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.swap__a, .swap__b { display: block; transition: transform 0.55s var(--ease-hover); transform-origin: left bottom; }
.swap__b { position: absolute; left: 0; top: 0; color: var(--accent); font-style: italic; transform: translateY(140%) rotate(10deg); transform-origin: right top; }
a:hover .swap__a, .is-active .swap__a { transform: translateY(-140%) rotate(-10deg); }
a:hover .swap__b, .is-active .swap__b { transform: none; transition-delay: -0.05s; }

/* A-316 Handgezeichneter Unterstrich, jedes Mal ein anderer */
.uline { position: relative; background: none; padding-bottom: 4px; }
.uline:hover { background: none; }
.uline__svg { position: absolute; left: -2%; bottom: -4px; width: 104%; height: 8px; overflow: visible; pointer-events: none; }
.uline__svg path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; opacity: 0; transition: stroke-dashoffset 0.5s var(--ease-ak); }
.uline__svg path.is-on { opacity: 1; }
.uline:hover .uline__svg path.is-on { stroke-dashoffset: 0; }
.uline.is-leaving .uline__svg path.is-on { stroke-dashoffset: -140; }

/* A-216 Kritzellinie */
.scribble { display: block; width: clamp(160px, 20vw, 300px); margin: 0 0 18px; }
.scribble path { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1); }
.scribble.is-drawn path { stroke-dashoffset: 0; }

/* A-315 und A-319 Knopf mit Pfeilscheibe, Pfeil läuft nur vorwärts */
.go { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font-weight: 500; cursor: pointer; }
.go__disk { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); overflow: hidden; transform: rotate(-45deg); transition: transform 0.2s cubic-bezier(0.9, 0, 0.1, 1), translate 0.3s var(--ease-ak); }
.go__disk i { position: absolute; inset: 0; background: no-repeat center / 46% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 12 H20 M14 6 L20 12 L14 18'/%3E%3C/svg%3E"); transition: transform 0.5s var(--ease-ak); }
.go__disk i:nth-child(1) { transform: translateX(0); }
.go__disk i:nth-child(2) { transform: translateX(-150%); }
.go__disk i:nth-child(3) { transform: translateX(-300%); }
.go:hover .go__disk { transform: rotate(0); }
.go:hover .go__disk i:nth-child(1) { transform: translateX(150%); }
.go:hover .go__disk i:nth-child(2) { transform: translateX(0); }
.go:hover .go__disk i:nth-child(3) { transform: translateX(-150%); }
.go[data-state="in"] .go__disk { translate: 12% 0; }
.go[data-state="out"] .go__disk i:nth-child(1) { transform: translateX(300%); }
.go[data-state="out"] .go__disk i:nth-child(2) { transform: translateX(150%); }
.go[data-state="out"] .go__disk i:nth-child(3) { transform: translateX(0); }
.go[data-state="reset"] .go__disk i { transition: none; }
.go--invert { background: var(--sheet-fg, var(--white)); color: var(--sheet-bg, var(--ink)); border-color: transparent; }

/* ---------------- Leistungs-Bühne ---------------- */
.stage { --stage-bg: #c3cbc9; --stage-fg: var(--ink); height: 500vh; overflow: clip; background: var(--stage-bg); color: var(--stage-fg); transition: background 0.9s var(--ease-soft), color 0.6s ease; }
.stage[data-active="auto"] { --stage-bg: var(--ink); --stage-fg: var(--paper); }
.stage[data-active="brain"] { --stage-bg: #e6dccb; --stage-fg: var(--ink); }
.stage[data-active="voice"] { --stage-bg: #455ce9; --stage-fg: #fff; }
.stage__markers { position: absolute; inset: 0; pointer-events: none; }
.stage__marker { position: absolute; left: 0; width: 1px; height: 100vh; }
.stage__marker:nth-child(1) { top: 0; }
.stage__marker:nth-child(2) { top: 200vh; }
.stage__marker:nth-child(3) { top: 300vh; }
.stage__marker:nth-child(4) { top: 400vh; }
.stage__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 96px var(--pad) 28px; }
.stage__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.stage__label { display: flex; align-items: center; gap: 10px; }
.stage__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.stage__count { font-variant-numeric: tabular-nums; }
.stage__slides { position: relative; flex: 1; }
.stage__slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); align-items: center; gap: clamp(24px, 4vw, 70px); pointer-events: none; }
.stage__slide.is-active { pointer-events: auto; }
.stage__kicker { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; margin-bottom: 18px; transition: opacity 0.5s; }
.stage__slide.is-active .stage__kicker { opacity: 0.6; }
.stage__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; overflow: hidden; padding: 0.06em 0 0.12em; margin-bottom: 22px; hyphens: manual; }
.kip { display: inline-block; transform: translateY(110%) rotate(12deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-expo); }
.stage__slide.is-active .kip { transform: none; }
.stage__slide.is-out .kip { transform: translateY(-110%) rotate(12deg); transform-origin: right bottom; }
.stage__lead, .stage__text .go { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.9s var(--ease-soft); }
.stage__slide.is-active .stage__lead { opacity: 0.85; transform: none; transition-delay: 0.25s; }
.stage__slide.is-active .stage__text .go { opacity: 1; transform: none; transition-delay: 0.35s; }
.stage__lead { max-width: 40ch; margin-bottom: 30px; font-size: 1.05rem; }
.stage__device { position: relative; display: grid; place-items: center; height: 100%; opacity: 0; transform: translateY(8%) scale(0.94); transition: opacity 0.6s ease, transform 1.1s var(--ease-soft); }
.stage__slide.is-active .stage__device { opacity: 1; transform: none; transition-delay: 0.1s; }
.stage__slide.is-out .stage__device { transform: translateY(-6%) scale(0.96); }
.stage__progress { height: 2px; background: rgba(128, 128, 128, 0.25); margin-top: 18px; }
.stage__progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* D-008 Laptop, komplett aus CSS */
.laptop { position: relative; width: min(100%, 96vh, 760px); }
.laptop__lid { position: relative; aspect-ratio: 16 / 10.2; padding: 2.1%; background: #0e0f12; border-radius: 16px 16px 4px 4px; box-shadow: inset 0 0 0 1.5px #3a3c42; }
.laptop__lid::before { content: ""; position: absolute; left: 50%; top: 0.9%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2a2c31; }
.laptop__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 3px; background: #fff; }
.laptop__scroll { display: block; width: 100%; will-change: transform; }
.laptop__base { position: relative; width: 116%; margin-left: -8%; height: 16px; background: linear-gradient(#dcdee1, #a9acb1 70%, #8d9095); border-radius: 2px 2px 14px 14px / 2px 2px 100% 100%; box-shadow: 0 30px 40px -24px rgba(0, 0, 0, 0.55); }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 45%; margin-left: -8%; background: #b9bcc1; border-radius: 0 0 10px 10px; }

/* D-009 Handys */
.phones { position: absolute; right: -2%; bottom: 2%; display: flex; gap: 12px; align-items: flex-end; }
.phone { width: clamp(70px, 7.4vw, 118px); aspect-ratio: 9 / 19; padding: 4px; background: #0e0f12; border-radius: 18px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px #3a3c42; will-change: transform; }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--big { width: clamp(200px, 22vw, 290px); padding: 8px; border-radius: 40px; }
.phone--big .phone__screen { border-radius: 32px; }

/* Bildschirm: Terminal */
.screen--term { background: #111214; color: #d7d7d2; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(0.55rem, 0.9vw, 0.85rem); display: grid; grid-template-rows: auto 1fr auto; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1d1f23; color: #7c7f86; }
.term__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3c42; }
.term__bar span { margin-left: 8px; }
.term__body { padding: 14px 16px; line-height: 1.75; }
.term__line { opacity: 0; transform: translateY(4px); }
.term__line b { color: var(--accent); font-weight: 400; }
.term__line em { color: #7c7f86; font-style: normal; margin-right: 6px; }
.term__line--ok em { color: #4ecb71; }
.stage__slide.is-active .term__line { animation: termLine 0.35s ease forwards; animation-delay: calc(0.5s + var(--n) * 0.55s); }
@keyframes termLine { to { opacity: 1; transform: none; } }
.term__caret { display: inline-block; width: 0.55em; height: 1em; vertical-align: -0.15em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.term__chart { display: flex; align-items: flex-end; gap: 6px; height: 22%; padding: 0 16px 14px; }
.term__chart i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(var(--accent), rgba(178, 138, 62, 0.25)); transform-origin: bottom; transform: scaleY(0.05); transition: transform 0.4s ease; }
.stage__slide.is-active .term__chart i { transform: scaleY(var(--h)); transition: transform 1.2s var(--ease-kip) 4.2s; }

/* Bildschirm: Notizen mit Wissensgraph */
.screen--notes { background: #f7f5f0; color: var(--ink); display: grid; grid-template-columns: 22% 1fr; }
.notes__side { display: grid; align-content: start; gap: 10px; padding: 16px 12px; background: #ebe7de; }
.notes__side i { height: 8px; border-radius: 4px; background: #d5cfc2; }
.notes__side i:nth-child(2) { width: 70%; }
.notes__side i:nth-child(4) { width: 55%; }
.notes__main { display: grid; grid-template-rows: auto 1fr; padding: 16px; min-width: 0; }
.notes__search { display: flex; align-items: center; gap: 8px; min-height: 2.2em; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #e2ddd2; font-size: clamp(0.55rem, 0.9vw, 0.85rem); white-space: nowrap; overflow: hidden; }
.notes__icon { width: 12px; height: 12px; border: 1.5px solid #8b8a86; border-radius: 50%; flex-shrink: 0; }
.notes__graph { width: 92%; margin: auto; color: var(--ink); }
.notes__edges { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.stage__slide.is-active .notes__edges { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s; }

/* A-112 Schreibmaschine mit hartem Blinkbalken */
.type__bar { display: inline-block; width: 1.5px; height: 1em; vertical-align: -0.12em; margin-left: 1px; background: var(--accent); animation: blink 1s steps(1) infinite; }

/* Bildschirm: Anruf */
.screen--call { display: flex; flex-direction: column; align-items: center; padding: 18% 10% 10%; background: linear-gradient(180deg, #1c1d20, #2a2c31); color: #fff; text-align: center; }
.call__status { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.call__live { width: 6px; height: 6px; border-radius: 50%; background: #4ecb71; animation: blink 1.2s steps(1) infinite; }
.call__avatar { display: grid; place-items: center; width: 34%; aspect-ratio: 1; margin: 14% 0 6%; border-radius: 50%; background: var(--accent); font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.call__name { font-family: var(--display); font-size: 1.1rem; margin-bottom: 8%; }
.screen--call .wave { width: 80%; height: 14%; color: var(--accent); }
.call__bubble { margin-top: 10%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.1); font-size: 0.78rem; text-align: left; min-height: 3.4em; align-self: stretch; }
.call__end { width: 42px; height: 42px; margin-top: auto; border-radius: 50%; background: #e0493e; }

/* ---------------- Schnittmenge (A-228 Venn-Diagramm) ---------------- */
.venn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 100px); padding: clamp(110px, 12vw, 180px) var(--pad) clamp(100px, 12vw, 170px); background: var(--ink); color: var(--paper); }
.venn__text p:not(.eyebrow) { max-width: 44ch; margin-top: 26px; opacity: 0.75; }
.venn__text .eyebrow { color: rgba(239, 238, 236, 0.55); margin-bottom: 18px; }
.venn__figure { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.venn__ring { position: absolute; inset: 2%; border: 1px dashed rgba(239, 238, 236, 0.22); border-radius: 50%; animation: ringSpin 60s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.venn__c { position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(239, 238, 236, 0.85); display: grid; place-items: center; transition: background 0.3s; }
.venn__c b { font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.35rem); opacity: 0; }
.venn__c--a { left: 25%; top: 10%; --dx: 0%; --dy: -16%; }
.venn__c--b { left: 10%; top: 38%; --dx: -14%; --dy: 10%; }
.venn__c--c { left: 40%; top: 38%; --dx: 14%; --dy: 10%; }
.venn__c--a b { translate: 0 -60%; }
.venn__c--b b { translate: -45% 20%; }
.venn__c--c b { translate: 45% 20%; }
.venn__c:hover { background: rgba(239, 238, 236, 0.06); }
.venn__core { position: absolute; left: 50%; top: 52%; width: 22%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; opacity: 0; }
.venn__mark { position: relative; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.5rem); color: var(--ink); z-index: 1; translate: 0 10%; }
.venn__pointer { position: absolute; inset: 0; background: var(--accent); clip-path: polygon(50% 0, 100% 86%, 0 86%); rotate: var(--deg, 0deg); transition: rotate 0.25s ease-out; }
.venn.is-play .venn__c { animation: vennMove 4s ease-in-out forwards; }
.venn.is-play .venn__c--a b { animation: vennLabel1 4s ease-in-out forwards; }
.venn.is-play .venn__c--b b { animation: vennLabel2 4s ease-in-out forwards; }
.venn.is-play .venn__c--c b { animation: vennLabel3 4s ease-in-out forwards; }
.venn.is-play .venn__core { animation: vennCore 4s ease-in-out forwards; }
@keyframes vennMove { 0%, 45% { transform: translate(var(--dx), var(--dy)); } 70%, 100% { transform: translate(0, 0); } }
@keyframes vennLabel1 { 0%, 10% { opacity: 0; scale: 0.8; } 25%, 100% { opacity: 1; scale: 1; } }
@keyframes vennLabel2 { 0%, 20% { opacity: 0; scale: 0.8; } 35%, 100% { opacity: 1; scale: 1; } }
@keyframes vennLabel3 { 0%, 30% { opacity: 0; scale: 0.8; } 45%, 100% { opacity: 1; scale: 1; } }
@keyframes vennCore { 0%, 60% { opacity: 0; transform: rotate(-18deg) scale(0.6); } 80%, 100% { opacity: 1; transform: none; } }

/* ---------------- Arbeiten: A-312 Karte hebt sich aus ihrem Umriss, D-411 Meta-Pillen ---------------- */
.work.leaf { background: var(--paper); }
.tile__stage { position: relative; display: block; }
.tile__ghost { position: absolute; inset: 0; border: 1px solid var(--ink); border-radius: 6px; opacity: 0; transition: opacity 0.4s cubic-bezier(0.75, 0, 0.25, 1); pointer-events: none; }
.tile .tile__media { transition: clip-path 1.2s var(--ease), transform 0.4s cubic-bezier(0.75, 0, 0.25, 1), box-shadow 0.4s; }
.tile:hover .tile__media { transform: translate(12px, -12px); box-shadow: 0 0 0 1px var(--ink); }
.tile:hover .tile__ghost { opacity: 1; }
.tile__pills { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; gap: 6px; }
.tile__pills span { padding: 4px 10px; border-radius: 999px; background: rgba(239, 238, 236, 0.92); color: var(--ink); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* A-219 Footer kommt unter der letzten Karte hervor */
.foot { position: relative; z-index: 1; margin-top: calc(var(--leaf) * -1); padding-top: calc(clamp(110px, 13vw, 190px) + var(--leaf)); }
.foot__inner { will-change: transform; }

/* Cursor-Etikett mit Scramble (A-408) */
.cursor span { white-space: nowrap; }

@media (max-width: 900px) {
  .dataline { grid-template-columns: 1fr; gap: 6px; text-align: left; font-size: 0.72rem; }
  .dataline__mid { text-align: left; }
  .dataline__geo { justify-content: flex-start; }
  .stage { height: auto; overflow: visible; background: none; }
  .stage__markers { display: none; }
  .stage__sticky { position: static; height: auto; padding: 0; }
  .stage__top, .stage__progress { display: none; }
  .stage__slides { flex: none; }
  .stage__slide { position: relative; inset: auto; grid-template-columns: 1fr; padding: 80px var(--pad) 70px; pointer-events: auto; background: #c3cbc9; color: var(--ink); }
  .stage__slide[data-key="auto"] { background: var(--ink); color: var(--paper); }
  .stage__slide[data-key="brain"] { background: #e6dccb; }
  .stage__slide[data-key="voice"] { background: #455ce9; color: #fff; }
  .stage__slide + .stage__slide { margin-top: calc(var(--leaf) * -1); border-radius: var(--leaf) var(--leaf) 0 0; }
  .stage__slide:first-child { border-radius: var(--leaf) var(--leaf) 0 0; }
  .stage__device { height: auto; }
  .laptop { width: 100%; }
  .phones { position: static; justify-content: center; margin-top: 22px; }
  .venn { grid-template-columns: 1fr; }
  .tile:hover .tile__media { transform: none; box-shadow: none; }
}

/* Ruhige Fassung für die neuen Teile */
.calm .split .sw > span, .calm .kip, .calm .stage__lead, .calm .stage__text .go, .calm .stage__device, .calm .term__line, .calm .term__chart i { transform: none !important; opacity: 1 !important; }
.calm .venn__c b, .calm .venn__core { opacity: 1; }
.calm .scribble path, .calm .notes__edges { stroke-dashoffset: 0; }
.stage__slide[data-key="auto"] .stage__title, .stage__slide[data-key="brain"] .stage__title { font-size: clamp(2rem, 3.9vw, 3.9rem); }
.laptop { width: min(88%, 96vh, 720px); }
.venn__core { width: 17%; }
@media (max-width: 900px) { .laptop { width: 92%; } }
/* Gerät in der Detailansicht */
.sheet__visual { display: grid; place-items: center; aspect-ratio: auto; min-height: 320px; overflow: visible; }
.sheet__visual .stage__device { opacity: 1; transform: none; height: auto; width: 100%; }
.sheet__visual .laptop { width: 100%; }
.sheet__visual .phones { right: 0; bottom: -6%; }
.sheet__visual .term__line { opacity: 1; transform: none; }
.sheet__visual .term__chart i { transform: scaleY(var(--h)); }
.sheet__visual .notes__edges { stroke-dashoffset: 0; }
/* Menülinks über zwei Zeilen: Kursive bleibt ganz verborgen */
.swap__b { transform: translateY(210%) rotate(6deg); }
a:hover .swap__a, .is-active .swap__a { transform: translateY(-210%) rotate(-6deg); }
.venn { overflow: clip; }

/* ================= Runde 5: Vorschaufenster als Links, Website-Arten, Kontaktformular ================= */

/* Vorschaufenster führen auf die echte Website */
.win__go { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 500; font-size: 0.66rem; opacity: 0; transform: translateX(8px); transition: opacity 0.3s ease, transform 0.5s var(--ease-soft); }
.win:hover .win__go, .win:focus-visible .win__go { opacity: 1; transform: none; }
.win .win__screen img { transition: opacity 0.9s ease, filter 0.4s ease; }
.win:hover .win__screen img { filter: brightness(1.04); }
@media (hover: none) { .win__go { opacity: 1; transform: none; } }

/* Website Design: Liste der Arten */
.stage__marker:nth-child(1) { height: 200vh; }
.stage__slide[data-key="web"] .stage__lead { margin-bottom: 18px; }
.types { display: grid; margin-bottom: 26px; max-width: 470px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.9s var(--ease-soft); }
.stage__slide.is-active .types { opacity: 1; transform: none; transition-delay: 0.3s; }
.types li { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.types__row { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; width: 100%; padding: 11px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.types__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.types__n { font-size: 0.72rem; letter-spacing: 0.08em; opacity: 0.5; transition: opacity 0.3s, color 0.3s; }
.types__name { font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.35vw, 1.2rem); letter-spacing: -0.01em; transition: transform 0.6s var(--ease-soft); }
.types__ex { font-size: 0.8rem; opacity: 0.55; transition: opacity 0.3s; }
.types__row:hover .types__name { transform: translateX(6px); }
.types__row.is-on .types__name { transform: translateX(10px); }
.types__row.is-on .types__n { opacity: 1; color: var(--accent); }
.types__row.is-on .types__ex { opacity: 0.9; }

/* Laptop mit mehreren Ansichten: die neue wischt von unten über die alte */
.laptop__screen .view { position: absolute; inset: 0; overflow: hidden; background: #fff; clip-path: inset(100% 0 0 0); transition: clip-path 0.9s var(--ease-expo); }
.laptop__screen .view.was-on { z-index: 1; clip-path: inset(0); transition: none; }
.laptop__screen .view.is-on { z-index: 2; clip-path: inset(0); }
.stage__device--web .laptop__screen { background: #0e0f12; }

/* Handys mit Ebenen je Art */
.phone__screen > [data-view] { position: absolute; inset: 0; opacity: 0; transform: translateY(10%); transition: opacity 0.5s ease, transform 0.9s var(--ease-soft); }
.phone__screen > [data-view].is-on { opacity: 1; transform: none; transition-delay: 0.15s; }
.phone__screen > img[data-view] { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Adresszeile unter dem Laptop */
.stage__cap { position: absolute; left: 6%; bottom: 3%; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-variant-numeric: tabular-nums; transition: transform 0.5s var(--ease-soft), background 0.3s; }
.stage__cap-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ecb71; }
.stage__cap-arrow { display: inline-block; transition: transform 0.45s var(--ease-soft); }
.stage__cap:hover { background: var(--accent); }
.stage__cap:hover .stage__cap-arrow { transform: translate(2px, -2px); }
.stage__cap.is-none { pointer-events: none; background: color-mix(in srgb, var(--ink) 70%, transparent); }
.stage__cap.is-none .stage__cap-dot { background: var(--accent); }
.stage__cap.is-none .stage__cap-arrow { display: none; }
.sheet__visual .stage__cap { display: none; }

/* Landingpage-Attrappe, skaliert mit ihrem Bildschirm */
.view--landing, .phone__lp { container-type: inline-size; }
.lp { position: absolute; inset: 0; display: grid; align-content: start; gap: 4cqw; padding: 3.2cqw 5cqw; background: #f4efe4; color: var(--ink); overflow: hidden; }
.lp__nav { display: flex; justify-content: space-between; align-items: center; font-size: 1.7cqw; }
.lp__nav b { font-family: var(--display); font-weight: 600; }
.lp__nav span { padding: 0.8cqw 2cqw; border: 1px solid currentColor; border-radius: 999px; }
.lp__hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4cqw; }
.lp__eyebrow { font-size: 1.4cqw; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4cqw; }
.lp__h { font-family: var(--display); font-weight: 500; font-size: 7.4cqw; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 2cqw; }
.lp__sub { font-size: 1.9cqw; line-height: 1.4; opacity: 0.7; max-width: 32ch; margin-bottom: 3cqw; }
.lp__btn { display: inline-block; padding: 1.5cqw 3.2cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 1.8cqw; font-weight: 500; }
.lp__art { position: relative; aspect-ratio: 1; }
.lp__art i { position: absolute; border-radius: 50%; }
.lp__art i:nth-child(1) { inset: 6% 18% 22% 6%; background: var(--accent); }
.lp__art i:nth-child(2) { width: 42%; aspect-ratio: 1; right: 4%; bottom: 4%; border-radius: 18%; background: var(--accent-2); rotate: 12deg; }
.lp__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.lp__row i { height: 12cqw; border-radius: 1.6cqw; background: #e6dfd0; }
.lp__form { display: grid; gap: 3cqw; padding: 6cqw; border-radius: 4cqw; background: #fff; }
.lp__form i { height: 9cqw; border-radius: 2cqw; background: #eee9dd; }
.lp__form .lp__btn { text-align: center; }
@container (max-width: 240px) {
  .lp { gap: 8cqw; padding: 8cqw 8cqw; }
  .lp__nav { font-size: 7cqw; }
  .lp__hero { grid-template-columns: 1fr; gap: 8cqw; }
  .lp__eyebrow { font-size: 5.5cqw; margin-bottom: 4cqw; }
  .lp__h { font-size: 17cqw; margin-bottom: 7cqw; }
  .lp__btn { font-size: 7cqw; padding: 5cqw 8cqw; }
  .lp__art { width: 74%; justify-self: center; }
  .lp__row { grid-template-columns: 1fr; gap: 5cqw; }
  .lp__row i { height: 26cqw; border-radius: 5cqw; }
}
.is-on .lp__nav, .is-on .lp__copy > *, .is-on .lp__art, .is-on .lp__row, .is-on .lp__form { animation: lpUp 0.9s var(--ease-soft) both; }
.is-on .lp__copy > :nth-child(1) { animation-delay: 0.35s; }
.is-on .lp__copy > :nth-child(2) { animation-delay: 0.42s; }
.is-on .lp__copy > :nth-child(3) { animation-delay: 0.5s; }
.is-on .lp__copy > :nth-child(4) { animation-delay: 0.58s; }
.is-on .lp__art { animation-name: lpPop; animation-delay: 0.45s; }
.is-on .lp__row, .is-on .lp__form { animation-delay: 0.65s; }
.lp__art i:nth-child(1) { animation: lpFloat 6s ease-in-out infinite alternate; }
@keyframes lpUp { from { opacity: 0; transform: translateY(30%); } }
@keyframes lpPop { from { opacity: 0; transform: scale(0.6) rotate(-14deg); } }
@keyframes lpFloat { to { transform: translate(6%, 5%); } }

/* Detailansicht Website Design: Arten als Liste */
.sheet__types { display: grid; margin-bottom: 34px; max-width: 560px; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.sheet__types div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.sheet__types dt { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.sheet__types dt span { display: inline-block; width: 24px; font-size: 0.72rem; color: var(--accent); }
.sheet__types dd { font-size: 0.93rem; opacity: 0.8; }

/* ---------------- Kontaktformular ---------------- */
.contact { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.contact__dim { position: absolute; inset: 0; background: rgba(20, 20, 22, 0.62); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.6s ease; }
.contact.is-open .contact__dim { opacity: 1; }
.contact__panel { position: relative; width: min(1180px, 100%); max-height: min(860px, 100%); overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; background: var(--paper); color: var(--ink); clip-path: inset(100% 0 0 0 round 28px); transition: clip-path 0.85s var(--ease-expo); }
.contact.is-open .contact__panel { clip-path: inset(0 0 0 0 round 28px); }
.contact.is-closing .contact__panel { clip-path: inset(0 0 100% 0 round 28px); transition-duration: 0.7s; }
.contact__close { position: absolute; z-index: 3; top: 20px; right: 20px; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: transform 0.6s var(--spring), background 0.3s, color 0.3s; }
.contact__close span { position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; margin-left: -10px; background: currentColor; transform: rotate(45deg); }
.contact__close span + span { transform: rotate(-45deg); }
.contact__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); min-height: 100%; }

.contact__side { position: relative; display: flex; flex-direction: column; padding: clamp(34px, 4vw, 60px); background: var(--ink); color: var(--paper); overflow: hidden; }
.contact__side::after { content: ""; position: absolute; width: 340px; aspect-ratio: 1; right: -120px; bottom: -140px; border-radius: 50%; border: 1px dashed rgba(239, 238, 236, 0.18); animation: ringSpin 60s linear infinite; }
.contact__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin-bottom: 28px; transform: scale(0.4); opacity: 0; transition: transform 0.9s var(--spring) 0.35s, opacity 0.4s ease 0.35s; }
.contact__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.contact__eyebrow { display: flex; align-items: center; gap: 9px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; margin-bottom: 18px; }
.contact__live { width: 7px; height: 7px; border-radius: 50%; background: #4ecb71; box-shadow: 0 0 0 0 rgba(78, 203, 113, 0.5); animation: livePulse 2.4s ease-out infinite; }
@keyframes livePulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(78, 203, 113, 0); } }
.contact__title { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 22px; }
.contact__mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.contact .kip { transition-delay: 0.3s; }
.contact__mask + .contact__mask .kip { transition-delay: 0.38s; }
.contact.is-open .kip { transform: none; }
.contact__note { max-width: 36ch; font-size: 0.95rem; opacity: 0.72; }
.contact__direct { display: grid; gap: 12px; margin-top: auto; padding-top: 40px; font-size: 0.95rem; }
.contact__direct span { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; margin-bottom: 2px; }
.contact__note, .contact__direct { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease 0.5s, transform 0.9s var(--ease-soft) 0.5s; }
.contact.is-open .contact__note { opacity: 0.72; transform: none; }
.contact.is-open .contact__direct { opacity: 1; transform: none; }
.contact.is-open .contact__avatar { transform: none; opacity: 1; }

.contact__main { position: relative; padding: clamp(34px, 4vw, 60px) clamp(24px, 4.4vw, 70px) clamp(30px, 3.4vw, 50px); }
.contact__form { display: grid; gap: clamp(26px, 3vw, 38px); }
.field { position: relative; min-width: 0; border: 0; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.9s var(--ease-soft); transition-delay: calc(0.32s + var(--i) * 0.07s); }
.contact.is-open .field { opacity: 1; transform: none; }
.field__label { display: flex; align-items: baseline; gap: 12px; padding: 0; margin-bottom: 10px; font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.01em; }
.field__n { font-family: var(--text); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); transition: color 0.3s; }
.field:focus-within .field__n { color: var(--accent); }
.field__input { display: block; width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); resize: none; }
.field__input::placeholder { color: #9a9b9e; }
.field__input:focus { outline: none; }
.field__input--area { min-height: 110px; line-height: 1.5; }
.field__line { position: absolute; left: 0; right: 0; height: 2px; margin-top: -2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-soft); }
.field:focus-within .field__line { transform: scaleX(1); }
.field__err { max-height: 0; overflow: hidden; margin-top: 0; font-size: 0.85rem; color: #c2412f; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.4s var(--ease-soft); }
.field.is-err .field__err { max-height: 3em; margin-top: 8px; opacity: 1; transform: none; }
.field.is-err .field__line { background: #c2412f; transform: scaleX(1); }
.field.is-err .field__n { color: #c2412f; }
.field.is-nudge { animation: nudge 0.5s ease; }
@keyframes nudge { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { position: relative; display: inline-block; overflow: hidden; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.93rem; isolation: isolate; transition: color 0.35s ease, border-color 0.3s; }
.chip span::before { content: ""; position: absolute; z-index: -1; inset: -2px; border-radius: inherit; background: var(--ink); transform: scale(0.2); opacity: 0; transition: transform 0.55s var(--ease-soft), opacity 0.3s ease; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { transform: none; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.sends { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.send { position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden; padding: 17px 26px 17px 20px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font-weight: 500; font-size: 1rem; cursor: pointer; isolation: isolate; transition: color 0.4s ease, transform 0.5s var(--spring); }
.send--wa { background: var(--ink); color: var(--paper); }
.send__fill { position: absolute; z-index: -1; left: -10%; width: 120%; height: 300%; top: 110%; border-radius: 50%; background: var(--fill, var(--accent)); transition: transform 0.6s var(--ease); }
.send--wa { --fill: #1f9d55; }
.send--mail { --fill: var(--accent-2); }
.send:hover .send__fill, .send:focus-visible .send__fill { transform: translateY(-72%); }
.send:hover, .send:focus-visible { color: #fff; border-color: transparent; }
.send:active { transform: scale(0.97); }
.send__icon { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.6s var(--ease-soft); }
.send:hover .send__icon { transform: rotate(-12deg) scale(1.1); }

.contact__done { display: grid; align-content: center; justify-items: start; min-height: 100%; padding: 20px 0; }
.done__check { width: 70px; height: 70px; margin-bottom: 26px; color: #1f9d55; }
.done__check circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw 0.9s var(--ease-soft) 0.1s forwards; }
.done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.6s var(--ease-soft) 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__title { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 16px; }
.done__title:focus { outline: none; }
.done__text { max-width: 44ch; font-size: 1.1rem; margin-bottom: 14px; }
.done__help { max-width: 48ch; font-size: 0.9rem; color: var(--muted); margin-bottom: 30px; }
.done__title, .done__text, .done__help, .done__btns { animation: lpUp 0.8s var(--ease-soft) both; }
.done__text { animation-delay: 0.08s; }
.done__help { animation-delay: 0.14s; }
.done__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; animation-delay: 0.2s; }
.done__close { border: 0; background: none; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .types { max-width: none; }
  .stage__cap { left: 0; bottom: auto; top: -6px; }
  .stage__device--web { padding-top: 34px; }
  .contact { padding: 0; place-items: end stretch; }
  .contact__panel { max-height: 100%; height: 100%; border-radius: 0; clip-path: inset(100% 0 0 0); }
  .contact.is-open .contact__panel { clip-path: inset(0); }
  .contact.is-closing .contact__panel { clip-path: inset(0 0 100% 0); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__side { padding: 28px 22px 30px; }
  .contact__side::after { display: none; }
  .contact__avatar { width: 48px; height: 48px; margin-bottom: 18px; }
  .contact__title { font-size: 2rem; padding-right: 56px; }
  .contact__direct { padding-top: 22px; grid-template-columns: 1fr 1fr; font-size: 0.85rem; }
  .contact__close { top: 16px; right: 16px; width: 50px; height: 50px; background: var(--ink); color: var(--paper); border-color: rgba(239, 238, 236, 0.3); }
  .contact__main { padding: 30px 22px 40px; }
  .sends { display: grid; }
  .send { justify-content: center; }
  .sheet__types div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) { .contact__direct { grid-template-columns: 1fr; } }

.calm .types, .calm .field, .calm .contact__note, .calm .contact__direct, .calm .contact__avatar, .calm .contact .kip { transform: none !important; opacity: 1 !important; }
.calm .contact__note { opacity: 0.72 !important; }
.calm .contact__panel, .calm .laptop__screen .view { transition: none; }
.calm .lp *, .calm .done__title, .calm .done__text, .calm .done__help, .calm .done__btns { animation: none !important; }
.calm .done__check circle, .calm .done__check path { animation: none; stroke-dashoffset: 0; }
.stage__device--web .phones { z-index: 2; }
.view[data-view="persoenlich"] .laptop__scroll { width: 101.8%; max-width: none; }
.phone__screen > img[data-view="persoenlich"] { width: 104%; max-width: none; object-position: left top; }
.done__help a, .contact__direct a { white-space: nowrap; }
@media (max-width: 900px) { .contact__direct, .contact__avatar { display: none; } .contact__side { padding-top: 26px; padding-bottom: 24px; } .contact__title { font-size: 1.8rem; margin-bottom: 12px; } .contact__note { font-size: 0.85rem; } }
.sheet__types dt { display: flex; align-items: baseline; }
.sheet__types dt span { flex-shrink: 0; }

/* Runde 6: echte Bildschirmaufnahmen statt Standbilder */
.laptop__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #fff; }
.phone__screen > video[data-view] { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.stage__device--web .phone { width: clamp(92px, 9.6vw, 150px); }
.is-on .lp__art i:nth-child(2) { animation: lpTurn 9s ease-in-out infinite alternate; }
.is-on .lp__copy .lp__btn { animation: lpUp 0.9s var(--ease-soft) 0.58s both, lpRing 2.8s ease-out 1.6s infinite; }
@keyframes lpTurn { to { transform: rotate(38deg) translate(-8%, -6%); } }
@keyframes lpRing { 0% { box-shadow: 0 0 0 0 rgba(178, 138, 62, 0.55); } 70%, 100% { box-shadow: 0 0 0 1.4em rgba(178, 138, 62, 0); } }
.calm .lp__art i, .calm .lp__btn { animation: none !important; }

/* Rechtliches im Footer und Hinweis im Formular */
.foot__legal { margin-left: auto; }
.foot__legal a { margin-right: 18px; }
.foot__legal + .foot__links { margin-left: 0; }
.contact__privacy { margin-top: 16px; max-width: 52ch; font-size: 0.82rem; color: var(--muted); }
