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

:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;

  /* Brand — Ocean (primary) + Sunset (accent), ableitend aus dem Hero-Video */
  --primary: #0d4a5a;
  --primary-deep: #052830;
  --primary-soft: #1a6a7a;
  --primary-glow: rgba(26, 106, 122, 0.35);
  --accent: #ff8a5b;
  --accent-soft: #ffb88f;
  --accent-deep: #d96b3e;
  --accent-glow: rgba(255, 138, 91, 0.28);

  /* Surfaces */
  --bg: #0a0a0a;
  --bg-elev: #111418;
  --bg-deep: #06090b;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.95);
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.42);

  --shadow-soft: 0 2px 22px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.7);
  --shadow-sub: 0 1px 2px rgba(0, 0, 0, 0.95), 0 2px 14px rgba(0, 0, 0, 0.75), 0 0 36px rgba(0, 0, 0, 0.45);
}

html {
  background: #000;
  overflow: hidden;
  overscroll-behavior-y: none;
}

html.scroll-unlocked {
  overflow-x: clip;
  overflow-y: auto;
}

body {
  background: #000;
  color: var(--text);
  font-family: var(--font);
  overflow-x: clip;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
}

#hero {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 10;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  will-change: opacity, transform, filter;
  transform-origin: center center;
  transition: opacity 180ms linear;
  pointer-events: none;
}

.hero-video.active {
  opacity: 1;
}

.transition-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  mix-blend-mode: screen;
}

#flash-sun {
  background:
    radial-gradient(
      ellipse 140% 110% at 50% 55%,
      rgba(255, 250, 225, 1) 0%,
      rgba(255, 225, 160, 0.95) 22%,
      rgba(255, 180, 110, 0.78) 48%,
      rgba(255, 130, 80, 0.55) 72%,
      rgba(255, 90, 60, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(255, 220, 170, 0.6) 0%, rgba(255, 170, 110, 0.45) 100%);
}

#flash-bubble {
  background:
    radial-gradient(
      ellipse 150% 120% at 50% 50%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(230, 245, 255, 0.9) 22%,
      rgba(190, 225, 250, 0.7) 48%,
      rgba(140, 200, 240, 0.5) 72%,
      rgba(90, 170, 220, 0.25) 100%
    ),
    radial-gradient(circle at 28% 38%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 14%),
    radial-gradient(circle at 72% 52%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 12%),
    radial-gradient(circle at 44% 72%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 10%),
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 11%),
    linear-gradient(180deg, rgba(210, 235, 255, 0.45) 0%, rgba(170, 210, 240, 0.35) 100%);
}

.hero-video.transit-bright {
  filter: brightness(1.35) saturate(1.05);
  transition: filter 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ============ Stations ============ */

.station {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6vh 5vw;
  pointer-events: none;
  z-index: 5;
  text-align: center;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* per-station vertical position — desktop defaults */
.station-sunrise    { justify-content: flex-end;   padding-bottom: 22vh; }
.station-underwater { justify-content: center; }
.station-sunset     { justify-content: flex-start; padding-top: 18vh; }

.station.visible {
  opacity: 1;
}

.station-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--text);
  text-shadow: var(--shadow-soft);
  margin: 0 auto;
  max-width: min(96vw, 1100px);
  word-wrap: normal;
  overflow-wrap: normal;
}

.station-sub {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.4vw, 1.32rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-sub);
  text-shadow: var(--shadow-sub);
  margin: clamp(16px, 2.2vh, 26px) auto 0;
  max-width: min(94vw, 880px);
  word-wrap: normal;
  overflow-wrap: normal;
}

/* char reveal — words wrapped so chars within a word can't break */

[data-reveal] .rl-word {
  display: inline-block;
  white-space: nowrap;
}

[data-reveal] .rl-space {
  display: inline-block;
  width: 0.28em;
}

[data-reveal] .rl {
  display: inline-block;
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform, filter;
}

.station.visible [data-reveal] .rl {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.station-underwater [data-reveal] .rl {
  transform: translateY(28px) scale(0.95);
}
.station-underwater.visible [data-reveal] .rl {
  transform: translateY(0) scale(1);
}

.station-sunset .station-headline {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 150, 90, 0.22), 0 1px 3px rgba(0, 0, 0, 0.7);
}
.station-sunset [data-reveal] .rl {
  transform: translateY(22px);
}

/* ============ Loading ============ */

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 20;
}

.loader-sun {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.55));
}

.loader-sun-rays {
  transform-origin: 50px 50px;
  animation: loader-spin 4.5s linear infinite;
}

.loader-sun-rays line {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.loader-sun-core {
  fill: rgba(255, 255, 255, 0.95);
  transform-origin: 50px 50px;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.2vw, 15px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  font-weight: 900;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.75; }
  50%      { transform: scale(1.1);  opacity: 1; }
}

#hero.ready #loading {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease 0.3s;
}

/* ============ Scroll hint (BIG initial state) ============ */

#scroll-hint {
  position: absolute;
  bottom: max(5vh, env(safe-area-inset-bottom, 24px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
  pointer-events: none;
}

#hero.ready #scroll-hint {
  opacity: 1;
}

#scroll-hint.big span {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 20px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 18px rgba(0, 0, 0, 0.85),
    0 0 2px rgba(0, 0, 0, 0.9);
  font-weight: 900;
  text-align: center;
  line-height: 1.5;
}

#scroll-hint .mobile-break { display: none; }
@media (max-width: 640px) {
  #scroll-hint .mobile-break { display: inline; }
}

#scroll-hint.big .scroll-arrow {
  position: relative;
  width: 2px;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.85));
  border-radius: 2px;
  animation: scroll-bounce 1.9s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

#scroll-hint.big .scroll-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 14px;
  height: 14px;
  border-right: 2.5px solid #ffffff;
  border-bottom: 2.5px solid #ffffff;
  border-bottom-right-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

#hero.started #scroll-hint {
  opacity: 0;
}

/* ============ Hero Logo (CC-Kreis → transformiert zur Sonne beim Start) ============ */

#sun-cover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease 0.4s;
}
#hero.ready #sun-cover { opacity: 1; }
#hero.started #sun-cover {
  opacity: 0;
  transition: opacity 900ms ease;
}

#hero-logo {
  position: absolute;
  top: max(5vh, env(safe-area-inset-top, 24px));
  left: 50%;
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 1 / 1;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
  transform-origin: center center;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
  transition:
    opacity 0.6s ease 0.4s,
    transform 3000ms cubic-bezier(0.5, 0, 0.2, 1),
    filter 2500ms ease;
}

#hero.ready #hero-logo { opacity: 1; }

#hero.started #hero-logo {
  /* 1s still → 3s Transformation Richtung Sonne (Zentrum ~55 % vh) */
  transform: translateX(calc(-50% - 10px)) translateY(calc(clamp(170px, 34vh, 360px) - 60px)) scale(0.10) rotate(540deg);
  opacity: 0;
  filter:
    drop-shadow(0 0 30px rgba(255, 245, 210, 0.95))
    drop-shadow(0 0 70px rgba(255, 195, 115, 0.75))
    drop-shadow(0 0 120px rgba(255, 155, 85, 0.5));
  transition:
    transform 3000ms cubic-bezier(0.5, 0, 0.2, 1) 1000ms,
    filter 2500ms ease 1000ms,
    opacity 1200ms ease 2800ms;
}

