/* ══════════════════════════════════════════
   SUNDOWNER APPS — home.css
   Farbpalette: Mitternachtsblau · Weiß · Gold
   ══════════════════════════════════════════ */

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

:root {
  --midnight:   #0d1b3e;   /* tiefes Mitternachtsblau */
  --midnight-2: #060c1e;   /* noch dunkler */
  --navy:       #1a2a6c;   /* mittleres Blau */
  --gold:       #c9a227;   /* Hauptgold */
  --gold-light: #e8c96a;   /* helles Gold */
  --gold-dim:   #9a7d1e;   /* dunkles Gold */
  --white:      #ffffff;
  --offwhite:   #f5f0e8;
  --text-dark:  #0d1b3e;
  --text-mid:   #3a4a6a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--midnight-2);
  color: var(--text-dark);
  overflow-x: hidden;
}


/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 70px;
  transition: background 0.35s, box-shadow 0.35s;
}

nav.scrolled {
  background: rgba(6, 12, 30, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img-wrap {
  background: rgba(201,162,39, 0.15);
  border: 1px solid rgba(201,162,39, 0.3);
  padding: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo img {
  width: 38px; height: 38px;
  object-fit: contain; display: block;
}

.nav-logo-wordmark {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--white);
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.nav-right { display: flex; align-items: center; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Dropdown */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px; right: 0;
  background: rgba(6, 12, 30, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid rgba(201,162,39, 0.2);
  border-bottom: 1px solid rgba(201,162,39, 0.15);
  min-width: 290px;
  z-index: 110;
  flex-direction: column;
  padding: 6px 0 12px;
  border-radius: 0 0 0 14px;
  box-shadow: -6px 10px 36px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 13px 28px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s, padding-left 0.18s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:hover {
  background: rgba(201,162,39, 0.1);
  color: var(--gold-light);
  padding-left: 34px;
}
.mobile-menu a.menu-anchor {
  color: var(--gold);
  font-size: 13px;
}
.mobile-menu a.menu-anchor:hover { color: var(--gold-light); }

.menu-divider {
  height: 1px;
  background: rgba(201,162,39, 0.18);
  margin: 6px 0;
}


/* ══════════════════════════════════════════
   OCEAN HERO
   ══════════════════════════════════════════ */
.ocean-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.ocean-scene {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* Wellen-Animation */
.wave1 { animation: waveSlide  7s ease-in-out infinite; }
.wave2 { animation: waveSlide  9s ease-in-out infinite 1.3s; }
.wave3 { animation: waveSlide 11s ease-in-out infinite 2.6s; }

@keyframes waveSlide {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-26px); }
}

/* ── Boot 1: segelt gemächlich auf der linken Seite ── */
.boat-group-1 {
  animation: sailPath1 90s ease-in-out infinite;
  cursor: pointer;
}
/* ── Boot 2: segelt gemächlich auf der rechten Seite
   (negativer Delay → startet sofort sichtbar in der Mitte seines Wegs) ── */
.boat-group-2 {
  animation: sailPath2 110s ease-in-out infinite -55s;
  cursor: pointer;
}

/* Boote bleiben in den äußeren Dritteln – Labels überdecken nie den Schriftzug */
@keyframes sailPath1 {
  0%   { transform: translate(240px, 282px); }
  50%  { transform: translate(295px, 282px); }
  100% { transform: translate(240px, 282px); }
}
@keyframes sailPath2 {
  0%   { transform: translate(960px, 282px); }
  50%  { transform: translate(905px, 282px); }
  100% { transform: translate(960px, 282px); }
}

/* ── Fisch ── schwimmt langsam hin und zurück durch das Bild ── */
.fish-group {
  animation: fishSwim 150s linear infinite;
  cursor: default;
}

@keyframes fishSwim {
  0%      { transform: translate(-80px, 308px) scaleX(1);  }
  49.9%   { transform: translate(1280px, 308px) scaleX(1);  }
  50%     { transform: translate(1280px, 308px) scaleX(-1); }
  99.9%   { transform: translate(-80px,  308px) scaleX(-1); }
  100%    { transform: translate(-80px,  308px) scaleX(1);  }
}

/* Boot-Schaukeln (innere Gruppe, überlagert das Segeln) */
.boat-bob-1 {
  animation: bobA 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center 75%;
}
.boat-bob-2 {
  animation: bobB 4.0s ease-in-out infinite 0.8s;
  transform-box: fill-box;
  transform-origin: center 75%;
}

@keyframes bobA {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(1.6deg); }
}
@keyframes bobB {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%       { transform: translateY(-7px) rotate(-1.4deg); }
}

/* Angelschwimmer bobbt unabhängig auf dem Wasser */
.fishing-bobber {
  animation: bobberFloat 1.9s ease-in-out infinite 0.4s;
  transform-box: fill-box;
  transform-origin: center center;
}
@keyframes bobberFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-2.5px); }
}

