/* Moreni 2026 – weiße Basis, Blau als Akzent, Apple-nahe Typografie */

:root {
  --white: #ffffff;
  --ink: #0b0f1a;
  --ink-2: #3a4150;
  --muted: #6b7280;
  --line: #e6e8ee;
  --tint: #f5f7fb;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #e8effd;
  --accent-glow: rgb(var(--accent-rgb) / 0.18);
  --accent-rgb: 37 99 235;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(11, 15, 26, 0.04), 0 24px 60px -24px rgba(11, 15, 26, 0.18);
  --shadow-lg: 0 2px 4px rgba(11, 15, 26, 0.05), 0 40px 90px -30px rgb(var(--accent-rgb) / 0.35);
  --content: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --mx: 50vw;
  --my: 40vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.container { width: min(var(--content), 100% - 48px); margin-inline: auto; }
@media (max-width: 720px) { .container { width: calc(100% - 32px); } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 3px solid rgb(var(--accent-rgb) / .35); outline-offset: 3px; border-radius: 6px; }

/* ---------- Reaktiver Hintergrund ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blob {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(80px); opacity: .55; will-change: transform;
  transition: opacity .6s var(--ease);
}
.bg-blob--a {
  left: 0; top: 0;
  background: radial-gradient(circle at center, rgb(var(--accent-rgb) / .22), rgb(var(--accent-rgb) / 0) 60%);
  transform: translate(calc(var(--mx) - 35vmax), calc(var(--my) - 35vmax));
}
.bg-blob--b {
  left: 0; top: 0; width: 50vmax; height: 50vmax;
  background: radial-gradient(circle at center, rgb(var(--accent-rgb) / .12), rgba(120, 170, 255, 0) 60%);
  transform: translate(calc(100vw - var(--mx) * .4 - 40vmax), calc(60vh - var(--my) * .2));
}
.bg-grid {
  position: absolute; inset: -10%;
  background-image: radial-gradient(rgba(11, 15, 26, .09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(60vmax 60vmax at var(--mx) var(--my), rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image: radial-gradient(60vmax 60vmax at var(--mx) var(--my), rgba(0,0,0,.6), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  cursor: pointer; min-height: 48px;
}
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgb(var(--accent-rgb) / .5); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #cfd4de; transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 15px; min-height: 42px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
.nav-inner {
  width: min(var(--content), 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px;
}
.brand img { width: 108px; height: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 999px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-inner { width: calc(100% - 32px); height: 68px; }
  .burger { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: absolute; left: 16px; right: 16px; top: 76px;
    flex-direction: column; gap: 4px; padding: 10px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 17px; }
  .nav-links a:hover { background: var(--tint); }
  .nav-links a::after { display: none; }
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.display { font-size: clamp(42px, 6.2vw, 84px); line-height: 1.0; letter-spacing: -0.045em; font-weight: 650; }
.display .line { display: block; }
.display .accent { color: var(--ink); }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 560px; margin-top: 26px; line-height: 1.5; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h2 .muted { color: var(--muted); font-weight: 500; }
h3 { font-size: 21px; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tint { background: linear-gradient(180deg, rgba(245,247,251,0) 0%, var(--tint) 20%, var(--tint) 80%, rgba(245,247,251,0) 100%); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* Hero liegt immer im sichtbaren Bereich: feste CSS-Animation statt Beobachter */
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .reveal { animation: none; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-facts { margin-top: 44px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.hero-visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(100%, 460px); aspect-ratio: 1; perspective: 1200px; }
.portrait-card {
  position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: color-mix(in srgb, var(--accent) 12%, #fff); box-shadow: var(--shadow-lg);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .18s ease-out;
  will-change: transform;
}
.portrait-card img { width: 100%; height: 100%; object-fit: cover; }
.portrait-shine {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(400px circle at var(--sx, 50%) var(--sy, 50%), rgba(255,255,255,.9), transparent 60%);
  opacity: var(--so, 0); transition: opacity .3s;
}
.portrait-tag {
  position: absolute; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); border-radius: 16px; padding: 12px 16px;
  font-size: 14px; line-height: 1.3; transform: translateZ(60px);
}
.portrait-tag--name { left: -18px; bottom: 36px; display: grid; gap: 2px; }
.portrait-tag--name strong { font-weight: 650; font-size: 15px; }
.portrait-tag--name span { color: var(--muted); }
.portrait-tag--status { right: -14px; top: 30px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; animation: float 6s ease-in-out infinite; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .4); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .45); } 70% { box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); } }
@keyframes float { 0%,100% { transform: translateZ(60px) translateY(0); } 50% { transform: translateZ(60px) translateY(-8px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid #cfd4de; border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .portrait { width: min(100%, 360px); }
  .portrait-tag--name { left: 8px; bottom: 16px; }
  .portrait-tag--status { right: 8px; top: 14px; }
  .scroll-hint { display: none; }
}

/* ---------- Statement ---------- */
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement-text {
  font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12;
  max-width: 1000px; margin-inline: auto; text-align: center;
}
.statement-text .w { display: inline-block; opacity: .14; transition: opacity .35s var(--ease); }
.statement-text .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .statement-text .w { opacity: 1; } }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  position: relative; display: block; padding: 28px 26px 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.75); border: 1px solid var(--line); backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  min-height: 300px;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgb(var(--accent-rgb) / .25); }
.card-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 24px; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card-arrow { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-size: 16px; transition: background .25s, color .25s, transform .3s var(--ease); }
.card:hover .card-arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(45deg); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card { min-height: auto; } }

