/* ===== Fussballgolf Zugerland – modern dark theme ===== */
:root {
  --bg: #020c16;
  --bg-2: #041526;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --white: #f4f8fb;
  --grey: #93a6b8;
  --blue: #38b6ff;
  --cyan: #4de3c1;
  --green: #62d84e;
  --grad: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--green));
  --max-width: 1100px;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .nav-brand, .btn, .ticker {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.4rem;
}

a {
  color: var(--blue);
  text-decoration: none;
}

::selection {
  background: var(--blue);
  color: var(--bg);
}

/* ===== Animierter Hintergrund ===== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #07223a 0%, transparent 60%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 0%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 16s ease-in-out infinite alternate;
}

.orb-blue {
  width: 480px;
  height: 480px;
  background: #0d5ba8;
  top: -140px;
  left: -120px;
}

.orb-green {
  width: 420px;
  height: 420px;
  background: #12703a;
  bottom: -160px;
  right: -120px;
  animation-delay: -6s;
}

.orb-cyan {
  width: 320px;
  height: 320px;
  background: #0b6d63;
  top: 40%;
  left: 60%;
  opacity: 0.22;
  animation-delay: -11s;
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(2, 12, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1.15;
}

.nav-brand span {
  display: flex;
  flex-direction: column;
}

.nav-brand em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.8em;
}

.nav-logo {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--grey);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-glow {
  background: var(--grad);
  color: #04121f;
  box-shadow: 0 0 24px rgba(56, 182, 255, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 0 40px rgba(77, 227, 193, 0.55);
  color: #04121f;
}

.btn-ghost {
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--blue);
}

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.btn-large {
  font-size: 1.15rem;
  padding: 1rem 2.4rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 7rem 0 4rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(8px);
  color: var(--grey);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}

.hero-logo {
  display: block;
  width: min(230px, 55vw);
  height: auto;
  margin: 0 auto 1.6rem;
  filter: drop-shadow(0 0 45px rgba(56, 182, 255, 0.4));
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 248, 251, 0.55);
}

.hero-tagline {
  color: var(--grey);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin: 1.4rem auto 2.4rem;
  max-width: 36rem;
}

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

.hero-social {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--grey);
  backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-pill:hover {
  color: var(--white);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(77, 227, 193, 0.3);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(244, 248, 251, 0.3);
  border-radius: 999px;
}

.scroll-hint span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scrollhint 1.8s ease-in-out infinite;
}

@keyframes scrollhint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== Laufband ===== */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.9rem 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  animation: ticker 28s linear infinite;
  will-change: transform;
}

.ticker span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 248, 251, 0.4);
}

.ticker i {
  font-style: normal;
  opacity: 0.5;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.section h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
  letter-spacing: 0.01em;
}

.section-lead {
  color: var(--grey);
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* ===== Glass-Cards ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  color: var(--grey);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 182, 255, 0.4);
}

.glass-card strong {
  color: var(--white);
}

/* ===== Feature-Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(56, 182, 255, 0.16), rgba(98, 216, 78, 0.16));
  border: 1px solid var(--card-border);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--grey);
}

/* ===== Partner ===== */
.partner {
  text-align: center;
}

.partner .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.partner-frame {
  display: inline-block;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 182, 255, 0.4);
}

.partner-img {
  display: block;
  max-width: min(440px, 82vw);
  height: auto;
  border-radius: calc(var(--radius) - 8px);
}

/* ===== Kontakt / CTA ===== */
.cta-panel {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(56, 182, 255, 0.12) 0%, transparent 70%),
    var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.cta-panel .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-panel .btn {
  margin-top: 0.6rem;
}

.contact-social {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  color: var(--grey);
}

.contact-social a {
  font-weight: 500;
}

.contact-social a:hover {
  color: var(--cyan);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 2.2rem;
  background: rgba(255, 255, 255, 0.015);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-logo {
  width: 84px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(56, 182, 255, 0.3));
}

.footer-social {
  display: flex;
  gap: 0.9rem;
}

.footer-mail {
  color: var(--grey);
}

.footer-mail:hover {
  color: var(--white);
}

.footer-copy {
  color: rgba(147, 166, 184, 0.6);
  font-size: 0.85rem;
}

/* ===== Scroll-Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .hero-logo, .ticker-track, .scroll-hint span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    background: rgba(2, 12, 22, 0.96);
    backdrop-filter: blur(14px);
    padding: 1.4rem;
    border-bottom: 1px solid var(--card-border);
  }

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

  .section {
    padding: 4.5rem 0;
  }

  .cta-panel {
    padding: 3rem 1.4rem;
  }
}
