/* content-o-mat.io – Soundly-Style + Social-Posts durchscrollen */
:root {
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --petrol: #4a8a92;
  --petrol-glow: rgba(74, 138, 146, 0.35);
  --gold: #f4d36f;
  --bg: #050505;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.5);
}

* { box-sizing: border-box; }
html { height: 100%; }

/* ========== Immersiv – Eintauchen in die digitale Welt ========== */
body.immersive {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 20%, rgba(74, 138, 146, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 120% at 80% 80%, rgba(74, 138, 146, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse 80% 120% at 20% 80%, rgba(74, 138, 146, 0.04) 0%, transparent 45%);
  animation: ambient-pulse 12s ease-in-out infinite alternate;
}

.ambient::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 80% 50% at 30% 30%,
    rgba(74, 138, 146, 0.08) 0%,
    transparent 50%
  );
  animation: ambient-drift 25s ease-in-out infinite;
}

.ambient::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 60% 80% at 70% 70%,
    rgba(74, 138, 146, 0.06) 0%,
    transparent 45%
  );
  animation: ambient-drift 30s ease-in-out infinite reverse;
}


@keyframes ambient-pulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes ambient-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  33% { transform: translate(3%, -2%) scale(1.05); opacity: 1; }
  66% { transform: translate(-2%, 2%) scale(0.98); opacity: 0.9; }
}

/* Awwwards-style: weicher Page-Reveal wie bei SOTD-Transitions */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(12px, 2vw, 24px) clamp(20px, 5vw, 40px);
  text-align: center;
  opacity: 0;
  animation: page-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes page-reveal {
  to { opacity: 1; }
}

.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ========== Hero – Soundly-Style ========== */
.hero {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-bottom: clamp(8px, 1.5vw, 16px);
}

.hero-bg {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 138, 146, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Badge – dezent, bricht Immersion nicht, kurzer Einstieg */
.hero-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: clamp(5px, 1.2vw, 6px) clamp(10px, 2.5vw, 14px);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(12px, 2vw, 13px);
  font-weight: 500;
  margin: 0 0 clamp(12px, 2.5vw, 20px);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(8px);
  animation: overlay-reveal 0.6s var(--ease) 0.1s forwards;
}

a.hero-badge {
  text-decoration: none;
  color: inherit;
}

a.hero-badge:hover {
  color: var(--petrol);
}

.hero-badge-dot {
  width: clamp(5px, 1.2vw, 6px);
  height: clamp(5px, 1.2vw, 6px);
  border-radius: 50%;
  background: var(--petrol);
  box-shadow: 0 0 10px var(--petrol);
  animation: badge-dot-pulse 3s ease-in-out 0.8s infinite;
}

@keyframes badge-dot-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--petrol); opacity: 1; }
  50% { box-shadow: 0 0 18px var(--petrol), 0 0 24px rgba(74, 138, 146, 0.4); opacity: 0.9; }
}

/* Headline wie in der App: Der / Content-O-Mat – bouncy */
.hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

@keyframes hero-bounce {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-title-line1 {
  display: block;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  opacity: 0;
  animation: hero-bounce 0.75s var(--ease) 0.1s forwards;
}

.hero-title-line2 {
  display: block;
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.15), 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: hero-bounce 0.8s var(--ease) 0.25s forwards;
}

.hero-title .highlight {
  color: var(--petrol);
  text-shadow: 0 0 40px var(--petrol-glow);
}

.hero-sub {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 2.6vw, 18px);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin: 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Explainer-Video – Hauptakteur, sofort sichtbar ========== */
.video-section {
  width: 100%;
  max-width: 400px;
  margin-bottom: clamp(32px, 6vw, 56px);
}

.video-section--hero {
  max-width: 360px;
  margin-top: clamp(-24px, -4vw, -32px);
  margin-bottom: clamp(24px, 5vw, 48px);
  position: relative;
}

/* Minimaler Akzent wie bei Awwwards-Minimal-Sites */
.video-section--hero::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 138, 146, 0.6), transparent);
  margin: 0 auto clamp(20px, 4vw, 28px);
}

.video-headline {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(10px, 2vw, 16px);
  color: #fff;
}

.video-caption {
  font-size: clamp(12px, 1.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 138, 146, 0.7);
  margin: clamp(8px, 1.5vw, 12px) 0 0;
  opacity: 0;
  animation: overlay-reveal 0.7s var(--ease) 1.4s forwards;
}

.btn-app {
  display: inline-block;
  margin-top: clamp(12px, 2.5vw, 20px);
  padding: clamp(12px, 2vw, 14px) clamp(24px, 4vw, 32px);
  font-size: clamp(14px, 2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--petrol) 0%, #2d5e63 100%);
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 24px var(--petrol-glow), 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  opacity: 0;
  animation: overlay-reveal 0.6s var(--ease) 1.5s forwards;
}

