/* ============================================================
   SEEPARK PUTTER – SHARED STYLESHEET
   ============================================================ */

@font-face {
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('files/minigolfruegen/fonts/lobster-v28-latin-regular.woff2') format('woff2'),
       url('files/minigolfruegen/fonts/lobster-v28-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('files/minigolfruegen/fonts/roboto-slab-v24-latin-300.woff2') format('woff2'),
       url('files/minigolfruegen/fonts/roboto-slab-v24-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('files/minigolfruegen/fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'),
       url('files/minigolfruegen/fonts/roboto-slab-v24-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('files/minigolfruegen/fonts/roboto-slab-v24-latin-700.woff2') format('woff2'),
       url('files/minigolfruegen/fonts/roboto-slab-v24-latin-700.woff') format('woff');
}

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

:root {
  --green:       #3b7829;
  --green-light: #6db243;
  --green-bg:    rgba(59,120,41,0.85);
  --text:        #777;
  --text-dark:   #393836;
  --border:      #dcdcdc;
  --sidebar-w:   300px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto Slab', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

a { color: var(--green); text-decoration: none; }
a:hover { opacity: .8; }

h1,h2,h3,h4,h5,h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }

.lobster { font-family: 'Lobster', sans-serif; font-weight: 400; }

hr.accent {
  border: none;
  height: 2px;
  width: 65px;
  background: var(--green);
  margin: 10px 0 18px;
}

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
#sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100%;
  background: #fff;
  border-right: 1px solid var(--border);
  box-shadow: 10px 0 50px -2px rgba(0,0,0,.14);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

#main-content { margin-left: var(--sidebar-w); }

/* ============================================================
   LOGO
   ============================================================ */
.logo {
  display: block;
  width: 160px;
  height: 160px;
  margin: 40px auto 20px;
  background: url('files/minigolfruegen/img/logo-full.png') no-repeat center / contain;
  flex-shrink: 0;
}

/* ============================================================
   NAV
   ============================================================ */
nav.mainmenu { padding: 6px 0; }
nav.mainmenu ul { list-style: none; }
nav.mainmenu ul li a {
  display: block;
  padding: 9px 40px;
  color: var(--text-dark);
  font-size: 15px;
  transition: color .2s;
}
nav.mainmenu ul li a:hover,
nav.mainmenu ul li a.active { color: var(--green); }

/* ============================================================
   SIDEBAR BOTTOM
   ============================================================ */
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 40px 28px;
}

.social-icons { display: flex; gap: 6px; margin-bottom: 14px; }
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px; height: 35px;
  border-radius: 50%;
  background: rgba(109,178,67,.7);
  color: var(--green);
  font-size: 15px;
  transition: background .2s;
}
.social-icons a:hover { background: var(--green); color: #fff; }

.sidebar-contact p { font-size: 14px; color: var(--text); margin-bottom: 4px; }
.sidebar-contact i { width: 18px; color: var(--green); }

/* ============================================================
   MOBILE HAMBURGER
   ============================================================ */
#nav-toggle {
  display: none;
  position: fixed;
  top: 14px; right: 16px;
  z-index: 2000;
  background: var(--green);
  border: none;
  border-radius: 6px;
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
#nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; }

/* ============================================================
   PAGE HEADER (non-home pages)
   ============================================================ */
.page-header {
  background: url('files/minigolfruegen/img/background_image.jpg') center / cover no-repeat;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px 40px;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-bg);
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-family: 'Lobster', sans-serif; font-size: clamp(26px,4vw,44px); margin-bottom: 6px; }
.page-header p { color: rgba(255,255,255,.88); font-size: 17px; }
.page-header a { color: rgba(255,255,255,.88); text-decoration: underline; }

/* ============================================================
   CONTENT AREA
   ============================================================ */
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

/* ============================================================
   SLIDER (home only)
   ============================================================ */
#slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide-caption {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  width: 90%;
}
.slide-caption h2 {
  font-family: 'Lobster', sans-serif;
  font-size: clamp(28px,5vw,52px);
  color: #fff;
  margin-bottom: 8px;
  background: var(--green-bg);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 4px;
}
.slide-caption p { font-size: clamp(14px,2.5vw,22px); color: #fff; margin-bottom: 14px; }
.slide-caption a.btn-slide {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 2px solid #fff;
  color: #fff;
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 15px;
  transition: background .2s;
}
.slide-caption a.btn-slide:hover { background: rgba(255,255,255,.35); }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
}
.slider-dots button.active { background: #fff; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.3);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.slider-arrow:hover { background: rgba(0,0,0,.6); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.scroll-hint {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 46px;
  border: 2px solid #fff;
  border-radius: 15px;
  z-index: 10;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  margin: 6px auto 0;
  animation: scrollwheel 1.7s infinite ease;
}
@keyframes scrollwheel {
  0%   { margin-top: 6px; opacity: 0; }
  30%  { opacity: 1; }
  100% { margin-top: 18px; opacity: 0; }
}

