/* --- CSS RESET & NORMALIZE --- */
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, 
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F2EC;
  color: #1E2B1B;
}
a {
  color: #275C3A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #A35BBC;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 12px;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  --color-primary: #275C3A;
  --color-secondary: #93B87C;
  --color-accent: #F5F2EC;
  --color-highlight: #FFCF5C;
  --color-brand-pink: #FA6BAA;
  --color-brand-blue: #4DBFE7;
  --color-dark: #1E2B1B;
  --color-card-bg: #fff;
  --color-border: #E6F1E3;
  --color-shadow: rgba(39,92,58,0.08);

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(.47,1.64,.41,.8);
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.12;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-brand-pink);
  margin-bottom: 10px;
  line-height: 1.17;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 700;
}
.subheadline {
  color: var(--color-brand-pink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
}
p, .text-section {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 10px;
  font-family: var(--font-body);
  line-height: 1.6;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
em, .tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-brand-blue);
}
.tag {
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 2px 12px;
  font-size: 0.95em;
  margin-left: 12px;
}
ul li, ol li {
  margin-bottom: 5px;
}
a.cta-button {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-brand-pink);
  color: #fff;
  font-weight: bold;
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  letter-spacing: .5px;
  margin-top: 16px;
  margin-bottom: 10px;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  transform: skew(-7deg);
  transition: background .23s, box-shadow .18s, transform .16s;
  border: none;
}
a.cta-button:hover, a.cta-button:focus {
  background: var(--color-brand-blue);
  color: #fff;
  box-shadow: 0 8px 22px 0 rgba(250, 107, 170, 0.15);
  transform: scale(1.035) skew(-7deg) rotate(-1deg);
}

/* --- LAYOUT CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-md);
}

/* --- FLEX SECTIONS & CARDS (Mandatory) --- */
.card-container,
.card-grid,
.feature-grid,.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 12px;
}
.card {
  background: var(--color-card-bg);
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(77,191,231,0.13);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  min-width: 220px;
  max-width: 480px;
  width: 100%;
  transition: box-shadow .22s, transform .22s;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--color-dark);
  font-family: var(--font-display);
  line-height: 1.5;
  text-align: center;
}
.testimonial-author {
  color: var(--color-brand-pink);
  font-size: 0.98rem;
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(250,107,170,.15);
  transform: translateY(-2px) scale(1.018);
}

.feature, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  padding: 24px 18px 16px;
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 220px;
  transition: box-shadow .18s, transform .16s;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 7px 36px 0 rgba(146,184,124,.17);
  transform: translateY(-2px) rotate(-1.2deg) scale(1.019);
}
.feature h3 {
  color: var(--color-brand-blue);
}

/* Small card links */
.quick-links {
  margin-top: 18px;
  word-break: break-all;
  font-size: 1.01rem;
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.quick-links a {
  color: var(--color-brand-blue);
  font-weight: bold;
}
.quick-links a:hover {
  color: var(--color-brand-pink);
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px 0 var(--color-shadow);
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color .18s, background .13s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-brand-pink);
  color: #fff;
}
header img {
  height: 50px;
  width: auto;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-brand-pink);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 99;
  box-shadow: 0 3px 14px 0 rgba(250,107,170,.15);
  transition: background 0.16s, box-shadow 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 111;
  transform: translateX(-100%);
  transition: transform var(--transition);
  box-shadow: 0 2px 24px 0 rgba(146,184,124,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 12px 0;
  background: var(--color-brand-blue);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(77,191,231,.14);
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-brand-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin: 32px 0 0 38px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: var(--font-display);
  padding: 10px 0 10px 0;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: color .18s, background .12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  background: var(--color-brand-blue);
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}
@media (max-width: 899px) {
  header nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
}

/* --- MAIN & SECTIONS --- */
main {
  min-height: 72vh;
  margin-top: 24px;
  margin-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-md);
}
@media (max-width:600px){
  section {
    padding: 28px 6px;
    margin-bottom: 34px;
  }
}

