/* ============================================================
   ZOE BAROSSI — REDESIGN
   Wahrnehmungsgrammatik: Strand · 65% Kontrast · Spacing 4
   Naturmetapher: Glut/Strand — warm-dunkel
   Typografie: Playfair Display (berühren) + System Sans (informieren)
   Postprocessing: Bloom, Stagger-Reveal, Mesh Gradient
   ============================================================ */

/* === Fonts (self-hosted, DSGVO) === */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2'),
       url('/fonts/playfair-display-v40-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-italic.woff2') format('woff2'),
       url('/fonts/playfair-display-v40-latin-italic.woff') format('woff');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-700.woff2') format('woff2'),
       url('/fonts/playfair-display-v40-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-v40-latin-700italic.woff2') format('woff2'),
       url('/fonts/playfair-display-v40-latin-700italic.woff') format('woff');
}

/* === Farbpalette — Strand/Glut === */
:root {
  --color-bg:        #0a1628;
  --color-primary:   #121e34;
  --color-secondary: #4a6a8a;
  --color-accent:    #e86a7a;
  --color-teal:      #2abfbf;
  --color-warm:      #f4a842;
  --color-light:     #f0ece6;

  /* Mesh Gradient — Strand */
  --mesh-1: #5a2a10;
  --mesh-2: #8a4a20;
  --mesh-3: #3a1a08;
  --mesh-4: #6a3818;

  /* Typografie */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Courier New', monospace;

  /* Spacing — Stufe 4 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Radius — Strand (8–14px) */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Layout */
  --content-width: 720px;
  --wide-width: 1100px;
}

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

/* === Basis === */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-light);
  background: var(--color-bg);
}

/* === Noise Layer (subtile Wärme, Dark Mode) === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* === Mesh Gradient Background === */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-bg);
}

.mesh-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: drift 25s ease-in-out infinite;
}

.blob-1 { width: 60vw; height: 60vw; top: -20%; left: -10%; background: var(--mesh-1); }
.blob-2 { width: 50vw; height: 50vw; top: 30%; right: -15%; background: var(--mesh-2); animation-delay: -6s; }
.blob-3 { width: 55vw; height: 55vw; bottom: -25%; left: 20%; background: var(--mesh-3); animation-delay: -12s; }
.blob-4 { width: 45vw; height: 45vw; top: 10%; left: 40%; background: var(--mesh-4); animation-delay: -18s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -30px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

/* === Bloom (Postprocessing) === */
.glow-subtle {
  text-shadow:
    0 0 4px rgba(250,230,230,0.4),
    0 0 12px rgba(250,230,230,0.15);
}

.glow-medium {
  text-shadow:
    0 0 2px rgba(250,230,230,0.6),
    0 0 8px rgba(250,230,230,0.3),
    0 0 25px rgba(250,230,230,0.12);
}

.glow-hero {
  text-shadow:
    0 0 2px rgba(250,230,230,0.8),
    0 0 8px rgba(250,230,230,0.5),
    0 0 20px rgba(250,230,230,0.25),
    0 0 50px rgba(250,230,230,0.1),
    0 0 80px rgba(42,191,191,0.06);
}

.glow-accent {
  text-shadow:
    0 0 4px rgba(232,106,122,0.7),
    0 0 15px rgba(232,106,122,0.3),
    0 0 40px rgba(232,106,122,0.12);
}

/* Hover-Bloom */
.bloom-hover {
  text-shadow: none;
  transition: text-shadow 0.4s ease;
}

.bloom-hover:hover {
  text-shadow:
    0 0 4px rgba(250,230,230,0.5),
    0 0 15px rgba(250,230,230,0.2),
    0 0 35px rgba(250,230,230,0.08);
}

/* === Stagger-Reveal Animation === */
.stagger-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  filter: blur(3px);
  animation: char-in 0.5s ease-out forwards;
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* === Typografie === */
h1, h2, h3 {
  line-height: 1.1;
  margin-bottom: 0.5em;
}

/* Serif für Story/Emotion */
.font-serif,
.story-section h2,
.story-quote blockquote,
.story-inline-quote,
.story-hero-sub,
.story-closing-quote {
  font-family: var(--font-serif);
}

/* Sans für Daten/Navigation */
.font-sans,
nav,
.race-result,
.stat-number,
.timeline-month,
.gear-item {
  font-family: var(--font-sans);
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* === Buttons — Outlined (Prinzip 7, 65% Kontrast) === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
}

.btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  text-shadow:
    0 0 4px rgba(250,230,230,0.3),
    0 0 12px rgba(250,230,230,0.1);
}