/* SVG-Innenleben (Startfarben + Transitions für Farbwechsel) */
#hero-logo .hl-ring-outer { stroke: rgba(255, 255, 255, 0.55); transition: stroke 1500ms ease 1000ms; }
#hero-logo .hl-ring-inner { stroke: rgba(255, 255, 255, 0.40); transition: stroke 1500ms ease 1000ms; }
#hero-logo .hl-labels     { fill: #ffffff; opacity: 1; transition: opacity 900ms ease 1800ms; }
#hero-logo .hl-dots       { fill: #ee9a5c; transition: fill 1200ms ease 1000ms; }
#hero-logo .hl-cc         { fill: #ffffff; opacity: 1; transition: opacity 800ms ease 1700ms; }
#hero-logo .hl-core       { fill: rgba(255, 225, 140, 0); transition: fill 1000ms ease 1700ms; }

#hero.started #hero-logo .hl-ring-outer { stroke: rgba(255, 240, 195, 0.95); }
#hero.started #hero-logo .hl-ring-inner { stroke: rgba(255, 220, 160, 0.9); }
#hero.started #hero-logo .hl-labels     { opacity: 0; }
#hero.started #hero-logo .hl-dots       { fill: #ffc280; }
#hero.started #hero-logo .hl-cc         { opacity: 0; }
#hero.started #hero-logo .hl-core       { fill: #fff4d6; }

/* Permanenter sanfter Sonnen-Atem (scale-puls auf innerem <g>) */
#hero-logo .hl-pulse {
  transform-origin: 170px 170px;
  animation: hl-pulse 3.4s ease-in-out infinite;
  will-change: transform;
}
@keyframes hl-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

@media (max-width: 640px) {
  #hero-logo {
    width: clamp(200px, 56vw, 280px);
    top: max(4vh, env(safe-area-inset-top, 16px));
  }
  #hero.started #hero-logo {
    transform: translateX(calc(-50% - 10px)) translateY(calc(clamp(150px, 30vh, 320px) - 20px)) scale(0.10) rotate(540deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-logo { transition: opacity 300ms ease; }
  #hero-logo .hl-pulse { animation: none; }
  #hero.started #hero-logo {
    transform: translateX(-50%) scale(1);
    opacity: 0;
    transition: opacity 600ms ease;
  }
  #sun-cover { transition: opacity 500ms ease; }
}

/* ============ Hero Replay Button (nur im Static-End-Zustand) ============ */

#hero-replay {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 76px);
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 500ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

#hero-replay svg { width: 18px; height: 18px; display: block; }

#hero-replay:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

#hero.show-replay #hero-replay {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 720px) {
  #hero-replay { top: calc(env(safe-area-inset-top, 0px) + 68px); right: 14px; width: 32px; height: 32px; }
  #hero-replay svg { width: 16px; height: 16px; }
}

/* ============ Content (unter dem Hero) ============ */

#content {
  position: relative;
  z-index: 20; /* MUSS über dem fixed #hero (z-index 10) liegen */
  margin-top: 100vh;
  margin-top: 100dvh;
  background: var(--bg);
}

/* gemeinsamer Section-Container */
.sect {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 6vw;
  overflow: clip;
}

.sect-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sect-kicker {
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}

.sect-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--text);
  margin: 0 auto clamp(20px, 3vh, 32px);
  max-width: 18ch;
}

.sect-title .accent {
  color: var(--accent);
}

.sect-lead {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vh, 80px);
}

.sect-lead strong { color: var(--text); font-weight: 600; }

/* ===== next-cue (top of sect-services) ===== */

.next-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(36px, 6vh, 64px) 0 clamp(48px, 8vh, 80px);
  opacity: 0.85;
}
.next-cue-text {
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}
.next-cue-arrow {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

/* ===== Reveal-on-Scroll ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Section 1 — Services ============ */

.sect-services {
  padding-top: 0; /* next-cue liefert Padding oben */
  background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-elev) 100%);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  text-align: left;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 38px);
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease, box-shadow 320ms ease;
  position: relative;
  overflow: clip;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 12px;
}

.card-desc {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.card-desc em { color: var(--text-soft); font-style: normal; font-weight: 500; }
.card-desc strong { color: var(--text); font-weight: 600; }

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.card-list li {
  font-family: var(--font);
  font-size: clamp(0.88rem, 0.95vw, 0.95rem);
  color: var(--text-soft);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.4;
}
.card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

/* ============ Section 2 — Edge (Sticky Scroll-Scrub Video Stage) ============ */

.sect.sect-edge {
  /* Override base .sect padding & overflow — Stage und Bullets bringen ihr eigenes.
     Doppelte Klasse für Specificity > .sect, sonst gewinnt .sect bei kleineren Media Queries. */
  padding: 0;
  background: transparent;
  overflow: visible; /* sticky braucht das */
}

/* Outer wrap: exakt so hoch wie die sticky Stage — kein Scroll-through-Loch */
.edge-stage-wrap {
  position: relative;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-elev);
}

/* Sticky Stage: hängt am Viewport-Top */
.edge-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: clip;
  display: grid;
  place-items: end center;  /* Content sitzt unten */
  padding: 0 0 6vh;         /* kurz vor dem unteren Rand — dockt an die Bullets an */
}

/* CSS-Placeholder — sichtbar bis das echte Video da ist */
.edge-bg-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 48% at 28% 38%, rgba(255, 138, 91, 0.42), transparent 65%),
    radial-gradient(52% 60% at 72% 62%, rgba(13, 110, 130, 0.55), transparent 65%),
    radial-gradient(70% 70% at 50% 110%, rgba(13, 74, 90, 0.5), transparent 70%),
    linear-gradient(135deg, #021015 0%, #042228 50%, #03171f 100%);
  filter: blur(0.5px);
}

/* Echtes Video (überdeckt Fallback wenn geladen) */
.edge-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  /* kein background — solange kein source geladen, schimmert Fallback durch */
}

/* Overlay: weicher Top-Fade aus der Section darüber, Reading-Layer in der Mitte,
   weicher Bottom-Fade in den Bullets-Hintergrund hinein */
.edge-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Reading-Layer für Lesbarkeit der weißen Headline */
    radial-gradient(ellipse 90% 70% at 50% 55%, transparent 0%, rgba(0, 0, 0, 0.30) 60%, rgba(0, 0, 0, 0.55) 100%),
    /* Vertikaler Fade: nahtlos aus --bg-elev oben → Video frei → --bg-elev unten */
    linear-gradient(180deg,
      #111418 0%,
      rgba(17, 20, 24, 0.85) 6%,
      rgba(17, 20, 24, 0.35) 14%,
      rgba(17, 20, 24, 0) 26%,
      rgba(17, 20, 24, 0) 70%,
      rgba(17, 20, 24, 0.55) 86%,
      rgba(17, 20, 24, 0.9) 95%,
      #111418 100%
    );
  pointer-events: none;
}

