/* ============================================
   Bayern Active Sport - Main Styles
   ============================================ */

:root {
  --bas-green: #2D5016;
  --bas-green-dark: #1a3a0a;
  --bas-orange: #E87722;
  --bas-orange-dark: #d06610;
  --bas-white: #ffffff;
  --bas-bg: #f4f1ec;
  --bas-text: #1a1a1a;
  --bas-text-muted: #666666;
  --bas-border: #e8e8e8;
  --bas-nav-height: 72px;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--bas-text);
  background: var(--bas-white);
  line-height: 1.6;
}

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

/* ============================================
   NAVBAR
   ============================================ */

.bas-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,232,232,0.5);
  transition: background 0.3s, box-shadow 0.3s;
}

.bas-nav--scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.bas-nav__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 244px 0 122px;
  height: var(--bas-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bas-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bas-green);
  text-decoration: none;
}

.bas-nav__logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.bas-nav__logo-short { display: none; }

.bas-nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.bas-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.bas-nav__link-icon {
  font-size: 18px;
  line-height: 1;
}

.bas-nav__link:hover,
.bas-nav__link--active {
  color: var(--bas-green);
}

.bas-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.bas-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bas-text);
  transition: all 0.3s;
}

.bas-nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--bas-border);
  background: var(--bas-white);
}

.bas-nav__mobile--open { display: flex; }

.bas-nav__mobile-link {
  padding: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #444;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.bas-nav__mobile-link:hover {
  background: #f5f5f5;
  color: var(--bas-green);
}

/* ============================================
   MAIN
   ============================================ */

.bas-main {
  padding-top: var(--bas-nav-height);
}

/* ============================================
   HERO
   ============================================ */

.bas-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bas-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bas-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
}

.bas-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
}

.bas-hero__locations {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  margin-bottom: 24px;
}

.bas-hero__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--bas-white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.bas-hero__sub {
  font-size: clamp(17px, 2.3vw, 21px);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.bas-hero__steps {
  margin-top: 16px;
  font-size: clamp(17px, 2.3vw, 21px);
  color: rgba(255,255,255,0.7);
}

/* ============================================
   BUTTONS
   ============================================ */

.bas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.bas-btn--primary {
  background: var(--bas-white);
  color: var(--bas-green-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.bas-btn--primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: var(--bas-green-dark);
}

/* ============================================
   SEASON CARDS (Startseite)
   ============================================ */

.bas-seasons {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.bas-seasons__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bas-seasons__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.bas-seasons__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 24px;
}

.bas-seasons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.bas-season-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bas-season-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.bas-season-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.bas-season-card:hover .bas-season-card__img {
  transform: scale(1.05);
}

.bas-season-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 100%);
}

.bas-season-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: var(--bas-white);
  text-align: center;
}

.bas-season-card__content svg {
  margin-bottom: 8px;
  opacity: 0.95;
}

.bas-season-card__icon {
  font-size: 60px;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.bas-season-card__content h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--bas-white);
}

/* ============================================
   INFO SECTION (Sommer)
   ============================================ */

.bas-info {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.bas-info__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bas-info__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.bas-info__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 24px;
}

.bas-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.bas-info__col {
  text-align: center;
}

.bas-info__title {
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--bas-white);
  margin-bottom: 24px;
}

.bas-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bas-info__list li {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.bas-info__cta {
  text-align: center;
}

.bas-info__cta-title {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--bas-white);
  margin-bottom: 32px;
}

/* ============================================
   PARTNER BADGE
   ============================================ */

.bas-partner {
  text-align: center;
  padding: 40px 24px;
  background: var(--bas-bg);
}

.bas-partner__label {
  font-size: 14px;
  color: var(--bas-text-muted);
  margin-bottom: 12px;
}

.bas-partner__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bas-white);
  border: 1px solid var(--bas-border);
  border-radius: 10px;
  padding: 12px 24px;
  color: var(--bas-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: box-shadow 0.2s, transform 0.2s;
}

.bas-partner__badge:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.bas-partner__badge svg {
  color: var(--bas-green);
}

.bas-partner--detailed {
  display: flex;
  justify-content: center;
  padding: 56px 24px;
}

.bas-partner__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 640px;
  background: var(--bas-white);
  border: 1px solid var(--bas-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.bas-partner__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bas-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bas-green);
}

.bas-partner__text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--bas-text);
}

.bas-partner__text p {
  font-size: 15px;
  color: var(--bas-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.bas-partner__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bas-green);
  text-decoration: none;
}

.bas-partner__link:hover {
  text-decoration: underline;
}

/* ============================================
   GENERIC PAGE CONTENT (legal pages, booking, admin)
   ============================================ */

.bas-main--page {
  padding-top: calc(var(--bas-nav-height) + 48px);
  padding-bottom: 64px;
  min-height: 60vh;
}

.bas-page__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.bas-page__content h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--bas-green);
  margin-bottom: 24px;
}

.bas-page__content h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
}

.bas-page__content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.bas-page__content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.bas-page__content ul,
.bas-page__content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.bas-page__content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.bas-page__content a {
  color: var(--bas-green);
  text-decoration: underline;
}

.bas-page__content a:hover {
  color: var(--bas-green-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.bas-footer {
  background: #111111;
  color: rgba(255,255,255,0.5);
  font-size: 19px;
}

.bas-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.bas-footer__brand-name {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.bas-footer__brand-desc {
  max-width: 260px;
  line-height: 1.6;
}

.bas-footer__contact-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.bas-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.bas-footer__contact-link:hover { color: var(--bas-white); }

.bas-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  font-size: 13px;
}

.bas-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.bas-footer__legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.bas-footer__legal a:hover { color: var(--bas-white); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .bas-nav__links { display: none; }
  .bas-nav__toggle { display: flex; }
  .bas-nav__logo-full { display: none; }
  .bas-nav__logo-short { display: inline; }

  .bas-seasons__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bas-info__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bas-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .bas-footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .bas-seasons__grid { grid-template-columns: 1fr 1fr; }
  .bas-hero__content { padding: 60px 16px; }
}
