/* CSS RESET & BASE STYLES */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F1E5C0;
  color: #245C3C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #245C3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7A561A;
  outline: none;
}
ul, ol {
  list-style: none;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}
hr {
  border: none;
  border-top: 1.5px solid #DDDAB8;
  margin: 32px 0;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #245C3C;
  margin-bottom: 18px;
  line-height: 1.1;
  text-transform: none;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: #245C3C;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: #245C3C;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #245C3C;
}
p, li, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #245C3C;
}
blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #245C3C;
}
cite {
  display: block;
  font-size: 0.98rem;
  color: #7A561A;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
strong {
  font-weight: 600;
  color: #245C3C;
}

/* LAYOUT CONTAINER CLASSES (Matching HTML classes exactly) */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0 4px 20px 0 rgba(36,92,60,0.09);
  border: 2.5px solid #DDDAB8;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER, NAV & LOGO */
header {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(36,92,60,0.04);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 0 6px 0;
  border-bottom: 2.4px solid transparent;
  transition: border-bottom 0.2s, color 0.2s;
  color: #245C3C;
}
.main-nav a:hover,
.main-nav a:focus {
  border-bottom: 2.4px solid #A27D42;
  color: #A27D42;
}
.cta-primary {
  background: #245C3C;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 12px 33px;
  margin-left: 32px;
  box-shadow: 0 2px 12px 0 rgba(36,92,60,.14);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  border: none;
  text-align: center;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #A27D42;
  color: #FFFCEB;
  box-shadow: 0 4px 24px 0 rgba(122,86,26,0.14);
}
.hide-desktop {
  display: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: #245C3C;
  border: none;
  margin-left: 20px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  color: #7A561A;
}

/* HERO SECTIONS */
.hero {
  background: #F1E5C0;
  padding: 54px 0 46px 0;
  min-height: 300px;
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 22px;
  color: #245C3C;
}
.hero .cta-primary {
  margin-top: 6px;
  font-size: 1.09rem;
}

/* FEATURES (Index + About + Touren + Bauernhofleben etc.) */
.features {
  background: #fffce0;
  margin-bottom: 56px;
  padding-top: 38px;
}
.features .container { padding-bottom: 10px; }
.feature-grid, .usp-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 24px;
}
.feature-card, .usp-card {
  background: #FFFFFF;
  border-radius: 17px;
  box-shadow: 0 6px 26px 0 rgba(36,92,60,0.08);
  padding: 30px 22px 22px 22px;
  flex: 1 1 235px;
  max-width: 290px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  border-bottom: 3.5px solid #A27D42;
  margin-bottom: 20px;
  transition: transform 0.12s, box-shadow 0.18s;
}
.feature-card img, .usp-card img {
  height: 52px;
  margin-bottom: 9px;
}
.feature-card:hover, .usp-card:hover {
  transform: translateY(-7px) scale(1.035) rotate(-0.7deg);
  box-shadow: 0 10px 48px 0 rgba(36,92,60,.19);
}

