/* ============================================================
   WorkEasy by Dominik Mayr — Style
   Dark Mode · Gradient-Akzente · Linear/Stripe/Framer-inspiriert
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-2: #0a0e18;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2fa;
  --muted: #97a1b8;
  --c1: #22d3ee;
  --c2: #818cf8;
  --c3: #c084fc;
  --warn: #f87171;
  --good: #34d399;
  --grad: linear-gradient(92deg, var(--c1), var(--c2) 52%, var(--c3));
  --radius: 18px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--c2);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(129, 140, 248, 0.35); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ---------- Utilities ---------- */

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 24px;
}

.section-head { margin-bottom: 56px; }

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--grad);
  color: #06101c;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(129, 140, 248, 0.5);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: rgba(129, 140, 248, 0.55);
  transform: translateY(-2px);
}

.btn-small { padding: 10px 20px; font-size: 0.87rem; }
.btn-wide { width: 100%; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-word { white-space: nowrap; }

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  flex: none;
}

.brand-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

/* Burger + mobiles Menü (nur klein) */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 49;
  display: none;
  flex-direction: column;
  padding: 6px 24px 20px;
  background: rgba(5, 7, 13, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav a {
  padding: 14px 4px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
  overflow: hidden;
}

#net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora-1 {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
}

.aurora-2 {
  width: 640px;
  height: 640px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.26), transparent 70%);
  animation-delay: -8s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 42%, transparent 30%, rgba(5, 7, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.4), transparent 30%, var(--bg) 96%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c1);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 5rem);
  font-weight: 700;
}

.h1-dim { color: var(--muted); }

.h1-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 28px;
  max-width: 620px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.scroll-hint:hover { color: var(--text); }

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--c2), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad);
  animation: scrollDrop 2.2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Intro-Claim mit Wort-Highlight ---------- */

.intro { padding-top: 130px; }

.intro-claim {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.32;
  max-width: 900px;
}

/* Wörter (per JS gewrapt; ohne JS bleibt Normalzustand) */
.intro-claim .w { color: rgba(238, 242, 250, 0.17); transition: color 0.45s ease; }
.intro-claim .w.lit { color: var(--text); }
.intro-claim .w.accent.lit {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.intro-claim em { font-style: normal; }

/* ---------- Scroll-Story (Chaos → Klarheit) ---------- */

.story {
  position: relative;
  height: 320vh;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.story-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  align-items: center;
  gap: 40px;
}

.story-copy {
  position: relative;
  min-height: 300px;
}

.story-block {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.story-block.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.story-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c2);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.story-kicker.k-warn { color: var(--warn); }
.story-kicker.k-good { color: var(--good); }

.story-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.story-block p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 420px;
}

.story-visual svg {
  width: 100%;
  height: auto;
  max-height: 78vh;
}

.chaos-line {
  fill: none;
  stroke: rgba(248, 113, 113, 0.28);
  stroke-width: 1.6;
}

.order-line {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 2;
  stroke-linecap: round;
}

.order-glow {
  fill: none;
  stroke: url(#flowGrad);
  stroke-width: 8;
  opacity: 0.22;
  filter: url(#soft);
}

.flow-dash {
  fill: none;
  stroke: rgba(238, 242, 250, 0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 22;
  opacity: 0;
}

.live .flow-dash { animation: dashFlow 1.2s linear infinite; }

@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}

.node-label {
  font-family: var(--font-body), "Inter", sans-serif;
  font-size: 13px;
  fill: var(--muted);
  text-anchor: middle;
  dominant-baseline: middle;
  user-select: none;
}

.node-label-b { fill: var(--text); font-weight: 600; }

/* ---------- Leistungen: Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(129, 140, 248, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.45);
}

.bento-card:hover::before { opacity: 0.9; }
.bento-card:hover::after { opacity: 1; }

.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--c1);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(192, 132, 252, 0.12));
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.bento-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-card h3 { font-size: 1.12rem; margin-bottom: 10px; }

.bento-card p { color: var(--muted); font-size: 0.94rem; }

.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 320px;
  padding: 34px;
}

.featured h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.featured p { max-width: 340px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  max-width: 330px;
}

.chip {
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.mini-window {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 180px;
  padding: 13px 15px 17px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.mini-dots { display: flex; gap: 5px; margin-bottom: 11px; }

.mini-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }

.mini-dots i:nth-child(1) { background: rgba(34, 211, 238, 0.65); }
.mini-dots i:nth-child(2) { background: rgba(129, 140, 248, 0.65); }
.mini-dots i:nth-child(3) { background: rgba(192, 132, 252, 0.65); }

.mini-line {
  display: block;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  transform-origin: left;
  animation: miniLoad 2.8s ease-in-out infinite;
}

.mini-line.w1 { width: 88%; background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), rgba(129, 140, 248, 0.55)); }
.mini-line.w2 { width: 62%; background: linear-gradient(90deg, rgba(129, 140, 248, 0.55), rgba(192, 132, 252, 0.55)); animation-delay: 0.25s; }
.mini-line.w3 { width: 40%; margin-bottom: 0; background: linear-gradient(90deg, rgba(192, 132, 252, 0.55), rgba(34, 211, 238, 0.55)); animation-delay: 0.5s; }

@keyframes miniLoad {
  0%, 100% { transform: scaleX(0.55); opacity: 0.45; }
  50%      { transform: scaleX(1); opacity: 1; }
}

.bento-card.wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.bento-card.wide .bento-icon { margin-bottom: 0; flex: none; }
.bento-card.wide p { max-width: 760px; }

/* ---------- Prinzipien ---------- */

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.principle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.principle svg {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  fill: none;
  stroke: var(--good);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle h3 { font-size: 1rem; margin-bottom: 6px; }

.principle p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Prozess: Timeline ---------- */

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 64px;
}

.timeline-rail {
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.timeline-fill {
  position: absolute;
  inset: 0;
  background: var(--grad);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.55);
}

.timeline-list { list-style: none; display: grid; gap: 24px; }

.tstep { position: relative; }

.tstep-dot {
  position: absolute;
  left: -50px;
  top: 28px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(129, 140, 248, 0.45);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tstep.done .tstep-dot {
  background: var(--c2);
  border-color: var(--c2);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.16), 0 0 16px rgba(129, 140, 248, 0.6);
}

.tstep-card {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.tstep.done .tstep-card {
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.09);
}

.tstep-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c2);
  margin-bottom: 8px;
}