/* Boot-Label – immer sichtbar, beim Hover heller */
.boat-label rect { opacity: 0.82; transition: opacity 0.2s; }
.boat-label text { opacity: 0.90; transition: opacity 0.2s; }
.boat-group:hover .boat-label rect { opacity: 1; }
.boat-group:hover .boat-label text { opacity: 1; }

/* Hero-Text (HTML über SVG) */
.hero-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 840px;
  z-index: 10;
  pointer-events: none;
}

.hero-text h1 {
  font-size: clamp(42px, 9.5vw, 106px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-shadow: 0 3px 40px rgba(0,0,0,0.55);
  margin-bottom: 22px;
}

.hero-text p {
  font-size: clamp(14px, 2.2vw, 19px);
  font-weight: 600;
  line-height: 1.68;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 16px rgba(0,0,0,0.55);
}

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(201,162,39, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
  pointer-events: none;
}
.scroll-hint svg {
  width: 20px; height: 12px;
  fill: none; stroke: rgba(201,162,39, 0.7);
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ══════════════════════════════════════════
   CONTENT SECTIONS
   ══════════════════════════════════════════ */
.content-section { padding: 108px 40px; }

.section-light { background: var(--offwhite); }
.section-dark  { background: var(--midnight-2); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.content-section h2 {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.section-light h2 { color: var(--midnight); }
.section-dark  h2 { color: var(--white); }

.section-lead {
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 600;
  line-height: 1.68;
  max-width: 800px;
  margin-bottom: 20px;
}
.section-light .section-lead { color: var(--text-dark); }
.section-dark  .section-lead { color: rgba(255,255,255,0.84); }

.section-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.88;
  max-width: 700px;
  color: var(--text-mid);
}


/* ══════════════════════════════════════════
   SCREENSHOTS — größer, mit Gold-Glow
   ══════════════════════════════════════════ */
.screenshots {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin: 56px 0 64px;
  flex-wrap: wrap;
}

.screenshot-frame {
  flex: 0 0 auto;
  width: 240px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.4),
    0 20px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(201,162,39, 0.12);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.4), box-shadow 0.35s;
}
.screenshot-frame:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.5),
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 2px rgba(201,162,39, 0.35);
}

.screenshot-center {
  width: 275px;
  transform: translateY(-24px);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.5),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 2px rgba(201,162,39, 0.25);
}
.screenshot-center:hover {
  transform: translateY(-34px) scale(1.03);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 40px 90px rgba(0,0,0,0.6),
    0 0 0 2px rgba(201,162,39, 0.5);
}

.screenshot-frame img { width: 100%; display: block; }


/* ══════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39, 0.15);
  border-radius: 16px;
  padding: 30px 28px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  background: rgba(201,162,39, 0.07);
  border-color: rgba(201,162,39, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* Gold-Akzentlinie oben */
.feature-card::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin-bottom: 18px;
  opacity: 0.7;
  transition: width 0.3s, opacity 0.3s;
}
.feature-card:hover::before {
  width: 48px;
  opacity: 1;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.78;
}

.feature-card-highlight {
  background: rgba(201,162,39, 0.08);
  border-color: rgba(201,162,39, 0.30);
}
.feature-card-highlight:hover {
  background: rgba(201,162,39, 0.14);
  box-shadow: 0 12px 36px rgba(201,162,39, 0.12);
}

.store-badges {
  display: flex; gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-block;
  background: rgba(201,162,39, 0.12);
  border: 1px solid rgba(201,162,39, 0.35);
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.store-badge:hover { background: rgba(201,162,39, 0.22); }


/* ══════════════════════════════════════════
   APP LEGAL
   ══════════════════════════════════════════ */
.app-legal {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(201,162,39, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
.app-legal a {
  font-size: 13px; font-weight: 600;
  color: rgba(201,162,39, 0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.app-legal a:hover { color: var(--gold-light); }
.app-legal .sep { color: rgba(201,162,39, 0.2); }


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: #020810;
  padding: 30px 40px;
  text-align: center;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(201,162,39, 0.35);
  border-top: 1px solid rgba(201,162,39, 0.1);
}
footer a {
  color: rgba(201,162,39, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--gold-light); }


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .screenshot-frame  { width: 210px; }
  .screenshot-center { width: 240px; }
}

@media (max-width: 768px) {
  nav { padding: 0 18px; }

  /* Boote auf Mobile ausblenden – Menü übernimmt Navigation */
  .boat-group  { display: none; }
  .scroll-hint { display: none; }
  .br-desktop  { display: none; }

  .content-section { padding: 72px 22px; }

  .hero-text { top: 32%; width: 92%; }

  .screenshots { gap: 14px; }
  .screenshot-frame  { width: 150px; border-radius: 20px; }
  .screenshot-center { width: 170px; transform: translateY(-14px); }

  .features { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .screenshot-frame  { width: 110px; border-radius: 16px; }
  .screenshot-center { width: 126px; transform: translateY(-10px); }
}
