/* ============================================================
   LUMIO — Design System
   Atmospheric, cinematic agency site built around the
   "moon-walk" portal footage that scrubs on scroll.
   ============================================================ */

:root {
  /* Palette — pulled from the moon-walk footage */
  --bg:        #06090f;
  --bg-2:      #0a0f18;
  --ink:       #eef3fa;
  --muted:     #9aabbf;
  --muted-2:   #6c7d92;
  --line:      rgba(180, 205, 235, 0.14);
  --accent:    #9cc4e6;
  --accent-2:  #d7e7f5;
  --glow:      rgba(156, 196, 230, 0.45);
  --panel:     rgba(10, 16, 26, 0.55);
  --panel-2:   rgba(14, 21, 33, 0.72);

  /* Type */
  --font-display: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

p { margin: 0 0 1.1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   Scroll-driven cinematic background
   ============================================================ */
.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
  /* transform-origin centred on the portal in the footage */
  transform-origin: 50% 46%;
  will-change: transform, filter;
}

.scene__video,
.scene__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}

.scene__poster {
  z-index: 1;
  transition: opacity 0.8s var(--ease);
}
.scene.is-ready .scene__poster { opacity: 0; }

/* Vignette + atmosphere so foreground text always reads */
.scene__veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* balanced centre dim — portal still glows, but text over it stays legible */
    radial-gradient(72% 58% at 50% 50%, rgba(6,9,15,0.44) 0%, rgba(6,9,15,0.14) 52%, rgba(6,9,15,0) 80%),
    /* edge vignette */
    radial-gradient(120% 80% at 50% 18%, rgba(6,9,15,0) 42%, rgba(6,9,15,0.48) 100%),
    /* top/bottom base so header & footer text read */
    linear-gradient(180deg, rgba(6,9,15,0.74) 0%, rgba(6,9,15,0.16) 27%, rgba(6,9,15,0.32) 63%, rgba(6,9,15,0.92) 100%);
}

/* Faint travelling glow that intensifies as you dive in */
.scene__pulse {
  position: fixed;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 42vmin;
  height: 42vmin;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0%, rgba(156,196,230,0) 68%);
  opacity: 0.0;
  mix-blend-mode: screen;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 9, 15, 0.55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  filter: drop-shadow(0 0 10px var(--glow));
}
.brand__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(156, 196, 230, 0.08);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(156, 196, 230, 0.18);
  border-color: var(--accent);
  box-shadow: 0 8px 30px -10px var(--glow);
}
.btn--solid {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #0a141f;
  font-weight: 600;
  border-color: transparent;
}
.btn--solid:hover {
  background: linear-gradient(180deg, #ffffff, var(--accent-2));
  box-shadow: 0 10px 36px -8px var(--glow);
}
.btn--ghost { background: transparent; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* ============================================================
   Sections / generic layout
   ============================================================ */
main { position: relative; z-index: 1; }

.section { padding-block: clamp(34px, 5.5vh, 68px); }
.section--tight { padding-block: clamp(22px, 3.5vh, 42px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--muted);
  max-width: 60ch;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(120px, 17vh, 190px);
  position: relative;
}
.hero__inner { max-width: var(--maxw); }
.hero .display { max-width: 760px; }
.hero .lead { margin-bottom: 26px; max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: fixed;          /* stays pinned to the bottom screen edge */
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease);
}
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
.scroll-cue__line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--glow);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0%   { top: -50%; }
  100% { top: 120%; }
}

/* Smaller hero for inner pages */
.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(104px, 12vh, 150px);
  padding-bottom: clamp(18px, 3.5vh, 40px);
}
.page-hero__inner { max-width: var(--maxw); }
.page-hero .display { max-width: 820px; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid {
  display: grid;
  gap: 18px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(156,196,230,0.4);
  background: var(--panel-2);
}
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(156,196,230,0.12);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--accent-2);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.25rem; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 26px;
  align-items: start;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.3em; }
.step p { margin-bottom: 0; }

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 80px);
  padding-block: 8px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat__label { color: var(--muted); font-size: 0.95rem; }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  text-align: center;
  padding: clamp(48px, 8vw, 90px);
  border-radius: 28px;
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta .lead { margin-inline: auto; margin-bottom: 32px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(6,9,15,0.5);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156,196,230,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }

