/* ==========================================================================
   Samsam-Tech — Style System
   Deep navy, electric-to-sky blue gradient, inspired by the brand mark
   ========================================================================== */

:root {
  /* Colors */
  --color-liquid-abyss: #04162e;
  --color-liquid-deep: #030f22;
  --color-liquid-kelp: #0b2a52;
  --color-liquid-mist: #e7f2ff;
  --color-platinum: #ffffff;
  --color-silver-mist: #b9c6da;
  --color-ash: #f2f2f2;
  --color-slate-deep: #71808f;
  --color-lavender-phosphor: #5ac8fa;
  --gradient-bio: linear-gradient(90deg, rgb(11, 95, 255) 0%, rgb(56, 189, 248) 100%);
  --gradient-aurora: linear-gradient(90deg, rgb(56, 189, 248) 0%, rgb(234, 246, 255) 26.25%, rgb(255, 255, 255) 47.57%, rgb(191, 228, 255) 88.96%);

  /* Typography */
  --font-display: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-120: 120px;
  --space-140: 140px;

  /* Radius */
  --radius-card: 16px;
  --radius-sm: 6px;

  /* Layout */
  --page-max-width: 1440px;
  --section-gap: 68px;

  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-liquid-abyss);
  color: var(--color-silver-mist);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-platinum);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

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

.container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 var(--space-40);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-20); }
}

section {
  position: relative;
  padding: var(--section-gap) 0;
}

.section-recessed {
  background: var(--color-liquid-deep);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-silver-mist);
  margin-bottom: var(--space-20);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-bio);
  flex-shrink: 0;
}

.eyebrow--light { color: var(--color-liquid-mist); }

h2.section-heading {
  font-size: clamp(2rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-16);
}

.section-lede {
  max-width: 620px;
  color: var(--color-silver-mist);
  font-size: 16px;
  line-height: 1.5;
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-64);
  text-align: center;
}

.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.92; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--gradient-bio);
  color: var(--color-platinum);
  font-weight: 600;
}

.btn-ghost {
  background: transparent;
  color: var(--color-platinum);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(15, 58, 110, 0.5);
  color: var(--color-platinum);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-arrow-icon:hover {
  background: var(--color-liquid-kelp);
  transform: translate(2px, -2px);
}

.btn-arrow-icon svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(4, 22, 46, 0.08);
  transition: background 0.3s ease;
}

.site-header .brand { color: var(--color-liquid-abyss); }

.site-header .logo-badge { border: 1px solid rgba(4, 22, 46, 0.08); }

.site-header .nav-links {
  background: rgba(4, 22, 46, 0.04);
  border-color: rgba(4, 22, 46, 0.1);
}

.site-header .nav-links a { color: var(--color-slate-deep); }

.site-header .nav-links a:hover { color: var(--color-liquid-abyss); }

.site-header .nav-links a.active {
  color: var(--color-liquid-abyss);
  background: var(--color-platinum);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(4, 22, 46, 0.1), 0 0 0 1px rgba(4, 22, 46, 0.06);
}

.site-header .lang-toggle {
  color: var(--color-slate-deep);
  border-color: rgba(4, 22, 46, 0.15);
}

.site-header .lang-toggle:hover { color: var(--color-liquid-abyss); }

.site-header .nav-toggle { color: var(--color-liquid-abyss); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-platinum);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-platinum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}

.logo-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  column-gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-silver-mist);
  transform-origin: center bottom;
  transition: color 0.2s ease, transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-platinum);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-silver-mist);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  color: var(--color-platinum);
  border-color: rgba(56, 189, 248, 0.4);
}

