/* Studi.Design – Stylesheet */

@font-face { font-family: "Exo 2"; src: url("../fonts/exo-2-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../fonts/exo-2-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --surface-2: #F2EEE9;
  --text: #1C1C1E;
  --muted: #6E6A65;
  --line: rgba(28, 28, 30, .10);
  --accent: #FF6B4A;
  --accent-ink: #D4462A;
  --accent-2: #FFB340;
  --on-accent: #1C1C1E;
  --nav-bg: rgba(250, 248, 245, .78);
  --radius: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1C1E;
    --surface: #2C2C2E;
    --surface-2: #242426;
    --text: #FAF8F5;
    --muted: #A39F9A;
    --line: rgba(250, 248, 245, .12);
    --accent: #FF7A5C;
    --accent-ink: #FF8A70;
    --nav-bg: rgba(28, 28, 30, .72);
  }
}

/* Farbschema "Signal yellow" (aktiv über <html data-theme="yellow">).
   Gelb leuchtet nur auf Schwarz – deshalb ist dieses Schema bewusst immer dunkel.
   Zurück zu "Sunset coral": data-theme="yellow" im <html>-Tag aller Seiten entfernen. */
:root[data-theme="yellow"] {
  --bg: #0B0B0C;
  --surface: #1C1C1E;
  --surface-2: #2C2C2E;
  --text: #FFFFFF;
  --muted: #A1A1A6;
  --line: rgba(255, 255, 255, .12);
  --accent: #FFD60A;
  --accent-ink: #FFD60A;
  --accent-2: #FFFFFF;
  --on-accent: #0B0B0C;
  --nav-bg: rgba(11, 11, 12, .72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Exo 2", system-ui, sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(38px, 6vw, 72px); }
h3 { font-size: 24px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.dot-end::after { content: ""; display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--accent); vertical-align: baseline; }
/* Der Punkt hinter Überschriften fällt beim Einblenden hinein und federt nach */
.js .reveal .dot-end::after { opacity: 0; transform: translateY(-1.6em); }
.js .reveal.in .dot-end::after { animation: dotDrop .9s cubic-bezier(.3, 0, .4, 1) .45s both; }
@keyframes dotDrop {
  0%   { opacity: 0; transform: translateY(-1.6em) scale(.7); }
  20%  { opacity: 1; }
  55%  { transform: translateY(0) scale(1.25, .75); }
  72%  { transform: translateY(-.35em) scale(.95, 1.08); }
  88%  { transform: translateY(0) scale(1.06, .94); }
  100% { opacity: 1; transform: none; }
}
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 640px; margin-top: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 600 16px/1 "Inter", sans-serif; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

/* Wordmark */
.wordmark { font-family: "Exo 2", sans-serif; font-weight: 900; letter-spacing: -0.03em; white-space: nowrap; color: var(--text); text-decoration: none; }
.wordmark .pt { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: var(--accent); margin: 0 .04em; vertical-align: baseline; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, box-shadow .4s; }
.nav.scrolled { background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .wordmark { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .3s var(--ease); }
.nav-links a.active::after, .nav-links a:not(.btn):hover::after { transform: scale(1); }
.nav-links .btn { padding: 11px 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links a:not(.btn) { font: 700 34px/1 "Exo 2", sans-serif; }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; text-align: center; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.stage { width: 220px; height: 220px; position: relative; margin-bottom: 8px; }
.stage svg { width: 100%; height: 100%; overflow: visible; }
.stage .icon { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.stage .flash { fill: var(--accent-2); opacity: 0; transform-origin: 100px 110px; }
.hero .wordmark { font-size: clamp(54px, 13vw, 170px); line-height: .95; }
.traveler { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--accent); pointer-events: none; will-change: transform; z-index: 3; opacity: 0; }
.js .hero .wordmark .pt.away { visibility: hidden; }
.rotator { font: 700 clamp(22px, 3vw, 34px)/1.2 "Exo 2", sans-serif; margin: 26px 0 0; color: var(--muted); min-height: 1.3em; }
.rotator .word { color: var(--accent-ink); display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.rotator .word.out { opacity: 0; transform: translateY(12px); }
.hero-claim { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin: 34px 0 10px; letter-spacing: -0.01em; }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .stage { width: 150px; height: 150px; } .hero-hint { display: none; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Leistungen */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 56px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 34px 32px 30px; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; margin-bottom: 26px; }
.card .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 6px; }
.card .tag { font-weight: 600; margin-bottom: 10px; }
.card p:last-child { color: var(--muted); margin: 0; }
.why { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 90px; padding-top: 56px; border-top: 1px solid var(--line); }
.why h3 { font-size: 28px; margin-bottom: 12px; }
.why p { color: var(--muted); margin: 0; }

/* Referenzen */
.refs { display: grid; gap: 26px; margin-top: 56px; }
.ref { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; background: var(--surface); border-radius: 30px; overflow: hidden; }
.ref:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.ref:nth-child(even) .ref-shot { order: 2; }
.ref-shot { background: var(--surface-2); padding: 40px 40px 0; display: flex; align-items: flex-end; }
.browser { width: 100%; background: var(--surface); border-radius: 14px 14px 0 0; box-shadow: 0 -1px 0 var(--line), 0 30px 60px -30px rgba(0,0,0,.35); overflow: hidden; }
.browser-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.screen img { width: 100%; height: auto; transform: translateY(0); transition: transform 7s cubic-bezier(.45, 0, .55, 1); }
.ref:hover .screen img { transform: translateY(calc(-100% + var(--frame-h, 0px))); }
.screen .ph { position: absolute; inset: 0; display: grid; place-items: center; color: #1C1C1E; font: 700 22px "Exo 2", sans-serif; }
.screen img + .ph { display: none; }
.ref-body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.ref-body .place { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.ref-body h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); }
.ref-body p { color: var(--muted); }
.ref-body .btn { align-self: flex-start; margin-top: 8px; }
.more { margin-top: 64px; }
.more h3 { margin-bottom: 18px; }
.more ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.more li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.more li strong { font-weight: 600; }
.more li span { color: var(--muted); text-align: right; }
.more-cta { margin-top: 28px; font-weight: 600; }
@media (max-width: 860px) {
  .ref, .ref:nth-child(even) { grid-template-columns: 1fr; }
  .ref:nth-child(even) .ref-shot { order: 0; }
  .ref-shot { padding: 26px 22px 0; }
  .ref-body { padding: 32px 26px 36px; }
  .more li { flex-direction: column; gap: 2px; } .more li span { text-align: left; }
}

/* Ablauf – die Linie wächst langsam, jeder Punkt springt sichtbar auf */
.steps { --dur: 5.2s; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 80px; list-style: none; padding: 0; counter-reset: s; }
.steps::before, .steps .bar { content: ""; position: absolute; top: 12px; left: 0; height: 3px; border-radius: 3px; background: var(--line); width: 100%; }
.steps .bar { background: var(--accent); width: 0; transition: width var(--dur) linear; }
.steps.in .bar { width: 100%; }
.steps li { --d: 0s; position: relative; padding-top: 54px; counter-increment: s; }
.steps li:nth-of-type(2) { --d: 1.35s; } .steps li:nth-of-type(3) { --d: 2.7s; } .steps li:nth-of-type(4) { --d: 4.05s; }
.steps li::before { content: ""; position: absolute; top: 2px; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--line); transform: scale(.6); }
.steps li::after { content: ""; position: absolute; top: 2px; left: 0; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; pointer-events: none; }
.steps.in li::before { animation: stepPop 1s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
.steps.in li::after { animation: stepRing 1.4s ease-out var(--d) both; }
.steps li h3, .steps li p { opacity: .25; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.steps.in li h3, .steps.in li p { opacity: 1; transform: none; transition-delay: calc(var(--d) + .25s); }
@keyframes stepPop {
  0%   { transform: scale(.6); background: var(--bg); box-shadow: inset 0 0 0 3px var(--line); }
  45%  { transform: scale(2.1); background: var(--accent); box-shadow: inset 0 0 0 3px var(--accent); }
  100% { transform: scale(1); background: var(--accent); box-shadow: inset 0 0 0 3px var(--accent); }
}
@keyframes stepRing { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }
.steps li h3::before { content: counter(s, decimal-leading-zero) " "; color: var(--muted); font-size: 16px; display: block; margin-bottom: 6px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: 17px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before, .steps .bar { top: 0; left: 11px; width: 3px; height: 100%; }
  .steps .bar { height: 0; transition: height var(--dur) linear; } .steps.in .bar { width: 3px; height: 100%; }
  .steps li { padding: 0 0 0 52px; }
  .steps li::before, .steps li::after { top: 0; }
}

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--surface-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.about-photo .ph span { display: block; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.about-photo img + .ph { display: none; }
.about-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 14px; font-weight: 600; }
.about p { color: var(--muted); }
.about .big { font: 700 clamp(26px, 3vw, 36px)/1.15 "Exo 2", sans-serif; color: var(--text); margin-top: 34px; letter-spacing: -0.01em; }
.about .big em { font-style: normal; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* Kontakt */
.contact { background: var(--surface); border-radius: 36px; padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 80px); }
.contact-info .lead { margin-bottom: 34px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 14px; color: var(--muted); }
.contact-info dd { margin: 2px 0 20px; font-weight: 600; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 "Inter", sans-serif; color: var(--text); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #E5484D; }
.err { display: none; font-size: 14px; color: #E5484D; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 22px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.check.invalid { color: #E5484D; }
.form-msg { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); font-weight: 600; display: none; }
.form-msg.show { display: block; }
.form-msg.error { color: #E5484D; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; border-radius: 28px; } form .row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.footer { padding: 50px 0 60px; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 34px; }
.footer .wordmark { font-size: 22px; }
.footer nav { display: flex; gap: 24px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Rechtstexte */
.legal { padding: 140px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 40px; }
.legal h2 { font-size: 26px; margin: 44px 0 12px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 17px; }
.legal strong { color: var(--text); }
.legal .back { display: inline-block; margin-bottom: 30px; font-weight: 600; text-decoration: none; }

/* ---------- Bewegung ---------- */

/* Laufband mit Leistungen – bewegt sich beim Scrollen mit */
.marquee { position: relative; overflow: hidden; background: var(--accent); color: var(--on-accent); padding: 22px 0; transform: rotate(-2deg) scale(1.04); }
.marquee-clip { overflow: hidden; padding: 50px 0; }
.marquee.alt { transform: rotate(1.5deg) scale(1.04); background: var(--text); color: var(--bg); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: .55em; padding-right: .55em; font: 900 clamp(34px, 5.5vw, 72px)/1 "Exo 2", sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: currentColor; }
.marquee.alt .marquee-track span::after { background: var(--accent); }

/* Leistungs-Icons zeichnen sich selbst, Karten erscheinen nacheinander */
.grid .card { transition-delay: calc(var(--i, 0) * 90ms); }
.js .card .ico svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .card.reveal .ico svg * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--i, 0) * 90ms + .35s); }
.js .card.reveal.in .ico svg * { stroke-dashoffset: 0; }
.card .ico { transition: background-color .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.card:hover .ico { background: var(--accent); transform: rotate(-8deg) scale(1.08); }
.card:hover .ico svg { stroke: var(--on-accent); }

/* Textmarker: Gelb streicht über wichtige Aussagen */
.mark { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / 0% 34%; transition: background-size 1s var(--ease) .5s, color .4s .9s; padding: 0 .08em; }
.in .mark, .mark.in { background-size: 100% 34%; }
:root[data-theme="yellow"] .mark { background-position: 0 50%; }
:root[data-theme="yellow"] .in .mark, :root[data-theme="yellow"] .mark.in { background-size: 100% 100%; color: var(--on-accent); }

/* Über uns: gelber Punkt wächst hinter dem Foto und wandert beim Scrollen */
.photo-wrap { position: relative; }
.photo-wrap::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; right: -12%; top: -8%; border-radius: 50%; background: var(--accent); transform: translateY(var(--py, 0px)) scale(0); transition: transform 1.2s cubic-bezier(.34, 1.56, .64, 1); z-index: 0; }
.photo-wrap.in::before { transform: translateY(var(--py, 0px)) scale(1); }
.photo-wrap .about-photo { z-index: 1; }
.about-photo img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.photo-wrap.in .about-photo img { transform: scale(1); }

/* Referenzen auf Touch-Geräten: Screenshot scrollt von selbst */
@media (hover: none) {
  .ref.in .screen img { animation: shotScroll 16s ease-in-out 1.2s infinite alternate; }
}
@keyframes shotScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + var(--frame-h, 0px))); } }

/* Weitere Projekte: Zeilen als Links */
.more li { padding: 0; }
.more li a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; width: 100%; padding: 20px 4px; color: var(--text); text-decoration: none; position: relative; }
.more li a::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: -1; border-radius: 10px; }
.more li a:hover::before, .more li a:focus-visible::before { transform: scaleX(1); }
.more li a:hover, .more li a:hover span, .more li a:focus-visible, .more li a:focus-visible span { color: var(--on-accent); }
.more li a { isolation: isolate; transition: color .3s, padding .4s var(--ease); }
.more li a:hover { padding-left: 18px; padding-right: 18px; }
.more li strong small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; transition: color .3s; }
.more li a:hover strong small { color: var(--on-accent); }
.more li .arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .4s var(--ease), background-color .3s; }
.more li a:hover .arrow { transform: rotate(-45deg); background: var(--on-accent); color: var(--accent); box-shadow: none; }
@media (max-width: 860px) { .more li a { grid-template-columns: 1fr auto; } .more li a > span:not(.arrow) { display: none; } }

/* Absenden: der Punkt fliegt los */
.send-dot { position: fixed; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 80; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal .dot-end::after { opacity: 1; transform: none; animation: none; }
  .steps li h3, .steps li p { opacity: 1; transform: none; }
  .mark { background-size: 100% 34%; }
  .photo-wrap::before { transform: none; }
  .js .card.reveal .ico svg * { stroke-dashoffset: 0; }
}
main { overflow-x: hidden; overflow-x: clip; }
