/* ─── KVU Tennis Plugin — Styles ─────────────────────────────────────────── */

/* ─── Design Tokens (identisch KVU Landing Page) ───── */
:root {
  --green-deep:   #1c3a1c;
  --green-mid:    #2a5a2a;
  --green-light:  #3d7a3d;
  --gold:         #c8a84b;
  --gold-light:   #e0c46a;
  --gold-dark:    #9a7c30;
  --ivory:        #f5f0e8;
  --ivory-warm:   #ede6d6;
  --cream:        #faf7f2;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-light:   #6b6b6b;
  --text-muted:   #6b6b6b;
}

.kvu-tennis-wrap *, .kvu-tennis-wrap *::before, .kvu-tennis-wrap *::after {
  box-sizing: border-box;
}

/* ─── Marquee Band ──────────────────────────────────── */
.marquee-section {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--gold);
  padding: 0.55rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.marquee-track {
  display: flex;
  animation: kvu-marqueeScroll 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding-right: 3rem; flex-shrink: 0;
}
.marquee-item span {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  color: var(--green-deep);
}
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(28,58,28,0.3); flex-shrink: 0;
}
@keyframes kvu-marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--green-deep);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://kv-untertuerkheim.de/wp-content/uploads/2023/04/Anlage-KVU-1024x576.jpg');
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 50%, rgba(28,58,28,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 30%, rgba(28,58,28,0.8) 0%, transparent 60%);
  z-index: 1;
}
.hero-band {
  position: absolute; top: 0; right: -10%;
  width: 55%; height: 100%;
  background: linear-gradient(160deg, rgba(42,90,42,0.5) 0%, rgba(28,58,28,0.2) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}
.hero-year {
  position: absolute; right: -2rem; bottom: -4rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(12rem, 22vw, 22rem); font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px rgba(200,168,75,0.12);
  line-height: 1; user-select: none; pointer-events: none; z-index: 1;
}
.hero-top-border {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 10rem 3rem 7rem; width: 100%;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem; animation: kvu-fadeUp 0.8s ease both;
}
.hero-eyebrow-line { width: 3rem; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-family: 'Lora', Georgia, serif; font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 700;
  line-height: 1.05; color: var(--ivory); margin-bottom: 0.3rem;
  animation: kvu-fadeUp 0.8s 0.1s ease both;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2.4rem); font-weight: 400;
  font-style: italic; color: rgba(245,240,232,0.65);
  margin-bottom: 2.5rem; animation: kvu-fadeUp 0.8s 0.2s ease both;
}
.hero-body {
  font-family: 'Lora', Georgia, serif; font-size: 1rem; line-height: 1.8;
  color: rgba(245,240,232,0.75); max-width: 36rem;
  margin-bottom: 3rem; animation: kvu-fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap;
  animation: kvu-fadeUp 0.8s 0.4s ease both;
}

/* Buttons */
.kvu-tennis-wrap .btn-primary {
  font-family: 'Lora', Georgia, serif; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-deep); background: var(--gold);
  border: none; padding: 0.9rem 2.2rem; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.kvu-tennis-wrap .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.kvu-tennis-wrap .btn-secondary {
  font-family: 'Lora', Georgia, serif; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory); background: transparent;
  border: 1px solid rgba(200,168,75,0.5);
  padding: 0.9rem 2.2rem; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.kvu-tennis-wrap .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Stats Bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; border-top: 1px solid rgba(200,168,75,0.2);
  animation: kvu-fadeUp 0.8s 0.5s ease both;
}
.stat-item {
  flex: 1; padding: 1.5rem 2rem;
  border-right: 1px solid rgba(200,168,75,0.15); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', Georgia, serif; font-size: 2rem;
  font-weight: 700; color: var(--gold); display: block; line-height: 1;
}
.stat-label {
  font-family: 'Lora', Georgia, serif; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(245,240,232,0.5); margin-top: 0.4rem; display: block;
}

/* ─── Gemeinsame Section-Stile ──────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem;
}
.section-label-line { width: 2.5rem; height: 1px; background: var(--gold); }
.section-label span {
  font-family: 'Lora', Georgia, serif; font-size: 0.65rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-dark);
}
.section-label.light span { color: var(--gold); }
.section-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
  line-height: 1.15; color: var(--green-deep); margin-bottom: 1rem;
}
.section-h2 em { font-style: italic; color: var(--gold-dark); }
.section-h2.light { color: var(--ivory); }
.section-h2.light em { color: var(--gold); }
.section-intro {
  font-family: 'Lora', Georgia, serif; font-size: 1rem; line-height: 1.85;
  color: var(--text-mid); max-width: 48rem;
}
.section-intro.light { color: rgba(245,240,232,0.65); }

/* ─── Schnell-Navigation ────────────────────────────── */
.section-quicknav {
  background: var(--ivory); padding: 6rem 3rem;
  border-top: 1px solid rgba(200,168,75,0.15);
}
.quicknav-header { margin-bottom: 3.5rem; }
.quicknav-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.quicknav-card {
  background: var(--cream);
  border: 1px solid rgba(200,168,75,0.2);
  padding: 2.25rem 2rem; text-decoration: none; display: block;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.quicknav-card::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.quicknav-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(28,58,28,0.08); }
