.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.flags-hero {
  margin-top: 2rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}
:root {
  --color-primary: #346733;
  --color-accent: #b1bc3b;
  --color-secondary: #2A442F;
  --color-text: #1c2027;
  --color-bg: #F3F0EA;
}

.content > :first-child {
  margin-top: 0;
}

/* Base */
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Oswald', serif;
  color: var(--color-primary);
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
a,
a:visited,
a:link,
a:active,
a:visited {
  color: inherit;
}

a.button {
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 5px;
}

a.button:hover {
  background-color: var(--color-accent);
  color: black;
}

/* Layout */
.header {
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.content {
  margin: 3rem auto 2rem auto;
  width: 95%;
  max-width: 1000px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .content {
    width: 80%;
  }
}

section, .content h2 {
  margin-top: 3rem;
}

.footer {
  background-color: var(--color-secondary);
  text-align: center;
  font-size: 0.875rem;
  padding: 1rem;
  color: var(--color-bg);
}

/* Hero */
.hero-section {
  background-image: url('/gelaende/bild9.webp');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-fullscreen-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
}

.hero-fullscreen-button:hover {
  background: white;
}

.hero-logo {
  width: 300px;
  max-width: 90vw;
  display: block;
  margin: 0 auto 0.7rem auto;
  transition: opacity 0.5s ease;
  z-index: 2;
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.fullscreen-active .hero-logo {
  display: none !important;
}

/* Navigation */
.nav {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  background-color: var(--color-secondary);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  border-radius: 0;
}

.nav-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav a:hover {
  background-color: var(--color-primary);
  border-radius: 5px;
}

.nav a:visited {
  color: white;
}
@media (min-width: 768px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-secondary);
    
  }

  .nav {
    max-width: 1000px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-secondary);
  }

  .nav {
    max-width: 1000px;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 8px;
    text-align: left;
  }

  .nav-links {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-title {
    display: none;
  }
}

@media (max-width: 400px) {
  .nav-links a {
    font-size: 0.875rem;
    padding: 0.4rem 0.5rem;
  }
}

/* Lageplan */
.lageplan-wrapper {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

.lageplan-svg {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  max-height: 90vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zoom-button {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
}

.zoom-button:hover {
  background: var(--color-accent);
  color: black;
}

.fullscreen-active .zoom-button,
.fullscreen-active .hero-fullscreen-button {
  display: none;
}

.exit-fullscreen {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
}

.fullscreen-active .exit-fullscreen {
  display: block;
}

/* Buchung */
.booking-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
  background-image: url('/pitch-control.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 320px auto;
}

.booking-text, .booking-widget {
  flex: 1;
}

.booking-widget {
	margin-top: 50px;
}

@media (min-width: 900px) {
  .booking-section {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Partner */
.partner-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.partner-logo-inline {
  height: 150px;
  width: auto;
  vertical-align: middle;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .booking-section {
    background-position: 125% 35%;
    background-size: 202px auto;
  }
}

/* Slider Styles */
.image-slider {
  position: relative;
  width: 100%;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 90vh;
  background: #222;
  aspect-ratio: 16/9;
  min-height: 250px;
}

.slider-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s;
}

.slider-image.active {
  opacity: 1;
  z-index: 2;
}

.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-prev svg, .slider-next svg {
  pointer-events: none;
}