/* ═══════════════════════════════════════════
   RESET & VARIABLES
════════════════════════════════════════════ */
:root {
  --blau:       #330d69;
  --tuer:       #30b4cd;
  --white:      #ffffff;
  --bg:         #f0f4fb;
  --surface:    #ffffff;
  --text:       #1a1030;
  --text-muted: #6b7280;
  --border:     #e4e8f0;
  --shadow:     0 4px 24px rgba(51, 13, 105, 0.09);
  --shadow-lg:  0 8px 40px rgba(51, 13, 105, 0.16);
  --radius:     12px;
  --nav-h:      68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* Wave backdrop – nur im Hero sichtbar */
.wave-backdrop { display: none; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════ */
h1 {
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
  text-align: center;
  color: var(--blau);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--tuer);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

h3 {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

p {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

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

/* ═══════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--blau); border-bottom-color: var(--tuer); }

/* Burger button */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blau);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-nav.open { display: flex; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li + li { margin-top: 2rem; }
.mobile-nav ul a {
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blau);
  transition: color 0.2s;
}
.mobile-nav ul a:hover { color: var(--tuer); }

/* ═══════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 100px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blau);
  color: var(--white);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  background: var(--bg);
}

/* Glass card – jetzt weiße Surface */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════
   HERO  (dunkel, mit Wellen-Hintergrund)
════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  position: relative;
  background:
    linear-gradient(135deg, rgba(51,13,105,0.93) 0%, rgba(26,5,60,0.97) 100%),
    url('wellen.jpg') center / cover no-repeat;
}

.hero-inner { max-width: 860px; }

.hero-badge {
  display: inline-block;
  background: rgba(48,180,205,0.25);
  border: 1px solid rgba(48,180,205,0.55);
  color: var(--tuer);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
}

.hero h1 { margin-bottom: 1.5rem; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════
   ÜBER UNS
════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p + p { margin-top: 1.2rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.stat-number {
  font-weight: 900;
  font-size: 2rem;
  color: var(--blau);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CARDS (Aktuelles-Vorschau)
════════════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(120deg, rgba(48,180,205,0.15), rgba(51,13,105,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-placeholder svg { opacity: 0.25; }

.card-body {
  padding: 1.6rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--tuer);
  font-weight: 500;
}

.card h3 { color: var(--blau); margin-bottom: 0; }

.card p { flex: 1; }

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blau);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  background: rgba(51,13,105,0.08);
  transition: background 0.2s;
  align-self: flex-start;
}
.card-link:hover { background: rgba(51,13,105,0.15); }

/* ═══════════════════════════════════════════
   TERMINE (Vorschau-Liste)
════════════════════════════════════════════ */
.termine-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 760px;
  margin: 0 auto;
}

.termin {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.termin:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.termin-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: var(--blau);
  border-radius: 8px;
  padding: 0.5rem 0.4rem;
  flex-shrink: 0;
}

.termin-day {
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--white);
}

.termin-month {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--tuer);
  text-transform: uppercase;
}

.termin-info { flex: 1; }

.termin-time {
  font-size: 0.75rem;
  color: var(--tuer);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.termin h3 { color: var(--blau); margin-bottom: 0.4rem; }
.termin p { font-size: 0.88rem; }

/* ═══════════════════════════════════════════
   MITMACHEN / CTA
════════════════════════════════════════════ */
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner > p { margin-bottom: 3rem; }

.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.cta-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
}

.cta-step-num {
  font-weight: 900;
  font-size: 2rem;
  color: var(--tuer);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cta-step-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   KONTAKT
════════════════════════════════════════════ */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 820px;
  margin: 0 auto;
}

.kontakt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kontakt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.kontakt-icon {
  width: 52px;
  height: 52px;
  background: var(--blau);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.kontakt-card h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--tuer);
  margin-bottom: 0.6rem;
}

.kontakt-card p {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.6;
}

.kontakt-card a { color: var(--blau); transition: color 0.2s; }
.kontakt-card a:hover { color: var(--tuer); }

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  background: var(--white);
}

.footer-inner { max-width: 600px; margin: 0 auto; }

.footer-logo {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  color: var(--blau);
  margin-bottom: 0.5rem;
}

.footer p {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blau); }

.footer-partner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: center;
  margin-bottom: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}
.footer-partner a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-partner a:hover { color: var(--blau); }

.footer-copy {
  font-size: 0.75rem !important;
  color: #bbb !important;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 960px) {
  .kontakt-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-steps { grid-template-columns: 1fr; }

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

  .termin { flex-direction: column; gap: 1rem; }
  .termin-date { flex-direction: row; gap: 0.5rem; align-items: center; width: auto; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 1.2rem; }
  .container { padding: 0 1.2rem; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
