/* ---------------------- CSS RESET & BASE ---------------------- */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #222;
  background: #f6f7f9;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border: 0;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  outline: none;
}
hr {
  border: none;
  border-top: 2px solid #e2e2e2;
  margin: 24px 0;
}

/* ---------------------- COLORS & BRAND ---------------------- */
:root {
  /* Brand Colors */
  --color-primary: #25482a;
  --color-secondary: #f2eccf;
  --color-accent: #547981;
  /* Playful Dynamic Additions */
  --color-fun-yellow: #ffe066;
  --color-fun-orange: #ff972f;
  --color-fun-pink: #fd6585;
  --color-fun-blue: #1ca3ec;
  --color-fun-teal: #45e1b3;
  --color-light: #fff;
  --color-text-dark: #21222c;
}

/* ---------------------- TYPOGRAPHY ---------------------- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: var(--color-primary);
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.18; }
h2 { font-size: 2rem; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 1.38rem; margin-bottom: 8px; }
h4 { font-size: 1.12rem; margin-bottom: 5px; }
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-text-dark);
  margin-bottom: 14px;
}
strong { color: var(--color-accent); font-weight: 700; }
.section ul, .section ol { padding-left: 22px; margin-bottom: 14px; }
.section li { position: relative; margin-bottom: 9px; line-height: 1.6; }
.section li::before {
  content: '•';
  color: var(--color-fun-orange);
  font-size: 1.22em;
  margin-right: 10px;
}
.text-section ul li::before { color: var(--color-fun-blue); }
.tag {
  background: var(--color-fun-yellow);
  color: var(--color-primary);
  display: inline-block;
  padding: 2px 10px;
  margin-right: 5px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------------------- LAYOUT CONTAINERS ---------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  padding-bottom: 12px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(34,50,84,0.07), 0 1.5px 3px rgba(60,133,194,0.06);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 13px;
    gap: 10px;
  }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ---------------------- NAVIGATION ---------------------- */
header {
  background: var(--color-primary);
  padding: 0;
  box-shadow: 0 2px 10px rgba(49, 73, 70, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}
.main-nav a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--color-fun-yellow);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-fun-pink);
  color: #fff;
}
.cta-primary {
  background: var(--color-fun-orange);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 1.13rem;
  font-weight: 700;
  padding: 10px 33px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 5px 18px rgba(253, 101, 133, 0.12);
  transition: background 0.22s, transform 0.25s cubic-bezier(.25,1.25,.6,1.06), box-shadow 0.22s;
  cursor: pointer;
  outline: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-fun-pink);
  color: #fff;
  transform: scale(1.055) rotate(-1deg);
  box-shadow: 0 7px 22px -3px rgba(253,101,133,0.17);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-fun-yellow);
  border: none;
  border-radius: 13px;
  font-size: 2.2rem;
  padding: 6px 16px;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 8px rgba(39,79,113,.1);
  transition: background .17s, color .17s, transform .2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-fun-orange);
  color: #fff;
  transform: scale(1.03) rotate(-3deg);
  outline: 2px solid var(--color-fun-pink);
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-primary {
    font-size: 1.03rem;
    padding: 7px 18px;
  }
}