.mobile-nav .lang-toggle {
  align-self: flex-start;
  font-size: 13px;
  padding: 8px 16px;
  text-transform: none;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-platinum);
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 80px 0 0 0;
  z-index: 99;
  background: var(--color-liquid-abyss);
  padding: var(--space-32) var(--space-24);
  display: none;
  flex-direction: column;
  gap: var(--space-24);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-platinum);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 50% at 78% 32%, rgba(11, 95, 255, 0.35) 0%, rgba(4, 22, 46, 0) 70%),
    radial-gradient(45% 40% at 85% 60%, rgba(191, 228, 255, 0.10) 0%, rgba(4, 22, 46, 0) 70%),
    var(--color-liquid-abyss);
}

.hero-sticky {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero { height: 180vh; }
  .hero-sticky { position: sticky; top: 0; height: 100vh; }
}

.hero-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 640px;
  max-width: 68vw;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}

@media (min-width: 900px) {
  .hero-globe {
    left: 74%;
    width: 560px;
    max-width: 46vw;
  }

  .hero-content {
    max-width: 540px;
  }
}

.hero-globe__glow {
  position: absolute;
  inset: -12%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), rgba(4, 22, 46, 0) 65%);
  filter: blur(18px);
}

.hero-globe__float {
  animation: heroGlobeFloat 14s ease-in-out infinite;
}

@keyframes heroGlobeFloat {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

.hero-globe__img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 44%, transparent 60%);
  mask-image: radial-gradient(circle at 50% 50%, #000 44%, transparent 60%);
}

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

.hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-16);
  padding: 0 var(--space-24);
  opacity: 0;
  pointer-events: none;
}

.hero-reveal__eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-lavender-phosphor);
}

.hero-reveal__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-platinum);
}

@media (max-width: 900px) {
  .hero-globe { max-width: 78vw; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  will-change: transform, opacity;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-24);
}

.hero-title .line-accent {
  display: block;
  background: var(--gradient-bio);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.hero-title .line-accent.is-revealing {
  opacity: 0;
  transform: translateY(20px);
  animation: heroWordIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes heroWordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .hero-title .line-accent.is-revealing {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-silver-mist);
  max-width: 520px;
  margin-bottom: var(--space-40);
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: var(--space-40);
  left: var(--space-40);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-silver-mist);
  z-index: 2;
}

.scroll-cue .dot-ring {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
}

.scroll-cue .dot-ring::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-lavender-phosphor);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { top: 3px; opacity: 1; }
  50% { top: 11px; opacity: 0.3; }
}

@media (max-width: 900px) {
  .hero-globe { opacity: 0.35; }
  .scroll-cue { display: none; }
}

.platform-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--space-12, 12px);
  animation: platformMarquee 24s linear infinite;
}

.platform-marquee-section:hover .platform-marquee__track {
  animation-play-state: paused;
}

@keyframes platformMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-shift, 50%))); }
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  color: var(--color-silver-mist);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.platform-chip svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--color-lavender-phosphor);
}

.platform-chip img {
  height: 19px;
  width: auto;
  max-width: 74px;
  flex: none;
  display: block;
}

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

@media (max-width: 640px) {
  .platform-chip { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Page banner (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 168px 0 var(--space-64);
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 85% 0%, rgba(11, 95, 255, 0.28) 0%, rgba(4, 22, 46, 0) 70%),
    var(--color-liquid-abyss);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-20);
  max-width: 780px;
}

.page-hero .section-lede { font-size: 1.05rem; }

/* ---------- Services teaser grid (Home) ---------- */
.service-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-20);
}

.service-teaser-card {
  background: var(--color-liquid-kelp);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  transition: transform 0.25s ease;
}

.service-teaser-card:hover { transform: translateY(-4px); }

.service-teaser-card h3 {
  font-size: 20px;
  color: var(--color-platinum);
}

.service-teaser-card p {
  font-size: 14px;
  color: var(--color-silver-mist);
  line-height: 1.5;
  flex-grow: 1;
}

.service-teaser-card .btn-arrow-icon { align-self: flex-start; }

/* Grid is the mobile/tablet fallback for the circular showcase below */
@media (min-width: 900px) {
  .service-teaser-grid { display: none; }
}