.btn-teal {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.btn-teal:hover {
  background: var(--color-teal);
  color: var(--color-bg);
}

/* === Navigation === */
header {
  padding: 1.5rem clamp(2rem, 6vw, 6rem);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--color-light);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-teal);
}

/* === Nav Right (Social + Language) === */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  color: var(--color-light);
  transition: color 0.3s ease;
  display: flex;
}

.social-icon:hover {
  color: var(--color-teal);
}

/* === Language Switch === */
.lang-switch {
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid var(--color-secondary);
  color: var(--color-light);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--color-teal);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  padding-top: 0.3rem;
  background: var(--color-primary);
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  overflow: hidden;
  min-width: 60px;
}

.lang-switch:hover .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: block;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--color-light);
  text-decoration: none;
  transition: background 0.2s ease;
}

.lang-dropdown a:hover {
  background: var(--color-bg);
}

.lang-active {
  color: var(--color-teal) !important;
}

/* === Layout === */
main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-md);
}

footer {
  padding: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-secondary);
}

footer nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

footer nav a {
  text-decoration: none;
  color: var(--color-secondary);
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* ============================================================
   HOMEPAGE — Hero
   ============================================================ */
.page-home footer {
  display: none;
}

.page-home header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0) 100%);
  padding-bottom: 2rem;
}

.page-home main {
  max-width: none;
  padding: 0;
}

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Dark overlay for text readability */
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.3) 40%,
    rgba(10, 22, 40, 0.1) 70%,
    transparent 100%
  );
  z-index: 1;
}

.home-text {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(3rem, 8vh, 6rem) clamp(2rem, 6vw, 6rem);
  max-width: 60%;
}

.home.home-mobile {
  display: none;
}

.home-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
  font-family: var(--font-sans);
}

.home-name {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--color-light);
  text-transform: uppercase;
  margin-bottom: 0;
  font-family: var(--font-sans);
}

.home-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 0.25rem;
  font-family: var(--font-sans);
}

/* ============================================================
   CONTENT PAGES
   ============================================================ */
.content {
  font-size: 1.1rem;
  line-height: 1.75;
  padding-top: var(--space-md);
}

.page-subtitle {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.content h2 {
  color: var(--color-light);
  margin-top: 2.5rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.content p {
  color: var(--color-secondary);
}

.content strong {
  color: var(--color-light);
}

.content-intro {
  font-size: 1.2rem;
  color: var(--color-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-family: var(--font-serif);
}

/* ============================================================
   TIMELINE (Der Weg)
   ============================================================ */
.page-weg main {
  max-width: none;
  padding: 0;
}

.page-weg header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
}

.weg-hero {
  position: relative;
  height: 55vh;
  display: flex;
  align-items: flex-end;
  background-image: url('/images/hero-weg.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.weg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--color-bg) 0%,
    rgba(10, 22, 40, 0.4) 50%,
    transparent 100%
  );
}

.weg-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 1;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.weg-hero-text {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(2rem, 5vh, 4rem) clamp(2rem, 6vw, 6rem);
  max-width: 60%;
}

.weg-hero-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.3rem;
}

.weg-hero-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--color-light);
  text-transform: uppercase;
  margin: 0;
}

.weg-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-style: italic;
}

.page-weg .content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-md);
}

.timeline {
  position: relative;
  padding-left: 5rem;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 4.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
}

.timeline-year {
  position: relative;
  height: 1.8rem;
  margin-top: 2.5rem;
}

.timeline-year:first-child {
  margin-top: 0;
}

.timeline-year::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.15rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateX(-6px);
  z-index: 1;
  box-shadow: 0 0 12px rgba(232, 106, 122, 0.4);
}

.timeline-year span {
  position: absolute;
  right: calc(100% + 1.5rem);
  top: -0.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  white-space: nowrap;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  transform: translateX(-3px);
}

.timeline-highlight::before {
  background: var(--color-warm);
  box-shadow: 0 0 10px rgba(244, 168, 66, 0.4);
}

.timeline-highlight .timeline-month {
  color: rgba(244, 168, 66, 0.7);
}