/* Content über Video */
.edge-stage-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  padding: 0 6vw;
  text-align: center;
}
.edge-stage-content .sect-title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.7);
}
.edge-stage-content .sect-lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* Bullets-Section (direkt unter dem sticky Stage, visuell angedockt) */
.edge-bullets-section {
  position: relative;
  z-index: 3;
  background:
    radial-gradient(60% 60% at 80% 0%, var(--primary-glow), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, var(--accent-glow), transparent 70%),
    var(--bg-elev);
  /* minimales Top-Padding — Kacheln docken direkt an den unteren Video-Fade an */
  padding: clamp(16px, 2.5vh, 28px) 6vw clamp(80px, 12vh, 140px);
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
}

.edge-bullet {
  display: flex;
  gap: 18px;
  background: rgba(13, 74, 90, 0.18);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 2.6vw, 28px);
  transition: border-color 240ms ease, background 240ms ease;
}
.edge-bullet:hover {
  border-color: var(--border-strong);
  background: rgba(13, 74, 90, 0.28);
}

.edge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 138, 91, 0.12);
  border: 1px solid rgba(255, 138, 91, 0.28);
  display: grid;
  place-items: center;
  color: var(--accent-soft);
}
.edge-icon svg { width: 22px; height: 22px; }

.edge-bullet h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.1;
  margin: 4px 0 8px;
  color: var(--text);
}

.edge-bullet p {
  font-family: var(--font);
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.edge-bullet p em { color: var(--text-soft); font-style: normal; font-weight: 500; }

/* ============ Home — Edge-Cards Redesign (nur Startseite) ============ */
.home-edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
  max-width: 1120px;
  margin: 0 auto;
}

.home-edge-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 138, 91, 0.05) 0%, transparent 42%),
    linear-gradient(215deg, rgba(26, 106, 122, 0.14) 0%, rgba(13, 20, 26, 0.55) 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition:
    transform 320ms cubic-bezier(.2,.8,.2,1),
    border-color 260ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

/* Gradient-Hairline oben-links / unten-rechts (erscheint beim Hover) */
.home-edge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 138, 91, 0.55) 0%,
    transparent 38%,
    transparent 62%,
    rgba(26, 106, 122, 0.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  z-index: 1;
}

/* Ghosted Nummer oben rechts */
.home-edge-num {
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  user-select: none;
  pointer-events: none;
  transition: color 320ms ease, transform 320ms ease;
  z-index: 0;
}

.home-edge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 91, 0.22);
  box-shadow:
    0 24px 48px -20px rgba(255, 138, 91, 0.18),
    0 12px 24px -14px rgba(0, 0, 0, 0.55);
}
.home-edge-card:hover::before { opacity: 1; }
.home-edge-card:hover .home-edge-num {
  color: rgba(255, 138, 91, 0.11);
  transform: translateY(-2px);
}

.home-edge-icon {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 138, 91, 0.22) 0%, rgba(255, 138, 91, 0.08) 100%);
  border: 1px solid rgba(255, 138, 91, 0.38);
  color: var(--accent-soft);
  box-shadow: 0 8px 22px -8px rgba(255, 138, 91, 0.35);
}
.home-edge-icon svg { width: 26px; height: 26px; }

.home-edge-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-edge-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.home-edge-desc {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.home-edge-desc em {
  color: var(--text-soft);
  font-style: normal;
  font-weight: 600;
}

/* ============ Section 3 — Process (Split Layout mit Bild) ============ */

.sect-process {
  padding: clamp(80px, 12vh, 140px) 6vw;
  background: var(--bg-deep);
}

.sect-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.split-image { width: 100%; }

.split-image-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: clip;
  border: 1px solid var(--border);
  margin: 0;
  background: var(--bg-deep);
}
.split-image-figure picture,
.split-image-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content { text-align: left; }
.split-content .sect-title { margin-left: 0; max-width: none; }
.split-content .sect-lead { margin-left: 0; max-width: none; }

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-left: 0;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.005em;
}

.step-body h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.1;
  margin: 4px 0 6px;
  color: var(--text);
}

.step-body p {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.commitment {
  border-left: 3px solid var(--accent);
  padding: 14px 0 14px 18px;
  background: rgba(255, 138, 91, 0.05);
  border-radius: 0 8px 8px 0;
}
.commitment p {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}
.commitment strong { color: var(--accent); }

/* ============ Section 4 — CTA ============ */

.sect-cta {
  padding: clamp(100px, 14vh, 160px) 6vw;
  background:
    radial-gradient(70% 60% at 50% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(60% 80% at 50% 120%, var(--primary-glow), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #000 100%);
  text-align: center;
}

.sect-cta .sect-title { max-width: 22ch; }

.contact-buttons {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border-strong);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font);
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 320ms ease;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
.contact-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45), 0 0 40px var(--accent-glow);
}
.contact-btn:active { transform: translateY(0); }

.contact-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
}
.contact-btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #1a1a1a;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
}

.cta-meta {
  font-family: var(--font);
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  color: var(--text-dim);
  margin: 0;
}
.cta-meta a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 200ms ease, border-color 200ms ease;
}
.cta-meta a:hover { color: var(--accent); border-color: var(--accent); }

/* ============ Footer ============ */

.site-footer {
  position: relative;
  background: #000;
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vh, 72px) 6vw clamp(20px, 3vh, 32px);
  z-index: 20;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin: 0 0 10px;
  transition: opacity 200ms ease;
}
.footer-brand .footer-logo img {
  display: block;
  height: 96px;
  width: auto;
}

@media (max-width: 640px) {
  .footer-brand .footer-logo img { height: 72px; }
}
.footer-brand .footer-logo:hover { opacity: 0.85; }

.footer-brand .footer-tag {
  font-family: var(--font);
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  color: var(--text-muted);
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
}
.footer-nav a {
  font-family: var(--font);
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  color: var(--text-soft);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font);
  font-size: clamp(0.78rem, 0.9vw, 0.85rem);
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============ Mobile ============ */

@media (max-width: 980px) {
  .service-cards { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .home-edge-grid { grid-template-columns: 1fr; }
  .edge-stage-wrap { height: 100vh; height: 100dvh; }
  .sect-split {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vh, 48px);
  }
  .split-image-figure { aspect-ratio: 16 / 10; }
  .split-content .sect-title,
  .split-content .sect-lead { text-align: left; }
}

