/* main.css */
:root {
  --main-green: #3b4520;
  --dark-brown: #4c3228;
  --creme: #e7dfd4;
  --light-brown: #d27d60;
  --gray: #f5f5f2;
  --font-color: #3b4520;
  --max-width: 1200px;
  --menu-height: 120px;
  --header-font-size: 1rem;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  color: var(--font-color);
  background: #fff;
  font-size: 16px;
}
a {
	font-color:var(--main-green);
}

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

/* --- Topbar --- */
.topbar {
  width: 100%;
  background: var(--main-green);
  color: #fff;
  font-size: var(--header-font-size);
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.topbar-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 48px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s;
}
.topbar-link:hover { opacity: 0.7; }
.topbar-right a {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  transition: opacity .2s;
}
.topbar-right a:hover { opacity: 0.7; }

/* 1) Container rechts als Flex-Reihe */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;           /* Abstand zwischen Tel & Mail */
}

/* 2) Links als inline-flex statt block-flex */
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}



/* --- Mainmenu --- */
.mainmenu-wrap {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 2px 10px rgba(59,69,32,0.08);
  width: 100%;
  transition: box-shadow .2s;
}
.mainmenu {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--menu-height);
  padding: 0 18px;
  position: relative;
  transition: height 0.3s, min-height 0.3s, padding 0.3s;
}
.mainmenu-left {
  display: flex;
  align-items: center;
  gap: 26px;
}
.mainmenu-logo {
  width: 180px;
  height: 72px;
  object-fit: contain;
  margin-right: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
  transition: width 0.3s, height 0.3s, margin 0.3s;
  display: block;
}
@media (min-width: 600px) {
  .mainmenu-logo {
    width: 230px;
    height: 90px;
    margin-top: 16px;
    margin-bottom: 16px;
  }
}

/* Geschrumpfter Header/Logo beim Scrollen */
.mainmenu-wrap.scrolled .mainmenu {
  height: 90px;
  min-height: 56px;
  padding-top: 0;
  padding-bottom: 0;
}
.mainmenu-wrap.scrolled .mainmenu-logo {
  height: 38px !important;
  width: auto;
  margin-top: 4px;
  margin-bottom: 4px;
}
@media (min-width: 600px) {
  .mainmenu-wrap.scrolled .mainmenu-logo {
    height: 70px !important;
    width: auto;
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

.mainmenu-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mainmenu-nav a {
  color: var(--font-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.07rem;
  padding: 10px 16px;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.mainmenu-nav a:hover,
.mainmenu-nav a.active {
  background: var(--main-green);
  color: #fff;
}
.mainmenu-book {
  background: var(--light-brown);
  color: #fff;
  font-weight: 600;
  padding: 14px 38px;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(59,69,32,0.12);
  text-decoration: none;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  margin-left: 18px;
}
.mainmenu-book:hover {
  background: #263006;
  box-shadow: 0 2px 12px rgba(59,69,32,0.15);
}

/* --- Burger Menü --- */
.mainmenu-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0;
}



/* Ab <= 1200px anzeigen */
@media (max-width: 1200px) {
  .mainmenu-burger {
    display: flex;
  }
}
.mainmenu-burger span, 
.mainmenu-burger::before, 
.mainmenu-burger::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--main-green);
  border-radius: 2px;
  margin: 4px 0;
  transition: 0.3s;
}

.mainmenu-burger span {
  background: var(--main-green);
  position: relative;
  z-index: 2;
}

.mainmenu-burger.active span {
  background: transparent;
}
.mainmenu-burger.active::before {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--main-green);
}
.mainmenu-burger.active::after {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--main-green);
}
.mainmenu-burger::before,
.mainmenu-burger::after {
  position: relative;
  z-index: 2;
}

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
}
@media (max-width: 1200px) {
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(59,69,32,0.09);
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 20;
    animation: fadein .3s;
  }
  .mobile-nav.show {
    display: flex;
  }
  .mobile-nav a {
    color: var(--font-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.15s, color 0.15s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover, .mobile-nav a.active {
    background: var(--main-green);
    color: #fff;
  }
}

/* --- Footer --- */
.footer {
  width: 100%;
  background: var(--dark-brown);
  color: #fff;
  padding: 0;
  margin-top: 0;
}
.footer-boxed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 28px 24px;
  display: flex;
  gap: 38px;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}
.footer-col {
  flex: 1 1 0;
  min-width: 190px;
  margin-right: 16px;
}
.footer-col h3 {
  margin-top: 0;
  margin-bottom: 13px;
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer-col p, .footer-col ul {
  margin: 0 0 8px 0;
  font-size: 1.03rem;
  color: #eee;
  font-weight: 300;
  line-height: 1.7;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: 6px;
}
.footer-col a {
  color: #e7dfd4;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--light-brown);
  text-decoration: underline;
}

/* --- Responsive für header/footer/topbar --- */
@media (max-width: 1200px) {
  .topbar { display: none; }
  .mainmenu {
    padding-left: 8px;
    padding-right: 8px;
    height: 74px;
    min-height: 64px;
  }
  .mainmenu-nav,
  .mainmenu-book {
    display: none !important;
  }
  .mainmenu-burger {
    display: flex;
  }
  .mainmenu-logo {
    width: 130px;
    height: 40px;
    margin-top: 6px;
    margin-bottom: 6px;
  }
}
@media (max-width: 900px) {
  .footer-boxed {
    flex-direction: column;
    gap: 18px;
    padding: 28px 8px 18px 8px;
  }
  .footer-col {
    margin-right: 0;
    margin-bottom: 8px;
  }
}
@media (max-width: 900px) {
  .mainmenu,
  .topbar-content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .mainmenu-logo {
    width: 110px;
    height: 32px;
    margin-top: 4px;
    margin-bottom: 4px;
  }
}
@media (max-width: 600px) {
  .mainmenu {
    flex-direction: row;
    height: 60px;
    gap: 0;
    align-items: center;
    padding: 6px 4px;
  }
  .mainmenu-left {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }
  .mainmenu-logo {
    width: 80px;
    height: 24px;
    margin-top: 0;
    margin-bottom: 0;
  }
}
@keyframes fadein {
  0% { opacity: 0; transform: translateY(-12px);}
  100% { opacity: 1; transform: translateY(0);}
}




.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 30px 0;
  color: var(--main-green);
  width: 100%;
  text-align: center;
  gap: 20px;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
  background: #ccc;
  width: 100%;
}