.quicknav-card:hover::after { width: 100%; }
.quicknav-icon { font-size: 2rem; display: block; margin-bottom: 1rem; line-height: 1; }
.quicknav-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem; font-weight: 600; color: var(--green-deep); margin-bottom: 0.5rem;
}
.quicknav-card p {
  font-family: 'Lora', Georgia, serif; font-size: 0.85rem; line-height: 1.7; color: var(--text-light);
}
.quicknav-arrow {
  margin-top: 1.25rem; font-family: 'Lora', Georgia, serif; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 0.5rem;
}
.quicknav-arrow::after { content: '→'; transition: transform 0.2s; }
.quicknav-card:hover .quicknav-arrow::after { transform: translateX(4px); }

/* ─── Mannschaften-Wrapper ──────────────────────────── */
.section-mannschaften {
  background: var(--cream); padding: 4rem 3rem;
  position: relative; overflow: hidden;
}
.section-mannschaften::after {
  content: 'TEAM';
  position: absolute; bottom: -2rem; left: -1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14rem; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1px rgba(200,168,75,0.07);
  pointer-events: none; user-select: none;
}

/* ─── Spielklassen-Wrapper ──────────────────────────── */
.section-ligen { background: var(--cream); padding: 3rem 0 5rem; }

/* ─── Tennishalle ───────────────────────────────────── */
.section-halle { background: var(--cream); padding: 8rem 3rem; }
.halle-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; margin-top: 4rem;
}
.halle-photo { position: relative; overflow: hidden; }
.halle-photo img {
  width: 100%; height: 380px; object-fit: cover; display: block;
  filter: brightness(0.9); transition: transform 0.5s, filter 0.5s;
}
.halle-photo:hover img { transform: scale(1.03); filter: brightness(1); }
.halle-photo::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(28,58,28,0.3)); z-index: 1;
}
.halle-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.halle-info-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: var(--ivory);
  border: 1px solid rgba(200,168,75,0.2);
  text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.halle-info-card:hover {
  border-color: var(--gold); box-shadow: 0 4px 16px rgba(28,58,28,0.06);
}
.halle-info-icon { font-size: 1.5rem; flex-shrink: 0; }
.halle-info-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 600; color: var(--green-deep); margin-bottom: 0.25rem;
}
.halle-info-card p {
  font-family: 'Lora', Georgia, serif; font-size: 0.82rem; line-height: 1.6; color: var(--text-light);
}
.halle-info-card .link-hint {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-top: 0.4rem;
}

/* ─── Galerie ───────────────────────────────────────── */
.section-galerie { background: var(--green-deep); padding: 0; overflow: hidden; }
.galerie-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200,168,75,0.2);
}
.galerie-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; }
.galerie-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.88) saturate(0.9);
}
.galerie-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.1); }
.galerie-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,58,28,0.55) 0%, transparent 55%);
  pointer-events: none;
}
.galerie-caption {
  position: absolute; bottom: 0.75rem; left: 1rem; z-index: 2;
  font-family: 'Lora', Georgia, serif; font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,240,232,0.8);
}

/* ─── Kontakt ───────────────────────────────────────── */
.section-kontakt {
  background: var(--green-deep); padding: 7rem 3rem;
  position: relative; border-top: 1px solid rgba(200,168,75,0.15);
}
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4rem; margin-top: 4rem;
}
.kontakt-block h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 600; color: var(--gold);
  margin-bottom: 1rem; letter-spacing: 0.05em;
}
.kontakt-block p, .kontakt-block a {
  font-family: 'Lora', Georgia, serif; font-size: 0.9rem;
  line-height: 1.8; color: rgba(245,240,232,0.65);
  text-decoration: none; display: block;
}
.kontakt-block a:hover { color: var(--gold); }
.kontakt-gold-line { width: 2rem; height: 1px; background: var(--gold); margin-bottom: 1.25rem; }

/* ─── Animations ────────────────────────────────────── */
@keyframes kvu-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .quicknav-grid { grid-template-columns: repeat(2, 1fr); }
  .halle-grid { grid-template-columns: 1fr; gap: 3rem; }
  .kontakt-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .galerie-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .quicknav-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(200,168,75,0.15); }
  .kontakt-grid { grid-template-columns: 1fr; }
  .galerie-strip { grid-template-columns: 1fr; }
}