@media (max-width: 768px) {
  .hero-video { object-position: 50% 45%; }
  .station { padding: 6vh 5vw; }

  .station-sunrise    { padding-bottom: 24vh; }
  .station-sunset     { padding-top: 16vh; }

  .station-headline {
    font-size: clamp(2.2rem, 9.2vw, 3.4rem);
    line-height: 1.03;
  }
  .station-sub {
    font-size: clamp(1rem, 3.9vw, 1.15rem);
    line-height: 1.4;
    font-weight: 500;
  }

  .sect { padding: clamp(64px, 10vh, 100px) 5vw; }
  .edge-bullets-section { padding: clamp(14px, 2.2vh, 24px) 5vw clamp(64px, 10vh, 100px); }
  .sect-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .sect-lead  { font-size: clamp(1rem, 4vw, 1.1rem); }

  .service-card { padding: 24px; }
  .edge-bullet { padding: 20px; gap: 14px; }
  .edge-icon { width: 38px; height: 38px; }

  .home-edge-card { padding: 24px; gap: 18px; border-radius: 18px; }
  .home-edge-icon { width: 46px; height: 46px; border-radius: 12px; }
  .home-edge-icon svg { width: 22px; height: 22px; }
  .home-edge-num { top: 12px; right: 18px; font-size: 3rem; }
  .home-edge-title { font-size: clamp(1.2rem, 5.2vw, 1.4rem); }
  .home-edge-desc { font-size: clamp(0.95rem, 4vw, 1rem); }

  .process-step { gap: 14px; }
  .step-num { font-size: 2rem; }

  .contact-buttons { gap: 10px; }
  .contact-btn { padding: 14px 24px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-nav { gap: 14px; }
}

@media (max-width: 480px) {
  .station-sunrise { padding-bottom: 22vh; }
  .station-sunset  { padding-top: 14vh; }
  .station-headline { font-size: clamp(1.95rem, 10vw, 2.85rem); }
  .station-sub      { font-size: clamp(0.95rem, 4vw, 1.08rem); }

  .sect { padding: 56px 5vw; }
  .sect-kicker { letter-spacing: 0.28em; }
  .sect-title { font-size: clamp(1.85rem, 9.5vw, 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-arrow, .next-cue-arrow, .loader-sun-rays { animation: none; }
  .loader-sun-core { animation-duration: 2.4s; }
  [data-reveal] .rl { transition-duration: 200ms; filter: none; }
  .reveal { transition: opacity 200ms; transform: none; }
}

/* ============ Navigation: Desktop-Nav + Mobile-FAB + Slide-in-Panel ============ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 clamp(20px, 3.5vw, 44px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  transition: opacity 200ms ease;
}
.site-nav-logo img {
  display: block;
  height: 60px;
  width: auto;
}
.site-nav-logo:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .site-nav-logo img { height: 50px; }
}

.site-nav-links {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  margin-left: auto;
  margin-right: 16px;
}
.site-nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 2px;
  position: relative;
  transition: color 200ms ease;
}
.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-nav-links a:hover { color: #fff; }
.site-nav-links a:hover::after { transform: scaleX(1); }
.site-nav-links a[aria-current="page"] { color: var(--accent); }
.site-nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav-cta,
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 240ms ease, background 200ms ease;
}
.site-nav-cta {
  padding: 9px 18px;
  font-size: 0.92rem;
}
.site-nav-cta svg { width: 16px; height: 16px; }
.site-nav-cta:hover,
.mobile-menu-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  box-shadow: 0 8px 24px rgba(255, 138, 91, 0.38);
}

/* Mobile Floating-Action-Button */
.mobile-fab {
  display: none;
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  right: 20px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  place-items: center;
  box-shadow:
    0 12px 36px rgba(255, 138, 91, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  z-index: 140;
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 240ms ease,
    background 240ms ease;
}
.mobile-fab:hover { background: var(--accent-soft); }
.mobile-fab:active { transform: scale(0.94); }
.fab-icon-burger { width: 28px; height: 28px; }

/* Slide-in-Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 70vw;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(200deg, var(--bg-elev) 0%, var(--bg-deep) 100%);
  border-left: 1px solid var(--border);
  padding: 84px 28px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  z-index: 160;
  transform: translateX(100%);
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  z-index: 150;
}
body.menu-open .mobile-menu { transform: translateX(0); }
body.menu-open .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 200ms ease;
}
.mobile-menu-close:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-menu-close svg { width: 22px; height: 22px; }

.mobile-menu-logo {
  display: block;
  width: 120px;
  margin: -48px 0 28px;
  transition: opacity 200ms ease;
}
.mobile-menu-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.mobile-menu-logo:hover { opacity: 0.85; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.mobile-menu-nav a {
  display: block;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.005em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 200ms ease, padding-left 220ms ease;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a[aria-current="page"] {
  color: var(--accent);
  padding-left: 10px;
}

.mobile-menu-cta {
  margin-top: auto;
  justify-content: center;
  padding: 15px 22px;
  font-size: 1rem;
}
.mobile-menu-cta svg { width: 18px; height: 18px; }

/* Hero-Seite: Nav + FAB erst sichtbar, wenn Auto-Scroll startet */
body.has-hero .site-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
}
body.has-hero .mobile-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.85);
}
html.scroll-unlocked body.has-hero .site-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
html.scroll-unlocked body.has-hero .mobile-fab {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Breakpoints */
@media (max-width: 768px) {
  .site-nav {
    height: 60px;
    background: rgba(10, 10, 10, 0.4);
    border-bottom-color: transparent;
  }
  .site-nav-links { display: none; }
  .site-nav-cta {
    margin-left: auto;
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .site-nav-cta span { display: none; }
  .site-nav-cta svg { width: 22px; height: 22px; }
  .mobile-fab { display: grid; }
}

@media (min-width: 769px) {
  .mobile-fab,
  .mobile-menu,
  .mobile-menu-backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .mobile-fab,
  .mobile-menu,
  .mobile-menu-backdrop { transition-duration: 120ms; }
}

/* ============ Subpage-Shell (Unterseiten „Im Aufbau") ============ */

.subpage-shell {
  padding-top: 68px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.subpage-hero {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(80px, 14vh, 160px) 6vw clamp(60px, 10vh, 120px);
}
.subpage-hero-inner {
  max-width: 760px;
  width: 100%;
}
.subpage-wip {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 18px;
  background: rgba(255, 138, 91, 0.14);
  border: 1px solid rgba(255, 138, 91, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 600;
}
.subpage-hero .sect-title { margin-bottom: 18px; }
.subpage-hero .sect-lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.subpage-back:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255, 138, 91, 0.08);
}
@media (max-width: 768px) {
  .subpage-shell { padding-top: 60px; }
}

/* ============ Über mich — Page + Hero ============ */

.ueber-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.ueber-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(110px, 14vh, 150px) 6vw clamp(80px, 10vh, 120px);
  overflow: clip;
  isolation: isolate;
}

.ueber-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
}

.ueber-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      #040a10 0%,
      #081823 28%,
      #0a2a36 52%,
      #1a1a22 78%,
      #0a0a0a 100%);
}

.ueber-hero-glow-a {
  position: absolute;
  left: -12%;
  bottom: -18%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 138, 91, 0.42), rgba(255, 138, 91, 0.08) 55%, transparent 72%);
  filter: blur(6px);
  animation: ueber-hero-breathe 12s ease-in-out infinite;
}

.ueber-hero-glow-b {
  position: absolute;
  right: -14%;
  top: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(closest-side, rgba(26, 106, 122, 0.55), rgba(13, 74, 90, 0.15) 55%, transparent 72%);
  filter: blur(4px);
  animation: ueber-hero-breathe 14s ease-in-out infinite reverse;
}

@keyframes ueber-hero-breathe {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 1; }
  50% { transform: scale(1.08) translate3d(0, -1.5%, 0); opacity: 0.88; }
}

.ueber-hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.ueber-hero-accent-line {
  position: absolute;
  left: 50%;
  top: 68px;
  width: 1px;
  height: clamp(56px, 11vh, 96px);
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--accent));
  opacity: 0.65;
}

