/* ======================================================
   VARIABLEN
   ====================================================== */

:root {
  --green: #7bbf9e;
  --dark: #1b1b1b;
  --light: #f5f6f3;
  --text: #222;
}


/* ======================================================
   RESET & BASIS
   ====================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}


/* ======================================================
   CONTAINER & LAYOUT
   ====================================================== */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}


/* ======================================================
   HEADER
   ====================================================== */

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Container im Header bewusst kleiner */
.header .container {
  padding: 1rem 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}


/* ======================================================
   LOGO (Textlogo)
   ====================================================== */

.logo-text {
  text-decoration: none;
  color: #111;
  line-height: 1.15;
}

.logo-sub {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 2px;
}

.logo-main {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.logo-contact {
  display: block;
  font-size: 12.5px;
  color: #666;
  margin-top: 4px;
}


/* ======================================================
   NAVIGATION
   ====================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav a,
.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  padding: 4px 6px;
  cursor: pointer;
}

.nav a.active {
  font-weight: 600;
}


/* ======================================================
   DROPDOWN
   ====================================================== */

/* ======================================================
   DROPDOWN
   ====================================================== */

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 180px;
  padding: 4px 0;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f2f7f4;
}

/* Desktop Hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* Handy Klick */
.nav-dropdown.open .dropdown-menu {
  display: block;
}


/* ======================================================
   BOOKING / CTA BUTTON
   ====================================================== */

.btn-booking,
.nav .cta {
  margin-left: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: #2ea66b;
  color: #ffffff !important;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-booking:hover,
.nav .cta:hover {
  background: #24905c;
  transform: translateY(-1px);
}


/* ======================================================
   HERO
   ====================================================== */

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: #ffffff;
  background: rgba(0,0,0,0.45);
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}


/* Hero ohne Bild */

.hero.no-image {
  height: 45vh;
  min-height: 260px;
  background: linear-gradient(
    rgba(171, 220, 164, 0.85),
    rgba(171, 220, 164, 0.85)
  );
  display: flex;
  align-items: center;
}

.hero.no-image .hero-overlay {
  background: transparent;
}

.hero.no-image h1 {
  color: #ffffff;
}


/* ======================================================
   SECTIONS
   ====================================================== */

.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--light);
}

.section-dark {
  background: var(--dark);
  color: #ffffff;
}

.intro {
  max-width: 700px;
}


/* ======================================================
   CARDS
   ====================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--green);
  color: white;
  border-radius: 6px;
  text-decoration: none;
}


/* ======================================================
   GALERIE
   ====================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.04);
}


/* ======================================================
   LIGHTBOX
   ====================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  padding: 20px;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
.lightbox .close {
  top: 10px;
  right: 20px;
  font-size: 2.5rem;
}


/* ======================================================
   MAP
   ====================================================== */

.map-container {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  max-height: 700px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ======================================================
   FOOTER
   ====================================================== */

.footer {
  background: #111;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 1rem;
}


/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .logo-main {
    font-size: 22px;
  }

  .logo-contact {
    font-size: 12px;
  }
}

/* Footer soll die Seite optisch sauber abschließen */
.footer {
  margin-top: 0;
  padding-bottom: 2rem;
}

/* Entfernt hellen Abstand unter dem letzten Inhalt */
.site-content {
  margin-bottom: 0;
}

/* Falls der letzte Container noch Luft hat */
.site-content .container {
  padding-bottom: 3rem;
}

/* =========================================
   HEADER HÖHE AUF ALLEN SEITEN GLEICH
   ========================================= */

.header .container.header-inner {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}


/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-slider .slider {
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
``

/* Karten einheitlich hoch machen */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Bilder bleiben gleich groß */
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Textbereich vereinheitlichen */
.card-body {
  flex: 1;
  min-height: 170px;   /* <- DAS ist der entscheidende Wert */
}
/* Galerie-Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
}

.cookie-banner a {
    color: #2ea66b;
    text-decoration: underline;
}

.cookie-banner button {
    background: #2ea66b;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s ease;
}

.cookie-banner button:hover {
    background: #24905c;
}


@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner button {
        width: 100%;
    }
}

.intro {
    max-width: 1000px;
}

.notice-bar {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-left: 4px solid #2ea66b;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.intro {
    max-width: 1000px;
    margin: 0 auto;
}

.intro h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
}

.intro p {
    margin-bottom: 1rem;
}

.notice-bar {
    margin-top: 1.5rem;
}

.intro.section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* ======================================================
   MOBILE NAVIGATION - HORIZONTAL WIE DESKTOP
   ====================================================== */

@media (max-width: 768px) {

  .header .container {
    padding: 1rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }


  .logo-text {
    text-align: center;
  }


  .logo-main {
    font-size: 22px;
  }


  .logo-contact {
    font-size: 11px;
  }


  /* Navigation nebeneinander */
  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem 1.2rem;
  }


  .nav a,
  .nav-link {
    padding: 5px 4px;
    font-size: 14px;
    white-space: nowrap;
  }


  /* Dropdown bleibt passend */
  .nav-dropdown {
    position: relative;
  }


  .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
  }


  /* Booking Button */
  .btn-booking {
    margin-left: 0;
  }

}

@media (max-width: 768px) {

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .footer a {
    margin-left: 0;
  }

}