/* =============================================================
   HSV Fanclub – Public Website Styles
   ============================================================= */

:root {
  --primary:       #005BA1;
  --primary-dark:  #00478A;
  --primary-light: #e8f1fa;
  --red:           #E8001C;
  --dark:          #111827;
  --topbar-bg:     #0d1321;
  --text:          #111827;
  --muted:         #6b7280;
  --border:        #e5e7eb;
  --bg:            #ffffff;
  --nav-height:    68px;
  --topbar-height: 36px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* =============================================================
   TOP BAR
   ============================================================= */
.topbar {
  background: var(--topbar-bg);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.04);
  position: relative;
  z-index: 100;
}
.topbar-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Social Icons */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 1px;
}
.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.32);
  font-size: .82rem;
  transition: color .2s ease, background .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.topbar-social a:hover {
  transform: translateY(-2px) scale(1.12);
}

/* Brand-Farben bei Hover */
.topbar-social a[aria-label="Facebook"]:hover  { color: #1877F2; background: rgba(24,119,242,.15); }
.topbar-social a[aria-label="Instagram"]:hover { color: #E1306C; background: rgba(225,48,108,.15); }
.topbar-social a[aria-label="YouTube"]:hover   { color: #FF0000; background: rgba(255,0,0,.14); }
.topbar-social a[aria-label="TikTok"]:hover    { color: #25F4EE; background: rgba(37,244,238,.1); }

/* Right side */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Logged-out login button */
.tb-login {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  transition: all .2s;
}
.tb-login:hover {
  color: #fff;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
}
.tb-login i { font-size: .7rem; }

/* Logged-in user pill (now a button) */
.tb-user-wrap {
  position: relative;
}
.tb-user {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-family: inherit;
  font-weight: 500;
  padding: 3px 8px 3px 3px;
  border-radius: 20px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.tb-user:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.95); }
.tb-user[aria-expanded="true"] { background: rgba(255,255,255,.1); color: #fff; }

.tb-avatar {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tb-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Benachrichtigungs-Punkt auf dem Avatar (neue Admin-Benachrichtigungen) */
.tb-notif-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  background: #ef4444;
  border: 2px solid var(--topbar-bg);
  border-radius: 50%;
  animation: tbNotifPulse 2s ease-in-out infinite;
}
@keyframes tbNotifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); }
  50%      { box-shadow: 0 0 0 4px rgba(239,68,68,0); }
}
@media (prefers-reduced-motion: reduce) {
  .tb-notif-dot { animation: none; }
}

/* Zähler-Badge neben "Admincenter" im Dropdown */
.tb-dd-badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.tb-chevron-icon {
  font-size: .55rem;
  opacity: .45;
  margin-left: 2px;
  transition: transform .2s ease;
}
.tb-user[aria-expanded="true"] .tb-chevron-icon {
  transform: rotate(180deg);
  opacity: .7;
}

/* ── Dropdown Card ────────────────────────────────────────── */
.tb-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 208px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 8px 32px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.07);
  padding: 6px 0;
  z-index: 200;
  /* hidden state */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.tb-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown header (user info) */
.tb-dd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px;
}
.tb-dd-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tb-dd-name {
  font-size: .82rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.tb-dd-role {
  font-size: .7rem;
  color: #9ca3af;
  margin-top: 1px;
  text-transform: capitalize;
}

.tb-dd-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

/* Dropdown items */
.tb-dd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: #374151;
  transition: background .15s, color .15s;
  min-height: 44px;
}
.tb-dd-item:hover {
  background: #f5f6f8;
  color: #111827;
}
.tb-dd-item i {
  width: 15px;
  text-align: center;
  font-size: .8rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color .15s;
}
.tb-dd-item:hover i { color: var(--primary); }

