/* ============================================================
   Lafit Jedermann-Triathlon – Haupt-Stylesheet
   Farbe: #005B96 | Akzent: #FF6B00 | Font: Montserrat
   ============================================================ */

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #005B96;
  --primary-dark:  #004070;
  --primary-light: #1a7ab5;
  --accent:        #FF6B00;
  --accent-light:  #ff8c3a;
  --text:          #1a1a2e;
  --text-muted:    #6c757d;
  --bg-light:      #f4f7fb;
  --white:         #ffffff;
  --shadow:        0 4px 24px rgba(0, 91, 150, 0.13);
  --shadow-strong: 0 8px 40px rgba(0, 91, 150, 0.22);
  --radius:        10px;
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--primary-dark); color: var(--white); }
.section--accent { background: var(--accent); color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section--dark .section-label { color: #ffab6e; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.section--dark .section-title,
.section--accent .section-title { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.section--dark .section-subtitle { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-sm { padding: 9px 22px; font-size: 0.85rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

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

/* Fallback falls kein Logo-Bild vorhanden */
.nav-logo-placeholder {
  height: 44px;
  width: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.nav-logo-text .sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--bg-light);
  padding: 16px 20px 20px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--primary); background: var(--bg-light); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  /* Fallback-Gradient wenn kein Bild vorhanden */
  background-color: var(--primary-dark);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 64, 112, 0.88) 0%,
    rgba(0, 91, 150, 0.72) 40%,
    rgba(255, 107, 0, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--accent); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  font-size: 1rem;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  opacity: 0.92;
}
.hero-meta-item svg { flex-shrink: 0; }

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

/* Countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.countdown-item {
  text-align: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 78px;
}
.countdown-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.countdown-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ---------- Info-Bar ---------- */
.info-bar {
  background: var(--primary);
  color: var(--white);
  padding: 0;
}
.info-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.info-bar-item:last-child { border-right: none; }
.info-bar-item svg { opacity: 0.75; flex-shrink: 0; }
.info-bar-item span strong { display: block; font-size: 1.05rem; font-weight: 800; }
.info-bar-item span small { font-size: 0.75rem; opacity: 0.75; }

/* ---------- Anmeldung Section (Homepage) ---------- */
.anmeldung-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.anmeldung-widget-wrap {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.anmeldung-widget-wrap h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

/* raceresult embed container */
#divRRRegStart { min-height: 200px; }

.anmeldung-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar-card .big-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.sidebar-card .big-number span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.progress-bar {
  margin-top: 10px;
  height: 8px;
  background: #e0e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 1s ease;
}
.progress-label {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.fee-list { display: flex; flex-direction: column; gap: 10px; }
.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-light);
  font-size: 0.88rem;
}
.fee-item .price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
}
.fee-item.current {
  background: var(--primary);
  color: var(--white);
}
.fee-item.current .price { color: var(--accent-light); }

/* ---------- Disziplinen-Cards ---------- */
.disziplinen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.disziplin-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e8eff7;
}
.disziplin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.disziplin-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.disziplin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Fallback-Farben pro Disziplin */
.disziplin-card--swim .disziplin-img  { background: linear-gradient(135deg, #006994 0%, #0096c7 100%); }
.disziplin-card--bike .disziplin-img  { background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%); }
.disziplin-card--run  .disziplin-img  { background: linear-gradient(135deg, #FF6B00 0%, #ff9a45 100%); }

.disziplin-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.35;
}

.disziplin-distance {
  position: absolute;
  bottom: 14px;
  left: 18px;
  background: rgba(0,0,0,0.45);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.disziplin-body { padding: 22px 24px 26px; }
.disziplin-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.disziplin-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Warum-Teilnehmen Section ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 91, 150, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
}

.section--dark .feature-icon {
  background: rgba(255,255,255,0.12);
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.section--dark .feature-item p { color: rgba(255,255,255,0.65); }
.section--dark .feature-item h3 { color: var(--white); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.cta-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
}

/* ---------- Galerie Vorschau / Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,64,112,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { color: white; width: 40px; height: 40px; }

/* Placeholder für Gallery-Items ohne Bild */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
  color: white;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; transform: scale(1.1); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.2rem;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 8px;
  opacity: 0.8;
  transition: var(--transition);
}
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---------- Ergebnisse ---------- */
.results-list { display: flex; flex-direction: column; gap: 16px; }

.result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.result-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
  transform: translateX(4px);
}
.result-year {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  min-width: 80px;
}
.result-info { flex: 1; }
.result-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.result-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.result-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Daten & Fakten Seite ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
}
.facts-table tr { border-bottom: 1px solid #e8eff7; }
.facts-table tr:last-child { border-bottom: none; }
.facts-table th {
  text-align: left;
  padding: 14px 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 38%;
  vertical-align: top;
}
.facts-table td {
  padding: 14px 0 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  vertical-align: top;
}

.strecke-steps { display: flex; flex-direction: column; gap: 0; }

.strecke-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 32px;
}
.strecke-step:last-child { padding-bottom: 0; }