.ueber-hero-content {
  position: relative;
  max-width: 1180px;
  width: 100%;
  text-align: center;
}

.ueber-hero-content .sect-kicker {
  margin-bottom: clamp(22px, 3vh, 30px);
  min-height: 1em;
}

.ueber-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 auto clamp(22px, 3.4vh, 38px);
  max-width: 24ch;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 138, 91, 0.08);
  min-height: 1em;
}

.ueber-hero-title .accent { color: var(--accent); }

.ueber-hero-sub {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
  min-height: 1em;
}

.ueber-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  margin: clamp(40px, 5.5vh, 64px) 0 0;
  padding: 0;
}

.ueber-hero-meta li {
  font-size: clamp(12px, 1vw, 13.5px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 1em;
}

.ueber-hero-meta li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-left: clamp(14px, 1.8vw, 26px);
  background: var(--accent);
  border-radius: 50%;
}

.ueber-hero-scroll {
  position: relative;
  margin-top: clamp(40px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  animation: ueber-reveal-fade 800ms ease 1100ms forwards;
}

.ueber-hero-scroll span {
  font-size: clamp(11px, 1vw, 12.5px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Reveal-on-load (standalone, unabhängig vom IntersectionObserver in main.js) ===== */

@keyframes ueber-reveal-in {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes ueber-reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ueber-reveal {
  opacity: 0;
  animation: ueber-reveal-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  will-change: opacity, transform, filter;
}

.ueber-reveal-1 { animation-delay: 120ms; }
.ueber-reveal-2 { animation-delay: 260ms; }
.ueber-reveal-3 { animation-delay: 500ms; }
.ueber-reveal-4 { animation-delay: 780ms; }

@media (prefers-reduced-motion: reduce) {
  .ueber-hero-glow-a,
  .ueber-hero-glow-b { animation: none; }
  .ueber-reveal,
  .ueber-hero-scroll { animation-duration: 1ms; animation-delay: 0ms; }
}

@media (max-width: 720px) {
  .ueber-hero {
    min-height: 55vh;
    min-height: 55dvh;
    padding: clamp(90px, 13vh, 120px) 5vw clamp(60px, 9vh, 90px);
  }
  .ueber-hero-meta { gap: 8px 14px; margin-top: clamp(28px, 4vh, 40px); }
  .ueber-hero-meta li:not(:last-child)::after {
    margin-left: 14px;
  }
  .ueber-hero-scroll { margin-top: clamp(28px, 5vh, 48px); }
}

/* ============ Über mich — Sections (1, 2, 3) ============ */

.ueber-sect {
  position: relative;
  isolation: isolate;
}

.ueber-sect .sect-title {
  max-width: 22ch;
  text-wrap: balance;
}

.ueber-sect .sect-inner .sect-title {
  margin-bottom: clamp(32px, 5vh, 56px);
}

/* Prose-Container für Fließtext-Absätze */
.ueber-prose {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.sect-inner > .ueber-prose { text-align: center; }
.sect-inner > .ueber-prose p { max-width: 68ch; margin-left: auto; margin-right: auto; }

.ueber-prose p {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 1.15em;
}
.ueber-prose p:last-child { margin-bottom: 0; }

/* ----- Section 1 — Einstieg (dunkel, Sunset-Glow unten rechts) ----- */

.ueber-sect-intro {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.ueber-sect-intro::before {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 58vw;
  max-width: 720px;
  height: 58vw;
  max-height: 720px;
  background: radial-gradient(closest-side, rgba(255, 138, 91, 0.18), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

/* ----- Section 2 — Wer ich bin (warm-dark, sanft aufgelockert, Teal-Schimmer) ----- */

.ueber-sect-split {
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(26, 106, 122, 0.12), transparent 70%),
    linear-gradient(180deg, #15181d 0%, #1a1612 100%);
}
.ueber-sect-split::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -8%;
  width: 50vw;
  max-width: 620px;
  height: 50vw;
  max-height: 620px;
  background: radial-gradient(closest-side, rgba(255, 138, 91, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.ueber-split-head {
  max-width: 1200px;
  margin: 0 auto clamp(40px, 6vh, 72px);
  padding: 0;
  text-align: center;
}
.ueber-split-head .sect-title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  max-width: 24ch;
}

.ueber-sect-split .sect-split { align-items: start; }
.ueber-sect-split .split-content { align-self: center; }

/* Placeholder-Bildkachel bis echtes Foto da ist */
.split-image-placeholder {
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 12px,
      transparent 12px,
      transparent 24px),
    linear-gradient(135deg, rgba(255, 138, 91, 0.12) 0%, rgba(26, 106, 122, 0.18) 100%);
  border: 1px dashed var(--border-strong);
  display: grid;
  place-items: center;
}
.split-placeholder-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ----- Section 3 — Meine Haltung (dunkel, Teal-Glow oben links, warmer Seam unten) ----- */

.ueber-sect-outlook {
  background: linear-gradient(180deg, #0a1218 0%, var(--bg) 100%);
  overflow: clip;
}
.ueber-sect-outlook::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -12%;
  width: 62vw;
  max-width: 780px;
  height: 62vw;
  max-height: 780px;
  background: radial-gradient(closest-side, rgba(26, 106, 122, 0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.ueber-sect-outlook::after {
  content: "";
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 45vw;
  max-width: 560px;
  height: 45vw;
  max-height: 560px;
  background: radial-gradient(closest-side, rgba(255, 138, 91, 0.10), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.ueber-sect-outlook .sect-inner .ueber-prose p { max-width: 70ch; }

/* ===== AI-Graph (Hintergrund-Animation Section 3) ===== */

/* Glas-Panel hinter dem Text — Dunkelheit + Blur an Rändern zu transparent gefaded, kein Border */
.ueber-sect-outlook .sect-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: clamp(40px, 7vh, 76px) clamp(32px, 5.5vw, 72px);
  background: transparent;
  border: none;
}

.ueber-sect-outlook .sect-inner::before {
  content: "";
  position: absolute;
  inset: clamp(-120px, -10vh, -70px) clamp(-80px, -6vw, -40px);
  z-index: -1;
  background: radial-gradient(
    ellipse 58% 55% at center,
    rgba(8, 14, 20, 0.78) 0%,
    rgba(8, 14, 20, 0.6) 32%,
    rgba(8, 14, 20, 0.28) 62%,
    rgba(8, 14, 20, 0) 100%
  );
  backdrop-filter: blur(7px) saturate(1.1);
  -webkit-backdrop-filter: blur(7px) saturate(1.1);
  -webkit-mask-image: radial-gradient(
    ellipse 58% 55% at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.85) 48%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.2) 88%,
    transparent 100%
  );
          mask-image: radial-gradient(
    ellipse 58% 55% at center,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.85) 48%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.2) 88%,
    transparent 100%
  );
  pointer-events: none;
}

.ai-graph-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
  contain: layout style paint;
}

.ai-graph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  filter: blur(0.3px);
}

/* Nur Desktop-SVG zeigen bis 720px, darunter Mobile-SVG */
.ai-graph.is-mobile { display: none; }
@media (max-width: 720px) {
  .ai-graph.is-desktop { display: none; }
  .ai-graph.is-mobile  { display: block; }
}

/* Overlay: nur dezente Top/Bottom-Abdunklung für weiche Section-Kanten */
.ai-graph-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 18, 24, 0.4) 0%,
      transparent 18%,
      transparent 82%,
      rgba(10, 18, 24, 0.4) 100%);
  pointer-events: none;
}

/* Edges */
.ai-graph .edge {
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.3;
  fill: none;
}
.ai-graph .edge.signal {
  stroke: rgba(255, 138, 91, 0.95);
  stroke-width: 2.2;
  stroke-dasharray: 10 8;
  filter: drop-shadow(0 0 4px rgba(255, 138, 91, 0.5));
  animation: ai-flow 3.2s linear infinite;
}
.ai-graph .edge.signal.teal {
  stroke: rgba(80, 180, 200, 0.95);
  filter: drop-shadow(0 0 4px rgba(80, 180, 200, 0.5));
  animation-duration: 4.4s;
}
@keyframes ai-flow {
  to { stroke-dashoffset: -36; }
}

/* Logo Nodes */
.ai-graph .node-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.2;
  animation: ai-halo 3.6s ease-in-out infinite;
}
.ai-graph .node-bg {
  fill: rgba(10, 18, 24, 0.82);
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.2;
}
.ai-graph .node-logo { pointer-events: none; }
@keyframes ai-halo {
  0%, 100% { opacity: 0.35; stroke-width: 1.2; }
  50%      { opacity: 1;    stroke-width: 3.6; }
}
.ai-graph .node-claude     .node-halo { stroke: rgba(255, 138, 91, 0.95); animation-delay: 0s;   }
.ai-graph .node-openai     .node-halo { stroke: rgba(116, 200, 180, 1);   animation-delay: 0.8s; }
.ai-graph .node-gemini     .node-halo { stroke: rgba(170, 130, 220, 0.95); animation-delay: 1.6s; }
.ai-graph .node-grok       .node-halo { stroke: rgba(255, 255, 255, 0.85); animation-delay: 2.4s; }
.ai-graph .node-elevenlabs .node-halo { stroke: rgba(255, 255, 255, 0.8);  animation-delay: 3.2s; }

/* Nebenpunkte */
.ai-graph .dot {
  fill: rgba(255, 255, 255, 0.7);
  animation: ai-dot 2.8s ease-in-out infinite;
}
.ai-graph .dot:nth-child(3n)   { animation-delay: 0.5s; }
.ai-graph .dot:nth-child(3n+1) { animation-delay: 1.1s; }
.ai-graph .dot:nth-child(3n+2) { animation-delay: 1.8s; }
@keyframes ai-dot {
  0%, 100% { opacity: 0.35; r: 2.8; }
  50%      { opacity: 1;    r: 4.4; }
}

/* Pause außerhalb Viewport (spart Akku) */
.ai-graph-wrap:not(.is-active) .edge.signal,
.ai-graph-wrap:not(.is-active) .node-halo,
.ai-graph-wrap:not(.is-active) .dot {
  animation-play-state: paused;
}

@media (max-width: 720px) {
  .ai-graph { opacity: 0.72; }
  .ueber-sect-outlook .sect-inner {
    max-width: calc(100% - 2 * 5vw);
    padding: clamp(32px, 5.5vh, 52px) clamp(22px, 5vw, 36px);
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-graph .edge.signal,
  .ai-graph .node-halo,
  .ai-graph .dot { animation: none; }
  .ai-graph .edge.signal { stroke-dasharray: none; }
}

/* ----- Seam-Linien zwischen Sections (dezente visuelle Trennung) ----- */

.ueber-sect + .ueber-sect {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 720px) {
  .ueber-sect-split .ueber-split-head { margin-bottom: clamp(28px, 5vh, 44px); }
  .split-image-placeholder::before,
  .split-image-placeholder { aspect-ratio: 16 / 10; }
}

/* ============================================================
   Lösungen-Seite (loesungen.html)
   ============================================================ */

.loesungen-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Inline-Prose-Liste mit Pfeil-Bullets */
.loesungen-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loesungen-list li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.55;
  color: var(--text-soft);
}
.loesungen-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.loesungen-list strong { color: var(--text); font-weight: 600; }

/* Section 1 — Benefits-Grid (nutzt edge-grid/edge-bullet + Breiten-Override) */
.loesungen-benefits-grid {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(44px, 6vh, 64px);
}

/* Section 2 — Next Level: eigener Background, ohne split-head-Glows der ueber-sect-split */
.loesungen-sect-next {
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(26, 106, 122, 0.15), transparent 70%),
    linear-gradient(180deg, #111418 0%, #0d1822 100%);
}
.loesungen-sect-next::before {
  display: none;
}

.loesungen-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1100px;
  margin: clamp(44px, 6vh, 64px) auto 0;
  text-align: left;
}
.loesungen-feature {
  position: relative;
  overflow: clip;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease, box-shadow 320ms ease;
}
.loesungen-feature:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.loesungen-feature .feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(26, 106, 122, 0.22);
  border: 1px solid rgba(26, 106, 122, 0.44);
  display: grid;
  place-items: center;
  color: rgba(130, 220, 230, 0.95);
  margin-bottom: 20px;
}
.loesungen-feature .feature-icon svg { width: 26px; height: 26px; }
.loesungen-feature h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--text);
}
.loesungen-feature p {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Section 3 — High-End: outlook-Klasse nutzt Glows, aber Glas-Panel + AI-Graph-Stile deaktivieren */
.loesungen-sect-highend .sect-inner {
  position: relative;
  z-index: auto;
  max-width: 1100px;
  padding: 0 0 clamp(20px, 3vh, 32px);
  background: transparent;
  border: none;
}
.loesungen-sect-highend .sect-inner::before {
  display: none;
}

.loesungen-frankie-split {
  max-width: 1200px;
  margin: clamp(50px, 7vh, 80px) auto 0;
}
.loesungen-sect-highend .split-content {
  align-self: center;
}

/* Frankie OS Visual — Platzhalter bis echter Screenshot/Animation da ist */
.frankie-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: clip;
  border: 1px solid var(--border);
  background:
    radial-gradient(50% 55% at 50% 40%, rgba(255, 138, 91, 0.22), transparent 65%),
    radial-gradient(60% 60% at 60% 85%, rgba(26, 106, 122, 0.32), transparent 65%),
    linear-gradient(180deg, #081018 0%, #04080c 100%);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.frankie-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px;
  mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000 20%, transparent 80%);
  opacity: 0.9;
}
.frankie-visual-glow {
  position: absolute;
  inset: -20% -20%;
  background: radial-gradient(closest-side, rgba(255, 138, 91, 0.18), transparent 70%);
  animation: frankie-breathe 9s ease-in-out infinite;
}
@keyframes frankie-breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.frankie-label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  text-transform: uppercase;
  padding: 14px 28px;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  text-shadow: 0 2px 20px rgba(255, 138, 91, 0.4);
}
.frankie-sublabel {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Einsatzbeispiele-Liste (Split rechts) */
.loesungen-examples-head {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 22px;
}
.loesungen-examples {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loesungen-examples li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  color: var(--text-soft);
  font-weight: 500;
  transition: border-color 220ms ease, background 220ms ease;
}
.loesungen-examples li:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.loesungen-examples .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 138, 91, 0.6);
}