.teaser-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-48);
}

/* ---------- Circular scroll showcase (Home, desktop) ---------- */
.circular-showcase-wrap {
  display: none;
}

@media (min-width: 900px) {
  .circular-showcase-wrap {
    display: block;
    position: relative;
    height: 340vh;
    margin-top: var(--space-24);
  }
}

.circular-showcase-sticky {
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  max-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.circular-col {
  position: relative;
  flex: 1 1 50%;
  height: 70%;
}

.circular-title-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88%;
  max-width: 420px;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.circular-title-item h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-platinum);
  margin-bottom: 10px;
}

.circular-title-item p {
  font-size: 14px;
  color: var(--color-silver-mist);
  line-height: 1.5;
}

.circular-card-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  margin-left: -95px;
  margin-top: -95px;
  border-radius: var(--radius-card);
  background: var(--color-liquid-kelp);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.circular-card-item svg {
  width: 60px;
  height: 60px;
  color: var(--color-liquid-mist);
}

/* ---------- Service detail bullets (Dienstleistungen page) ---------- */
.service-bullets {
  list-style: none;
  margin: var(--space-20) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 620px;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--color-liquid-mist);
  line-height: 1.55;
}

.service-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--gradient-bio);
  flex-shrink: 0;
}

/* ---------- Sticky stacking service cards (Dienstleistungen page) ---------- */
.sticky-stack {
  position: relative;
  padding-bottom: 28vh;
}

.sticky-stack-item {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24) 0;
}

.sticky-stack-card {
  position: relative;
  width: min(840px, 94vw);
  background: var(--color-liquid-kelp);
  border-radius: var(--radius-card);
  padding: var(--space-48);
  overflow: hidden;
  transform-origin: top center;
  will-change: transform;
}

.sticky-stack-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sticky-stack-card-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
}

.sticky-stack-item:nth-child(1) .sticky-stack-card-bg span:nth-child(1) { width: 260px; height: 260px; background: #0b5fff; top: -70px; left: -70px; }
.sticky-stack-item:nth-child(1) .sticky-stack-card-bg span:nth-child(2) { width: 200px; height: 200px; background: #38bdf8; bottom: -70px; right: -40px; opacity: 0.2; }

.sticky-stack-item:nth-child(2) .sticky-stack-card-bg span:nth-child(1) { width: 260px; height: 260px; background: #5ac8fa; top: -80px; right: -60px; opacity: 0.22; }
.sticky-stack-item:nth-child(2) .sticky-stack-card-bg span:nth-child(2) { width: 220px; height: 220px; background: #0b5fff; bottom: -70px; left: -50px; }

.sticky-stack-item:nth-child(3) .sticky-stack-card-bg span:nth-child(1) { width: 240px; height: 240px; background: #38bdf8; top: -60px; left: 30%; opacity: 0.22; }
.sticky-stack-item:nth-child(3) .sticky-stack-card-bg span:nth-child(2) { width: 220px; height: 220px; background: #0b5fff; bottom: -80px; right: -40px; }

.sticky-stack-item:nth-child(4) .sticky-stack-card-bg span:nth-child(1) { width: 260px; height: 260px; background: #0b5fff; top: -70px; right: -70px; }
.sticky-stack-item:nth-child(4) .sticky-stack-card-bg span:nth-child(2) { width: 200px; height: 200px; background: #5ac8fa; bottom: -60px; left: -40px; opacity: 0.2; }

.sticky-stack-item:nth-child(5) .sticky-stack-card-bg span:nth-child(1) { width: 260px; height: 260px; background: #5ac8fa; top: -80px; left: -60px; opacity: 0.22; }
.sticky-stack-item:nth-child(5) .sticky-stack-card-bg span:nth-child(2) { width: 220px; height: 220px; background: #38bdf8; bottom: -70px; right: -50px; opacity: 0.2; }

.sticky-stack-card-content {
  position: relative;
  z-index: 1;
}

.sticky-stack-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: rgba(15, 58, 110, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-24);
}

.sticky-stack-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-liquid-mist);
}

.sticky-stack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  margin-bottom: var(--space-20);
}

.sticky-stack-card-head h3 {
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--color-platinum);
}

.sticky-stack-card .lede {
  color: var(--color-silver-mist);
  font-size: 19px;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: var(--space-24);
}

@media (max-width: 640px) {
  .sticky-stack-card { padding: var(--space-32); }
  .sticky-stack-icon { width: 52px; height: 52px; }
  .sticky-stack-icon svg { width: 26px; height: 26px; }
  .sticky-stack-card-head h3 { font-size: 26px; }
  .sticky-stack-card .lede { font-size: 16px; }
}

/* ---------- Intro / About card ---------- */
.intro-card {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: var(--space-40);
  align-items: center;
  background: var(--color-liquid-kelp);
  border-radius: var(--radius-card);
  padding: var(--space-48) var(--space-48);
}

.intro-card p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--color-liquid-mist);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.intro-mark {
  width: 120px;
  height: 120px;
  justify-self: end;
}

@media (max-width: 720px) {
  .intro-card { grid-template-columns: 1fr; padding: var(--space-36) var(--space-24); }
  .intro-mark { width: 80px; height: 80px; justify-self: start; }
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-40);
  text-align: left;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-lavender-phosphor);
  font-weight: 500;
  margin-bottom: var(--space-16);
}

.stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-liquid-mist);
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-40); }
}

