/* 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #fff;
  color: #2E3E33;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #219E56; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #E05936; text-decoration: underline; }

/* CUSTOM FONTS */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #181B2E;
  font-weight: 900;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.7rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; color: #188978; }
h3 { font-size: 1.25rem; margin-bottom: 12px; color: #2E3E33; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, li, blockquote { font-family: 'Open Sans', Arial, Helvetica, sans-serif; }

strong { color: #188978; font-weight: bold; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(30,110,75,0.08), 0 1.5px 2.5px rgba(224,89,54,0.065);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,158,86,0.24), 0 3px 8px rgba(224,89,54,0.10);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-grid, .feature-item-group, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 280px;
  min-width: 250px;
  background: #fff;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAFA;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(33,158,86,0.09);
  margin-bottom: 20px;
  transition: box-shadow .17s;
  border: 2px solid #E5D8B7;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-style: italic;
  color: #181B2E;
  margin: 0 0 0 0;
}

/* BUTTONS (CTA) */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 14px 26px;
  border-radius: 30px;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.2s;
  text-align: center;
  box-shadow: 0 2px 8px rgba(33,158,86,0.12);
  margin-top: 6px;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
}
.cta-primary {
  background: #219E56;
  color: #fff;
  border: 2px solid #219E56;
}
.cta-primary:hover, .cta-primary:focus {
  background: #181B2E;
  color: #E5D8B7;
  box-shadow: 0 5px 20px rgba(30,110,75,0.19);
  transform: scale(1.03);
}
.cta-secondary {
  background: #E5D8B7;
  color: #181B2E;
  border: 2px solid #219E56;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #97A694;
  color: #fff;
  border-color: #188978;
  transform: scale(1.03);
}

button {
  font-family: inherit;
}

/* HEADER & NAVIGATION */
header {
  background: #2E3E33;
  padding: 0;
  width: 100%;
  box-shadow: 0 1.5px 7px rgba(33,158,86,0.05);
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 16px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.07rem;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E5D8B7;
}
.cta-primary {
  margin-left: 18px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  position: fixed;
  right: 24px;
  top: 26px;
  background: #219E56;
  color: #fff;
  border: none;
  z-index: 3200;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(30,110,75,0.10);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow .2s, transform 0.1s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #188978;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2E3E33;
  color: #fff;
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 60px 32px 24px 32px;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.75,.01,.48,1.2);
  box-shadow: 0 0 80px rgba(33,158,86,0.20);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 18px;
  background: rgba(229,218,183,0.08);
  color: #fff;
  font-size: 2.4rem;
  border: none;
  z-index: 4000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .14s, transform .14s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E5D8B7;
  color: #2E3E33;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  color: #E5D8B7;
  font-weight: 700;
  font-size: 1.33rem;
  letter-spacing: 0.04em;
  padding: 14px 6px;
  border-radius: 14px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #219E56;
  color: #fff;
}