/* ---------- 3D Scroll-Stack ---------- */
.stack { position: relative; height: 420vh; }
.stack-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.stack-head { margin-bottom: 8px; position: relative; z-index: 200; }
.stack-head h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 900px; }
.stack-scene {
  position: relative; height: min(52svh, 480px); perspective: 1400px; perspective-origin: 50% 30%;
  transform-style: preserve-3d;
}
.stack-card {
  position: absolute; left: 50%; top: 36px; width: min(760px, 92vw); margin-left: calc(min(760px, 92vw) / -2);
  padding: 34px 38px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px rgba(11,15,26,.25), 0 2px 6px rgba(11,15,26,.05);
  transform-style: preserve-3d; will-change: transform, opacity;
  opacity: 0;
}
.stack-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.stack-card .step { font-weight: 700; color: var(--ink); font-size: 14px; letter-spacing: .06em; }
.stack-card .label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 5px 10px; border-radius: 999px; background: var(--tint); }
.stack-card h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 12px; }
.stack-card p { color: var(--ink-2); font-size: clamp(15px, 1.3vw, 18px); max-width: 620px; }
.stack-card footer { margin-top: 22px; font-size: 12px; color: var(--muted); }
.stack-card.is-active { border-color: rgb(var(--accent-rgb) / .35); box-shadow: 0 40px 90px -30px rgb(var(--accent-rgb) / .35), 0 2px 6px rgba(11,15,26,.05); }
.stack-progress { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); width: min(300px, 60vw); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stack-progress-bar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

@media (max-width: 720px) {
  .stack-card { padding: 24px 22px; border-radius: 22px; }
  .stack-scene { height: min(56svh, 440px); }
}

/* Fallback ohne 3D (reduced motion oder kein JS): einfache Liste */
.stack.flat { height: auto; padding: clamp(80px, 10vw, 140px) 0; }
.stack.flat .stack-sticky { position: static; height: auto; overflow: visible; }
.stack.flat .stack-scene { height: auto; perspective: none; display: grid; gap: 14px; width: min(var(--content), 100% - 48px); margin-inline: auto; }
.stack.flat .stack-card { position: static; margin-left: 0; width: auto; opacity: 1; transform: none !important; }
.stack.flat .stack-progress { display: none; }
@media (max-width: 720px) { .stack.flat .stack-scene { width: calc(100% - 32px); } }

