/* ============================================================
   Luminary Studio v2 — "Lumen Noir"
   Dark navy stage, gold as the only light source.
   ============================================================ */

/* ---------- Fonts (local, DSGVO) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #060d18;
  --bg-raised: #0a1626;
  --bg-card: #0d1b2e;
  --navy: #0c2340;
  --text: #f7f5f0;
  --text-muted: #a9b4c0;
  --text-faint: #77839200;
  --gold: #d9a441;
  --gold-bright: #eec06a;
  --gold-soft: rgba(217, 164, 65, 0.14);
  --border: rgba(247, 245, 240, 0.09);
  --border-gold: rgba(217, 164, 65, 0.35);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-pill: 999px;

  --space-section: clamp(5rem, 10vw, 8.5rem);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: dark;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

::selection {
  background: var(--gold);
  color: #060d18;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section-alt {
  background: var(--bg-raised);
}

/* Section heads */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.06rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #10131a;
  box-shadow: 0 0 0 rgba(217, 164, 65, 0);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(217, 164, 65, 0.35);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--border-gold);
  box-shadow: 0 0 24px rgba(217, 164, 65, 0.12);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 64px;
  background: rgba(6, 13, 24, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.05;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.wordmark .line2 {
  color: var(--text-muted);
  letter-spacing: 0.3em;
  font-size: 0.62rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0.5rem 0;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 0.9rem;
  transition: color var(--transition), border-color var(--transition);
}

.lang-toggle:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

.header-cta {
  min-height: 44px;
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}

/* Burger */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: 9rem 6rem;
}

/* Light cone + glow — the "light" of Lumen Noir */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(ellipse 46% 42% at 50% 12%, rgba(217, 164, 65, 0.16), transparent 68%),
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(68, 96, 125, 0.22), transparent 70%);
  pointer-events: none;
}

/* Glow-Pool am unteren Ende der Hero — hier "landet" das Licht.
   Helligkeit folgt der Beam-Position (--beam-pos 0..1): unten = heller. */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(640px, 85%);
  height: 190px;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(217, 164, 65, 0.22), transparent 72%);
  pointer-events: none;
  z-index: 0;
  opacity: calc(0.4 + var(--beam-pos, 0) * 0.6);
  transition: opacity 240ms ease-out;
}

/* Vertikaler Lichtschacht + herabwandernder Lichtpunkt */
.hero-beam {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(217, 164, 65, 0.32),
    rgba(217, 164, 65, 0.05) 55%,
    transparent 80%
  );
  box-shadow: 0 0 22px 1px rgba(217, 164, 65, 0.1);
  pointer-events: none;
  z-index: 0;
}

/* Herabwandernder Lichtpunkt — Position folgt dem Scroll (--beam-pos 0..1).
   Nach unten scrollen = Punkt wandert nach unten, nach oben = nach oben.
   Die Transition sorgt fürs sanfte Nachziehen. */
.hero-beam::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 30%;
  transform: translate(-50%, calc(-50% + (var(--beam-pos, 0) * 383%)));
  background: linear-gradient(180deg, transparent, var(--gold-bright) 50%, transparent);
  border-radius: 50%;
  will-change: transform;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Beam-Blur erst nach dem LCP-Paint (filter:blur ist teuer) */
