/* ============ CI-Farben (gem. Gestaltungs-Leitfaden SV Helpenstein) ============ */
:root {
  --red: #D32F37;
  /* R211 G47 B55 – SV Helpenstein Rot */
  --red-600: #B82129;
  --red-050: #2a1518;
  --blue: #1C2A5E;
  /* Logo-Blau (ADW) */
  --blue-600: #16224D;
  --blue-050: #161c35;
  --gray: #C8C6C2;
  /* R53 G53 B53 – CI-Grauton (invertiert für dunkles Design) */
  --gray-700: #E5E3DE;
  --gray-400: #9A9A9A;
  --gray-200: #3A3D4B;
  --gray-100: #2A2D3A;
  --paper: #1a1d28;
  /* dunkler Hintergrund */
  --paper-2: #242838;
  --white: #FFFFFF;
  --ink: #F5F3EF;
  /* helle Schrift auf dunkel */

  /* CI Schatten-Vorgabe: 0°/180°, Schwarz, 50% Deckkraft, Radius 48px, Versatz 22px */
  --shadow-ci: 22px 0 48px rgba(0, 0, 0, 0.50);
  --shadow-ci-soft: 14px 0 36px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 18px 40px rgba(28, 42, 94, 0.10);
  --shadow-card: 0 2px 0 rgba(0, 0, 0, 0.02), 0 10px 30px rgba(28, 42, 94, 0.08);
  --radius: 16px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    linear-gradient(to top right, #1a1d28 0%, #1a1d28 35%, #3a1a1f 70%, #7a1e26 100%) fixed,
    var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.display {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  letter-spacing: -0.015em;
  line-height: 0.98;
  font-weight: 700;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ NAV ============ */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 29, 40, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.logo-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.logo-secondary {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-left: 10px;
  filter: invert(1) brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  opacity: 0.92;
}

.logo-text {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--red);
}

.logo-text small {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 4px;
  font-weight: 700;
}

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(211, 47, 55, 0.18);
  color: var(--white);
}

.nav-links a.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 18px;
  margin-left: 8px;
  box-shadow: 0 6px 14px rgba(211, 47, 55, 0.28);
}

.nav-links a.nav-cta:hover {
  background: var(--red-600);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
  border-radius: 2px;
}

.hamburger span:nth-child(1) {
  top: 15px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 27px;
}

.hamburger.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 72px 28px 90px;
  overflow: hidden;
  background: transparent;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(28, 42, 94, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(211, 47, 55, 0.10), transparent 60%);
  pointer-events: none;
}

/* dezenter "SVH"-Schriftzug im Hintergrund */
.hero::after {
  content: 'SVH';
  position: absolute;
  right: -30px;
  bottom: -80px;
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(240px, 34vw, 440px);
  color: rgba(211, 47, 55, 0.07);
  line-height: 0.8;
  pointer-events: none;
  transform: rotate(-4deg);
  user-select: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.pill .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(211, 47, 55, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(211, 47, 55, 0.18);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(211, 47, 55, 0.05);
  }
}

.hero h1 {
  font-size: clamp(54px, 8vw, 116px);
  margin: 22px 0 22px;
  color: var(--white);
}

.hero h1 .red {
  color: var(--red);
  display: block;
}

.hero h1 .blue {
  color: var(--blue);
  display: block;
}

.hero-sub {
  font-size: clamp(17px, 1.7vw, 20px);
  max-width: 560px;
  color: var(--gray);
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(211, 47, 55, 0.30);
}

.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.hero-stats {
  margin-top: 44px;
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
  border-top: 1px solid var(--gray-200);
  padding-top: 26px;
}

.stat-num {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 48px;
  color: var(--red);
  line-height: 1;
}

.stat-lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
  font-weight: 700;
}

/* Hero-Karte: weißes abgerundetes Rechteck mit CI-Schatten */
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 28px;
  right: 28px;
  height: 8px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
  border-radius: 8px 8px 0 0;
}