.tstep h3 { font-size: 1.08rem; margin-bottom: 8px; }

.tstep p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Über mich ---------- */

.about { padding-top: 120px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 72px;
  align-items: center;
}

.about-media { perspective: 1000px; }

.about-photo-wrap {
  transition: transform 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.about-photo {
  position: relative;
  border-radius: 26px;
}

/* Gradient-Rahmen (mask-composite-Trick) */
.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Glow hinter dem Foto */
.about-photo::after {
  content: "";
  position: absolute;
  inset: 6% -6% -4% -6%;
  background: radial-gradient(58% 46% at 50% 88%, rgba(129, 140, 248, 0.22), transparent 72%);
  filter: blur(34px);
  z-index: -1;
}

.about-photo img {
  border-radius: inherit;
  width: 100%;
  height: auto;
  filter: saturate(0.92) contrast(1.02);
  transition: filter 0.4s ease;
}

.about-photo:hover img { filter: saturate(1) contrast(1.02); }

.about-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(5, 7, 13, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.about-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 24px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 520px;
}

.about-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-facts li {
  font-size: 0.82rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 7px 14px;
  border-radius: 999px;
}

.about-sign {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-set {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.contact h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.contact-sub {
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 36px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c1);
  font-weight: 600;
}

.contact-list a {
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-list a:hover { color: var(--c1); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.14);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-bottom: 10px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  margin-right: auto;
}

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-links a:hover { color: var(--text); }

.footer-copy {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 24px 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- 404 ---------- */

.nf-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 17vw, 9.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 32px rgba(129, 140, 248, 0.35));
  margin-bottom: 10px;
}

.nf h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  margin-bottom: 14px;
}

.nf-sub {
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 34px;
}

.nf-links {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.nf-links a {
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nf-links a:hover {
  color: var(--text);
  border-color: var(--c2);
}

.nf-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.nf-footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nf-footer a:hover { color: var(--text); }

/* ---------- Reveal-Animationen (nur mit JS verstecken) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Rechtseiten ---------- */

.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 24px 90px;
}

.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 30px; }

.legal h2 {
  font-size: 1.15rem;
  margin: 30px 0 10px;
  color: var(--text);
}

.legal p, .legal address {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.legal address { margin-bottom: 10px; }

.legal a { color: var(--c1); }
.legal a:hover { text-decoration: underline; }

.legal-note {
  margin-top: 40px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 0.88rem;
}

.legal-back {
  display: inline-block;
  margin-top: 34px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.legal-back:hover { color: var(--text); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-column: 1 / -1; grid-row: auto; }
  .bento-card.wide { grid-column: 1 / -1; }
  .about-grid { gap: 44px; }
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .story { height: 300vh; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    align-content: start;
    padding-top: 90px;
  }

  .story-copy { min-height: 210px; order: 0; }
  .story-visual { order: 1; }
  .story-visual svg { max-height: 56vh; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
}

@media (max-width: 720px) {
  .mini-window { display: none; }
  .featured { min-height: 0; }
  .principles { grid-template-columns: 1fr; }
  .bento-card.wide { flex-direction: row; align-items: flex-start; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 80px 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: auto; }
  .hero { padding-bottom: 120px; }
  .hero-actions .btn { width: 100%; }
  .contact-form { padding: 24px; }
  .scroll-hint { display: none; }
  .story-copy { min-height: 260px; }
  .story-block p { font-size: 0.95rem; }

  .timeline { padding-left: 44px; }
  .timeline-rail { left: 15px; }
  .tstep-dot { left: -34px; }

  .about-badge { left: 12px; bottom: 12px; }
}

@media (max-width: 400px) {
  .btn-small { padding: 9px 14px; font-size: 0.8rem; }
  .nav-inner { gap: 14px; }
}

/* ============================================================
   Accessibility: Bewegung reduzieren
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }

  .intro-claim .w { color: var(--text); }
  .intro-claim .w.accent { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

  .marquee-track { animation: none; }
  .about-photo-wrap { transform: none !important; }
}