.contact-info li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.contact-info { list-style: none; margin: 0; padding: 0; }
.contact-info strong { color: var(--ink); font-weight: 500; }
.contact-info svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-info__label { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.contact-info__label:not(:first-child) { display: inline-block; margin-top: 8px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(6,9,15,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 56px 32px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .grid--3, .grid--2, .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }

  .nav__toggle { display: inline-flex; order: 3; }
  .nav__links,
  .nav .btn--solid { display: none; }

  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 76px; left: 0; right: 0;
    padding: 18px var(--gutter) 26px;
    background: rgba(6,9,15,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .nav--open .nav__links a { padding: 12px 0; font-size: 1.05rem; }
  .nav--open .btn--solid {
    display: inline-flex;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue__line::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  background: rgba(156,196,230,0.12);
}
.badge--soon { color: var(--accent-2); }
.badge--soon::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.card--soon { position: relative; }
.card--soon .badge { position: absolute; top: 22px; right: 22px; }

/* ============================================================
   Founder / team cards
   ============================================================ */
.founder {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.founder__portrait {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed var(--line);
  background: radial-gradient(circle at 50% 32%, rgba(156, 196, 230, 0.12), rgba(10, 16, 26, 0.55));
  color: var(--muted-2);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.founder__portrait:hover { border-color: rgba(156, 196, 230, 0.4); color: var(--muted); }
.founder__portrait svg { width: 48px; height: 48px; opacity: 0.6; }
.founder__portrait span { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
/* When a real photo is added: <img> inside fills the area */
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder__avatar {
  width: 64px; height: 64px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-2);
  background: radial-gradient(circle at 35% 30%, rgba(156,196,230,0.35), rgba(156,196,230,0.08));
  border: 1px solid var(--line);
  box-shadow: 0 0 24px -6px var(--glow);
}
.founder__role {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.founder h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
.founder p { margin-bottom: 0; font-size: 0.95rem; }

.factbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.factbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.92rem;
  color: var(--muted);
}
.factbar__item strong { color: var(--ink); font-weight: 500; }
.factbar__item svg { width: 18px; height: 18px; color: var(--accent); }

/* ============================================================
   "Coming soon" / notify
   ============================================================ */
.notify {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 460px;
  margin-top: 6px;
}
.notify input {
  flex: 1 1 200px;
  padding: 13px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(6,9,15,0.5);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.96rem;
}
.notify input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156,196,230,0.15); }
.notify__note { font-size: 0.85rem; color: var(--accent-2); margin: 12px 0 0; min-height: 1em; }

/* ============================================================
   Angebots-Assistent (multi-step wizard)
   ============================================================ */
.wizard { padding: clamp(26px, 4vw, 44px); }
.wizard__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}
.wizard__progress-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted-2);
  transition: color 0.3s var(--ease);
}
.wizard__progress-item span:first-child {
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  transition: background 0.3s var(--ease);
}
.wizard__progress-item.is-active,
.wizard__progress-item.is-done { color: var(--ink); }
.wizard__progress-item.is-active span:first-child,
.wizard__progress-item.is-done span:first-child {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 10px -2px var(--glow);
}

.wizard__panel { display: none; }
.wizard__panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.wizard__panel h3 { font-size: 1.45rem; }
.wizard__panel > p { margin-bottom: 24px; }