/* FOOTER */
footer {
  background: #181B2E;
  color: #E5D8B7;
  padding: 56px 0 24px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 24px;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 1.06rem;
  font-weight: 600;
}
.footer-branding img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #E5D8B7;
  font-size: 1rem;
  padding: 2px 2px;
  border-radius: 7px;
  font-weight: 500;
  transition: background .13s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #219E56;
  color: #fff;
}
.footer-contact {
  margin-bottom: 18px;
  font-size: 1em;
  color: #E5D8B7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-social {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}
.footer-social a img {
  height: 28px;
  opacity: 0.82;
  transition: opacity .15s;
}
.footer-social a:hover img, .footer-social a:focus img {
  opacity: 1;
}

/* LIST & BLOCKS */
ul {
  padding-left: 22px;
  margin-bottom: 10px;
}
ul li {
  margin-bottom: 7px;
  list-style-type: disc;
  font-size: 1rem;
  color: #2E3E33;
}
.text-section ul li {
  font-size: 1.06rem;
  color: #188978;
}
blockquote {
  border-left: 4px solid #219E56;
  background: #fff;
  color: #181B2E;
  margin: 0 0 0 0;
  padding: 8px 0 8px 22px;
}

/* IMAGES/ICONS */
.text-section img, .footer-contact img, li img {
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #EFF9F2;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(33,158,86,0.09);
  padding: 18px 16px;
  margin-top: 18px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
a, .cta-primary, .cta-secondary, button, .main-nav a, .card, .testimonial-card {
  transition: background .14s, color .14s, box-shadow .17s, transform .15s;
}
.card:focus-within {
  box-shadow: 0 8px 30px rgba(30,110,75,0.16);
  outline: 2px solid #219E56;
}
.testimonial-card:hover {
  box-shadow: 0 7px 16px rgba(224,89,54,0.07), 0 1.5px 3px rgba(33,158,86,0.12);
  background: #E5D8B7;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1200px) {
  .container { max-width: 950px; }
}
@media (max-width: 900px) {
  .container { max-width: 800px; }
  .main-nav { gap: 20px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  .content-grid, .feature-grid, .card-container, .features {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  header .container { flex-direction: row; gap: 10px; }
  .feature-item {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-social {
    margin-top: 14px;
    margin-bottom: 10px;
  }
}
@media (max-width: 680px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }
  .section { padding: 30px 6vw; margin-bottom: 40px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .main-nav, .footer-nav { gap: 10px; }
}
@media (max-width: 600px) {
  .testimonial-card, .feature-item {
    padding: 18px 10px;
  }
  .card { padding: 16px 10px; }
  .cta-primary, .cta-secondary {
    padding: 12px 12px;
    font-size: 1rem;
  }
}

/* MOBILE MENU VISIBILITY LOGIC */
@media (max-width: 900px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 5000;
  background: #181B2E;
  color: #E5D8B7;
  padding: 24px 18px 22px 18px;
  box-shadow: 0 -3px 16px rgba(33,158,86,0.15);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  transition: transform .26s cubic-bezier(.88,-0.01,.455,1.16), opacity .19s;
}
.cookie-banner.hide {
  opacity: 0; transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 260px;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-right: 2px;
  transition: background .13s, color .13s, transform .09s;
}
.cookie-btn--accept {
  background: #219E56;
  color: #fff;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus { background: #188978; transform: scale(1.03); }
.cookie-btn--reject {
  background: #E05936;
  color: #fff;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus { background: #B8412F; transform: scale(1.03); }
.cookie-btn--settings {
  background: #E5D8B7;
  color: #2E3E33;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus { background: #FAFAFA; color: #188978; transform: scale(1.03); }

@media (max-width:700px){
  .cookie-banner{
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 14px 6vw 22px 6vw;
  }
  .cookie-banner__actions{
    gap: 8px;
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5500;
  background: rgba(32, 47, 40, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .18s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal__content {
  background: #fff;
  color: #2E3E33;
  border-radius: 22px;
  padding: 36px 28px 24px 28px;
  max-width: 440px;
  width: 92vw;
  box-shadow: 0 14px 60px rgba(30,110,75,0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal__title {
  font-size: 1.42rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #219E56;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2E3E33;
  cursor: pointer;
  border-radius: 50%;
  transition: background .1s;
  padding: 2px 7px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { background: #E5D8B7; }
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal__category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #219E56;
}
.cookie-modal__category label {
  font-size: 1rem;
  font-weight: 600;
  color: #2E3E33;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal__category--essential label::after {
  content: ' (immer aktiv)';
  font-size: 0.91em;
  font-weight: 400;
  color: #97A694;
}

/* DYNAMIC, ENERGETIC EFFECTS */
/* Colors & Accents */
.section, .card, .feature-item, .testimonial-card {
  border-radius: 18px;
}
.section:nth-child(odd) {
  background: #FAFAFA;
}
.feature-grid > div, .feature-item {
  background: #fff;
  box-shadow: 0 3px 13px rgba(33,158,86,0.10);
  border: 2.5px solid #E5D8B7;
  border-radius: 18px;
  padding: 26px 22px;
  min-width: 200px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div img {
  height: 34px;
  margin-bottom: 10px;
}
.feature-grid > div h3 {
  color: #219E56;
  font-size: 1.13rem;
  margin: 0px 0 6px 0;
}
.feature-grid > div p {
  color: #181B2E;
}
.feature-grid > div:hover, .feature-item:hover {
  border-color: #188978;
  box-shadow: 0 8px 26px rgba(224,89,54,0.13), 0 1.5px 3px rgba(33,158,86,0.16);
  transform: scale(1.025);
}

/* MISC */
::-webkit-selection { background: #219E56; color: #fff; }
::selection { background: #219E56; color: #fff; }

hr {
  border: none;
  border-top: 2px solid #E5D8B7;
  margin: 40px 0;
}

/* ACCESSIBILITY: FOCUS STYLES */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .mobile-nav a:focus,
.mobile-menu-close:focus, .footer-nav a:focus, .cookie-btn:focus, .cookie-modal__close:focus {
  outline: 2.5px solid #E05936;
  outline-offset: 2.5px;
  background: rgba(224,89,54, 0.07);
}

/* Hide visually for icon-only links */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Utility: Hide on mobile/desktop */
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-desktop { display: none; } }

/* Spacing fixes for vertical rhythm */
main section:not(:last-child) { margin-bottom: 60px; }

/* Hide duplicate burger on desktop */
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}