.hero-card-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.hero-card h3 {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.05;
}

.hero-card p {
  color: var(--gray);
  margin-bottom: 22px;
  font-size: 16px;
}

.hero-card-info {
  background: rgba(0, 0, 0, 0.28);
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 12px;
  display: grid;
  gap: 6px;
}

.hero-card-info div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hero-card-info .k {
  color: var(--gray-400);
}

.hero-card-info .v {
  font-weight: 700;
  color: var(--white);
}

/* ============ SECTIONS ============ */
section {
  padding: 96px 28px;
  position: relative;
}

.section-head {
  max-width: 1280px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-title {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(40px, 5.6vw, 80px);
  color: var(--white);
  line-height: 1;
  font-weight: 400;
}

.section-title em {
  color: var(--red);
  font-style: normal;
}

.section-title .blue {
  color: var(--blue);
  font-style: normal;
}

.section-lead {
  max-width: 380px;
  color: var(--gray);
  font-size: 16px;
  text-wrap: pretty;
}

/* ============ SPIELE (Next matches) ============ */
#spiele {
  background: transparent;
  padding-top: 60px;
}

.matches {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.match {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.match:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.match::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
}

.match.home::after {
  background: var(--blue);
}

.match-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.match-league {
  color: var(--gray-400);
}

.match-chip {
  background: var(--red-050);
  color: var(--red);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.match.home .match-chip {
  background: var(--blue-050);
  color: var(--blue);
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.team {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.team-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-400);
}

.team-badge.svh {
  background: var(--red);
  color: var(--white);
}

.team-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
}

.vs {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--gray-400);
}

.match-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-200);
  font-size: 14px;
  color: var(--gray);
}

.match-meta .i {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.match-meta svg {
  width: 14px;
  height: 14px;
  color: var(--red);
}

.match.home .match-meta svg {
  color: var(--blue);
}

/* ============ MANNSCHAFTEN ============ */
#mannschaften {
  background: transparent;
}

.teams-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.team-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.team-card:nth-child(even)::before {
  background: var(--red);
}

.team-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-num {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 60px;
  color: var(--red);
  line-height: 0.9;
  margin-bottom: 8px;
}

.team-card:nth-child(even) .team-num {
  color: var(--red);
}

.team-age {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 14px;
}

.team-name {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}

.team-info {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.5;
}

.team-schedule {
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  display: grid;
  gap: 4px;
}

.team-schedule div {
  display: flex;
  justify-content: space-between;
}

.team-schedule .day {
  color: var(--gray-400);
  align-content: center;
}

.team-schedule .time {
  font-weight: 700;
  color: var(--ink);
  align-content: center;
  margin-left:auto;
  padding-right: 5px;
}

/* ============ NEWS ============ */
#news {
  background: transparent;
}

.news-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.news-card {
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4);
}

.news-img {
  height: 200px;
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 8px, transparent 8px 16px),
    linear-gradient(135deg, var(--red) 0%, var(--red-600) 100%);
  color: rgba(255, 255, 255, 0.75);
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  text-transform: uppercase;
}

.news-img.v2 {
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 8px, transparent 8px 16px), linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
}

.news-img.v3 {
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 8px, transparent 8px 16px), linear-gradient(135deg, var(--gray-700) 0%, var(--red-600) 100%);
}

.news-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  color: var(--red);
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 999px;
}

.news-img.v2 .news-tag {
  color: var(--blue);
}

.news-img.v3 .news-tag {
  color: var(--gray-700);
}

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-date {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.news-title {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 24px;
  color: var(--white);
  line-height: 1.1;
  font-weight: 400;
}

.news-excerpt {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}

.news-more {
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  transition: gap 0.2s;
}

.news-card:hover .news-more {
  gap: 14px;
}

/* ============ KONTAKT ============ */
#kontakt {
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#kontakt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 400px at 90% 10%, rgba(211, 47, 55, 0.25), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 10px, rgba(255, 255, 255, 0.025) 10px 11px);
  pointer-events: none;
}

