/* =========================================================
   ORIONT SYSTEMS — "Schweben" (v3)
   Dunkler, ruhiger Grund, weiche treibende Verläufe.
   Gedämpfte Indigo/Violett-Palette, weiche Schrift.
   Von Hand gebaut, kein Framework.
   ========================================================= */

:root {
  /* Grund */
  --bg: #0a0b10;
  --bg-soft: #0e1018;

  /* Text */
  --text: #eef1f6;
  --text-mid: #bcc3cf;
  --text-dim: #949bab;
  --text-faint: #6f7686;

  /* Akzent (weiches Indigo) */
  --accent: #7c8cff;
  --accent-bright: #aab6ff;
  --accent-deep: #4a559e;

  /* Linien / Flächen */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --surface: rgba(255, 255, 255, 0.035);

  --maxw: 1100px;
  --pad: clamp(24px, 5vw, 72px);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* ---------------- Sternenfeld (seitenweit, duennt nach unten aus) ---------------- */
.starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 175vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.star-layer { position: absolute; inset: 0; will-change: transform; }
.star-dot {
  position: absolute;
  border-radius: 50%;
  background: #dfe4ff;
}
@keyframes twinkle {
  0%, 100% { opacity: var(--base, 0.3); }
  50%      { opacity: var(--tw, 0.9); }
}
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: shoot cubic-bezier(.4, .1, .7, 1) forwards;
}
.shooting-star::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  width: 70px;
  height: 1.4px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.75), transparent);
  transform-origin: left center;
  transform: rotate(-29deg);
}
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-220px, 120px); }
}
@media (prefers-reduced-motion: reduce) {
  .star-dot { animation: none !important; }
  .shooting-star { display: none; }
}

/* ---------------- Hintergrund-Nebel: echtes Foto, nach Indigo-Violett getoent ---------------- */
/* Feinregler (hier justieren): */
:root {
  --neb-opacity: 0.85;   /* Gesamt-Sichtbarkeit des Nebels */
  --neb-sat: 0.12;       /* Restsaettigung des Fotos (fast grau, killt Gruen/Orange) */
  --neb-bright: 0.7;     /* Helligkeit des Fotos (tiefer = mehr Mitteltoene zeigen Farbe) */
  --neb-tint: 1;         /* Staerke der violetten Einfaerbung (Blend "color") */
  --neb-glow: 0.85;      /* violetter Schimmer auch in den hellen Stellen */
  --scrim: 0.18;         /* dunkle Daempfung obendrauf */
}
.nebula {
  position: absolute;
  top: -22%;
  right: -12%;
  width: 64vw;
  max-width: 1000px;
  height: 104vh;
  pointer-events: none;
  background: url('assets/nebula.jpg') center / cover no-repeat;
  /* fast entsaettigen: Struktur bleibt, Fremdfarben verschwinden */
  filter: saturate(var(--neb-sat)) brightness(var(--neb-bright)) contrast(1.12);
  opacity: var(--neb-opacity);
  /* als Lichtquelle ueber dunklem Grund, nicht als Foto-Rechteck */
  mix-blend-mode: screen;
  isolation: isolate;   /* Pseudo-Layer blenden NUR mit dem Foto, nicht der Seite */
  -webkit-mask-image: radial-gradient(60% 60% at 58% 46%, #000 28%, transparent 76%);
  mask-image: radial-gradient(60% 60% at 58% 46%, #000 28%, transparent 76%);
  animation: nebula-drift 46s ease-in-out infinite alternate;
}
/* Einfaerbung: gibt dem grauen Nebel den Indigo-Violett-Ton (Blend "color") */
.nebula::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(62% 60% at 58% 44%, rgba(150, 120, 245, var(--neb-tint)), transparent 80%),
    linear-gradient(150deg, rgba(110, 96, 230, var(--neb-tint)) 0%, rgba(86, 104, 240, var(--neb-tint)) 60%, rgba(120, 110, 220, var(--neb-tint)) 100%);
  mix-blend-mode: color;
}
/* Scrim + Glow: violetter Schimmer auf den hellen Stellen, dazu dunkle Daempfung */
.nebula::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 56% at 56% 44%, rgba(128, 96, 232, var(--neb-glow)), transparent 78%),
    linear-gradient(180deg, rgba(10, 11, 16, var(--scrim)), rgba(10, 11, 16, calc(var(--scrim) + 0.08)));
  mix-blend-mode: multiply;
}
@keyframes nebula-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2%, 1.6%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .nebula { animation: none; }
}
@media (max-width: 720px) {
  .nebula {
    width: 104vw;
    height: 56vh;
    top: 2%;
    right: -28%;
    --neb-opacity: 0.62;
  }
}