/* Danger / Logout item */
.tb-dd-danger { color: #dc2626; }
.tb-dd-danger:hover { background: #fff5f5; color: #b91c1c; }
.tb-dd-danger i { color: #fca5a5; }
.tb-dd-danger:hover i { color: #dc2626; }

/* =============================================================
   NAVBAR
   ============================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  height: var(--nav-height);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,.05), 0 4px 24px rgba(0,91,161,.04);
}
.navbar-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 36px;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon i { color: #fff; font-size: 1.1rem; }
.nav-logo-name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.4px;
  line-height: 1.2;
}
.nav-logo-name span { color: var(--primary); }
.nav-logo-sub {
  font-size: .6rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
  flex: 1;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  border-radius: 2px 2px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a i { font-size: .6rem; opacity: .5; margin-left: 1px; }

/* ── Nav Dropdown (Rautenhüter) ─────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  position: relative;
  transition: color .2s;
  height: 100%;
}
.nav-dropdown-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2.5px;
  border-radius: 2px 2px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn,
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown--current .nav-dropdown-btn { color: var(--primary); }
.nav-dropdown-btn:hover::after,
.nav-dropdown.open .nav-dropdown-btn::after,
.nav-dropdown:hover .nav-dropdown-btn::after,
.nav-dropdown--current .nav-dropdown-btn::after { transform: scaleX(1); }
.nav-dropdown-btn .nd-chevron {
  font-size: .58rem;
  opacity: .5;
  transition: transform .22s;
  margin-left: 1px;
}
.nav-dropdown.open .nd-chevron,
.nav-dropdown:hover .nd-chevron { transform: rotate(180deg); opacity: 1; }

/* Raute icon in button */
.nav-dropdown-btn .nd-raute {
  font-size: .72rem;
  color: var(--primary);
  opacity: .85;
}

/* Dropdown panel */
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  /* padding-top bridgt den visuellen Abstand ohne Hover-Lücke zu erzeugen */
  padding: 0 0 6px;
  padding-top: 8px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .2s cubic-bezier(.22,1,.36,1);
}
.nav-dropdown.open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Panel header */
.nd-panel-header {
  padding: 8px 10px 6px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nd-panel-header i { color: var(--primary); font-size: .6rem; }

/* Panel links */
.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: background .15s, color .15s;
  position: relative;
}
.nav-dropdown-panel a::after { display: none !important; }
.nav-dropdown-panel a:hover {
  background: #f0f6ff;
  color: var(--primary);
}
.nav-dropdown-panel a .nd-link-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  color: #64748b;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.nav-dropdown-panel a:hover .nd-link-icon {
  background: #dbeafe;
  color: var(--primary);
}
.nav-dropdown-panel a.nd-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-top: 4px;
}
.nav-dropdown-panel a.nd-cta::after { display: none !important; }
.nav-dropdown-panel a.nd-cta .nd-link-icon {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.nav-dropdown-panel a.nd-cta:hover {
  background: #0070c9;
  color: #fff;
}

/* Mobile: dropdown inline im Burger-Menü */
@media (max-width: 768px) {
  .nav-dropdown { display: contents; }
  .nav-dropdown-btn {
    display: flex; align-items: center; gap: 5px;
    width: 100%; padding: 12px 24px;
    font-size: .95rem; font-weight: 600; height: auto;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
  }
  .nav-dropdown-btn::after { display: none; }
  .nav-dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f8fafc;
    padding: 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-panel { display: block; }
  .nav-dropdown-panel a {
    padding: 11px 36px;
    border-radius: 0;
    font-size: .9rem;
    border-bottom: 1px solid #f0f2f5;
  }
  .nav-dropdown-panel a:last-child { border-bottom: none; }
  .nd-panel-header { padding: 8px 24px; border-radius: 0; }
  .nav-dropdown-panel a.nd-cta {
    margin: 0;
    border-radius: 0;
  }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
}
.nav-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,91,161,.22);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,91,161,.32);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .navbar-inner { gap: 0; }
  .nav-logo { margin-right: 20px; }
  .nav-links a { padding: 0 9px; font-size: .82rem; }
  .nav-links a::after { left: 9px; right: 9px; }
}
@media (max-width: 768px) {
  .topbar-social { display: none; }
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--topbar-height) + var(--nav-height));
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 8px 0;
    z-index: 98;
    height: auto;
  }
  .nav-links.open a {
    padding: 12px 24px;
    border-bottom: none;
    font-size: .95rem;
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open a.active { background: var(--primary-light); }
}

/* =============================================================
   HERO SECTION
   ============================================================= */