/* --- TEXT IMAGE SECTION RESPONSIVE --- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}

/* --- MAP PLACEHOLDER & ICONS --- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
}
.map-placeholder img {
  border-radius: var(--radius-lg);
}

/* --- SEARCH BAR, FORMS, BUTTONS --- */
.search-bar {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.search-bar input[type='text'] {
  border: 1.5px solid var(--color-brand-blue);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  font-size: 1.05rem;
  background: #fff;
  outline: none;
  transition: border .17s;
}
.search-bar input[type='text']:focus {
  border-color: var(--color-brand-pink);
}
.search-bar button {
  background: var(--color-brand-blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: bold;
  transition: background .21s, box-shadow .18s;
  box-shadow: 0 2px 10px 0 rgba(77,191,231,.11);
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--color-brand-pink);
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #f7f7f7;
  box-shadow: 0 -2px 20px 0 var(--color-shadow);
  padding: 32px 0 20px 0;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: var(--color-brand-pink);
  font-weight: bold;
  font-size: 1rem;
}
.footer-nav a:hover,
.footer-nav a:focus{
  color: var(--color-brand-blue);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.98rem;
  color: var(--color-primary);
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-brand-blue);
}
.footer-brand img {
  width: 32px;
  height: 32px;
}
@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0;
  }
  .footer-contact {
    order: 1;
    flex-direction: column;
    gap: 7px;
    min-width: 230px;
  }
  .footer-brand {
    order: 3;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2222;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-display);
  box-shadow: 0 -2px 16px 0 var(--color-shadow);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 22px 14px 18px 14px;
  animation: slideUpBanner 0.5s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes slideUpBanner {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--color-dark);
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 3px;
  justify-content: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.05rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--color-brand-blue);
  color: #fff;
  transition: background .18s;
}
.cookie-banner button.cookie-reject {
  background: var(--color-brand-pink);
}
.cookie-banner button.cookie-settings {
  background: var(--color-highlight);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; bottom: 0; left: 0; right: 0;
  z-index: 3333;
  background: rgba(39,92,58, 0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .3s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 44px 0 rgba(250,107,170,.13);
  padding: 42px 34px 28px 34px;
  max-width: 94vw;
  min-width: 310px;
  max-width: 420px;
  color: var(--color-dark);
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  color: var(--color-brand-pink);
  font-size: 1.31rem;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.01rem;
  justify-content: space-between;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
}
.cookie-category.essential {
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
}
.cookie-modal [type='checkbox']{
  width: 28px;
  height: 16px;
  appearance: none;
  background: #eee;
  outline: none;
  border-radius: 22px;
  position: relative;
  transition: background .2s;
}
.cookie-modal [type='checkbox']:checked {
  background: var(--color-brand-pink);
}
.cookie-modal [type='checkbox']:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50%;
  transition: left .2s;
  box-shadow: 0 1px 5px rgba(146,184,124,.11);
}
.cookie-modal [type='checkbox']:checked:after {
  left: 13px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  background: var(--color-brand-blue);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 11px 23px;
  font-family: var(--font-display);
  font-weight: bold;
  border: none;
  transition: background .18s;
}
.cookie-modal .cookie-modal-actions button:first-child {
  background: var(--color-brand-pink);
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: var(--color-primary);
}

/* --- PLAYFUL DYNAMIC DETAILS --- */

/* Playful bouncing card hover for features */
.feature {
  animation: subtlePop 1.15s infinite alternate-reverse cubic-bezier(.73,-0.13,.72,1.17);
  animation-delay: calc(0.08s * var(--feature-index, 1));
}
@keyframes subtlePop {
  from { transform: translateY(0px); }
  to { transform: translateY(-3px) scale(1.008); }
}

/* Fun wavy underline for all links on hover */
a:not(.cta-button):hover:after, a:not(.cta-button):focus:after {
  content: '';
  display: block;
  margin: 2px auto 0 auto;
  height: 4px;
  width: 85%;
  background: url('data:image/svg+xml;utf8,<svg width="80" height="4" viewBox="0 0 80 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 3.5 Q13 0 20 3 Q27 6 40 3 Q53 0 60 3 Q67 6 80 3.5" stroke="%23FA6BAA" stroke-width="2" fill="none"/></svg>') center/cover no-repeat;
  border-radius: 2px;
  min-width: 42px;
}

/* Section backgrounds animating into view (using classes if JS adds them) */
.section.animated {
  animation: sectionPopIn 0.7s cubic-bezier(.24,.84,.59,1.19);
}
@keyframes sectionPopIn {
  from { opacity:0; transform: scale(0.93) translateY(22px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}

/* FUN FONT MIX: Mix with some playful roundish heading styles */
h1, h2, h3, h4, .cta-button, .mobile-menu-toggle, .mobile-nav a, .footer-brand, .cookie-banner, .cookie-modal {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}


/* --- MEDIA QUERIES --- */
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.23rem; }
  .container { padding: 0 5px; }
  section { padding: 20px 2px; }
  .card, .feature {
    min-width: 140px;
    padding: 14px 8px;
  }
  .testimonial-card {
    min-width: 130px;
    padding: 11px 7px;
  }
}

@media (max-width: 520px) {
  .footer-contact {
    flex-direction: column;
    align-items: start;
    gap: 7px;
  }
  .footer-brand span {
    font-size: 0.9rem;
  }
  .card, .feature, .testimonial-card {
    min-width: unset;
    max-width: 95vw;
  }
}
/* -- END Witty Horizon Ernährung playful_dynamic CSS -- */