.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.option-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(6,9,15,0.4);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.option-card:hover { transform: translateY(-2px); border-color: rgba(156,196,230,0.4); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card__box {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 6px;
  border: 1.5px solid var(--muted-2);
  display: grid;
  place-items: center;
  margin-top: 2px;
  transition: border-color 0.25s, background 0.25s;
}
.option-card__box svg { width: 14px; height: 14px; color: #0a141f; opacity: 0; transition: opacity 0.2s; }
.option-card.selected { border-color: var(--accent); background: rgba(156,196,230,0.10); }
.option-card.selected .option-card__box { background: var(--accent); border-color: var(--accent); }
.option-card.selected .option-card__box svg { opacity: 1; }
.option-card__title { font-weight: 500; color: var(--ink); display: block; }
.option-card__desc { font-size: 0.86rem; color: var(--muted); }

.wizard__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}
.wizard__actions .btn { min-width: 130px; justify-content: center; }
.wizard__actions [data-hidden] { visibility: hidden; }

.summary {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.summary li strong { color: var(--ink); font-weight: 500; }
.summary__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.summary__chips span {
  font-size: 0.82rem;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(156,196,230,0.12);
  border: 1px solid var(--line);
  color: var(--accent-2);
}

/* ============================================================
   Legal / prose pages (Impressum, Datenschutz)
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose .placeholder {
  color: var(--accent-2);
  background: rgba(156,196,230,0.12);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 0.92em;
}
.legal-note {
  margin-top: 40px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .options { grid-template-columns: 1fr; }
  .founder { gap: 14px; }
  .summary li { flex-direction: column; gap: 6px; }
  .summary__chips { justify-content: flex-start; }
}

/* ============================================================
   Logo letter glow
   ============================================================ */
.brand__mark {
  filter: drop-shadow(0 0 8px var(--glow)) drop-shadow(0 0 2px rgba(215, 231, 245, 0.6));
}

/* ============================================================
   Segmented toggle (Regelschieber) — Unser Angebot
   ============================================================ */
.seg-wrap { display: flex; justify-content: center; margin-bottom: 54px; }
.seg-toggle {
  position: relative;
  display: flex;
  width: min(480px, 100%);
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.seg-toggle__thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 100px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 24px -6px var(--glow);
  transition: transform 0.45s var(--ease);
}
.seg-toggle.is-second .seg-toggle__thumb { transform: translateX(100%); }
.seg-toggle button {
  flex: 1;
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--muted);
  padding: 14px 18px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.seg-toggle button.is-active { color: #0a141f; }
.seg-toggle .badge--soon {
  font-size: 0.6rem;
  padding: 2px 8px;
  background: rgba(10, 20, 31, 0.16);
  border-color: transparent;
  color: inherit;
}
.seg-toggle button:not(.is-active) .badge--soon { color: var(--accent-2); }

/* Angebot views (toggle targets) */
.angebot-view { display: none; }
.angebot-view.is-active { display: block; animation: fadeUp 0.5s var(--ease); }

/* Big coming-soon state for the AI view */
.soon-hero {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 60px);
  border-radius: 28px;
}
.soon-hero .badge { margin-bottom: 22px; }
.soon-hero h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.soon-hero .lead { margin-inline: auto; }

/* Radio-style option (single choice — Bereich step) */
.option-card--radio .option-card__box { border-radius: 50%; }
.options--bereich { grid-template-columns: repeat(2, 1fr); }
.options--bereich .option-card { padding: 22px; }
@media (max-width: 640px) { .options--bereich { grid-template-columns: 1fr; } }

/* ============================================================
   Founder contact (Über uns)
   ============================================================ */
.founder__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 0.9rem;
}
.founder__contact span,
.founder__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.founder__contact a { color: var(--accent-2); }
.founder__contact svg { width: 15px; height: 15px; color: var(--accent); }

/* ============================================================
   Unsere Arbeit — animated light beam timeline
   ============================================================ */
.flow { position: relative; max-width: 760px; }
.flow__track {
  position: absolute;
  left: 21px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
/* The travelling light ray */
.flow__track::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 4px;
  height: 26%;
  top: -26%;
  background: linear-gradient(180deg, transparent, var(--accent-2) 50%, transparent);
  box-shadow: 0 0 18px 3px var(--glow);
  animation: lightbeam 3.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes lightbeam {
  0%   { top: -26%; }
  100% { top: 110%; }
}
.flow__step {
  position: relative;
  padding: 0 0 38px 64px;
}
.flow__step:last-child { padding-bottom: 0; }
.flow__node {
  position: absolute;
  left: 11px; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px -2px var(--glow);
  display: grid;
  place-items: center;
}
.flow__node::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--glow);
  animation: nodepulse 3.6s ease-in-out infinite;
}
@keyframes nodepulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.flow__phase {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.flow__step h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
.flow__step p { margin-bottom: 0; color: #cdd9e8; }
.flow__step .icon-row { display: flex; gap: 14px; margin-top: 14px; color: var(--muted-2); }
.flow__step .icon-row svg { width: 20px; height: 20px; }

/* ============================================================
   Partner / Kunden logos (placeholders)
   ============================================================ */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 9vw, 112px);
}
.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.9;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), filter 0.35s var(--ease);
}
.logo-card:hover { opacity: 1; transform: translateY(-4px); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55)); }
.logo-card img { display: block; width: auto; }
/* piline is a wide wordmark, Brüll is a tall monogram — sized for equal optical weight */
.logo-card--piline img { height: clamp(40px, 7vw, 56px); }
.logo-card--db img { height: clamp(104px, 17vw, 144px); }
@media (max-width: 640px) {
  .logos { gap: 44px; }
  .logo-card--piline img { height: 46px; }
  .logo-card--db img { height: 116px; }
}

/* ============================================================
   Legibility over the bright portal — soft dark halo behind
   foreground text (works on light AND dark areas of the scene)
   ============================================================ */