/* ---------- Process (Wie arbeiten wir) — elastic accordion ---------- */
.elastic-process {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  height: 620px;
}

@media (min-width: 768px) {
  .elastic-process {
    flex-direction: row;
    height: 460px;
  }
}

.elastic-panel {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
  background: var(--color-liquid-kelp);
  filter: brightness(0.6);
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.elastic-panel:hover { filter: brightness(0.8); }

.elastic-panel.is-active {
  flex: 4 1 0;
  filter: brightness(1);
}

.elastic-panel-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elastic-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 15, 34, 0.92) 0%, rgba(3, 15, 34, 0.35) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.elastic-panel.is-active .elastic-panel-overlay { opacity: 1; }

.elastic-panel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-28);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.elastic-panel.is-active .elastic-panel-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.elastic-panel-tag {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-liquid-mist);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: var(--space-16);
  white-space: nowrap;
}

.elastic-panel-content h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--color-platinum);
  margin-bottom: 10px;
  line-height: 1.2;
}

.elastic-panel-content p {
  color: var(--color-silver-mist);
  font-size: 14px;
  line-height: 1.55;
  max-width: 360px;
}

.elastic-panel-label {
  position: absolute;
  left: 50%;
  bottom: var(--space-24);
  transform: translateX(-50%) scale(1);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-platinum);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .elastic-panel-label {
    writing-mode: vertical-rl;
    font-size: 15px;
  }
}

.elastic-panel.is-active .elastic-panel-label {
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
}

/* ---------- Platform marquee (in-flow section) ---------- */
.platform-marquee-section {
  overflow: hidden;
  padding: var(--space-40) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* ---------- Project image-expansion slider ---------- */
.project-slider {
  background: var(--color-liquid-deep);
  border-radius: var(--radius-card);
  padding: var(--space-32) var(--space-24);
  margin-bottom: var(--space-64);
}

.project-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-20);
  margin-bottom: var(--space-24);
}

.project-track {
  display: flex;
  gap: var(--space-24);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.project-track::-webkit-scrollbar { display: none; }

.project-card {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 1.5 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-liquid-kelp);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.project-card:hover { border-color: rgba(255, 255, 255, 0.16); }

@media (min-width: 640px) {
  .project-card { flex-basis: calc(50% - var(--space-24) / 2); }
}

@media (min-width: 1000px) {
  .project-card { flex-basis: calc(33.333% - var(--space-24) * 2 / 3); }
}

.project-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-card-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
}

