/* ============================================================
   FREEDIVING UND MEHR — main.css
   ============================================================ */

/* === CSS VARIABLES === */
:root {
  --color-bg-dark:    #0A1628;
  --color-primary:    #1E5F8C;
  --color-accent:     #00C9B1;
  --color-bg-light:   #F0F4F8;
  --color-bg-white:   #FFFFFF;
  --color-text-dark:  #1A1A2E;
  --color-text-light: #FFFFFF;
  --color-text-muted: #7A8FA6;
  --color-border:     #D1DCE8;

  --container-max:     1200px;
  --section-padding:   96px 0;
  --gap-cards:         24px;
  --radius-card:       12px;
  --radius-button:     50px;
  --radius-small:      6px;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --shadow-card:       0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --transition:        all 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--color-text-dark); background: var(--color-bg-white); overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
small { font-size: 0.875rem; line-height: 1.5; }

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-padding); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--color-text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-button);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #00e0c6;
  border-color: #00e0c6;
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 201, 177, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-text-dark);
  transform: scale(1.03);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}
.logo-icon {
  width: 38px;
  height: 38px;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}
.nav-logo:hover .logo-icon { transform: rotate(15deg) scale(1.1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.28s ease;
}
.nav-links a:hover          { color: var(--color-accent); }
.nav-links a:hover::after   { width: 100%; }
.nav-links a.nav-cta        { padding: 8px 20px; font-size: 0.85rem; }
.nav-links a.nav-cta::after { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--color-bg-dark);
  z-index: 999;
  padding: 80px 32px 32px;
  gap: 8px;
  transition: right 0.32s ease;
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}
.nav-drawer a:hover { color: var(--color-accent); padding-left: 8px; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
}
.nav-overlay.show { display: block; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(30, 95, 140, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse at 75% 20%, rgba(0, 201, 177, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0A1628 0%, #0d2242 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  padding-top: 80px;
}

/* Hero photos row */
.hero-photos {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  width: 100%;
}
.hero-photos img {
  flex: 1;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 201, 177, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(0, 201, 177, 0.28);
  padding: 6px 16px;
  border-radius: var(--radius-small);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 { color: var(--color-text-light); margin-bottom: 24px; }
.hero h1 span { color: var(--color-accent); }

.hero-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 900px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 201, 177, 0.18);
  pointer-events: none;
}
.particle-1 { width: 8px;  height: 8px;  left: 8%;  top: 22%; --duration: 7s;   --delay: 0s;   }
.particle-2 { width: 12px; height: 12px; left: 22%; top: 62%; --duration: 9s;   --delay: 1.2s; }
.particle-3 { width: 6px;  height: 6px;  left: 68%; top: 28%; --duration: 6s;   --delay: 2.4s; }
.particle-4 { width: 10px; height: 10px; left: 84%; top: 72%; --duration: 8.5s; --delay: 0.6s; }
.particle-5 { width: 14px; height: 14px; left: 48%; top: 14%; --duration: 11s;  --delay: 3.2s; }
.particle-6 { width: 5px;  height: 5px;  left: 55%; top: 80%; --duration: 6.5s; --delay: 1.8s; }

/* Hero wave transition */
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  height: 90px;
  overflow: hidden;
  line-height: 0;
}
.wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 100%;
}

/* === BENEFITS === */
.benefits { background: var(--color-bg-light); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}

.benefit-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
  width: 56px; height: 56px;
  background: rgba(0, 201, 177, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.benefit-icon svg { width: 26px; height: 26px; color: var(--color-accent); }
.benefit-card h3  { margin-bottom: 10px; }
.benefit-card p   { color: var(--color-text-muted); }

/* === DOWNLOADS === */
.downloads { background: var(--color-bg-white); }

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-cards);
  max-width: 880px;
  margin: 0 auto;
}

.download-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  padding: 36px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-accent);
}

