/*
Theme Name: Hamburg Atlanteans
Theme URI: https://hamburg-atlanteans.de
Author: Hamburg Atlanteans
Description: Custom Theme für Hamburg Atlanteans e.V.
Version: 1.5
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Teko:wght@600;800&family=Oxanium:wght@400;600;700&display=swap');

/* ----------------- Variablen ----------------- */
:root {
  --c-bg: #050E16;
  --c-surface: #111a23;
  --c-text: #f7f5ef;
  --c-muted: #a9b3c1;
  --c-gold: #cfb063;
  --c-accent: #2a4d5b;

  --container-width: 1200px;

  --pad-desktop: 64px;
  --pad-mobile: 40px;
}

/* ----------------- Base ----------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--c-bg) !important;
  color: var(--c-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif !important;
  line-height: 1.5;
}

#page,
.site,
#content,
.site-main,
.site-footer,
footer {
  background: var(--c-bg) !important;
}

.site-main {
  background: transparent;
}

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

/* Überschriften / Fonts */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Teko', 'Inter', system-ui, sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5em;
}

.sub,
.kicker {
  font-family: 'Oxanium', 'Inter', system-ui, sans-serif !important;
}

/* Hilfs-Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------- Header / Nav ----------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9999;
  background: linear-gradient(90deg, var(--c-gold), #6ab4e0);
  box-shadow: 0 0 8px rgba(106, 180, 224, 0.65);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(12, 18, 24, 0.65),
    rgba(12, 18, 24, 0.45)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    1200px 80px at 50% -20px,
    rgba(207, 176, 99, 0.18),
    transparent 60%
  );
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.header.scrolled .nav {
  padding: 6px 0;
}

.nav .spacer {
  flex: 1;
}

/* Desktop-Menü */
.menu {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu a {
  position: relative;
  padding: 10px 8px;
  color: #eaeff6;
  opacity: 0.86;
  font-family: 'Teko', 'Inter', system-ui, sans-serif;
  font-size: 16px;
}

.menu a:hover {
  opacity: 1;
  color: #ffffff;
}

.menu a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-gold), #6ab4e0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover::after,
.menu a.link-active::after {
  transform: scaleX(1);
}

/* Lang Switch */
.lang {
  display: flex;
  gap: 14px;
  align-items: center;
}

.lang .lang-link {
  position: relative;
  padding: 10px 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: #a9d2ff;
  opacity: 0.9;
  font-family: 'Teko', 'Inter', system-ui, sans-serif;
}

.lang .lang-link:hover {
  color: #ffffff;
  opacity: 1;
}

.lang .lang-link::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6ab4e0, #4c90bf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.lang .lang-link:hover::after,
.lang .lang-link.active::after {
  transform: scaleX(1);
}

/* Burger Button – glasig & kantig */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 1001;
  background: rgba(4, 12, 20, 0.8);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  padding: 8px 11px;
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.nav-toggle-inner,
.nav-toggle-inner::before,
.nav-toggle-inner::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e7f1ff;
  position: relative;
}

.nav-toggle-inner::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-inner::after {
  position: absolute;
  top: 6px;
}

/* Mobile Nav */
.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.mobile-nav .panel {
  width: min(86vw, 360px);
  height: 100%;
  overflow: auto;
  background: #0f141a;
  color: #ffffff;
  padding: 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav .mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav .mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .mobile-menu a {
  display: block;
  padding: 14px 2px;
  text-decoration: none;
  color: inherit;
  font-size: 1.125rem;
  font-family: 'Teko', 'Inter', system-ui, sans-serif;
}

.no-scroll {
  overflow: hidden;
}

/* Burger sichtbar auf Mobile */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    display: none !important;
  }
}

/* ----------------- HERO ------------------------------------------------- */

.hero-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  transform: translateY(-18px);
}

/* Hero-Typo */
.hero-inner .kicker {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  letter-spacing: 0.22em;
  margin-bottom: 0.6rem;
}

.hero-inner h1 {
  margin-bottom: 0.35em;
}

.hero-inner .sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 22, 0.15) 0%,
    rgba(5, 14, 22, 0.85) 80%
  );
}

/* Hero-H1: etwas größer + Glow (halbiert) */
.hero h1 {
  font-family: 'Teko', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 10.5vw, 104px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  color: #ffffff;
  text-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(106, 180, 224, 0.32);
}

/* ----------------- Sections ----------------- */
.section {
  padding: var(--pad-desktop) 0;
}

@media (max-width: 520px) {
  .section {
    padding: var(--pad-mobile) 0;
  }
}

.row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------- Cards / Stats / CTA ----------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.stat,
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  padding: 22px;
}

.card::before,
.stat::before,
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0) 42%
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.card h3,
.cta h3 {
  color: #ffffff;
  font-size: 28px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  text-align: center;
  padding: 22px;
}

.stat .num {
  font-family: 'Teko', 'Inter', system-ui, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #ffe7a8;
  position: relative;
}

.stat .num::after {
  content: '+';
  margin-left: 2px;
  font-size: 0.8em;
  opacity: 0.9;
}

/* ----------------- Links ----------------- */
.link-nav {
  position: relative;
  padding: 10px 8px;
  color: #eaeff6;
  opacity: 0.86;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.link-nav:hover {
  opacity: 1;
  color: #ffffff;
}

.link-nav::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-gold), #6ab4e0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.link-nav:hover::after {
  transform: scaleX(1);
}

.gold-email {
  color: var(--c-gold) !important;
}

/* ----------------- Instagram ----------------- */
.insta-wrapper {
  margin-top: 18px;
}

#insta-slot,
#insta-slot .sbi-feed,
#insta-slot .sbi_feed {
  background: transparent !important;
  border: none !important;
}

#insta-slot img {
  border-radius: 0 !important;
}

/* ----------------- Footer ----------------- */
.site-footer {
  padding: 40px 0;
  color: var(--c-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

/* ----------------- Reveal Animations ----------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ----------------- Responsive ----------------- */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ----------------- Elementor Cleanup (Türkis weg) -------- */
.elementor,
.elementor-section,
.elementor-container,
.e-con,
.elementor-widget-wrap,
.elementor-column,
.elementor-widget,
.elementor-top-section {
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