/* Abschluss / CTA Final */
.loesungen-cta-final {
  padding: clamp(90px, 13vh, 140px) 6vw;
  background:
    radial-gradient(70% 55% at 50% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(60% 70% at 50% 110%, var(--primary-glow), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, #000 100%);
  text-align: center;
}
.loesungen-cta-final .ueber-prose {
  margin: 0 auto;
  text-align: center;
}
.loesungen-cta-final .ueber-prose p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.loesungen-cta-buttons {
  margin-top: clamp(36px, 5vh, 52px);
  margin-bottom: 0;
}
.loesungen-cta-buttons .contact-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 220ms ease;
}
.loesungen-cta-buttons .contact-btn:hover svg {
  transform: translateX(4px);
}
.loesungen-cta-final .cta-meta {
  margin-top: 20px;
}

/* Lösungen — Mobile */
@media (max-width: 980px) {
  .loesungen-feature-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .frankie-visual { aspect-ratio: 16 / 11; }
  .frankie-sublabel { bottom: 16px; }
  .loesungen-benefits-grid { margin-top: clamp(32px, 5vh, 44px); }
  .loesungen-feature-cards { margin-top: clamp(32px, 5vh, 44px); }
  .loesungen-frankie-split { margin-top: clamp(32px, 5vh, 44px); }
}

/* ============================================================
   Projekte-Seite (projekte.html)
   ============================================================ */

.projekte-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Intro-Section direkt unter dem Hero — schmaler, kein Title */
.projekte-intro {
  padding-top: clamp(60px, 9vh, 90px);
  padding-bottom: clamp(40px, 6vh, 60px);
}
.projekte-intro .ueber-prose {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.projekte-intro .ueber-prose p {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

/* Projekt-Case Section */
.projekt-case {
  padding: clamp(80px, 12vh, 130px) 6vw;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  position: relative;
  isolation: isolate;
}
.projekt-case + .projekt-case {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projekt-case-alt {
  background:
    radial-gradient(55% 60% at 85% 15%, rgba(26, 106, 122, 0.16), transparent 70%),
    radial-gradient(45% 55% at 10% 90%, rgba(255, 138, 91, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-deep) 100%);
}

.projekt-case .sect-inner {
  max-width: 1100px;
  text-align: center;
}
.projekt-case .sect-title {
  max-width: 24ch;
  text-wrap: balance;
}
.projekt-case .ueber-prose {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vh, 56px);
  text-align: left;
}

/* Screenshot-Placeholder (Browser-Window-Look) */
.projekt-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto clamp(32px, 5vh, 48px);
  border-radius: 18px;
  overflow: clip;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 138, 91, 0.08), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(26, 106, 122, 0.12), transparent 70%),
    linear-gradient(180deg, #0c1218 0%, #060a0e 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.projekt-visual-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--border);
}
.projekt-visual-chrome .chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.projekt-visual-chrome .chrome-dot:nth-child(1) { background: rgba(255, 95, 86, 0.55); }
.projekt-visual-chrome .chrome-dot:nth-child(2) { background: rgba(255, 189, 46, 0.55); }
.projekt-visual-chrome .chrome-dot:nth-child(3) { background: rgba(40, 201, 64, 0.55); }
.projekt-visual-chrome .chrome-url {
  margin-left: 12px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  font-family: var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projekt-visual-body {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  text-align: center;
}
.projekt-visual-label {
  padding: 10px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: clamp(0.78rem, 0.92vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Highlight-Kacheln (3er-Grid unter Screenshot) */
.projekt-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.projekt-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--font);
  font-size: clamp(0.92rem, 1vw, 1rem);
  color: var(--text-soft);
  font-weight: 500;
  transition: border-color 220ms ease, background 220ms ease;
}
.projekt-highlight:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.projekt-highlight .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 138, 91, 0.6);
}