.download-icon {
  width: 52px; height: 52px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.download-icon svg { width: 24px; height: 24px; color: white; }

.download-card h3 { margin-bottom: 4px; }
.download-card > p { color: var(--color-text-muted); font-size: 0.93rem; flex: 1; }

.download-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.download-size {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
}
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* === ABOUT === */
.about { background: var(--color-bg-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content h2     { color: var(--color-text-light); margin-bottom: 20px; }
.about-content p      { color: rgba(255, 255, 255, 0.68); font-size: 1.03rem; line-height: 1.8; }
.about-content p + p  { margin-top: 14px; }
.about-content .btn   { margin-top: 32px; }

.about-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.about-image img {
  width: 100%; height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-image:hover img { transform: scale(1.05); }

/* === TESTIMONIALS === */
.testimonials { background: var(--color-bg-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-cards);
}

.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars { display: flex; gap: 3px; }
.star { color: #FFB800; font-size: 1rem; }

.testimonial-quote {
  color: var(--color-accent);
  font-size: 3.5rem;
  font-family: var(--font-heading);
  line-height: 0.6;
  display: block;
  opacity: 0.6;
}

.testimonial-text {
  color: var(--color-text-dark);
  font-size: 0.94rem;
  line-height: 1.72;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
}

/* === YOUTUBE CTA === */
.youtube-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d1e36 100%);
  text-align: center;
}

.youtube-cta-inner { max-width: 640px; margin: 0 auto; }
.youtube-cta h2 { color: var(--color-text-light); margin-bottom: 14px; }
.youtube-cta p  { color: rgba(255, 255, 255, 0.68); margin-bottom: 40px; font-size: 1.05rem; }

.youtube-icon {
  width: 68px; height: 68px;
  background: #FF0000;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.3);
}
.youtube-icon:hover  { transform: scale(1.1); box-shadow: 0 12px 32px rgba(255, 0, 0, 0.45); }
.youtube-icon svg    { width: 34px; height: 34px; color: white; }

/* === CONTACT === */
.contact { background: var(--color-bg-white); text-align: center; }
.contact h2 { margin-bottom: 14px; }
.contact p  { color: var(--color-text-muted); margin-bottom: 36px; font-size: 1.05rem; }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-button);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}
.contact-email:hover {
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-color: var(--color-accent);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 201, 177, 0.25);
}
.contact-email svg { width: 20px; height: 20px; flex-shrink: 0; }

/* === FOOTER === */
.footer { background: var(--color-bg-dark); padding: 64px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-logo .logo-icon { width: 32px; height: 32px; }
.footer-tagline { color: rgba(255, 255, 255, 0.4); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--color-accent); padding-left: 4px; }
.footer-col .footer-email { color: var(--color-accent); opacity: 0.85; }
.footer-col .footer-email:hover { opacity: 1; padding-left: 0; }

.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 24px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copyright { color: rgba(255, 255, 255, 0.25); font-size: 0.8rem; }
.footer-legal { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-legal a   { color: rgba(255, 255, 255, 0.25); font-size: 0.8rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--color-accent); }
.back-to-top { color: rgba(255, 255, 255, 0.35) !important; }

/* === IMPRESSUM PAGE === */
.page-hero {
  background: var(--color-bg-dark);
  padding: 150px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--color-text-light); margin-bottom: 10px; }
.page-hero p  { color: rgba(255, 255, 255, 0.45); }

.legal-content { padding: var(--section-padding); }
.legal-inner   { max-width: 800px; margin: 0 auto; }

.legal-section { margin-bottom: 52px; }
.legal-section h2 {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.legal-section p,
.legal-section address {
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-section a { color: var(--color-primary); text-decoration: underline; }
.legal-section a:hover { color: var(--color-accent); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .benefits-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid   { gap: 40px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; }

  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer   { display: flex; }

  .benefits-grid,
  .testimonials-grid,
  .downloads-grid,
  .about-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-photos { flex-direction: column; }
  .hero-photos img { height: 220px; flex: none; width: 100%; }

  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --section-padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .btn { padding: 12px 24px; }
  .download-card { padding: 28px; }
  .benefit-card  { padding: 30px 24px; }
}