#kontakt .section-head {
  position: relative;
  z-index: 2;
}

#kontakt .section-title {
  color: var(--white);
}

#kontakt .section-title em {
  color: var(--red);
}

#kontakt .section-label {
  color: var(--white);
}

#kontakt .section-label::before {
  background: var(--white);
}

#kontakt .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-block {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 22px 24px;
  border-radius: var(--radius);
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #2a1518;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a1518;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-block:nth-child(2) .contact-icon {
  background: #2a1518;
  color: #ffffff;
}

.contact-block:nth-child(3) .contact-icon {
  background: #2a1518;
  color: #ffffff;
}

.contact-block h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5a5f6e;
  margin-bottom: 4px;
}

.contact-block p {
  font-size: 16px;
  line-height: 1.5;
  color: #1a1d28;
}

.contact-block a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  color: #1a1d28;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-ci-soft);
}

.contact-form h3 {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 32px;
  margin-bottom: 22px;
  color: #1a1d28;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #5a5f6e;
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #f4f5f8;
  border: 1.5px solid #d8dce5;
  padding: 12px 14px;
  color: #1a1d28;
  font-family: inherit;
  font-size: 15px;
  border-radius: 10px;
  transition: border 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7080;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.consent {
  display: flex;
  gap: 10px;
  margin: 16px 0 20px;
  padding: 14px;
  background: #f4f5f8;
  border-radius: 10px;
  color: #1a1d28;
}

.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}

.consent label {
  font-size: 13px;
  color: #1a1d28;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.consent a {
  color: var(--red);
  text-decoration: underline;
  font-weight: 700;
}

/* ============ FOOTER ============ */
footer {
  background: #0f1119;
  color: rgba(255, 255, 255, 0.70);
  padding: 64px 28px 28px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 15px;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-col p {
  font-size: 15px;
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
}

.footer-logo span {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 20px;
  color: var(--white);
}

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  margin-left: 16px;
}

.footer-bottom a:hover {
  color: var(--red);
}

/* ============ COOKIE / DSGVO BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: rgba(20, 22, 32, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 24px 26px;
  max-width: 560px;
  margin-left: auto;
  display: none;
  gap: 14px;
  flex-direction: column;
  color: #F5F3EF;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner h4 {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  color: #FFFFFF;
  font-weight: 400;
}

.cookie-banner p {
  font-size: 14.5px;
  color: #D4D2CE;
  line-height: 1.6;
}

.cookie-banner p strong {
  color: #FFFFFF;
  font-weight: 700;
}

.cookie-banner p a {
  color: #FF6B72;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner p a:hover {
  color: #FFFFFF;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.cookie-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .matches {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .nav-inner {
    padding: 12px 20px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    background: #242838;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    align-items: stretch;
  }

  .nav-links.open {
    max-height: 420px;
    padding: 12px;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    padding: 44px 20px 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    gap: 22px;
  }

  .stat-num {
    font-size: 38px;
  }

  .hero::after {
    font-size: 260px;
    right: -30px;
    bottom: -50px;
  }

  section {
    padding: 72px 20px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 8px;
  }
}

@media (max-width: 560px) {
  .matches {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-inner {
    padding: 10px 16px;
    gap: 10px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    font-size: 17px;
  }

  .logo-text small {
    font-size: 10px;
  }

  .logo-secondary {
    height: 42px;
    margin-left: 6px;
  }

  .hero {
    padding: 36px 16px 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 72px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card h3 {
    font-size: 26px;
  }

  section {
    padding: 60px 16px;
  }

  .section-title {
    font-size: clamp(34px, 9vw, 58px);
  }

  .match {
    padding: 18px;
  }

  .team-badge {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .team-name {
    font-size: 13px;
  }

  .team-card {
    padding: 22px 20px;
  }

  .team-num {
    font-size: 48px;
  }

  .news-body {
    padding: 20px;
  }

  .news-title {
    font-size: 20px;
  }

  .contact-form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form h3 {
    font-size: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 44px 18px 24px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Direct edit overrides */