/* SERVICES (Index + Touren & Erlebnisse) */
.services {
  background: #FFFFFF;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 6px 36px 0 rgba(36,92,60,.09);
  margin-bottom: 54px;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 16px 0;
  justify-content: flex-start;
}
.service-card {
  background: #F1E5C0;
  border-radius: 15px 15px 36px 15px;
  box-shadow: 0 4px 14px 0 rgba(122,86,26,0.10);
  padding: 22px 22px 20px 22px;
  flex: 1 1 235px;
  min-width: 210px;
  max-width: 290px;
  border: 2.5px solid #A27D42;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 11px;
  transition: box-shadow 0.12s, border 0.18s;
}
.service-card:hover {
  box-shadow: 0 8px 30px 0 rgba(36,92,60,0.13);
  border-color: #245C3C;
}
.service-card h3 {
  margin-bottom: 0;
}
.service-card .service-price {
  background: #245C3C;
  color: #FFFCEB;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 7px 15px 6px 15px;
  border-radius: 6px 16px 6px 6px;
  box-shadow: 0 1.5px 8px 0 rgba(36,92,60,0.09);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* Pricing Table (touren-erlebnisse) */
.pricing-table {
  background: #F1E5C0;
  border-radius: 10px;
  box-shadow: 0 4px 14px 0 rgba(36,92,60,0.03);
  margin: 20px 0;
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid #A27D42;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.07rem;
  color: #245C3C;
}

/* PRODUCTS (kaese-milchprodukte) */
.products {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 12px 0 rgba(36,92,60,0.07);
  margin-bottom: 54px;
  padding-bottom: 1px;
}
.origin-stories {
  background: #F1E5C0;
  box-shadow: 0 2px 8px rgba(122,86,26,0.10);
  border-radius: 0 0 22px 22px;
  margin-top: 25px;
  padding: 22px 18px;
}
.origin-stories h3 {
  font-size: 1.14rem;
  color: #245C3C;
}

/* LEGAL & INFO PAGE SECTIONS */
.legal {
  background: #FFFFFF;
  border-radius: 17px;
  padding: 38px 0 30px 0;
  margin-bottom: 56px;
  box-shadow: 0 2px 15px 0 rgba(36,92,60,0.07);
}

/* CTA SECTIONS */
.cta {
  background: #A27D42;
  color: #FFFCEB;
  border-radius: 28px;
  padding: 44px 0 44px 0;
  margin-bottom: 64px;
  box-shadow: 0 4px 16px 0 rgba(36,92,60,.16);
}
.cta h2,
.cta p {
  color: #FFFCEB;
}
.cta .cta-primary {
  background: #FFFFFF;
  color: #245C3C;
  margin-left: 0;
  margin-top: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(164,180,118,0.10);
}
.cta .cta-primary:hover {
  background: #245C3C;
  color: #FFF;
}

/* TESTIMONIALS & GUEST REVIEWS */
.testimonials, .gallery-testimonials {
  background: #f8f5ea;
  margin-bottom: 60px;
  padding: 34px 0 34px 0;
  border-top: 4px solid #A27D42;
  border-radius: 0 0 44px 44px;
}
.testimonial-card {
  background: #FFF;
  border-radius: 18px;
  border: 2.5px solid #A27D42;
  box-shadow: 0 4px 20px 0 rgba(36,92,60,0.09);
  color: #245C3C;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border 0.18s;
  min-width: 0;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(36,92,60,0.14);
  border-color: #245C3C;
}
.testimonial-card blockquote {
  color: #245C3C;
}
.testimonial-card cite {
  color: #7A561A;
}

/* CONTACT SECTION */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.contact-info img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
  vertical-align: middle;
}
.map-location {
  margin-top: 20px;
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 8px 0 rgba(36,92,60,0.10);
  padding: 18px 14px;
}

/* FOOTER */
footer {
  background: #245C3C;
  color: #F1E5C0;
  padding: 30px 0 0 0;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid #A27D42;
}
.footer-top img {
  height: 40px;
}
.footer-top nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-top nav a {
  color: #F1E5C0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.footer-top nav a:hover,
.footer-top nav a:focus {
  color: #FFF;
  border-bottom: 2px solid #FFFCEB;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  padding: 12px 0 24px 0;
  color: #FFF;
}
.footer-contact div {
  display: flex;
  align-items: center;
  font-size: 0.99rem;
  gap: 7px;
  min-width: 190px;
}
.footer-contact img {
  height: 20px;
  width: 20px;
}


/* GALLERY (galerie.html) EXAMPLES */
.gallery {
  margin-bottom: 44px;
}
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
  justify-content: center;
}
.gallery-image {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 2px 20px 0 rgba(36,92,60,0.11);
  overflow: hidden;
  flex: 1 1 210px;
  min-width: 170px;
  max-width: 320px;
  transition: transform 0.19s, box-shadow 0.23s;
}
.gallery-image:hover {
  transform: scale(1.045) rotate(2deg);
  box-shadow: 0 8px 32px 0 rgba(36,92,60,0.23);
}
.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* UTILITY CLASSES (Geometric/Structred design) */
.angle-bg {
  background: linear-gradient(114deg, #F1E5C0 65%, #FFFCEB 100%);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  padding-bottom: 13vw;
}
.geometric-shape {
  width: 54px;
  height: 54px;
  background: #A27D42;
  clip-path: polygon(50% 2%, 98% 25%, 80% 96%, 20% 98%, 2% 25%);
  position: absolute;
  right: 18px;
  top: 10px;
  opacity: 0.08;
  z-index: 0;
}

/* BUTTONS & LINKS */
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #245C3C;
  color: #FFFCEB;
  border-radius: 9px;
  padding: 11px 28px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.22s, color 0.18s, box-shadow 0.13s, transform 0.11s;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgba(36,92,60,0.05);
}
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #A27D42;
  color: #FFF;
  transform: translateY(-1.5px) scale(1.018);
  box-shadow: 0 6px 22px 0 rgba(122,86,26,0.08);
}