/* ------------------- MOBILE SLIDE MENU ------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--color-fun-yellow) 80%, var(--color-fun-pink) 100%);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .50s cubic-bezier(.87,-.1,.26,1.12);
  box-shadow: 0 10px 50px 0 rgba(0,0,0,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
  animation: menu-slide-in 0.36s ease-out;
}
@keyframes menu-slide-in {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 25px 35px 0 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 6px 14px;
  transition: background .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 33px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--color-primary);
  transition: color .13s, background .13s, transform 0.20s;
  border-radius: 10px;
  padding: 13px 18px;
  background: none;
  min-width: 200px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun-orange);
  color: #fff;
  transform: scale(1.07) rotate(-1deg);
}

@media (max-width: 480px) {
  .mobile-nav a {
    min-width: 100px;
    font-size: 1.03rem;
    padding: 10px 6px;
  }
}

/* ---------------------- MAIN CONTENT LAYOUTS --------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--color-secondary);
  border-radius: 17px;
  box-shadow: 0 4px 18px -2px rgba(50,77,62,0.13);
  padding: 20px 23px 20px 23px;
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 12px 44px -6px rgba(253,101,133,0.15);
  transform: scale(1.025) rotate(-0.5deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.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;
}
@media (max-width: 768px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 17px;
}

/* ---------------------- TESTIMONIALS ---------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-fun-teal);
  border-radius: 16px;
  box-shadow: 0 9px 22px -7px rgba(52,121,129,0.16);
  margin-bottom: 20px;
  position: relative;
  font-style: italic;
  color: var(--color-text-dark);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card div {
  font-style: normal !important;
  color: var(--color-primary);
  font-size: 1rem;
}
.testimonial-card strong {
  color: var(--color-fun-pink);
  font-weight: 900;
}
.testimonial-card span {
  color: var(--color-fun-orange);
  font-size: 1.35em;
  letter-spacing: 0.11em;
  display: inline-block;
  margin-bottom: 5px;
}
@media (max-width:650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 12px;
  }
}

/* ---------------------- ICON & MISC ---------------------- */
section img[alt^="Adresse"],
section img[alt^="Telefon"],
section img[alt^="E-Mail"],
section img[alt^="Öffnungszeiten"],
section img[alt^="Vielfalt"],
section img[alt^="Tiere"],
section img[alt^="Schutz"] {
  width: 22px;
  vertical-align: -6px;
  margin-right: 9px;
  opacity: 0.83;
}
.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 3px;
}

/* ---------------------- FOOTER -------------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 36px 0 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0 20px 7px 20px;
  margin-top: 0;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 21px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-fun-yellow);
  font-family: 'Merriweather', serif;
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0;
  border-radius: 7px;
  padding: 4px 10px;
  transition: background 0.2s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-fun-orange);
  color: #fff;
}
.footer-contact {
  flex: 1 1 180px;
  font-size: 0.99rem;
  color: var(--color-fun-yellow);
}
.footer-contact img {
  width: 16px;
  margin-right: 6px;
  opacity: 0.85;
}
.footer-credits {
  flex-basis: 100%;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.48);
  margin-top: 19px;
  text-align: left;
}
@media (max-width:910px) {
  footer .container {
    flex-direction: column;
    gap: 19px;
    padding-bottom: 18px;
    align-items: flex-start;
  }
  .footer-credits {
    margin-top: 6px;
    text-align: left;
  }
}

/* -------------------- BUTTONS & INTERACTIVE --------------- */
button, .button, .cta-primary {
  transition: box-shadow .21s, background 0.22s, color 0.16s, outline 0.16s, transform .20s;
  user-select: none;
}
.button {
  background: var(--color-fun-yellow);
  color: var(--color-primary);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border: none;
  padding: 10px 22px;
  border-radius: 19px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 9px;
  margin-bottom: 6px;
  box-shadow: 0 2px 7px rgba(34,72,42,0.10);
}
.button:hover, .button:focus {
  background: var(--color-fun-pink);
  color: #fff;
  box-shadow: 0 8px 26px -6px rgba(253,101,133,.13);
  outline: 2px solid var(--color-fun-blue);
}
.button.secondary {
  background: var(--color-fun-blue);
  color: #fff;
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--color-fun-orange);
  color: #fff;
}