.timeline-month {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(42, 191, 191, 0.6);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.timeline-card {
  margin-top: 0.3rem;
}

.timeline-card h3 {
  font-size: 1.1rem;
  color: var(--color-light);
  margin-bottom: 0.3rem;
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.timeline-race::before {
  background: var(--color-teal);
  box-shadow: 0 0 8px rgba(42, 191, 191, 0.4);
}

/* Race Result */
.race-result {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0.8rem 0;
  padding: 0.6rem 0.9rem;
  background: rgba(42, 191, 191, 0.05);
  border-left: 3px solid var(--color-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.race-name {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.race-time {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 2px;
  line-height: 1;
}

.race-place {
  font-size: 0.65rem;
  color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Timeline Quote */
.timeline-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-light);
  margin-top: 0.5rem;
  opacity: 0.85;
  font-family: var(--font-serif);
}

/* ============================================================
   STORY PAGE (Über Zoe)
   ============================================================ */
.page-story header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0) 100%);
  padding-bottom: 2rem;
}

.page-story main {
  max-width: none;
  padding: 0;
}

/* Story Hero */
.story-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.story-hero-text {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: clamp(6rem, 12vh, 10rem) clamp(2rem, 4vw, 4rem) clamp(3rem, 6vh, 5rem) clamp(2rem, 6vw, 6rem);
}

.story-hero-tag {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.story-hero h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--color-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.story-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-secondary);
  max-width: 420px;
  font-family: var(--font-serif);
  font-style: italic;
}

.story-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  overflow: hidden;
}

.story-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.story-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--color-bg) 0%,
    rgba(10, 22, 40, 0.85) 25%,
    rgba(10, 22, 40, 0.3) 55%,
    rgba(10, 22, 40, 0) 80%
  );
}

.story-hero-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 1;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

/* Story Quotes */
.story-quote {
  padding: clamp(3rem, 6vh, 5rem) var(--space-md);
  text-align: center;
  background: var(--color-primary);
}

.story-quote blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-light);
  font-style: italic;
  border: none;
  padding: 0;
  font-family: var(--font-serif);
}

.story-quote-accent {
  background: linear-gradient(135deg, rgba(232, 106, 122, 0.08), rgba(42, 191, 191, 0.05));
}

.story-shout {
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  font-style: normal;
  color: var(--color-accent);
  letter-spacing: 4px;
  font-family: var(--font-sans);
}

/* Story Sections */
.story-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vh, 4rem) var(--space-md);
}

.story-section h2 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-teal);
  margin-bottom: 1.2rem;
  font-family: var(--font-sans);
}

.story-section p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.story-inline-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-light);
  border-left: 2px solid var(--color-accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  line-height: 1.7;
  font-family: var(--font-serif);
}

/* Story Stats */
.story-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.story-stat {
  text-align: center;
}

.story-stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.story-stat-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

/* Story Soft Section */
.story-section-soft {
  padding: clamp(3rem, 6vh, 5rem) var(--space-md);
  background: linear-gradient(to bottom, transparent, rgba(18, 30, 52, 0.4), transparent);
}

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

.story-section-soft blockquote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-light);
  border: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-serif);
}

.story-divider {
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 2rem auto;
  opacity: 0.6;
}

/* Story Closing */
.story-closing {
  text-align: center;
  padding: clamp(3rem, 6vh, 5rem) var(--space-md) clamp(4rem, 8vh, 6rem);
}

.story-closing-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--color-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-family: var(--font-serif);
}

.story-closing-shout {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* === Photo Grid — Editorial Layout === */
.photo-grid {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 0;
}

.photo-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.photo-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.photo-grid-2-1 {
  grid-template-columns: 2fr 1fr;
}

.photo-grid-1-2 {
  grid-template-columns: 1fr 2fr;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-grid-tall {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.photo-grid-tall img:first-child {
  grid-row: 1 / 3;
}

/* Photo strip — horizontal scroll on mobile */
.photo-strip {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}

.photo-strip img {
  height: 50vh;
  width: auto;
  object-fit: cover;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Video Section — autoplay loop background */
.story-video {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.story-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-video::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}

.story-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  z-index: 1;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
  pointer-events: none;
}

.story-video-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 236, 230, 0.5);
}

/* Story Images — Cinematic Fullwidth */
.story-image {
  position: relative;
  width: 100%;
  height: 55vh;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

[data-cms-image="story-hm"]          { object-position: center 20%; }
[data-cms-image="story-hamburg"]     { object-position: center 35%; }
[data-cms-image="story-cervia-swim"] { object-position: center 40%; }
[data-cms-image="story-cervia-run"]  { object-position: center 25%; }
[data-cms-image="story-lifestyle"]   { object-position: center 15%; }

.story-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--color-bg), transparent);
  pointer-events: none;
}