/* Projekte — Mobile */
@media (max-width: 980px) {
  .projekt-highlights { grid-template-columns: 1fr; }
  .projekt-visual-body { aspect-ratio: 16 / 11; }
}

@media (max-width: 720px) {
  .projekt-case { padding: clamp(64px, 10vh, 90px) 5vw; }
  .projekt-visual-chrome { height: 32px; padding: 0 12px; }
  .projekt-visual-chrome .chrome-dot { width: 9px; height: 9px; }
  .projekt-visual-chrome .chrome-url { font-size: 0.68rem; height: 20px; }
  .projekt-visual-label { letter-spacing: 0.2em; }
}

/* ============================================================
   Kontakt-Seite (kontakt.html)
   ============================================================ */

.kontakt-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Hero etwas höher wegen zusätzlichem CTA darunter */
.kontakt-hero {
  min-height: 85vh;
  min-height: 85dvh;
}

/* Hero WhatsApp-CTA */
.kontakt-hero-cta {
  margin-top: clamp(30px, 4.5vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.kontakt-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 26px 18px 20px;
  background: var(--accent);
  border-radius: 20px;
  color: #0a0a0a;
  text-decoration: none;
  font-family: var(--font);
  transition: transform 220ms ease, box-shadow 320ms ease, background 220ms ease;
  box-shadow: 0 14px 42px rgba(255, 138, 91, 0.32), 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}
.kontakt-whatsapp-btn:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(255, 138, 91, 0.42), 0 4px 12px rgba(0, 0, 0, 0.35);
}
.kontakt-whatsapp-btn:active { transform: translateY(0); }
.kontakt-whatsapp-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.35), 0 22px 60px rgba(255, 138, 91, 0.4);
}

.kontakt-whatsapp-btn .btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.kontakt-whatsapp-btn .btn-icon svg { width: 28px; height: 28px; }

.kontakt-whatsapp-btn .btn-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}
.kontakt-whatsapp-btn .btn-title {
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.kontakt-whatsapp-btn .btn-sub {
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  font-weight: 500;
  opacity: 0.78;
  margin-top: 3px;
}

.kontakt-whatsapp-btn .btn-arrow {
  flex-shrink: 0;
  transition: transform 220ms ease;
  display: grid;
  place-items: center;
}
.kontakt-whatsapp-btn .btn-arrow svg { width: 22px; height: 22px; }
.kontakt-whatsapp-btn:hover .btn-arrow { transform: translateX(4px); }

.kontakt-hero-cta-note {
  font-family: var(--font);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0;
}

/* Trust-Block */
.kontakt-trust {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.kontakt-trust-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vh, 60px);
}
.kontakt-trust-intro p {
  font-family: var(--font);
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

.kontakt-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1100px;
  margin: 0 auto;
}

.kontakt-trust-card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
  text-align: left;
}
.kontakt-trust-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.kontakt-trust-card .trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 138, 91, 0.14);
  border: 1px solid rgba(255, 138, 91, 0.32);
  display: grid;
  place-items: center;
  color: var(--accent-soft);
  margin-bottom: 18px;
}
.kontakt-trust-card .trust-icon svg { width: 24px; height: 24px; }

