/*
Theme Name: HSF93 Gangelt
Theme URI: https://www.hsf93.de
Author: Hundesportfreunde '93 Gangelt e.V.
Author URI: https://www.hsf93.de
Description: Offizielles Theme für die Hundesportfreunde '93 Gangelt e.V. – sportlich, dynamisch, in Blau und Gelb.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsf93
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;1,300&display=swap');

:root {
  --blue: #0a3d6b;
  --blue-mid: #1560a0;
  --blue-light: #1e7ac8;
  --yellow: #f5c800;
  --yellow-light: #ffd740;
  --yellow-dark: #c9a200;
  --cream: #f4f7fb;
  --dark: #0d1e30;
  --white: #ffffff;
}

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

body {
  font-family: 'Source Serif 4', serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--blue-mid); }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===================== NAVIGATION ===================== */
.site-header {
  background: var(--blue);
  border-bottom: 3px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.site-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  padding: 3px;
  object-fit: contain;
}

.logo-text .logo-main {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  line-height: 1.1;
  display: block;
}

.logo-text .logo-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  color: var(--yellow-light);
  letter-spacing: 2px;
  font-weight: 400;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.main-nav ul li a {
  color: rgba(255,255,255,0.8);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  font-weight: 400;
  padding: 22px 16px;
  display: block;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
  color: var(--yellow-light);
  border-bottom-color: var(--yellow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ===================== HERO ===================== */
.hero-section {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 60px 2rem 55px;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 80px);
}

.hero-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 8px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 4px var(--yellow);
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 5px 18px;
  margin-bottom: 18px;
  position: relative;
}

.hero-section h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 8px;
  position: relative;
}

.hero-section h1 span {
  color: var(--yellow-light);
  display: block;
}

.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 3px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  margin-bottom: 28px;
  position: relative;
}

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

.btn-primary {
  background: var(--yellow);
  color: var(--blue);
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--yellow-light); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 400;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-outline:hover { border-color: var(--yellow); color: var(--yellow-light); text-decoration: none; }

.hero-stats {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  position: relative;
}

.stat-item {
  padding: 0 30px;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--yellow-light);
  display: block;
}

.stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  margin-top: 2px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  display: block;
}

/* ===================== SECTIONS ===================== */
.section-wrap { padding: 55px 2rem; }
.section-wrap.bg-white { background: white; }
.section-wrap.bg-cream { background: var(--cream); }
.section-wrap.bg-blue { background: var(--blue); }

.section-inner { max-width: 1000px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 38px; }
.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.bg-blue .section-label { color: var(--yellow-light); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
}
.bg-blue .section-title { color: white; }

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--yellow);
  margin: 12px auto 0;
}

/* ===================== ÜBER UNS ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.about-image {
  background: var(--blue);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.about-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--yellow);
  padding: 8px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blue);
}

.about-text h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.about-text p {
  font-size: 14px;
  line-height: 1.95;
  color: #444;
  font-style: italic;
  margin-bottom: 12px;
}

/* ===================== TRAINING ===================== */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.training-card {
  background: white;
  border-left: 4px solid var(--blue-light);
  padding: 20px 22px;
  transition: border-color 0.2s;
}
.training-card:hover { border-left-color: var(--yellow-dark); }

.training-day {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--yellow-dark);
  font-weight: 600;
  margin-bottom: 5px;
}

.training-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.training-time {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-mid);
  margin-bottom: 6px;
}

.training-info {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
}

.training-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 10px;
  margin-top: 10px;
}
.training-badge.yellow { background: var(--yellow-dark); }

/* ===================== VORSTAND ===================== */
.vorstand-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.vorstand-card {
  background: white;
  border-top: 4px solid var(--blue);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.vorstand-card.gold { border-top-color: var(--yellow); }

.vorstand-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.vorstand-card.gold .vorstand-avatar { background: var(--yellow-dark); }

.vorstand-rolle {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--yellow-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.vorstand-card.gold .vorstand-rolle { color: var(--blue-light); }

.vorstand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.vorstand-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vorstand-card-sm {
  background: white;
  border-left: 4px solid var(--blue-light);
  padding: 18px 20px;
}

.vorstand-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.vorstand-rolle-sm {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--yellow-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.vorstand-name-sm {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

/* ===================== EVENTS ===================== */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-item {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.event-date {
  background: var(--yellow);
  padding: 14px 18px;
  text-align: center;
  min-width: 76px;
  flex-shrink: 0;
}

.event-date .day {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: block;
}

.event-date .month {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 600;
  display: block;
}

.event-body { padding: 14px 20px; flex: 1; }

.event-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.event-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ===================== KONTAKT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-box {
  background: white;
  padding: 28px;
  border-top: 4px solid var(--blue);
}
.contact-box.yellow-top { border-top-color: var(--yellow); }

.contact-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #444;
  align-items: flex-start;
  line-height: 1.7;
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--yellow-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.contact-form input,
.contact-form textarea,
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccd8e8;
  background: var(--cream);
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  display: block;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-light);
  background: white;
}

.contact-form textarea { height: 100px; resize: vertical; }

.map-hint {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--cream);
  border-left: 3px solid var(--yellow);
  font-size: 12px;
  color: #666;
  font-style: italic;
  line-height: 1.7;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--yellow);
  padding: 30px 2rem;
  text-align: center;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: white;
  padding: 3px;
  object-fit: contain;
  margin-bottom: 14px;
}

.site-footer p {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
}

.site-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.site-footer a:hover { color: var(--yellow-light); }
.site-footer .footer-highlight { color: var(--yellow-light); }

/* ===================== GALERIE ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--blue);
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,200,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
  font-weight: 700;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 0; }
  .main-nav ul li a { padding: 12px 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-toggle { display: block; }

  .about-grid,
  .contact-grid,
  .vorstand-top { grid-template-columns: 1fr; }

  .vorstand-bottom { grid-template-columns: 1fr 1fr; }

  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .stat-item { padding: 0 16px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
}

@media (max-width: 480px) {
  .vorstand-bottom { grid-template-columns: 1fr; }
  .hero-section { padding: 40px 1rem 40px; }
}
