/* ============================================================
   Digitale Assistenz – Relaunch 2026
   ============================================================ */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/HankenGrotesk_wght_.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Jura";
  src: url("../assets/fonts/Jura-DemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #070b0d;
  --bg-2: #0b1114;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #e8eeec;
  --muted: #9fb0ac;
  --accent: #8fb5ae;
  --accent-2: #5e8f86;
  --accent-bright: #b7d9d2;
  --glow: rgba(143, 181, 174, 0.35);
  --nav-bg: rgba(7, 11, 13, 0.55);
  --menu-bg: rgba(7, 11, 13, 0.92);
  --btn-text: #06110f;
  --dialog-bg: #0d1417;
  --glare: rgba(183, 217, 210, 0.14);
  --num-stroke: rgba(143, 181, 174, 0.35);
  --card-hover-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --c-particle: 143, 181, 174;
  --c-vertex: 183, 217, 210;
  --radius: 22px;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-head: "Jura", var(--font-body);
  --nav-h: 72px;
}

:root[data-theme="light"] {
  --bg: #f2f5f4;
  --bg-2: #e8eeec;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-2: #ffffff;
  --stroke: rgba(16, 42, 36, 0.13);
  --text: #16221f;
  --muted: #54665f;
  --accent: #44756b;
  --accent-2: #2f5d55;
  --accent-bright: #1f4a42;
  --glow: rgba(68, 117, 107, 0.28);
  --nav-bg: rgba(242, 245, 244, 0.72);
  --menu-bg: rgba(242, 245, 244, 0.96);
  --btn-text: #ffffff;
  --dialog-bg: #ffffff;
  --glare: rgba(68, 117, 107, 0.10);
  --num-stroke: rgba(68, 117, 107, 0.45);
  --card-hover-shadow: 0 24px 50px rgba(23, 52, 46, 0.16);
  --c-particle: 68, 117, 107;
  --c-vertex: 31, 74, 66;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color .35s ease, color .35s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--accent-2); color: #fff; }

/* ---------- Scroll-Progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-bright));
  box-shadow: 0 0 12px var(--glow);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .4s ease, background .3s ease;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 18px; letter-spacing: .04em;
  white-space: nowrap;
}
.brand img {
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(143, 181, 174, 0.25));
  background: #fff;
}
.brand em { font-style: normal; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.05; }
.brand-text small {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 15px; color: var(--muted);
  border-radius: 10px; transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--stroke); color: var(--accent);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover {
  transform: translateY(-2px); color: var(--accent-bright);
  border-color: var(--accent-2); box-shadow: 0 6px 18px rgba(94, 143, 134, 0.25);
}
.theme-toggle { cursor: pointer; background: none; font: inherit; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }

.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: none; border: 1px solid var(--stroke); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-btn span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s ease;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  display: none; flex-direction: column; padding: 12px 24px 24px;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--stroke);
  transform: translateY(-12px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a {
  padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--stroke);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
#scene3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 50% 8%, rgba(94, 143, 134, 0.16), transparent 70%),
    radial-gradient(900px 600px at 80% 100%, rgba(94, 143, 134, 0.10), transparent 65%),
    radial-gradient(700px 500px at 12% 90%, rgba(143, 181, 174, 0.08), transparent 65%);
}
.hero-inner { position: relative; max-width: 900px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 22px 0 26px; font-weight: 700;
}
.hero h1 .line { display: block; }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) scale(.98);
  filter: blur(14px);
  animation: wordIn 1.15s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }

.grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-bright), var(--accent-2) 55%, var(--accent-bright));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px); color: var(--muted);
  max-width: 640px; margin: 0 auto 38px;
}

.reveal-hero {
  opacity: 0; transform: translateY(18px);
  filter: blur(10px);
  animation: heroIn 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--btn-text);
  box-shadow: 0 10px 30px rgba(94, 143, 134, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(94, 143, 134, 0.5); }
.btn-ghost {
  border: 1px solid var(--stroke); color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent-2); background: var(--surface-2); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--stroke); border-radius: 16px;
  display: flex; justify-content: center; padding-top: 8px;
  transition: border-color .3s ease;
}
.scroll-cue:hover { border-color: var(--accent); }
.scroll-cue span {
  width: 4px; height: 9px; border-radius: 3px; background: var(--accent);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(14px); opacity: 0; }
  56% { transform: translateY(0); opacity: 0; }
}

/* ---------- Ticker ---------- */
.ticker {
  border-block: 1px solid var(--stroke);
  background: var(--bg-2);
  overflow: hidden; white-space: nowrap; padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 34px;
  animation: ticker 28s linear infinite;
  font-family: var(--font-head); font-size: 17px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.ticker-track i { color: var(--accent); font-style: normal; font-size: 13px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section {
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) 24px;
}

/* ---------- Deko-Orbs mit Scroll-Parallaxe ---------- */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: -1;
  filter: blur(60px); opacity: .55;
  will-change: transform;
}
.orb-a {
  width: 380px; height: 380px; top: 4%; left: -140px;
  background: radial-gradient(circle, rgba(94, 143, 134, 0.35), transparent 70%);
}
.orb-b {
  width: 460px; height: 460px; bottom: -4%; right: -180px;
  background: radial-gradient(circle, rgba(143, 181, 174, 0.28), transparent 70%);
}
.orb-c {
  width: 420px; height: 420px; top: 10%; right: -160px;
  background: radial-gradient(circle, rgba(94, 143, 134, 0.30), transparent 70%);
}