#matchesList .team,
#matchesList .team * {
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
}

#spiele :is(h1, h2, h3, h4, h5, h6) {
  font-family: serif;
}

/* Hero: beide Akzent-Wörter rot */
#hero h1.display .blue {
  color: var(--red);
}

/* Spiele: dunkelroter Karten-Hintergrund, weißer Text, ALLE Karten einheitlich (Heim wie Auswärts) */
#matchesList .match,
#matchesList .match.home {
  background: #2a1518;
  border-color: rgba(255, 255, 255, 0.08);
}

#matchesList .match:hover,
#matchesList .match.home:hover {
  background: #331a1e;
}

/* Seitlicher Akzentbalken: immer rot, auch bei Heim */
#matchesList .match::after,
#matchesList .match.home::after {
  background: var(--red) !important;
}

/* Heim/Auswärts Chip: rot, weißer Text — beide gleich */
#matchesList .match-chip,
#matchesList .match.home .match-chip {
  background: var(--red) !important;
  color: #fff !important;
}

/* Textfarben weiß */
#matchesList .match-league {
  color: rgba(255, 255, 255, 0.75);
}

#matchesList .team-name,
#matchesList .vs,
#matchesList .match-meta,
#matchesList .match-meta .i {
  color: #fff;
}

/* Team-Badge */
#matchesList .team-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#matchesList .team-badge.svh {
  background: var(--red);
  color: #fff;
}

/* Trennlinie */
#matchesList .match-meta {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* Icons (Datum, Uhrzeit, Ort): weiß */
#matchesList .match-meta svg,
#matchesList .match.home .match-meta svg {
  color: #fff !important;
  stroke: #fff !important;
}

/* Subtle reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============ BILDER / DIASHOW ============ */
#bilder {
  background: transparent;
}

.slideshow {
  max-width: 1280px;
  margin: 40px auto 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f1119;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 9;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  background-color: #0a0c12;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Unscharfes Hintergrund-Bild füllt den Rahmen */
.slide::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.1);
  transform: scale(1.1);
  z-index: 0;
}

/* Scharfes Vordergrund-Bild – komplett sichtbar */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Caption + Verlauf ausgeblendet — Bilder pur anzeigen */
.slide-caption-bg {
  display: none;
}

.slide-caption {
  display: none;
}

.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 17, 25, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}

.slide-nav:hover {
  background: var(--red);
  transform: translateY(-50%) scale(1.05);
}

.slide-nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.slide-nav.prev {
  left: 18px;
}

.slide-nav.next {
  right: 18px;
}

.slide-nav svg {
  width: 24px;
  height: 24px;
}

.slide-pause {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 17, 25, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.slide-pause:hover {
  background: var(--red);
}

.slide-pause:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.slide-pause svg {
  width: 18px;
  height: 18px;
}

.slide-pause .ico-play {
  display: none;
}

.slide-pause[aria-pressed="true"] .ico-pause {
  display: none;
}

.slide-pause[aria-pressed="true"] .ico-play {
  display: block;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 80px;
  bottom: 64px;
  z-index: 3;
  padding: 0 28px;
  color: #fff;
  font-family: 'Quicksand', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.slide-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, width 0.3s;
}

.slide-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.slide-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.slide-dot.active {
  background: var(--red);
  width: 28px;
  border-radius: 5px;
}

.slide-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  padding: 24px;
  font-size: 16px;
  line-height: 1.55;
}

.slide-empty strong {
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

@media (max-width: 720px) {
  .slide-nav {
    width: 42px;
    height: 42px;
  }

  .slide-nav.prev {
    left: 10px;
  }

  .slide-nav.next {
    right: 10px;
  }

  .slide-caption {
    font-size: 16px;
    bottom: 54px;
    right: 60px;
    padding: 0 16px;
  }

  .slide-pause {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
}
