/*
Theme Name: BMTC Bundesliga Circle
Theme URI: https://bmtc-circle.at
Author: BMTC Bundesliga Circle
Author URI: https://bmtc-circle.at
Description: Das offizielle Theme des BMTC Bundesliga Circle – Brühl Mödlinger Tennis Club.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bmtc-circle
Tags: custom-menu, featured-images, responsive-layout
*/

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #CDBA7B;
  --gold-hover: #b8a460;
  --gold-pale: rgba(205,186,123,0.10);
  --gold-border: rgba(205,186,123,0.25);
  --white: #ffffff;
  --bg: #fbfaf8;
  --bg-alt: #f5f4f0;
  --text: #1d1d1f;
  --text-mid: #3d3d3f;
  --text-soft: #515154;
  --text-faint: #86868b;
  --border: rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }

/* ─── HEADER ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-branding img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.site-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.2px;
}

.site-title span { color: var(--gold); }

/* ─── NAVIGATION ─── */
#site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

#site-nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

#site-nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 7px 18px;
  border-radius: 980px;
  font-weight: 400 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-hover) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ─── MAIN CONTENT ─── */
#page { padding-top: 60px; }

.entry-content { max-width: 100%; }

/* ─── HERO ─── */
.bmtc-hero {
  min-height: 100vh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
}

.bmtc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(205,186,123,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
}

.hero-title {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -3px;
  line-height: 1.02;
  margin-bottom: 24px;
  position: relative;
}

.hero-title .gold { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: -0.2px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 48px;
  position: relative;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-hover); transform: scale(1.02); color: var(--white); }
.btn-outline { background: transparent; color: var(--text-mid); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-numbers {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 80px;
  position: relative;
}

.hero-number {
  padding: 0 48px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.hero-number:last-child { border-right: none; }

.hero-number-val {
  font-size: 32px;
  font-weight: 200;
  color: var(--text);
  letter-spacing: -1px;
  display: block;
}

.hero-number-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 4px;
}

/* ─── SECTIONS ─── */
.bmtc-section { padding: 96px 24px; }
.bmtc-section-alt { background: var(--bg); }
.section-wrap { max-width: 1060px; margin: 0 auto; }

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.section-h {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 200;
  color: var(--text);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-p {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 600px;
}

.section-center { text-align: center; }
.section-center .section-p { margin: 0 auto; }

/* ─── ABOUT ─── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.about-body p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid var(--border);
}

.tile-val {
  font-size: 38px;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: -1.5px;
  display: block;
  line-height: 1;
}

.tile-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ─── MEMBERSHIP CARDS ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.07); transform: translateY(-3px); }
.card.highlight { background: var(--bg-alt); border-color: var(--gold-border); }

.card-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.card-price {
  font-size: 40px;
  font-weight: 200;
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1;
}

.card-period {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 4px;
  margin-bottom: 24px;
}

.card-line { height: 1px; background: var(--border); margin-bottom: 22px; }

.card-features { list-style: none; flex: 1; margin-bottom: 28px; }

.card-features li {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  padding: 6px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.card-features li::before { content: '–'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.card-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  transition: all 0.2s;
  background: transparent;
}

.card-cta:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.card.highlight .card-cta { background: var(--gold); color: var(--white); border-color: var(--gold); }
.card.highlight .card-cta:hover { background: var(--gold-hover); }

/* ─── SPONSORING ─── */
.spons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 56px 0 40px;
}

.spons-card {
  background: var(--white);
  border-radius: 22px;
  padding: 44px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.spons-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-hover));
}

.spons-card-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.spons-price {
  font-size: 34px;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: -1.5px;
  margin-bottom: 30px;
}

.spons-price small { font-size: 16px; color: var(--text-faint); font-weight: 400; }

.spons-list { list-style: none; }

.spons-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-soft);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spons-list li:last-child { border-bottom: none; }

.spons-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.spons-cta { text-align: center; }

/* ─── EVENTS ─── */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.event-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  background: var(--white);
}

.event-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}

.event-title {
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.event-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}

.event-list { list-style: none; }

.event-list li {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-list li::before { content: '→'; color: var(--gold); font-size: 12px; }

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.contact-left h3 {
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 14px;
}

.contact-left p {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-soft);
}

.contact-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

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

.fg { display: flex; flex-direction: column; gap: 5px; }

.fg label {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-faint);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.fg input, .fg select, .fg textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); }
.fg textarea { min-height: 110px; resize: vertical; }

/* ─── FOOTER ─── */
#site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 24px 36px;
}

.footer-wrap { max-width: 1060px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
}

.footer-brand-name b { font-weight: 400; color: var(--gold); }
.footer-tagline { font-size: 12px; font-weight: 400; color: var(--text-faint); margin-top: 6px; }

.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 12px; font-weight: 400; color: var(--text-faint); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  #site-header { padding: 0 20px; }
  #site-nav { display: none; }
  #site-nav.open { display: block; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 20px; }
  #site-nav.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: block; }
  .about-layout, .spons-grid, .events-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-numbers { flex-wrap: wrap; gap: 24px; }
  .hero-number { border-right: none; padding: 0 24px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 560px) {
  .bmtc-section { padding: 72px 20px; }
  .cards { grid-template-columns: 1fr; }
  .about-tiles { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