/* ---------- Parallax-Foto-Bänder ---------- */
.band {
  position: relative; overflow: hidden;
  min-height: clamp(340px, 46vw, 520px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.band-bg { position: absolute; inset: -18% 0; z-index: 0; will-change: transform; }
.band-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.band-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 120% at 50% 50%, rgba(5, 12, 10, 0.45), rgba(5, 12, 10, 0.78)),
    linear-gradient(rgba(5, 12, 10, 0.30), rgba(5, 12, 10, 0.60));
}
.band-content { position: relative; z-index: 2; max-width: 820px; }
.band-content h2 {
  font-family: var(--font-body); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(28px, 4.6vw, 52px); line-height: 1.15;
  color: #f2f7f5; margin: 12px 0 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.band-content .eyebrow { color: #b7d9d2; }
.band-cta .band-content h2 { margin-bottom: 28px; }
.band .grad {
  background-image: linear-gradient(100deg, #cfe8e2, #8fb5ae 55%, #cfe8e2);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(48px, 7vw, 80px); }
.section-head h2, .about-text h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(32px, 5vw, 54px); line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.section-sub { color: var(--muted); font-size: 18px; }

/* Scroll-Reveal (Apple-Stil: Blur + sanfte Skalierung) */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.975);
  filter: blur(12px);
  transition:
    opacity 1s cubic-bezier(.22, 1, .36, 1),
    transform 1s cubic-bezier(.22, 1, .36, 1),
    filter 1s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 130ms);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
}
.card {
  position: relative; overflow: hidden;
  padding: 34px 32px 30px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--stroke); border-radius: var(--radius);
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt { transition: box-shadow .3s ease, border-color .3s ease; }
.tilt:hover { border-color: rgba(143, 181, 174, 0.35); box-shadow: var(--card-hover-shadow); }
.card-glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glare), transparent 60%);
  transition: opacity .3s ease;
}
.tilt:hover .card-glare { opacity: 1; }
.card-num {
  position: absolute; top: 14px; right: 22px;
  font-family: var(--font-head); font-size: 64px; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px var(--num-stroke);
  transform: translateZ(30px);
}
.card-visual {
  height: 118px; margin: -6px -4px 20px;
  display: grid; place-items: center;
  border-radius: 16px; color: var(--accent-bright);
  background: linear-gradient(150deg, rgba(143, 181, 174, 0.14), rgba(94, 143, 134, 0.05) 70%);
  border: 1px solid rgba(143, 181, 174, 0.18);
  transform: translateZ(24px);
}
.card-visual svg { width: min(220px, 80%); height: 92px; opacity: .9; }
.card-icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; margin-bottom: 20px; color: var(--accent-bright);
  background: linear-gradient(135deg, rgba(143, 181, 174, 0.18), rgba(94, 143, 134, 0.10));
  border: 1px solid rgba(143, 181, 174, 0.25);
  transform: translateZ(40px);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-family: var(--font-body); font-size: 24px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px; transform: translateZ(30px);
}
.card ul { display: grid; gap: 9px; transform: translateZ(20px); }
.card li {
  position: relative; padding-left: 24px; color: var(--muted); font-size: 15.5px;
}
.card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
}

/* ---------- Über mich (kompakt) ---------- */
.about { padding-block: clamp(56px, 8vw, 96px); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 26px;
  max-width: 640px; margin: 0 auto; text-align: center;
  justify-items: center;
}
.about-photo { position: relative; width: 112px; }
.about-photo img {
  width: 112px; height: 112px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  position: relative; z-index: 1;
}
.orbit { position: absolute; inset: -12px; pointer-events: none; }
.orbit::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(143, 181, 174, 0.35);
  animation: spin 32s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-text h2 { font-size: clamp(24px, 3.4vw, 36px); }