.story-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  z-index: 1;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
  pointer-events: none;
}

.story-image-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 236, 230, 0.5);
}

/* ============================================================
   SUPPORT / PARTNER
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: var(--space-md) 0;
}

.support-card {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.support-card:hover {
  border-color: var(--color-secondary);
}

.support-card-highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-primary), #1a2840);
}

.support-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.support-card h3 {
  color: var(--color-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.support-amount {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.support-card p:last-child {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.support-cta {
  text-align: center;
  margin-top: var(--space-lg);
  padding: var(--space-md);
}

.support-cta p {
  color: var(--color-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0 2.5rem;
}

.stat-item {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.stat-item:hover {
  border-color: var(--color-secondary);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-secondary);
  text-transform: uppercase;
}

/* Partner Cards */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.partner-card {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.partner-card:hover {
  border-color: var(--color-secondary);
}

.partner-card h3 {
  color: var(--color-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partner-card p {
  color: var(--color-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.current-partners {
  margin: 1rem 0 2rem;
}

.current-partners p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.current-partners strong {
  color: var(--color-light);
}

/* ============================================================
   GEAR (Ausrüstung)
   ============================================================ */
.gear-section {
  margin-bottom: 2.5rem;
}

.gear-section h2 {
  color: var(--color-teal);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-primary);
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.gear-item {
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.gear-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  padding: 0.5rem;
}

.gear-item h3 {
  color: var(--color-light);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.gear-brand {
  color: var(--color-secondary);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.gear-brand a {
  color: var(--color-teal);
}

.gear-note {
  color: var(--color-secondary);
  font-size: 0.75rem;
  margin-top: 0.3rem;
  margin-bottom: 0;
  opacity: 0.7;
}

.gear-item-tbd {
  opacity: 0.5;
  border: 1px dashed var(--color-secondary);
  background: transparent;
}

/* ============================================================
   COMING SOON
   ============================================================ */
.coming-soon-badge {
  display: inline-block;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Keep old .btn-primary as alias */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ============================================================
   BURGER MENU
   ============================================================ */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-open .burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav-open .burger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  main {
    padding: 1.5rem 1rem;
  }

  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 15;
  }

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

  .nav-links a {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  /* Home */
  .home.home-desktop {
    display: none;
  }

  .home.home-mobile {
    display: flex;
    background-position: center top;
  }

  .home-text {
    max-width: 100%;
    padding: 0 1.5rem clamp(2rem, 4vh, 3rem) 2rem;
  }

  .home-name {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .home-subtitle {
    font-size: 1.3rem;
    letter-spacing: 3px;
  }

  /* Story */
  .story-hero {
    flex-direction: column;
    min-height: auto;
  }

  .story-hero-image {
    position: relative;
    width: 100%;
    min-height: 70vh;
  }

  .story-hero-image::before {
    background: none;
  }

  .story-hero-image::after {
    height: 50%;
  }

  .story-hero-text {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.5rem clamp(2rem, 4vh, 3rem) 1.5rem;
    text-align: center;
  }

  .story-hero-sub {
    max-width: 100%;
  }

  .story-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .story-stats {
    gap: 1.5rem;
  }

  .story-closing-shout {
    font-size: clamp(2rem, 12vw, 4rem);
  }

  .story-image {
    height: 40vh;
  }

  .story-video {
    height: 45vh;
  }

  .photo-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid-2-1,
  .photo-grid-1-2 {
    grid-template-columns: 1fr;
  }

  .photo-grid-tall {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-grid-tall img:first-child {
    grid-row: auto;
  }

  .photo-strip img {
    height: 35vh;
  }

  /* Grids */
  .support-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  /* Der Weg */
  .weg-hero {
    height: 45vh;
    background-position: center 35%;
  }

  .weg-hero-text {
    max-width: 90%;
    padding-left: 1.5rem;
  }

  .weg-hero-text h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .weg-hero-sub {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
}