.btn-app:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(74, 138, 146, 0.45), 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.video-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 0 60px var(--petrol-glow),
    0 0 120px rgba(74, 138, 146, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  animation: video-frame-glow 4s ease-in-out infinite;
}

/* Leichte Vignette für Fullscreen-Video-Gefühl (Awwwards / Cinematic) */
.video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.video-wrapper:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 90px rgba(74, 138, 146, 0.5),
    0 0 180px rgba(74, 138, 146, 0.25),
    0 24px 72px rgba(0, 0, 0, 0.55);
  transform: scale(1.02);
  animation: video-frame-glow-hover 2s ease-in-out infinite;
}

@keyframes video-frame-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 0 50px var(--petrol-glow), 0 0 100px rgba(74,138,146,0.12), 0 20px 60px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 70px rgba(74,138,146,0.45), 0 0 140px rgba(74,138,146,0.2), 0 20px 60px rgba(0,0,0,0.5); }
}

@keyframes video-frame-glow-hover {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 85px rgba(74,138,146,0.48), 0 0 170px rgba(74,138,146,0.22), 0 24px 72px rgba(0,0,0,0.55); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 0 100px rgba(74,138,146,0.55), 0 0 200px rgba(74,138,146,0.28), 0 24px 72px rgba(0,0,0,0.55); }
}

.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  vertical-align: middle;
  background: #000;
}

/* Video-Overlay: Titel + Jetzt starten / Nach Ende: Zur App */
.video-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 24px);
  padding: clamp(20px, 4vw, 32px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.92) 100%);
  z-index: 2;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.video-overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* End-Overlay: schöne Einblendung ab Sekunde 53 */
.video-overlay--end {
  transition: opacity 0.9s var(--ease), visibility 0.9s, transform 0.9s var(--ease);
  transform: translateY(0);
}
.video-overlay--end.video-overlay--hidden {
  transform: translateY(16px);
}

.video-overlay-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  margin-top: clamp(-56px, -12vw, -80px);
}

/* Staggered entrance: Der → Content → -O- → Mat */
.video-overlay-der {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(12px);
  animation: overlay-reveal 0.7s var(--ease) 0.2s forwards;
}

.video-overlay-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.video-overlay-title-line {
  display: block;
  font-size: clamp(40px, 8.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.12), 0 2px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(16px);
  animation: overlay-reveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.video-overlay-title-line--1 { animation-delay: 0.45s; }
.video-overlay-title-line--o { animation-delay: 0.7s; color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, 0.15), 0 0 60px rgba(74, 138, 146, 0.25); }
.video-overlay-title-line--3 { animation-delay: 0.95s; }

.video-overlay-title-line--o {
  animation: overlay-reveal 0.75s var(--ease) 0.7s forwards, overlay-glow-pulse 3s ease-in-out 1.5s infinite;
}

@keyframes overlay-reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes overlay-glow-pulse {
  0%, 100% { text-shadow: 0 0 40px var(--petrol-glow), 0 0 80px rgba(74, 138, 146, 0.3); }
  50% { text-shadow: 0 0 60px rgba(74, 138, 146, 0.5), 0 0 120px rgba(74, 138, 146, 0.4); }
}

.video-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 2.5vw, 18px) clamp(28px, 5vw, 40px);
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, var(--petrol) 0%, #2d5e63 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 30px var(--petrol-glow), 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  font-family: inherit;
  position: relative;
  opacity: 0;
  animation: overlay-reveal 0.6s var(--ease) 1.15s forwards, play-btn-breathe 2.5s ease-in-out 1.8s infinite;
}

.video-overlay-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 2px solid rgba(74, 138, 146, 0.4);
  opacity: 0;
  animation: play-btn-ring 2.5s ease-out 1.8s infinite;
  pointer-events: none;
}

.video-overlay-btn:hover {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(74, 138, 146, 0.5), 0 6px 24px rgba(0, 0, 0, 0.35);
  animation: none;
}

.video-overlay-btn:hover::before {
  animation: none;
  opacity: 0;
}

.video-overlay-btn:active {
  transform: scale(0.98);
}

@keyframes play-btn-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px var(--petrol-glow), 0 4px 20px rgba(0, 0, 0, 0.3); }
  50% { transform: scale(1.04); box-shadow: 0 0 45px rgba(74, 138, 146, 0.45), 0 6px 24px rgba(0, 0, 0, 0.35); }
}

@keyframes play-btn-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; border-color: rgba(74, 138, 146, 0.2); }
}

.video-overlay-btn-icon {
  font-size: 0.9em;
  line-height: 1;
}