.project-card[data-index="0"] .project-card-bg span:nth-child(1) { width: 55%; height: 90%; background: #0b5fff; top: -20%; left: -15%; opacity: 0.55; }
.project-card[data-index="0"] .project-card-bg span:nth-child(2) { width: 45%; height: 70%; background: #38bdf8; bottom: -25%; right: -10%; opacity: 0.25; }

.project-card[data-index="1"] .project-card-bg span:nth-child(1) { width: 55%; height: 90%; background: #5ac8fa; top: -25%; right: -15%; opacity: 0.28; }
.project-card[data-index="1"] .project-card-bg span:nth-child(2) { width: 45%; height: 70%; background: #0b5fff; bottom: -20%; left: -10%; opacity: 0.55; }

.project-card[data-index="2"] .project-card-bg span:nth-child(1) { width: 55%; height: 90%; background: #38bdf8; top: -20%; left: 20%; opacity: 0.28; }
.project-card[data-index="2"] .project-card-bg span:nth-child(2) { width: 45%; height: 70%; background: #5ac8fa; bottom: -25%; right: -10%; opacity: 0.25; }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 15, 34, 0.92) 0%, rgba(3, 15, 34, 0.3) 55%, transparent 100%);
}

.project-card-logo {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: var(--color-platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.project-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-card-badge {
  position: absolute;
  top: var(--space-16);
  left: var(--space-16);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(3, 15, 34, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-liquid-mist);
}

.project-card-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-bio);
  flex-shrink: 0;
}

.project-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-24);
}

.project-card-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-platinum);
  margin-bottom: var(--space-16);
  line-height: 1.2;
}

.project-card-cta {
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--color-platinum);
  color: #222222;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card-cta--start {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 999px;
}

.project-card-start-icon {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(60%, 340px);
  height: auto;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 85%);
  mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 85%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .project-card-start-icon { width: min(50%, 220px); }
}

.project-slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-20);
}

.project-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-dot {
  height: 6px;
  width: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease, background 0.3s ease;
}

.project-dot.is-active {
  width: 28px;
  background: var(--color-platinum);
}

.project-arrows {
  display: flex;
  gap: var(--space-12);
}

.project-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-liquid-kelp);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-silver-mist);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project-arrow:hover { color: var(--color-platinum); border-color: rgba(255, 255, 255, 0.24); }
.project-arrow svg { width: 16px; height: 16px; }

/* Lightbox */
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(1, 8, 18, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
}

.project-lightbox.is-open { display: flex; }

.project-lightbox-frame {
  position: relative;
  width: min(760px, 100%);
  aspect-ratio: 1.5 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.project-lightbox-caption {
  text-align: center;
  margin-top: var(--space-20);
}

.project-lightbox-caption h3 { font-size: 22px; color: var(--color-platinum); margin-bottom: 8px; }
.project-lightbox-caption p { font-size: 14px; color: var(--color-silver-mist); }

.project-lightbox-close,
.project-lightbox-prev,
.project-lightbox-next {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 58, 110, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-platinum);
}

.project-lightbox-close { top: var(--space-24); right: var(--space-24); }
.project-lightbox-prev { left: var(--space-24); top: 50%; transform: translateY(-50%); }
.project-lightbox-next { right: var(--space-24); top: 50%; transform: translateY(-50%); }
.project-lightbox-close svg,
.project-lightbox-prev svg,
.project-lightbox-next svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .project-lightbox-prev, .project-lightbox-next { display: none; }
}

/* ---------- Projekte ---------- */
.projects-panel {
  position: relative;
  overflow: hidden;
  background: var(--color-liquid-deep);
  border-radius: var(--radius-card);
  padding: var(--space-120) var(--space-48);
  text-align: center;
}