.display,
.page-hero h1,
.hero h1,
.eyebrow,
.lead,
.section-head h2,
.stat__num,
.stat__label,
.flow__phase,
.flow__step h3,
.flow__step p,
.contact-info,
.scroll-cue {
  text-shadow: 0 2px 30px rgba(4, 7, 12, 0.88), 0 1px 4px rgba(4, 7, 12, 0.95);
}
.nav__links a,
.brand__name {
  text-shadow: 0 1px 12px rgba(4, 7, 12, 0.55);
}
.logo-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 104px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--panel);
  color: var(--muted-2);
  transition: border-color 0.3s var(--ease), color 0.3s, transform 0.3s var(--ease);
}
.logo-ph:hover { border-color: rgba(156,196,230,0.4); color: var(--muted); transform: translateY(-3px); }
.logo-ph svg { width: 34px; height: 34px; opacity: 0.7; }
.logo-ph span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 880px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Brand logo chip (image logo on a light tile, animation stays behind)
   ============================================================ */
.brand__badge {
  width: 32px;
  height: 32px;
  flex: none;
  display: block;
  border-radius: 9px;
  overflow: hidden;
  background: #eef2f8;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 20px -5px var(--glow), 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand:hover .brand__badge {
  transform: translateY(-1px);
  box-shadow: 0 0 26px -4px var(--glow), 0 4px 14px rgba(0, 0, 0, 0.4);
}
.brand__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand__badge--sm { width: 28px; height: 28px; border-radius: 8px; }

/* Full lockup logo (icon + wordmark), transparent — blends on the dark scene */
.brand__logo {
  height: 48px;   /* matches the Kontakt button height */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(156, 196, 230, 0.35));
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.brand:hover .brand__logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 15px rgba(156, 196, 230, 0.55));
}
.brand__logo--sm { height: 27px; }

/* ============================================================
   Website-Pakete / Preise (Unser Angebot)
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 30px 32px;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 196, 230, 0.4);
  background: var(--panel-2);
}
/* Featured (BUSINESS) — glowing border (top/bottom level with the others) */
.price-card--featured {
  border-color: var(--accent);
  background: var(--panel-2);
  box-shadow: 0 0 0 1px rgba(156, 196, 230, 0.35), 0 26px 64px -26px var(--glow);
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: 100px;
  color: #0a141f;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 26px -8px var(--glow);
}
.price-card__head h3 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
}
.price-card__tagline {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 auto;
  max-width: 30ch;
  min-height: 2.9em;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 24px 0 6px;
}
.price__from { font-size: 0.95rem; color: var(--muted); }
.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.price__period { font-size: 0.9rem; color: var(--muted-2); }
.feat-list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  text-align: left;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink);
}
.feat-list li::before {
  content: "✓";
  flex: none;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(156, 196, 230, 0.16);
  border: 1px solid rgba(156, 196, 230, 0.35);
}
.price-card__cta { margin-top: auto; justify-content: center; width: 100%; }
.price-card:not(.price-card--featured) .price-card__cta {
  background: rgba(156, 196, 230, 0.1);
  color: var(--ink);
  border-color: var(--line);
}
.price-card:not(.price-card--featured) .price-card__cta:hover {
  background: rgba(156, 196, 230, 0.2);
  border-color: var(--accent);
}

/* Vertrauens-Leiste */
.assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin-inline: auto;
  padding: 26px clamp(22px, 4vw, 40px);
  margin-top: 42px;
}
.assurance__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.assurance__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(156, 196, 230, 0.12);
  border: 1px solid var(--line);
  color: var(--accent-2);
}
.assurance__icon svg { width: 20px; height: 20px; }
.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 22px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  /* dark halo so it stays legible over the bright centre of the portal */
  text-shadow: 0 2px 26px rgba(4, 7, 12, 0.95), 0 1px 4px rgba(4, 7, 12, 0.98);
}
.pricing-note svg { width: 16px; height: 16px; flex: none; color: var(--accent); }

/* Horizontaler Abschluss-CTA */
.cta--row {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  text-align: left;
  padding: clamp(32px, 4vw, 50px) clamp(30px, 5vw, 64px);
}
.cta__icon {
  width: 92px; height: 92px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(156, 196, 230, 0.32), rgba(156, 196, 230, 0.05));
  border: 1px solid var(--line);
  box-shadow: 0 0 34px -8px var(--glow);
  color: var(--accent-2);
}
.cta__icon svg { width: 42px; height: 42px; }
.cta__body { flex: 1; }
.cta--row h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.3em; }
.cta--row .lead { margin: 0; max-width: 46ch; }
.cta--row .btn { flex: none; }

@media (max-width: 880px) {
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .assurance { grid-template-columns: repeat(3, 1fr); max-width: 520px; }
}
@media (max-width: 760px) {
  .cta--row { flex-direction: column; text-align: center; }
  .cta--row h2 { text-align: center; }
  .cta--row .lead { margin-inline: auto; }
}
@media (max-width: 520px) {
  .assurance { grid-template-columns: 1fr; }
}