/* MOBILE BURGER MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 98vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -6px 0 28px 0 rgba(36,92,60,0.18);
  transform: translateX(120%);
  transition: transform 0.37s cubic-bezier(.44,.14,.16,1.01);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 16px 26px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2rem;
  color: #245C3C;
  border: none;
  margin-bottom: 26px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10600;
}
.mobile-menu-close:hover {
  color: #A27D42;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: #245C3C;
  padding: 7px 0 7px 0;
  border-bottom: 2.4px solid transparent;
  transition: color 0.18s, border 0.19s;
  border-radius: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #A27D42;
  border-bottom: 2.4px solid #A27D42;
  background: #FFFCEB;
}

/* Hide desktop nav on mobile, show burger. */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .hide-desktop {
    display: inherit;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Responsive: Layout adjustments */
@media (max-width: 992px) {
  .feature-grid, .usp-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .service-cards {
    flex-direction: column;
    gap: 22px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-inline: 8px;
  }
  .hero {
    padding: 32px 0 30px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .features, .services, .products, .legal {
    padding: 16px 0 12px 0;
    border-radius: 8px;
  }
  .feature-card, .usp-card, .service-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .section {
    padding: 21px 4px;
    margin-bottom: 38px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 13px;
  }
  .footer-contact {
    padding: 10px 0 13px 0;
  }
  .cta {
    padding: 25px 4px 25px 4px;
    border-radius: 14px;
    margin-bottom: 38px;
  }
  .origin-stories {
    padding: 12px 6px;
  }
}
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: stretch;
    padding: 13px 0 11px 0;
  }
}
@media (max-width: 460px) {
  .hero h1 {
    font-size: 1.18rem;
  }
  .footer-top img {
    height: 32px;
  }
}

/* Flexbox alignments for key sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .features .container, .services .container {
    padding-bottom: 4px;
  }
}

/****** COOKIE CONSENT BANNER & MODAL ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFFCEB;
  border-top: 3px solid #A27D42;
  box-shadow: 0 -6px 20px 0 rgba(36,92,60,0.09);
  z-index: 10001;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  font-size: 1rem;
  transition: transform 0.44s cubic-bezier(.44,.14,.16,1.01);
  gap: 20px;
  max-width: 100vw;
  width: 100%;
}
.cookie-banner.closed {
  transform: translateY(140%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-banner button {
  background: #245C3C;
  color: #FFF;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0;
  box-shadow: 0 2px 5px 0 rgba(122,86,26,0.09);
  border: none;
  transition: background 0.18s, color 0.12s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: #245C3C;
}
.cookie-banner button.reject {
  background: #A27D42;
}
.cookie-banner button.settings {
  background: #FFF;
  color: #245C3C;
  border: 2px solid #A27D42;
}
.cookie-banner button:hover {
  filter: brightness(1.08);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px;
    gap: 5px;
  }
  .cookie-banner .cookie-actions {
    margin-top: 11px;
    gap: 8px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10100;
  left: 0;top: 0;right: 0;bottom: 0;
  background: rgba(36,92,60,0.29);
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.27s;
}
.cookie-modal.active {
  display: flex;
  animation: cookieModalFadeIn 0.27s;
}
@keyframes cookieModalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal-dialog {
  background: #FFFCEB;
  border-radius: 22px;
  max-width: 420px;
  width: 98vw;
  box-shadow: 0 8px 34px 0 rgba(36,92,60,0.18);
  padding: 34px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  animation: modalDialogSlideIn 0.33s;
}
@keyframes modalDialogSlideIn { from { transform: translateY(60px); opacity: 0;} to { transform: translateY(0); opacity:1;} }
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  font-size: 1.4rem;
  background: none;
  border: none;
  color: #245C3C;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: #A27D42;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
}
.cookie-category input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: #245C3C;
}
.cookie-category.essential label {
  color: #7A561A;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #A27D42;
}
.cookie-modal-dialog .cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 11px;
}

/* END CSS */