/* ============================================================
   INFO BOXES (home)
   ============================================================ */
#infoboxes { display: grid; grid-template-columns: repeat(3,1fr); }
.infobox {
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px 36px;
  position: relative;
}
.infobox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(59,120,41,.72);
}
.infobox-inner { position: relative; z-index: 1; color: #fff; max-width: 320px; }
.infobox-inner h3 { color: #fff; font-size: 20px; letter-spacing: .06em; margin-bottom: 8px; }
.infobox-inner hr.accent { background: rgba(255,255,255,.7); }
.infobox-inner p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.7; }

/* ============================================================
   HERO SECTION (home)
   ============================================================ */
#hero {
  background: url('files/minigolfruegen/img/background_image.jpg') center / cover fixed no-repeat;
  padding: 80px 40px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.hero-img img { max-width: 280px; width: 100%; height: auto; display: block; margin: 0 auto; }
.hero-text h1 {
  font-family: 'Lobster', sans-serif;
  font-size: clamp(28px,4vw,44px);
  color: #fff;
  margin-bottom: 4px;
}
.hero-text .subtitle {
  font-style: italic;
  color: rgba(255,255,255,.8);
  font-size: 1.15em;
  font-family: Georgia, serif;
  margin-bottom: 20px;
  display: block;
}
.hero-text p { color: rgba(255,255,255,.9); }

.btn {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 15px;
  transition: background .2s;
  margin-top: 12px;
}
.btn:hover { background: rgba(255,255,255,.35); }

/* ============================================================
   MINIGOLFANLAGE – GRID
   ============================================================ */
.bahnen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 60px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.bahn-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.bahn-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); opacity: 1; }
.bahn-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.bahn-card-body { padding: 14px 16px; }
.bahn-card-body .num {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.bahn-card-body h3 { font-size: 16px; margin-bottom: 0; color: var(--text-dark); }

/* ============================================================
   BAHN DETAIL PAGE
   ============================================================ */
.bahn-detail-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.bahn-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #f8f8f8;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.bahn-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
}
.bahn-nav .back { color: var(--text); font-weight: 400; }
.bahn-counter {
  font-size: 13px;
  color: #aaa;
}

/* ============================================================
   MINIGOLF REGELN
   ============================================================ */
.regel {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.regel:last-child { border-bottom: none; }
.regel-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.regel-text h4 { color: var(--text-dark); margin-bottom: 6px; }

/* ============================================================
   ANFAHRT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 30px;
}
.contact-item { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-item i { color: var(--green); font-size: 20px; width: 26px; flex-shrink: 0; margin-top: 2px; }
.contact-item p { margin: 0; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 15px;
  margin-top: 20px;
  transition: opacity .2s;
}
.map-link:hover { opacity: .85; }

/* ============================================================
   SEEPARK PUTTER PAGE – STATS
   ============================================================ */
.stat-boxes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin: 40px 0;
}
.stat-box {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 20px;
}
.stat-box .stat-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-label { font-size: 14px; color: var(--text); }

/* ============================================================
   DATENSCHUTZ / IMPRESSUM – TEXT CONTENT
   ============================================================ */
.legal h2 { margin-top: 36px; margin-bottom: 10px; }
.legal h4 { margin-top: 28px; margin-bottom: 8px; color: var(--green); }
.legal h5 { margin-top: 22px; margin-bottom: 6px; }

.accordion-item { border-bottom: 1px solid var(--border); margin-bottom: 0; }
.accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 14px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-toggle i { color: var(--green); transition: transform .2s; }
.accordion-toggle.open i { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 0 16px; }
.accordion-body.open { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #fff;
  border-top: 1px solid #efeeea;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #686868;
}
footer a { color: #686868; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { color: var(--green); font-size: 16px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 767px) {
  #sidebar {
    position: fixed;
    left: -100%;
    width: 260px;
    transition: left .3s ease;
    z-index: 1500;
  }
  #sidebar.open { left: 0; }
  #sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1400;
  }
  #sidebar-overlay.open { display: block; }
  #nav-toggle { display: flex; }
  #main-content { margin-left: 0; }

  .logo {
    width: 80px; height: 80px;
    margin: 16px auto 10px;
    background-image: url('files/minigolfruegen/img/logo.png');
  }

  #infoboxes { grid-template-columns: 1fr; }
  .infobox { height: 320px; }

  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-img { display: none; }

  .bahnen-grid { grid-template-columns: repeat(2,1fr); gap: 14px; padding: 30px 16px 50px; }
  .bahn-card img { height: 150px; }

  .content-wrap { padding: 40px 20px 60px; }
  .page-header { padding: 50px 20px 30px; min-height: 180px; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-boxes { grid-template-columns: 1fr; }
  .bahn-nav { padding: 16px 20px; }

  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }

  footer { flex-direction: column; text-align: center; padding: 20px; }
  .footer-links, .footer-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .bahnen-grid { grid-template-columns: 1fr; }
}