@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(28px,-22px); }
  66%     { transform: translate(-14px,18px); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(-22px,18px); }
  66%     { transform: translate(18px,-14px); }
}
@keyframes shieldFloat {
  0%,100% { transform: translateY(0) rotate(-.5deg); }
  50%     { transform: translateY(-14px) rotate(.5deg); }
}
@keyframes ringPulse {
  0%,100% { opacity: .3; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: .1; transform: translate(-50%,-50%) scale(1.07); }
}
@keyframes dotBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-shield, .shield-ring, .hdot { animation: none !important; }
}

.hero {
  position: relative;
  min-height: calc(100dvh - var(--topbar-height) - var(--nav-height));
  background: linear-gradient(140deg, #080e1c 0%, #0c1a35 40%, #0e2650 70%, #0a3266 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Background layers */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 {
  width: 700px; height: 700px; top: -240px; right: -170px;
  background: radial-gradient(circle, rgba(0,91,161,.2) 0%, transparent 65%);
  animation: orbFloat1 14s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px; bottom: -120px; left: -110px;
  background: radial-gradient(circle, rgba(0,55,110,.15) 0%, transparent 65%);
  animation: orbFloat2 11s ease-in-out infinite;
}

/* Inner layout */
.hero-inner {
  position: relative; z-index: 1; flex: 1;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 80px 28px 60px;
  display: flex; align-items: center; gap: 60px;
}

/* Text side */
.hero-content { flex: 1; min-width: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.65); font-size: .72rem; font-weight: 600;
  letter-spacing: .6px; text-transform: uppercase;
  border: 1px solid rgba(0,91,161,.55);
  background: rgba(0,91,161,.14);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 24px;
}
.hero-badge i { font-size: .78rem; color: rgba(255,255,255,.45); }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.08; letter-spacing: -1.5px;
  margin: 0 0 20px;
}
.hero-title-hl {
  background: linear-gradient(130deg, #3b9be8 0%, #62b8ff 55%, #cce8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.52);
  line-height: 1.72; max-width: 480px; margin: 0 0 36px;
}

/* CTAs */
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  font-size: .9rem; font-weight: 700;
  padding: 13px 26px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,91,161,.45);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.hero-cta-primary:hover {
  background: #0069bb; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,91,161,.55);
}
.hero-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.68); font-size: .9rem; font-weight: 600;
  padding: 13px 22px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.18);
  transition: color .2s, border-color .2s, background .2s;
}
.hero-cta-secondary:hover {
  color: #fff; border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.07);
}
.hero-cta-secondary i { font-size: .72rem; }