/* ---------------- Schwebender Hintergrund ---------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}
/* sanfter Grundschimmer von oben */
.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(124, 140, 255, 0.15), transparent 58%);
}
/* Vignette: oben + unten weich ins Dunkle, hält Text lesbar */
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--bg) 0%,
    rgba(10, 11, 16, 0) 22%,
    rgba(10, 11, 16, 0) 72%,
    var(--bg) 100%);
}

.shape {
  position: absolute;
  height: 150px;
  border-radius: 999px;
  filter: blur(52px);
  will-change: transform;
  animation: drift var(--dur, 16s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.shape--1 {
  width: clamp(320px, 46vw, 620px);
  left: -6%; top: 12%;
  --rot: 12deg; --dur: 17s; --delay: .2s;
  background: linear-gradient(90deg, rgba(99, 116, 255, 0.32), transparent 72%);
}
.shape--2 {
  width: clamp(280px, 40vw, 520px);
  right: -4%; top: 64%;
  --rot: -15deg; --dur: 21s; --delay: .5s;
  background: linear-gradient(90deg, rgba(150, 128, 235, 0.27), transparent 72%);
}
.shape--3 {
  width: clamp(220px, 28vw, 340px); height: 110px;
  left: 6%; bottom: 6%;
  --rot: -8deg; --dur: 19s; --delay: .4s;
  background: linear-gradient(90deg, rgba(84, 150, 232, 0.30), transparent 72%);
}
.shape--4 {
  width: clamp(160px, 18vw, 230px); height: 80px;
  right: 16%; top: 8%;
  --rot: 20deg; --dur: 15s; --delay: .6s;
  background: linear-gradient(90deg, rgba(205, 178, 150, 0.18), transparent 72%);
}
.shape--5 {
  width: clamp(130px, 14vw, 180px); height: 64px;
  left: 22%; top: 4%;
  --rot: -25deg; --dur: 23s; --delay: .7s;
  background: linear-gradient(90deg, rgba(116, 186, 240, 0.30), transparent 72%);
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(var(--rot)); }
  50%      { transform: translateY(26px) rotate(var(--rot)); }
}

@media (prefers-reduced-motion: reduce) {
  .shape { animation: none; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.brass {
  background: linear-gradient(105deg, #f3e3c4 0%, #d8c0a2 46%, #c2a079 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------------- Navigation ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 11, 16, 0.72);
  backdrop-filter: blur(14px);
}
.nav-inner {
  padding: 19px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}
.wordmark span {
  background: linear-gradient(105deg, #f8ecd0 0%, #dcc090 36%, #c0975c 56%, #efd9ab 80%, #d2b282 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-mark {
  height: 29px;
  width: 29px;
  margin-right: 11px;
  flex: none;
  filter: drop-shadow(0 0 13px rgba(200, 214, 240, 0.5));
  transition: filter .25s ease;
}
.wordmark:hover .brand-mark {
  filter: drop-shadow(0 0 18px rgba(218, 230, 250, 0.8));
}
.nav-contact {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-contact:hover { color: var(--accent-bright); border-color: var(--accent); }

/* ---------------- Hero ---------------- */
.hero {
  min-height: clamp(560px, 86vh, 880px);
  display: flex;
  align-items: center;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(64px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* dezenter Schimmer hinter dem Text fuer Lesbarkeit ueber dem Sternenhimmel */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(135% 115% at 10% 50%, rgba(10, 11, 16, 0.62) 0%, rgba(10, 11, 16, 0.22) 50%, transparent 78%);
}
.hero .container { position: relative; z-index: 2; width: 100%; max-width: none; }
.hero-copy { max-width: 1000px; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(22px, 3vw, 36px);
}
.hero-quote {
  position: relative;
  margin: 0;
  padding-left: clamp(24px, 3vw, 42px);
  animation: hero-rise .9s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent-bright), var(--accent-deep) 78%, transparent);
  box-shadow: 0 0 18px rgba(124, 140, 255, 0.45);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: none;
}
.hero-lead {
  display: block;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.hero-follow {
  display: block;
  margin-top: clamp(22px, 2.6vw, 32px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--text-mid);
  max-width: 58ch;
}
.hero-title .brass {
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(105deg, #f8ecd0 0%, #dcc090 34%, #b3884f 54%, #efd9ab 76%, #cead7c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(216, 192, 162, 0.40));
}
.hero-sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: clamp(30px, 4vw, 42px);
}
.hero-sign-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 19px);
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero-sign-name::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 14px;
  vertical-align: middle;
  background: var(--accent);
}
.hero-sign-role {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  padding-left: 40px;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-quote { animation: none; }
}

/* ---------------- Sektionen ---------------- */
.section {
  padding-top: clamp(72px, 10vw, 128px);
  padding-bottom: clamp(72px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(22px, 3vw, 32px);
}

.person {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: clamp(26px, 4vw, 38px);
}
.person::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Sektions-Lead: grosser Haltungssatz als Anker, vor der Prosa */
.section-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: none;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.prose {
  max-width: 64ch;
}
.prose p {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 1.3em;
}
.prose p:last-child { margin-bottom: 0; }

/* Statement-Sektion (Was ich mache) */
.section--statement .statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.7vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 26ch;
  text-wrap: balance;
}

/* ---------------- Karten (weiches Glas) ---------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
.card {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}
.card-kicker {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 12px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: clamp(16px, 2vw, 22px);
}
.card-kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #d8c0a2, transparent);
}
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.card-text {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-mid);
  line-height: 1.66;
}

/* ---------------- Kontakt ---------------- */
.section--contact { border-bottom: none; }
.contact-text {
  font-size: clamp(19px, 2.3vw, 25px);
  color: var(--text);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: clamp(32px, 4vw, 44px);
}
.contact-mail {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: none;
  letter-spacing: 0.005em;
  border-bottom: 2px solid var(--accent-deep);
  padding-bottom: 6px;
  transition: border-color .2s;
}
.contact-mail:hover { border-color: var(--accent-bright); }

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  background: rgba(8, 9, 13, 0.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-mark:hover { color: var(--text); }
.footer-mark:hover .brand-mark--footer {
  filter: drop-shadow(0 0 14px rgba(212, 224, 248, 0.65));
}
.brand-mark--footer {
  height: 19px;
  width: 19px;
  margin-right: 9px;
}
.footer-meta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}
.footer-meta .dot { margin: 0 12px; color: var(--accent); }

/* ---------------- Responsive ---------------- */
@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .hero-title { max-width: 100%; }
}

/* ---------------- Footer-Rechtslinks ---------------- */
.footer-links {
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--text-mid); }

/* ---------------- Rechtsseiten (Impressum / Datenschutz) ---------------- */
.legal-nav {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-back {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s ease;
}
.legal-back:hover { color: var(--text); }
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(64px, 10vw, 120px);
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 10px;
}
.legal .legal-stand {
  font-size: 14px;
  color: var(--text-faint);
  margin-bottom: 44px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 12px;
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-mid);
  margin: 26px 0 8px;
}
.legal p,
.legal li {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
}
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal address {
  font-style: normal;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal strong { color: var(--text); font-weight: 600; }
.legal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