.about-text p:not(.eyebrow) {
  color: var(--muted); margin: 0 auto 14px; max-width: 56ch; font-size: 16px;
}
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.about-badges span {
  padding: 8px 15px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--stroke); background: var(--surface); color: var(--text);
}

/* ---------- Kontakt ---------- */
.contact { text-align: center; }
.contact-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(720px 420px at 50% 55%, rgba(94, 143, 134, 0.13), transparent 70%);
}
.contact-cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  text-align: left;
}
.contact-card {
  position: relative; overflow: hidden;
  padding: 30px 28px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  border: 1px solid var(--stroke); border-radius: var(--radius);
  transform-style: preserve-3d; will-change: transform;
  display: flex; flex-direction: column; gap: 10px;
}
.contact-card > svg { width: 34px; height: 34px; color: var(--accent-bright); transform: translateZ(30px); }
.contact-card h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.015em; font-size: 21px; transform: translateZ(24px); }
.contact-card p { color: var(--muted); font-size: 15.5px; flex: 1; transform: translateZ(18px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-bright); font-weight: 600; font-size: 15.5px;
  transform: translateZ(24px);
}
.link-arrow i { font-style: normal; transition: transform .25s ease; }
.contact-card:hover .link-arrow i { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--stroke); background: var(--bg-2); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 34px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer .brand { font-size: 16px; }
.footer .brand img { width: 36px; height: 38px; }
.footer-note { color: var(--muted); font-size: 14.5px; margin-inline: auto; }
.footer-links { display: flex; gap: 20px; }
.footer-links a, .footer-links button {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14.5px; color: var(--muted);
  transition: color .25s ease;
}
.footer-links a:hover, .footer-links button:hover { color: var(--accent-bright); }

/* ---------- Cookie-Hinweis ---------- */
.cookie-note {
  position: fixed; left: 50%; bottom: 22px; z-index: 110;
  width: min(720px, calc(100vw - 28px));
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .7s ease;
  pointer-events: none;
}
.cookie-note.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cookie-note-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--stroke); border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}
.cookie-note-inner > svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent); }
.cookie-note-inner p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.cookie-note-inner p strong { color: var(--text); }
.cookie-note-inner p a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { padding: 10px 20px; font-size: 14.5px; flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-note-inner { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- Dialog (Impressum) ---------- */
dialog {
  margin: auto; width: min(680px, calc(100vw - 40px));
  max-height: min(80vh, 720px); overflow-y: auto;
  background: var(--dialog-bg); color: var(--text);
  border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 44px);
}
dialog::backdrop {
  background: rgba(4, 7, 8, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog[open] { animation: dialogIn .35s cubic-bezier(.2, .65, .25, 1); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
}
dialog h2 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; font-size: 30px; margin-bottom: 20px; }
dialog h3 { font-family: var(--font-body); font-weight: 700; font-size: 18px; margin: 24px 0 8px; color: var(--accent-bright); }
dialog p { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
dialog a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.dialog-close {
  position: sticky; top: 0; float: right;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--stroke);
  color: var(--text); font-size: 16px; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.dialog-close:hover { background: rgba(143, 181, 174, 0.2); transform: rotate(90deg); }

/* ---------- Rechtsseiten (Datenschutz) ---------- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 90px)) 24px clamp(80px, 10vw, 120px);
}
.legal h1 { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(34px, 5vw, 52px); margin-bottom: 30px; }
.legal h2 {
  font-family: var(--font-body); font-weight: 700; font-size: 21px;
  margin: 36px 0 10px; color: var(--accent-bright);
}
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; color: var(--accent); font-weight: 600; }
.back-link:hover { color: var(--accent-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-cta { margin-left: auto; }
  .mobile-menu { display: flex; visibility: hidden; }
  .mobile-menu.open { visibility: visible; }
}
@media (max-width: 480px) {
  .brand span { white-space: nowrap; font-size: 15px; }
  .brand img { width: 36px; height: 38px; }
  .nav-inner { gap: 10px; padding: 0 14px; }
  .nav-cta { gap: 8px; }
  .nav-cta .icon-btn[data-mail] { display: none; }
  .icon-btn, .menu-btn { width: 40px; height: 40px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-hero, .hero h1 .word { opacity: 1 !important; transform: none !important; filter: none !important; }
  #scene3d { display: none; }
}