.video-overlay-end-text {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.video-overlay-btn--cta {
  margin-top: 4px;
}

.video-overlay-skip {
  font-size: clamp(12px, 1.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-top: 4px;
  opacity: 0;
  animation: overlay-reveal 0.6s var(--ease) 1s forwards;
}

.video-overlay-skip:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-title--below-video {
  margin-top: 0;
  margin-bottom: clamp(32px, 6vw, 56px);
}

/* ========== Feed – Social-Posts durchscrollen ========== */
.feed-section {
  width: 100%;
  max-width: 480px;
  margin-bottom: clamp(48px, 10vw, 72px);
}

.feed-headline {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(24px, 5vw, 36px);
  color: #fff;
}

.feed-headline .highlight {
  color: var(--petrol);
}

.feed-viewport {
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.feed-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  animation: feed-scroll 16s var(--ease-out) 0.8s forwards;
}

@keyframes feed-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-280px); }
}

.post {
  flex-shrink: 0;
  width: 100%;
  padding: clamp(16px, 4vw, 20px);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(74,138,146,0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.post:hover {
  border-color: rgba(74, 138, 146, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.post-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0077b5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.post-icon-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.post-icon-sp { background: #1DB954; font-size: 16px; }
.post-icon-yt { background: #FF0000; font-size: 12px; }

.post-platform {
  font-size: clamp(12px, 2vw, 13px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.post-preview {
  font-size: clamp(14px, 2.2vw, 15px);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0;
}

/* ========== CTA – Bouncy wie in der App ========== */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(40px, 8vw, 64px);
}

.cta-section .cta-sub {
  font-size: clamp(13px, 2vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--petrol);
  margin: 0;
}

.cta {
  display: inline-block;
  background: linear-gradient(90deg, #4a8a92 0%, #2d5e63 100%);
  color: white;
  padding: clamp(18px, 3vw, 22px) clamp(44px, 8vw, 56px);
  font-size: clamp(17px, 2.5vw, 19px);
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 0 30px var(--petrol-glow), 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(74, 138, 146, 0.45), 0 8px 28px rgba(0,0,0,0.35);
  color: white;
}

.cta-hint {
  font-size: clamp(12px, 1.8vw, 13px);
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.seo-block {
  margin-top: auto;
  padding-top: clamp(24px, 5vw, 36px);
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 560px;
}

.seo-block p {
  font-size: clamp(13px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin: 0;
}

/* Footer – wie in der App */
.footer {
  margin-top: auto;
  padding: clamp(24px, 5vw, 40px) clamp(16px, 4vw, 24px) max(2rem, env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  color: #9ca3af;
}

.footer-copy {
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  margin: 0 0 clamp(12px, 2vw, 24px);
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
}

.footer-links a,
.footer-link {
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--petrol);
}

/* ========== Legal Modal (Impressum / Datenschutz / AGB) ========== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.legal-modal--open {
  opacity: 1;
  visibility: visible;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.legal-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px var(--petrol-glow);
  overflow: hidden;
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 20px) clamp(20px, 4vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.legal-modal-title {
  margin: 0;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.legal-modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.legal-modal-body {
  overflow-y: auto;
  padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 24px);
  -webkit-overflow-scrolling: touch;
}

.legal-modal-content p {
  margin: 0 0 0.75em;
  font-size: clamp(13px, 2vw, 14px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.legal-modal-content p:last-child {
  margin-bottom: 0;
}

.legal-modal-content .legal-bold { font-weight: 700; color: rgba(255, 255, 255, 0.95); }
.legal-modal-content .legal-small { font-size: 0.9em; }
.legal-modal-content .legal-italic { font-style: italic; }
.legal-modal-content .legal-accent {
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  color: var(--petrol);
  margin-bottom: 0.25em;
}

.legal-modal-content .legal-section {
  margin-bottom: 1.25em;
}

.legal-modal-content .legal-section:last-child { margin-bottom: 0; }

.legal-modal-content .legal-link {
  color: var(--petrol);
  text-decoration: underline;
}

.legal-modal-content .legal-link:hover {
  color: #6ba8af;
}

@media (max-width: 480px) {
  .cta { width: 100%; max-width: 280px; }
  .feed-viewport { height: 280px; }
  .feed-track { animation-duration: 12s; }
}

/* ========== SEO: H1 + Intro-Text (Layout unverändert) ========== */
.hero-title-seo {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(16px, 3vw, 24px);
  font-size: clamp(12px, 1.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 138, 146, 0.7);
  opacity: 0;
  animation: overlay-reveal 0.6s var(--ease) 0.2s forwards;
}

.seo-intro {
  width: 100%;
  max-width: 520px;
  margin: clamp(32px, 6vw, 48px) auto clamp(24px, 4vw, 40px);
  text-align: center;
  padding: 0 1.25rem;
}

.seo-intro-title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--petrol);
  line-height: 1.4;
}

.seo-intro-text {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.seo-intro-tagline {
  margin: 0 0 1.5rem;
  padding: 0.6rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--petrol);
  border-top: 1px solid rgba(74, 138, 146, 0.25);
  border-bottom: 1px solid rgba(74, 138, 146, 0.25);
}

.seo-intro-subtitle {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.seo-intro-subtitle:first-of-type { margin-top: 0; }

.seo-intro .btn-app {
  margin-top: 1.5rem;
}