body.loaded .hero-beam::after {
  filter: blur(2px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  margin-bottom: 2rem;
  background: rgba(13, 27, 46, 0.5);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero h1 {
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}

.glow-word {
  color: var(--gold);
  text-shadow: 0 0 34px rgba(217, 164, 65, 0.45);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.6rem;
}

.hero-tagline {
  margin-top: 4.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-tagline em {
  font-style: normal;
  color: var(--gold);
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

/* gold light edge on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent 80%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(217, 164, 65, 0.07);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-s);
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 1.3rem;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Prozess (Licht-Timeline) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem 1.5rem;
  position: relative;
}

.process-step {
  position: relative;
  padding-top: 1.9rem;
}

/* the light line */
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), var(--border));
}

.process-step:last-child::before {
  right: 0;
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

/* glowing node */
.process-step::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(217, 164, 65, 0.8);
}

.process-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

/* ---------- Über uns ---------- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -8%;
  width: 46%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(217, 164, 65, 0.07), transparent 70%);
  pointer-events: none;
}

.about-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(217, 164, 65, 0.08);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent 75%);
  pointer-events: none;
}

.about-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0.6rem 0 1.2rem;
}

.about-text > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.9rem;
}

.about-founder {
  border-left: 2px solid var(--border-gold);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 0 0 2rem;
}

.about-founder blockquote {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-founder figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-sign-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
}

.about-sign-role {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 320px;
  }
}

/* ---------- Projekte ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition),
    background var(--transition);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--border-gold);
}

.filter-btn[aria-pressed="true"] {
  background: var(--gold-soft);
  border-color: var(--border-gold);
  color: var(--gold);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.project-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

.project-card.hidden {
  display: none;
}

.project-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-thumb svg,
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-thumb svg,
.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

/* Klickbare Referenz-Karten */
a.project-card {
  cursor: pointer;
}

.project-meta h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-ext {
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

.project-card:hover .project-ext {
  color: var(--gold);
  transform: translate(2px, -2px);
}

.project-meta {
  padding: 1.2rem 1.4rem 1.4rem;
}

.project-meta .cat {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-meta h3 {
  font-size: 1.12rem;
  margin-top: 0.35rem;
}

/* ---------- Kundenstimmen ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2.1rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.quote-mark {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 0.6;
}

.quote-card blockquote {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.quote-card figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: auto;
}

.quote-card figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* ---------- Preise ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2.3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5);
}

.price-card.featured {
  border-color: var(--border-gold);
  box-shadow: 0 0 44px rgba(217, 164, 65, 0.1);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #10131a;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.price-tag {
  font-family: var(--font-head);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.price-from {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.price-features svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--gold);
}

.pricing-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--border-gold);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--transition);
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- Kontakt ---------- */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 90%;
  background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(217, 164, 65, 0.1), transparent 70%);
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  max-width: 400px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.96rem;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  transition: color var(--transition);
  min-height: 44px;
}

.contact-lines a:hover {
  color: var(--gold);
}

.contact-lines svg {
  color: var(--gold);
  flex: none;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 0.8rem 1rem;
  min-height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.15);
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-consent input {
  margin-top: 0.25rem;
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
  flex: none;
}

.form-consent a {
  color: var(--gold);
  text-decoration: underline;
}

.form-status {
  font-size: 0.92rem;
  min-height: 1.4em;
}

.form-status.ok {
  color: #8fd694;
}

.form-status.err {
  color: #ff9f8a;
}

.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  background: var(--bg);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.93rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ---------- Legal pages / 404 ---------- */
.legal-page {
  padding: 9rem 0 5rem;
  max-width: 720px;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 2.2rem 0 0.7rem;
}

.legal-page p {
  color: var(--text-muted);
}

.legal-page a {
  color: var(--gold);
}

.placeholder-note {
  border: 1px solid var(--border-gold);
  background: var(--gold-soft);
  border-radius: var(--radius-s);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text) !important;
}

.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.error-page .big {
  font-family: var(--font-head);
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 44px rgba(217, 164, 65, 0.4);
  line-height: 1;
}

.error-page p {
  color: var(--text-muted);
  margin: 1rem 0 2rem;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px rgba(217, 164, 65, 0.6);
  will-change: transform;
}

/* ---------- Reveal animations (scroll) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 75ms);
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Hero entrance (on load) ---------- */
.hero-inner > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-inner > *:nth-child(1) { animation-delay: 120ms; }
.hero-inner > *:nth-child(2) { animation-delay: 240ms; }
.hero-inner > *:nth-child(3) { animation-delay: 360ms; }
.hero-inner > *:nth-child(4) { animation-delay: 480ms; }
.hero-inner > *:nth-child(5) { animation-delay: 620ms; }

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Parallax + breathing glow on the hero light source.
   Die Atmung startet erst nach dem LCP-Paint (body.loaded), damit sie
   den ersten Paint der Headline nicht ausbremst. */
.hero::before {
  transform: translateY(var(--glow-shift, 0px));
  will-change: transform, opacity;
}

body.loaded .hero::before {
  animation: glowBreath 6.5s ease-in-out infinite alternate;
}

@keyframes glowBreath {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

/* ---------- Process light-timeline draw-in ---------- */
.process-step::before {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 75ms + 120ms);
}

.process-step::after {
  transform: scale(0);
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 75ms + 480ms);
}

.process-step.visible::before {
  transform: scaleX(1);
}

.process-step.visible::after {
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* backdrop-filter ist auf Mobile zu teuer (LCP/Main-Thread) — solider Hintergrund */
  .site-header {
    background: rgba(6, 13, 24, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 13, 24, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.5rem 1.4rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition),
      visibility var(--transition);
  }

  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a:last-of-type {
    border-bottom: none;
  }

  .nav-burger {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-step::before {
    right: 0;
  }
}

/* ---------- Reduced motion ---------- */
@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;
    transition-delay: 0ms !important;
  }

  .reveal,
  .hero-inner > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero::before {
    transform: none !important;
  }

  .hero-beam::after {
    animation: none !important;
    opacity: 0.4 !important;
    transform: translate(-50%, 120%) !important;
  }

  .hero::after {
    animation: none !important;
    opacity: 0.6 !important;
  }

  .process-step::before {
    transform: scaleX(1) !important;
  }

  .process-step::after {
    transform: scale(1) !important;
  }

  .scroll-progress {
    display: none;
  }
}