.projects-panel h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-20);
}

.projects-panel p {
  max-width: 560px;
  margin: 0 auto var(--space-36);
  color: var(--color-silver-mist);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .projects-panel { padding: var(--space-64) var(--space-24); }
}

/* Cinematic decoration: ambient glow, ghost wordmark, marquee ribbon */
.projects-panel-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(11, 95, 255, 0.35) 0%, rgba(191, 228, 255, 0.1) 45%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  animation: projectsPanelBreathe 8s ease-in-out infinite alternate;
}

@keyframes projectsPanelBreathe {
  from { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.projects-panel-ghost-wrap {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  display: inline-block;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.projects-panel-ghost,
.projects-panel-ghost-spot {
  display: block;
  font-size: clamp(3rem, 13vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
}

.projects-panel-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 70%);
  -webkit-background-clip: text;
  background-clip: text;
}

.projects-panel-ghost-spot {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff, var(--color-lavender-phosphor) 55%, var(--color-liquid-mist));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 160px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, transparent 70%);
  mask-image: radial-gradient(circle 160px at var(--spot-x, 50%) var(--spot-y, 50%), #000 0%, transparent 70%);
  transition: opacity 0.35s ease;
}

.projects-panel-ghost-wrap.is-active .projects-panel-ghost-spot {
  opacity: 1;
}

.projects-panel-marquee {
  position: absolute;
  top: var(--space-32);
  left: -5%;
  right: -5%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-12) 0;
  background: rgba(3, 15, 34, 0.5);
  transform: rotate(-1.5deg);
  z-index: 1;
}

.projects-panel-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: var(--space-24);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-silver-mist);
  animation: projectsPanelMarquee 32s linear infinite;
}

.projects-panel-marquee-track .dot { color: rgba(56, 189, 248, 0.6); }

@keyframes projectsPanelMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.projects-panel-content {
  position: relative;
  z-index: 2;
}

.projects-panel .btn-primary {
  box-shadow: 0 16px 40px -14px rgba(11, 95, 255, 0.55);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.3s ease;
}

.projects-panel .btn-primary:hover {
  box-shadow: 0 20px 48px -12px rgba(11, 95, 255, 0.7);
}

@media (max-width: 720px) {
  .projects-panel-marquee { display: none; }
  .projects-panel-ghost-wrap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .projects-panel-glow,
  .projects-panel-marquee-track { animation: none; }
}

/* ---------- About / Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.value-card {
  background: var(--color-liquid-kelp);
  border-radius: var(--radius-card);
  padding: var(--space-36);
}

.value-card .value-index {
  font-size: 13px;
  color: var(--color-lavender-phosphor);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-20);
}

.value-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--color-silver-mist);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: 1fr; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: center;
  margin-bottom: var(--space-64);
}

.about-grid p + p { margin-top: var(--space-20); }

.about-grid p {
  color: var(--color-silver-mist);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ---------- Contact ---------- */
.contact-panel {
  background: var(--color-liquid-deep);
  border-radius: var(--radius-card);
  padding: var(--space-120) var(--space-48);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-64);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: var(--space-20);
}

.contact-info p {
  color: var(--color-silver-mist);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: var(--space-32);
  max-width: 440px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-slate-deep);
}

.contact-detail-item .value {
  font-size: 16px;
  color: var(--color-liquid-mist);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
}

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

.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-silver-mist);
}

.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--color-platinum);
  font-family: var(--font-display);
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-slate-deep);
}

.contact-form .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-panel { padding: var(--space-64) var(--space-24); }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ accordion ---------- */
.faq-header {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-40);
}

.faq-subtitle {
  display: inline-block;
  margin-bottom: var(--space-16);
  font-size: 14px;
  font-weight: 500;
  background: var(--gradient-bio);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  margin-bottom: var(--space-40);
}