/* Stats bar */
.hero-stats {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.28);
  border-top: 1px solid rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stats-inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center;
}
.hstat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: 28px 16px; gap: 7px;
}
.hstat-num {
  font-size: 2.25rem; font-weight: 800; color: #fff;
  letter-spacing: -1px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hstat-lbl {
  font-size: .7rem; font-weight: 500;
  color: rgba(255,255,255,.42); text-transform: uppercase;
  letter-spacing: .7px; display: flex; align-items: center; gap: 5px;
}
.hstat-lbl i { font-size: .66rem; color: rgba(59,155,232,.8); }
.hstat-sep { width: 1px; height: 40px; background: rgba(255,255,255,.08); flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-visual { display: none; }
  .hero-inner { padding: 56px 28px 40px; }
}
@media (max-width: 600px) {
  .hero-inner { padding: 44px 20px 32px; }
  .hero-title { letter-spacing: -.5px; }
  .hero-stats-inner { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
  .hstat { padding: 20px 10px; }
  .hstat-sep { display: none; }
  .hstat:nth-child(1), .hstat:nth-child(5) { border-right: 1px solid rgba(255,255,255,.07); }
  .hstat:nth-child(1), .hstat:nth-child(3) { border-bottom: 1px solid rgba(255,255,255,.07); }
}

/* ═══════════════════════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════════════════════ */

.search-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(6, 11, 22, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.search-overlay.open {
  opacity: 1; pointer-events: all;
}

.search-box {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  transform: translateY(-14px);
  transition: transform .22s ease;
}
.search-overlay.open .search-box {
  transform: translateY(0);
}

.search-form {
  display: flex; align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 0 14px;
  gap: 12px;
}
.search-form > i {
  color: rgba(255,255,255,.4);
  font-size: 1rem; flex-shrink: 0;
}
.search-input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 1.1rem; font-family: inherit;
  padding: 18px 0;
  caret-color: #3b9be8;
}
.search-input::placeholder { color: rgba(255,255,255,.3); }

.search-submit {
  background: #3b9be8; border: none; border-radius: 8px;
  color: #fff; cursor: pointer;
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background .18s ease, transform .15s ease;
}
.search-submit:hover { background: #2483d0; transform: scale(1.06); }

.search-close-btn {
  position: absolute; top: -48px; right: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem;
  transition: background .18s ease, color .18s ease;
}
.search-close-btn:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Live results dropdown */
.search-live {
  margin-top: 8px;
  background: rgba(14, 22, 44, .98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.sl-group { padding: 10px 0 6px; }
.sl-group + .sl-group { border-top: 1px solid rgba(255,255,255,.07); }

.sl-group-label {
  padding: 4px 18px 8px;
  font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .8px;
  color: rgba(59,155,232,.7);
  display: flex; align-items: center; gap: 7px;
}

.sl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  color: rgba(255,255,255,.82);
  text-decoration: none; font-size: .9rem;
  transition: background .15s ease, color .15s ease;
}
.sl-item:hover { background: rgba(59,155,232,.1); color: #fff; }
.sl-item-icon { color: rgba(59,155,232,.6); font-size: .8rem; flex-shrink: 0; width: 16px; text-align: center; }
.sl-item-title { flex: 1; }
.sl-item-date { font-size: .75rem; color: rgba(255,255,255,.35); white-space: nowrap; }

.sl-empty {
  padding: 20px 18px;
  color: rgba(255,255,255,.4);
  font-size: .9rem; text-align: center; margin: 0;
}

.sl-all {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #3b9be8; text-decoration: none;
  font-size: .85rem; font-weight: 500;
  transition: background .15s ease, gap .15s ease;
}
.sl-all:hover { background: rgba(59,155,232,.08); gap: 12px; }

@media (max-width: 600px) {
  .search-overlay { padding-top: 60px; align-items: flex-start; }
  .search-input { font-size: .95rem; padding: 14px 0; }
  .search-close-btn { top: -44px; }
}

/* ═══════════════════════════════════════════════════════════
   SEARCH RESULTS PAGE  (/suche)
   ═══════════════════════════════════════════════════════════ */

.search-page { min-height: 70vh; }

.search-page-header {
  background: var(--bg-dark, #060b16);
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.search-page-inner {
  max-width: 920px; margin: 0 auto; padding: 0 24px;
}
.search-page-title {
  font-size: 1.8rem; font-weight: 700;
  color: #fff; margin: 0 0 28px;
}
.search-page-title span { color: #3b9be8; }

.search-page-form {
  display: flex; align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 0 16px; gap: 12px;
}
.search-page-form i { color: rgba(255,255,255,.35); font-size: .95rem; }
.search-page-form input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 1rem; font-family: inherit;
  padding: 15px 0;
}
.search-page-form input::placeholder { color: rgba(255,255,255,.3); }
.search-page-form button {
  background: #3b9be8; border: none; border-radius: 8px;
  color: #fff; font-size: .9rem; font-weight: 600;
  padding: 8px 18px; cursor: pointer;
  transition: background .18s ease;
}
.search-page-form button:hover { background: #2483d0; }

.search-results-wrap { padding-top: 40px; padding-bottom: 60px; }

.search-section { margin-bottom: 48px; }
.search-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.search-count {
  background: rgba(59,155,232,.2); color: #3b9be8;
  font-size: .72rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  margin-left: 4px;
}

.search-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.search-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.search-card:hover {
  border-color: rgba(59,155,232,.35);
  background: rgba(59,155,232,.06);
  transform: translateY(-2px);
}

.search-card-img {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; flex-shrink: 0;
}
.search-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.search-card:hover .search-card-img img { transform: scale(1.04); }
.search-card-img-placeholder {
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
}
.search-card-img-placeholder i { font-size: 2rem; color: rgba(255,255,255,.12); }

.search-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.search-card-title { font-size: .92rem; font-weight: 600; color: #fff; line-height: 1.4; }
.search-card-excerpt { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.5; }
.search-card-meta { font-size: .75rem; color: rgba(59,155,232,.7); margin-top: auto; display: flex; align-items: center; gap: 5px; }

.search-empty-state {
  text-align: center; padding: 60px 20px;
  color: rgba(255,255,255,.35);
}
.search-empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; color: rgba(255,255,255,.1); }
.search-empty-state p { font-size: 1rem; margin: 0 0 8px; color: rgba(255,255,255,.5); }
.search-empty-state small { font-size: .85rem; }

.search-empty { color: rgba(255,255,255,.45); font-size: .95rem; padding: 20px 0; }

@media (max-width: 640px) {
  .search-page-title { font-size: 1.3rem; }
  .search-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MATCHES SECTION  (homepage, below hero counter)
   ═══════════════════════════════════════════════════════════ */

.matches-section {
  background: #f5f7fa;
  padding: 52px 0 60px;
}
.matches-section-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
/* Grid: 3 items divided by subtle vertical lines */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 0;
  position: relative;
}
.matches-grid::before,
.matches-grid::after {
  content: '';
  position: absolute;
  top: 16%; bottom: 16%;
  width: 1px;
  background: #e2e6ed;
}
.matches-grid::before { left: 33.333%; }
.matches-grid::after  { left: 66.666%; }

/* Individual match — no box */
.match-card {
  background: none;
  border: none;
  padding: 20px 32px 24px;
  display: flex; flex-direction: column;
  align-items: center;
  transition: opacity .2s ease;
}
.match-card:hover { opacity: .78; }

/* Date row */
.match-card-date {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 18px; flex-wrap: nowrap;
  height: 36px;
}
.mc-day {
  font-size: .73rem; font-weight: 700;
  color: #374151; text-transform: uppercase; letter-spacing: .5px;
}
.mc-time { font-size: .72rem; color: #005ba1; font-weight: 600; }
.mc-matchday {
  font-size: .67rem; color: #9ca3af; font-weight: 500; letter-spacing: .4px;
}

/* Teams row */
.match-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 12px;
  width: 100%;
}
.mc-score { margin-top: 6px; }
.mc-team {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  text-align: center;
}
.mc-logo-wrap {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.mc-logo { width: 100%; height: 100%; object-fit: contain; }
.mc-logo-placeholder {
  width: 48px; height: 48px;
  background: #e9ecf0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1; font-size: 1.3rem;
}
.mc-name {
  font-size: .78rem; font-weight: 500;
  color: #6b7280; line-height: 1.3; max-width: 110px;
}
.mc-name--hsv { color: #005ba1; font-weight: 700; }

/* Score / VS */
.mc-score {
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  min-width: 56px;
}
.mc-vs { font-size: .85rem; font-weight: 600; color: #d1d5db; letter-spacing: 2px; }
.mc-score-num {
  font-size: 1.75rem; font-weight: 800; color: #111827;
  letter-spacing: -1px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mc-score-sep { font-size: 1.4rem; color: #d1d5db; line-height: 1; margin: 0 1px; }
.mc-result-badge {
  font-size: .62rem; font-weight: 800;
  padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .8px;
}
.mc-result-badge--win  { background: #dcfce7; color: #166534; }
.mc-result-badge--loss { background: #fee2e2; color: #991b1b; }
.mc-result-badge--draw { background: #f1f5f9; color: #475569; }

/* Upcoming accent */
.match-card--upcoming .mc-day { color: #005ba1; }

@media (max-width: 860px) {
  .matches-grid { grid-template-columns: 1fr; }
  .matches-grid::before, .matches-grid::after { display: none; }
  .match-card { padding: 18px 20px; border-bottom: 1px solid #e9ecf0; }
  .match-card:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .matches-section { padding: 36px 0 44px; }
  .mc-name { font-size: .72rem; max-width: 80px; }
  .mc-logo-wrap { width: 40px; height: 40px; }
  .mc-score-num { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  background: #040810;
  border-top: 3px solid #005BA1;
  color: rgba(255,255,255,.55);
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
}

.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 60px 32px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: 48px;
}

/* ── Col 1: Brand ─────────────────────────────────────── */
.footer-col-brand { display: flex; flex-direction: column; gap: 20px; }

.footer-logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; width: fit-content;
}
.footer-logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #005ba1, #3b9be8);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59,155,232,.3);
}
.footer-logo-name {
  font-size: 1.1rem; font-weight: 800;
  color: #fff; letter-spacing: -.3px; line-height: 1.1;
}
.footer-logo-name span { color: #3b9be8; }
.footer-logo-sub { font-size: .7rem; font-weight: 500; color: rgba(255,255,255,.35); letter-spacing: .5px; text-transform: uppercase; }

.footer-tagline {
  font-size: .82rem; line-height: 1.6;
  color: rgba(255,255,255,.38);
  margin: 0; max-width: 240px;
}

.footer-social {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .85rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.footer-social a:hover { transform: translateY(-2px) scale(1.08); }
.footer-social a[aria-label="Facebook"]:hover  { color: #1877F2; background: rgba(24,119,242,.15); border-color: rgba(24,119,242,.3); }
.footer-social a[aria-label="Instagram"]:hover { color: #E1306C; background: rgba(225,48,108,.15); border-color: rgba(225,48,108,.3); }
.footer-social a[aria-label="YouTube"]:hover   { color: #FF0000; background: rgba(255,0,0,.14);   border-color: rgba(255,0,0,.25); }
.footer-social a[aria-label="TikTok"]:hover    { color: #25F4EE; background: rgba(37,244,238,.1);  border-color: rgba(37,244,238,.2); }

/* ── Col 2: Matches ───────────────────────────────────── */
.footer-col-title {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-title i { color: #3b9be8; font-size: .75rem; }

.footer-matches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }

.fm-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.fm-row:first-child { border-top: 1px solid rgba(255,255,255,.05); }

.fm-date {
  font-size: .72rem; color: rgba(255,255,255,.3);
  font-variant-numeric: tabular-nums;
  min-width: 34px; flex-shrink: 0; font-weight: 500;
}

.fm-teams { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }

.fm-team { display: flex; align-items: center; gap: 6px; }
.fm-team-right { justify-content: flex-end; flex-direction: row-reverse; }

.fm-logo { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }

.fm-name {
  font-size: .78rem; font-weight: 500;
  color: rgba(255,255,255,.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100px;
}
.fm-name.fm-hsv { color: #3b9be8; font-weight: 700; }

.fm-score-badge {
  font-size: .8rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px; border-radius: 7px;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: .5px;
}
.fm-score-win  { background: rgba(5,150,105,.18); color: #34d399; }
.fm-score-loss { background: rgba(220,38,38,.15);  color: #f87171; }
.fm-score-draw { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); }
.fm-score-unknown { background: rgba(255,255,255,.06); color: rgba(255,255,255,.3); }

.footer-matches-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: .78rem; font-weight: 600;
  color: #3b9be8; text-decoration: none;
  transition: gap .18s ease, color .18s ease;
}
.footer-matches-more:hover { gap: 10px; color: #5fb3f0; }

.footer-matches-empty {
  font-size: .8rem; color: rgba(255,255,255,.25);
  margin: 0; font-style: italic;
}

/* ── Col 3: Links ─────────────────────────────────────── */
.footer-links-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-links-list a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0;
  color: rgba(255,255,255,.45);
  text-decoration: none; font-size: .82rem; font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-links-list a i { color: rgba(59,155,232,.5); font-size: .75rem; width: 14px; text-align: center; flex-shrink: 0; transition: color .18s ease; }
.footer-links-list a:hover { color: #fff; padding-left: 4px; }
.footer-links-list a:hover i { color: #3b9be8; }

/* ── Bottom bar ───────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom-inner span { font-size: .76rem; color: rgba(255,255,255,.22); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .76rem; color: rgba(255,255,255,.28); text-decoration: none; transition: color .18s ease; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-col-brand { grid-column: 1 / -1; }
  .fm-name { max-width: 80px; }
}
@media (max-width: 580px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 32px;
    gap: 32px;
  }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
  .fm-name { max-width: 60px; font-size: .72rem; }
}