.strecke-step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: #e0e8f0;
}
.strecke-step:last-child::before { display: none; }

.strecke-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-swim  { background: #e8f4f8; }
.step-bike  { background: #e8f0f8; }
.step-run   { background: #fff0e8; }
.step-t1, .step-t2 { background: #f0f8e8; font-size: 0.75rem; font-weight: 800; color: #4a7c4e; }

.strecke-step-body h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.strecke-step-body h3 .distance-badge {
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
}
.strecke-step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.notice-box {
  background: rgba(0,91,150,0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 12px;
}
.notice-box strong { color: var(--primary); }

/* ---------- Page Hero (Unterseiten) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero--light::after { background: var(--bg-light); }

.page-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.82;
  max-width: 560px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.88rem;
  line-height: 1.8;
}
.footer-contact a {
  color: rgba(255,255,255,0.75);
}
.footer-contact a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid #e0e8f0;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 6px;
}
.breadcrumb ol li a { color: var(--primary); }

/* ---------- Allgemeine Karten ---------- */
.card {
  background: var(--white);
  border: 1px solid #e0e8f0;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ---------- Chips / Tags ---------- */
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0,91,150,0.1);
  color: var(--primary);
}

/* ---------- Scroll-to-top Button ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .anmeldung-grid    { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .facts-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .disziplinen-grid { grid-template-columns: 1fr; }
  .info-bar-item { flex: 1 1 calc(50% - 2px); border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .page-hero { padding: 52px 0 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

@media (max-width: 480px) {
  .countdown { gap: 10px; }
  .countdown-item { padding: 12px 14px; min-width: 64px; }
  .countdown-value { font-size: 1.6rem; }
  .info-bar-item { flex: 1 1 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.fade-in-up.d1 { animation-delay: 0.1s; }
.fade-in-up.d2 { animation-delay: 0.2s; }
.fade-in-up.d3 { animation-delay: 0.3s; }
.fade-in-up.d4 { animation-delay: 0.4s; }

/* ---------- Partner-Sektion ---------- */
.partner-section {
  background: var(--bg-light);
  border-top: 1px solid #dde8f3;
  border-bottom: 1px solid #dde8f3;
  padding: 48px 0;
}

.partner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-text {
  flex: 1;
  min-width: 260px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,91,150,0.08);
  color: var(--primary);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.partner-badge .years {
  background: var(--primary);
  color: white;
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.78rem;
}

.partner-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.partner-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.partner-logo-wrap {
  flex-shrink: 0;
  text-align: center;
}

.partner-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: white;
  border: 1px solid #dde8f3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
}

.partner-logo-link:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.partner-logo-link img {
  height: 48px;
  width: auto;
  display: block;
}

.partner-logo-link span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer-Partner */
.footer-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-partner-logo {
  background: white;
  border-radius: 6px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

.footer-partner-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-partner-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .partner-inner { flex-direction: column; align-items: flex-start; }
  .partner-logo-wrap { width: 100%; }
  .partner-logo-link { width: 100%; justify-content: center; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .scroll-top, .hero-actions, .cta-banner { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 30px 0; }
}