.faq-tab {
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--color-silver-mist);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.faq-tab:hover {
  color: var(--color-platinum);
}

.faq-tab.is-active {
  border-color: transparent;
  color: var(--color-liquid-abyss);
}

.faq-tab.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient-bio);
  animation: faqTabIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-tab span {
  position: relative;
  z-index: 1;
}

@keyframes faqTabIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.faq-panels {
  max-width: 860px;
  margin: 0 auto;
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: block;
  animation: faqPanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes faqPanelIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.faq-item {
  background: var(--color-liquid-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item.is-open {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(56, 189, 248, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-28);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
}

.faq-question h3 {
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-silver-mist);
  margin: 0;
  transition: color 0.25s ease;
}

.faq-item.is-open .faq-question h3 {
  color: var(--color-platinum);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease;
}

.faq-icon svg {
  stroke: var(--color-silver-mist);
  transition: stroke 0.25s ease;
}

.faq-item.is-open .faq-icon {
  background: var(--gradient-bio);
  transform: rotate(45deg);
}

.faq-item.is-open .faq-icon svg {
  stroke: var(--color-liquid-abyss);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 var(--space-28) var(--space-20);
  color: var(--color-silver-mist);
  font-size: 15px;
  line-height: 1.65;
  max-width: 620px;
}

@media (max-width: 640px) {
  .faq-question { padding: var(--space-16) var(--space-20); }
  .faq-answer-inner { padding: 0 var(--space-20) var(--space-16); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-liquid-abyss);
  padding: var(--space-40) var(--space-40) 0;
}

.footer-card {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
  background: var(--color-liquid-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px 32px 0 0;
  padding: var(--space-64) var(--space-40) var(--space-40);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 420px;
  height: 200px;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.14), transparent 72%);
  pointer-events: none;
}

.footer-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 33%;
  height: 1px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.25);
  filter: blur(2px);
  border-radius: 999px;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: var(--space-48);
}

.footer-brand-col .brand { margin-bottom: var(--space-16); }

.footer-brand-col p {
  color: var(--color-silver-mist);
  font-size: 15px;
  max-width: 300px;
  line-height: 1.5;
  margin-top: var(--space-32);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-32);
}

.footer-links-grid .footer-col:nth-child(1) { transition-delay: 0.1s; }
.footer-links-grid .footer-col:nth-child(2) { transition-delay: 0.2s; }
.footer-links-grid .footer-col:nth-child(3) { transition-delay: 0.3s; }
.footer-links-grid .footer-col:nth-child(4) { transition-delay: 0.4s; }

.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-slate-deep);
  margin-bottom: var(--space-20);
  font-weight: 400;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a,
.footer-col span.footer-static {
  font-size: 15px;
  color: var(--color-silver-mist);
  transition: color 0.2s ease;
}

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

.footer-col .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col .social-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-40);
  margin-top: var(--space-40);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--space-16);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-slate-deep);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-col p { max-width: none; }
}

@media (max-width: 640px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-32) var(--space-20); }
  .footer-card { padding: var(--space-48) var(--space-24) var(--space-32); border-radius: 24px 24px 0 0; }
  .site-footer { padding: var(--space-20) var(--space-20) 0; }
}

/* ---------- Legal content (Impressum) ---------- */
.legal-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.legal-block h3 {
  font-size: 20px;
  margin-bottom: var(--space-16);
  color: var(--color-platinum);
}

.legal-block p {
  color: var(--color-silver-mist);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-block a { color: var(--color-liquid-mist); text-decoration: underline; }

.legal-note {
  background: var(--color-liquid-kelp);
  border-radius: var(--radius-card);
  padding: var(--space-24) var(--space-28);
  font-size: 14px;
  color: var(--color-silver-mist);
  line-height: 1.6;
}

/* ---------- Utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.blur-in {
  transform: translateY(-8px);
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.blur-in.is-visible {
  transform: translateY(0);
  filter: blur(0);
}