/* --------------------- ANIMATIONS & EFFECTS ------------------ */
@keyframes fun-bounce {
  0% {transform: scale(1) rotate(0deg);}
  60% {transform: scale(1.07) rotate(-2deg);}
  100% {transform: scale(1) rotate(0deg);}
}
.cta-primary, .card, .button {
  will-change: transform, box-shadow;
}
.cta-primary:hover, .button:hover, .card:hover {
  animation: fun-bounce 0.44s 1;
}
h1, h2, h3 {
  animation: appear-fade 0.8s linear .1s backwards;
}
@keyframes appear-fade {
  0% {opacity: 0; transform: translateY(70px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* Decor circles in backgrounds (playful!) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 3vw;
  top: -30px;
  width: 80px;
  height: 80px;
  z-index: 1;
  background: var(--color-fun-yellow);
  opacity: 0.19;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.section:nth-child(even)::before {
  background: var(--color-fun-blue);
  opacity: 0.13;
  top: unset;
  bottom: -20px;
}
.section {
  position: relative; /* only for decoration! */
  z-index: 2;
}
@media (max-width: 768px) {
  .section::before {
    width: 48px; height: 48px; left: 6vw;
  }
}

/* -------------------- Cookie Consent Banner -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-fun-orange);
  color: #fff;
  z-index: 9999;
  box-shadow: 0 -4px 28px -8px rgba(34,72,42,0.11);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 20px 20px 16px;
  gap: 21px;
  font-size: 1.08rem;
  animation: banner-slide-up 0.5s cubic-bezier(.16,.86,.46,1.05);
}
@keyframes banner-slide-up {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  font-weight: 700;
}
.cookie-banner .cookie-btn {
  margin-right: 8px;
}
.cookie-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  font-size: 1.02rem;
  font-family: 'Merriweather',serif;
  font-weight: 700;
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 2px;
  box-shadow: 0 2px 10px rgba(36,136,101,.13);
  transition: background .19s, color .14s, box-shadow .17s;
}
.cookie-btn.accept {
  background: var(--color-fun-teal);
  color: var(--color-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-fun-pink);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b8133a;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-fun-yellow);
  color: var(--color-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width:650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
    font-size: .98rem;
    padding: 15px 9px 15px 8px;
  }
}

/* ------------------ Cookie Preferences Modal --------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(80,80,80,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.32s ease;
}
@keyframes modal-fadein { from {opacity: 0;} to {opacity: 1;} }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 11px 34px rgba(67,81,95,0.19);
  padding: 29px 19px 23px 25px;
  min-width: 320px;
  max-width: 96vw;
  animation: modal-bouncein 0.37s;
  position: relative;
}
@keyframes modal-bouncein {
  0% {transform: scale(0.96) translateY(40px);}
  100% {transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  margin: 13px 0 10px 0;
  padding: 12px 8px 10px 13px;
  border-radius: 12px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.03rem;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  background: var(--color-fun-blue);
  border-radius: 12px;
  width: 46px;
  height: 24px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  display: flex;
  align-items: center;
}
.cookie-modal .cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left .16s, background .18s;
}
.cookie-modal .cookie-toggle input[type=checkbox]:checked + .toggle-slider {
  left: 24px;
  background: var(--color-fun-teal);
}
.cookie-modal .cookie-category.essential {
  background: var(--color-fun-yellow);
  color: var(--color-primary);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: var(--color-fun-yellow);
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 15px; top: 11px;
  background: none;
  color: var(--color-fun-pink);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 10px;
  transition: background .14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-fun-blue);
  color: #fff;
}
@media (max-width:440px) {
  .cookie-modal {
    min-width: unset;
    padding: 12px 2px 11px 7px;
  }
}

/* -------------------- MEDIA QUERIES: TYPOGRAPHY SCALE ---------------- */
@media (max-width: 680px) {
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.08rem; }
  .section { padding: 20px 3px; }
}

/* MATERIAL INPUTS and FORMS (if present) */
input[type=text], input[type=email], textarea {
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 1rem;
  margin-bottom: 15px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(49,122,72,0.07);
  width: 100%;
  transition: border 0.15s, box-shadow .13s;
}
input:focus, textarea:focus {
  border-color: var(--color-fun-pink);
  box-shadow: 0 4px 15px -4px var(--color-fun-pink, #fd6585);
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: 'Merriweather', serif;
  color: var(--color-primary);
  font-weight: 600;
}

/* -------- UTILITY SPACING and GENERIC CLASSES -------- */
.mt-2 { margin-top: 12px !important }
.mt-4 { margin-top: 38px !important }
.mb-2 { margin-bottom: 12px !important }
.mb-4 { margin-bottom: 28px !important }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.center { text-align: center; }
.flex-column { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/* Hide visually but accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ---------- MAP EMBED ---------- */
.map-embed {
  margin: 12px 0 8px 0;
  padding: 11px 11px 13px 19px;
  background: var(--color-fun-yellow);
  border-radius: 17px;
  color: var(--color-primary);
  font-style: italic;
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-secondary);
  border-radius: 11px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-fun-teal);
  border-radius: 13px;
}

/* --------- PRINT HIDE for nav/footers/banners etc --------- */
@media print {
  header, .main-nav, .cta-primary, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  body { background: #fff; }
}