.kontakt-trust-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.5vw, 1.45rem);
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 10px;
}
.kontakt-trust-card p {
  font-family: var(--font);
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Form-Section */
.kontakt-form-section {
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255, 138, 91, 0.08), transparent 70%),
    radial-gradient(60% 70% at 50% 100%, rgba(26, 106, 122, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-deep) 100%);
  padding: clamp(80px, 12vh, 130px) 6vw;
}
.kontakt-form-section .sect-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.kontakt-form-section .sect-title {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.kontakt-form-section .sect-lead {
  max-width: 620px;
  margin: 0 auto clamp(48px, 6vh, 64px);
}

/* Form-Card */
.kontakt-form-wrap {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(32px, 4.5vh, 52px) clamp(26px, 5vw, 52px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 138, 91, 0.07), transparent 70%),
    rgba(255, 255, 255, 0.028);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vh, 28px);
}

.form-row {
  display: flex;
  flex-direction: column;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 22px);
}

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

/* Labels */
.kontakt-form label {
  display: flex;
  align-items: center;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.kontakt-form .req {
  color: var(--accent);
  margin-left: 4px;
}
.kontakt-form .opt {
  margin-left: 10px;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
}

/* Inputs / Textarea */
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form textarea {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 1.08vw, 1.05rem);
  line-height: 1.5;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 220ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.kontakt-form textarea {
  resize: vertical;
  min-height: 160px;
  font-family: var(--font);
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: var(--text-dim);
}
.kontakt-form input:hover,
.kontakt-form textarea:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.14);
}

/* Consent Checkbox — custom */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.5;
}
.form-consent input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-consent .consent-box {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 2px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  margin-top: 1px;
}
.form-consent .consent-box svg {
  width: 16px;
  height: 16px;
  color: #0a0a0a;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 180ms ease, transform 180ms ease;
}
.form-consent input:checked ~ .consent-box {
  border-color: var(--accent);
  background: var(--accent);
}
.form-consent input:checked ~ .consent-box svg {
  opacity: 1;
  transform: scale(1);
}
.form-consent input:focus-visible ~ .consent-box {
  box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.24);
}
.form-consent .consent-text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}
.form-consent .consent-text a:hover { color: var(--accent-soft); }

/* Submit + Meta */
.form-row-submit {
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(8px, 1.5vh, 14px);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 16px;
  font-family: var(--font);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 320ms ease, background 220ms ease;
  box-shadow: 0 12px 36px rgba(255, 138, 91, 0.28), 0 2px 6px rgba(0, 0, 0, 0.25);
  align-self: flex-start;
}
.form-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 220ms ease;
}
.form-submit:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(255, 138, 91, 0.38), 0 4px 10px rgba(0, 0, 0, 0.3);
}
.form-submit:hover svg { transform: translateX(4px); }
.form-submit:active { transform: translateY(0); }
.form-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 138, 91, 0.34), 0 18px 48px rgba(255, 138, 91, 0.38);
}

.form-meta {
  font-family: var(--font);
  font-size: clamp(0.85rem, 0.95vw, 0.92rem);
  color: var(--text-muted);
  margin: 0;
}
.form-meta a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.form-meta a:hover { color: var(--accent); border-color: var(--accent); }

/* Kontakt — Mobile */
@media (max-width: 720px) {
  .kontakt-hero { min-height: 78vh; min-height: 78dvh; }
  .kontakt-whatsapp-btn {
    gap: 14px;
    padding: 16px 20px 16px 16px;
  }
  .kontakt-whatsapp-btn .btn-icon { width: 42px; height: 42px; }
  .kontakt-whatsapp-btn .btn-icon svg { width: 24px; height: 24px; }
  .kontakt-whatsapp-btn .btn-title { font-size: 1rem; }
  .kontakt-whatsapp-btn .btn-sub { font-size: 0.76rem; }

  .kontakt-trust-grid { grid-template-columns: 1fr; }
  .form-row-2col { grid-template-columns: 1fr; }
  .form-submit { width: 100%; justify-content: center; align-self: stretch; }
}

/* ============================================================
   Legal-Seiten (impressum.html / datenschutz.html)
   ============================================================ */

.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

/* Etwas niedrigerer Hero als die Content-Seiten */
.legal-hero {
  min-height: 62vh;
  min-height: 62dvh;
}
.legal-hero .ueber-hero-title {
  max-width: 16ch;
}
.legal-hero .ueber-hero-sub {
  max-width: 680px;
}

/* Content-Section */
.legal-section {
  padding: clamp(60px, 9vh, 100px) 6vw clamp(80px, 12vh, 130px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 60%, var(--bg-deep) 100%);
}

.legal-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

/* Nummerierte Blöcke */
.legal-block {
  padding: clamp(36px, 5.5vh, 60px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-block:first-of-type {
  border-top: none;
  padding-top: clamp(8px, 2vh, 16px);
}

.legal-num {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}

.legal-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 clamp(18px, 2.5vh, 28px);
  max-width: 28ch;
}

.legal-body p {
  font-family: var(--font);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 1em;
}
.legal-body p:last-child { margin-bottom: 0; }

.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body em { color: var(--text-sub); font-style: italic; }

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
  word-break: break-word;
}
.legal-body a:hover { color: var(--accent-soft); }

/* Aufzählungen */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font);
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-soft);
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 138, 91, 0.45);
}
.legal-list li strong { color: var(--text); font-weight: 600; }

/* Adress-Block */
.legal-address {
  font-family: var(--font);
  font-style: normal;
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.7;
  color: var(--text);
  padding: clamp(18px, 2.4vh, 24px) clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  margin: 0 0 1em;
  max-width: 440px;
}

/* Definition-List (Key-Value) */
.legal-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 0 0 1em;
  font-family: var(--font);
}
.legal-dl dt {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 3px;
}
.legal-dl dd {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  color: var(--text);
}
.legal-dl dd a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.legal-dl dd a:hover {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* USt-ID Highlight */
.legal-highlight {
  display: inline-block;
  font-family: 'Barlow Condensed', var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 10px 22px;
  border: 1px solid rgba(255, 138, 91, 0.4);
  border-radius: 10px;
  background: rgba(255, 138, 91, 0.07);
  margin: 0 0 14px;
}

/* Note / kleiner Hinweis */
.legal-note {
  font-size: clamp(0.88rem, 1vw, 0.95rem);
  color: var(--text-muted);
  font-style: italic;
  margin-top: 10px !important;
}

/* Stand-Datum am Ende */
.legal-updated {
  margin: clamp(44px, 6vh, 64px) 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font);
  font-size: clamp(0.85rem, 0.95vw, 0.92rem);
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-align: center;
}
.legal-updated a {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.legal-updated a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile */
@media (max-width: 720px) {
  .legal-hero { min-height: 52vh; min-height: 52dvh; }
  .legal-section { padding: clamp(48px, 7vh, 72px) 5vw clamp(64px, 10vh, 100px); }
  .legal-block { padding: clamp(28px, 4.5vh, 44px) 0; }
  .legal-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .legal-dl dt { padding-top: 8px; }
  .legal-dl dt:first-of-type { padding-top: 0; }
  .legal-highlight {
    font-size: 1.6rem;
    padding: 8px 16px;
  }
}