/* ---------- Betriebsarten ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mode:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mode-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.mode h3 { margin-bottom: 8px; }
.mode p { color: var(--ink-2); font-size: 15.5px; }
.mode--active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mode--active .mode-num { background: var(--accent); color: #fff; }
.mode--active p { color: rgba(255,255,255,.72); }
@media (max-width: 800px) { .modes { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; transform: translateY(var(--py, 0)); will-change: transform; }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.08) translateY(calc(var(--py, 0px) * -.5)); }
.about-copy p { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.about-copy h2 + p { margin-top: 24px; }
.principles { margin-top: 30px; display: grid; gap: 14px; }
.principles li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 16px; }
.principles li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.principles strong { color: var(--ink); font-weight: 600; }
.about-copy .btn { margin-top: 34px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-img { max-width: 420px; aspect-ratio: 1; } }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.timeline li { position: relative; padding: 26px 22px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.75); }
.t-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.timeline h3 { font-size: 18px; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1000px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(180deg, rgba(245,247,251,0), var(--tint) 30%); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-copy p { margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.contact-links { display: grid; gap: 14px; }
.contact-person { display: flex; align-items: center; gap: 16px; padding: 4px 4px 10px; }
.contact-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -10px var(--accent-glow); }
.contact-person strong { display: block; font-weight: 650; font-size: 17px; }
.contact-person span { color: var(--muted); font-size: 14.5px; }
.contact-card {
  display: grid; grid-template-columns: 52px 1fr 40px; gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgb(var(--accent-rgb) / .3); }
.contact-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-text { display: grid; gap: 2px; min-width: 0; }
.contact-label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.contact-card:hover .contact-go { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateX(3px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-card { grid-template-columns: 44px 1fr; padding: 18px; } .contact-go { display: none; } .contact-icon { width: 44px; height: 44px; border-radius: 14px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer-claim { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtliches-Seite ---------- */
.legal { padding: 140px 0 100px; }
.legal-head { max-width: 760px; margin-bottom: 48px; }
.legal-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.legal-nav a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.legal-nav a:hover { border-color: var(--accent); color: var(--ink); }
.legal-block { max-width: 760px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-block h2 { font-size: 30px; margin-bottom: 20px; }
.legal-block h3 { font-size: 17px; margin: 26px 0 8px; }
.legal-block p { color: var(--ink-2); font-size: 16px; }
.legal-block a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* ---------- Danke-Seite ---------- */
.thanks { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.thanks p { margin: 18px auto 30px; color: var(--ink-2); max-width: 520px; font-size: 18px; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .bg-blob, .bg-grid { display: none; }
  .portrait-card { transform: none !important; }
}
@media (hover: none) {
  .bg-blob { opacity: .4; }
}

/* ---------- Zusammenarbeit (persönlich) ---------- */
.work-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.work-side { position: sticky; top: 110px; }
.work-side-card { padding: 34px 32px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.work-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; margin-bottom: 22px; box-shadow: 0 10px 30px -10px rgb(var(--accent-rgb) / .45); border: 3px solid #fff; outline: 1px solid var(--line); }
.work-side-card h2 { font-size: clamp(30px, 3.4vw, 44px); }
.work-side-card p { margin-top: 16px; color: var(--ink-2); }
.work-model { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.steps { display: grid; gap: 14px; position: relative; }
.steps::before { content: ""; position: absolute; left: 23px; top: 40px; bottom: 40px; width: 2px; background: var(--line); }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.step-avatar { position: relative; width: 48px; height: 48px; z-index: 1; }
.step-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.step-avatar span { position: absolute; right: -6px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.step-body { position: relative; padding: 24px 26px; border-radius: 22px; border-top-left-radius: 6px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.step-item:hover .step-body { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgb(var(--accent-rgb) / .25); }
.step-body h3 { font-size: 21px; margin-bottom: 10px; }
.step-body p { color: var(--ink-2); font-size: 16px; }
.step-get { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink) !important; font-size: 15px !important; }
.step-get strong { color: var(--ink); font-weight: 650; }
.card-example { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14.5px !important; color: var(--ink) !important; }
.card { min-height: auto; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-side { position: static; }
  .work-side-card { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .step-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .step-avatar, .step-avatar img { width: 40px; height: 40px; }
  .steps::before { left: 19px; }
  .step-body { padding: 18px 16px; }
}

/* ---------- Canvas-Hintergrund ---------- */
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bg.has-canvas .bg-grid { display: none; }
.bg.has-canvas .bg-blob--a { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .bg-canvas { display: none; } .bg.has-canvas .bg-grid { display: block; } }
