/*! 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f2f7f3;
  color: #20422d;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  border-radius: 14px;
}
a {
  color: #18643e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #c38a00;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #145131;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #18643e;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, address, blockquote, em, li, small {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #20422d;
  font-size: 1rem;
}
blockquote {
  font-style: italic;
  background: #fffbe6;
  padding: 14px 24px;
  border-left: 4px solid #ecae2b;
  border-radius: 12px;
  margin-bottom: 10px;
  color: #18643e;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(24, 100, 62, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section, .plan-comparison {
  background: #f2f7f3;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(236, 174, 43, 0.10);
  margin-bottom: 18px;
}

.features, .feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(24, 100, 62, 0.07);
  flex: 1 1 260px;
  min-width: 260px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 22px rgba(236,174,43,0.16);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f2f7f3;
  box-shadow: 0 2px 6px rgba(24, 100, 62, 0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 3px 16px rgba(24, 100, 62, 0.09);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 26px rgba(24, 100, 62, 0.15);
  transform: translateY(-2px) scale(1.01);
}

.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-image-section img {
  width: 200px;
  max-width: 100%;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 2px 11px rgba(172, 133, 0, 0.09);
  margin-bottom: 22px;
  flex-direction: column;
  min-width: 0;
}
.testimonial-card blockquote {
  color: #145131;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  background: transparent;
  border-left: 4px solid #ecae2b;
  border-radius: 0 12px 12px 0;
}
.testimonial-card p {
  margin: 0;
  color: #20422d;
  font-size: 0.97rem;
  opacity: 0.88;
}

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

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.service-list li {
  background: #f7f2e4;
  border-radius: 17px;
  box-shadow: 0 1px 6px rgba(236,174,43,0.09);
  padding: 16px 22px 12px 22px;
  transition: box-shadow 0.18s;
  position: relative;
}
.service-list li strong {
  color: #145131;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.service-list li em {
  color: #c38a00;
  font-style: normal;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}

.cta.primary {
  display: inline-block;
  background: #ecae2b;
  color: #145131;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 34px;
  margin-top: 6px;
  border-radius: 26px;
  box-shadow: 0 3px 14px rgba(236,174,43,0.15);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, transform 0.12s;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta.primary:hover, .cta.primary:focus {
  background: #c38a00;
  color: #fff;
  box-shadow: 0 5px 22px rgba(172, 133, 0, 0.15), 0 1.5px 11px rgba(24, 100, 62, 0.09);
  outline: none;
  transform: translateY(-1px) scale(1.01);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #fff;
  padding: 14px 20px;
  border-bottom: 1px solid #dde7e2;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 10px rgba(24, 100, 62, 0.04);
  position: relative;
  z-index: 13;
}
.main-nav > a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #18643e;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.18s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #ecae2b;
  color: #145131;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
  border-radius: 12px;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2.2rem;
  color: #ecae2b;
  cursor: pointer;
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 6px rgba(236,174,43,0.09);
  z-index: 50;
}
.mobile-menu-toggle:focus {
  outline: 2.5px solid #ecae2b;
  background: #fffbe6;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 35px rgba(20, 81, 49, 0.18), -2px 0 12px rgba(236, 174, 43, 0.11);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.7,0.02,0.16,1);
  z-index: 2000;
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 68px rgba(20, 81, 49, 0.30);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #18643e;
  margin: 6px 19px 19px 0;
  padding: 7px 2px 11px 2px;
  border-radius: 7px;
  background: #eee8d3;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ecae2b;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 14px;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #145131;
  padding: 10px 7px 10px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f7f2e4;
  color: #c38a00;
}

@media (max-width: 1100px) {
  .feature-grid, .features, .content-grid {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    font-size: 0.99rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  /* Layout stacks */
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 620px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 16px 3px; }
  .plan-comparison, .text-section {
    padding: 14px 5px;
  }
  .testimonial-card {
    padding: 14px 5px;
  }
}

@media (max-width: 480px) {
  .feature-grid > div,
  .card,
  .service-list li {
    min-width: 0;
    padding: 12px 7px 11px 11px;
  }
}

/* Footer */
footer {
  background: #145131;
  color: #fff;
  width: 100%;
  margin-top: 58px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 18px rgba(24, 100, 62, 0.10);
  padding: 36px 0 20px 0;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 18px;
}
footer img {
  height: 40px;
  border-radius: 9px;
  margin-right: 16px;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  opacity: 0.86;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  padding: 3px 7px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #ecae2b;
  color: #145131;
  opacity: 1;
}
footer small {
  color: #ffe8ab;
  opacity: 0.88;
  font-size: 0.93rem;
}

@media (max-width: 700px) {
  footer {
    border-radius: 17px 17px 0 0;
    padding: 18px 0 15px 0;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* General Form Styles (for Kontakt/Newsletter if present) */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid #dde7e2;
  background: #f2f7f3;
  color: #18643e;
  padding: 10px 14px;
  margin-bottom: 16px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #ecae2b;
  box-shadow: 0 0 5px #ecae2b22;
}
button {
  cursor: pointer;
  background: #18643e;
  color: #fff;
  border: none;
  transition: background 0.21s, color 0.21s, transform 0.13s;
}
button:hover, button:focus {
  background: #c38a00;
  color: #fff;
  transform: scale(1.02);
}

address {
  font-style: normal;
  background: #f2f7f3;
  padding: 13px 17px;
  border-radius: 14px;
  margin: 10px 0;
  color: #27694f;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe6;
  color: #145131;
  box-shadow: 0 -2px 22px rgba(236,174,43,0.14), 0px 0px 2px rgba(24, 100, 62,0.02);
  padding: 22px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 4000;
  border-radius: 24px 24px 0 0;
  animation: banner-slidein 0.44s cubic-bezier(.65,.05,.36,1);
}
@keyframes banner-slidein {
  0% { transform: translateY(100%); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #145131;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 22px;
  padding: 8px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.15s, color 0.15s;
  font-size: 1rem;
}
.cookie-accept {
  background: #18643e;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #145131;
  color: #ecae2b;
}
.cookie-reject {
  background: #ecae2b;
  color: #145131;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ffe8ab;
  color: #18643e;
}
.cookie-settings {
  background: #fff;
  color: #ecae2b;
  border: 1.5px solid #ecae2b;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ecae2b;
  color: #fff;
}
/* Modal/Overlay for Cookie Settings */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 50px rgba(24, 100, 62, 0.22);
  z-index: 4200;
  padding: 34px 18px 22px 18px;
  min-width: 320px;
  width: 94vw;
  max-width: 385px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-popup 0.28s cubic-bezier(0.65,.05,.36,1);
}
@keyframes modal-popup {
  0% { opacity: 0; transform: translate(-50%, -80%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -60%) scale(0.98); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 6px;
  color: #145131;
}
.cookie-category {
  background: #f7f2e4;
  border-radius: 16px;
  padding: 11px 17px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #145131;
  font-weight: 600;
  font-size: 1.02rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #18643e;
  width: 20px; height: 20px;
  border-radius: 5px;
  margin-right: 9px;
  cursor: pointer;
}
.cookie-category .category-desc {
  font-weight: 400;
  font-size: 0.98rem;
  color: #20422d;
}

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 18px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: #18643e;
  color: #fff;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-modal button:nth-child(2) {
  background: #ecae2b;
  color: #145131;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #c38a00;
  color: #fff;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ecae2b;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #18643e;
}

/* Extra: visually hide modal/banner when closed via js (for visibility, do not delete) */
.cookie-banner.hidden, .cookie-modal.hidden { display: none !important; }

/* Utility */
.subheadline, .confirmation-message, .next-steps {
  font-size: 1.13rem;
  font-family: 'Open Sans',Arial,sans-serif;
  color: #20422d;
  opacity: 0.92;
  margin-bottom: 7px;
}

/* Success page */
.confirmation-message {
  color: #18643e;
  font-size: 1.17rem;
  font-weight: 700;
  border-radius: 11px;
  padding: 10px 13px;
  background: #f2f7f3;
  box-shadow: 0 2px 6px rgba(24,100,62,.04);
  margin-bottom: 10px;
}
.next-steps {
  font-size: 1rem;
}

/* Ensure space between all major blocks */
section + section, .text-section + .text-section, .testimonial-card + .testimonial-card, .feature-grid > div + div {
  margin-top: 22px;
}

/* Accessibility: focus visible for links/buttons */
a:focus, button:focus, .cta.primary:focus {
  outline: 2.5px solid #ecae2b;
  outline-offset: 2px;
  background: #fffbe6;
}

/* Hide scrollbars on mobile menu where possible */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hide cookie modal scroll if open */
body.cookie-modal-open {
  overflow: hidden;
}

/* Miscellaneous spacing - ensure no overlap */
.section, .container, .content-wrapper, .feature-grid, .testimonial-card, .card, .service-list li {
  margin-bottom: 0 !important;
}

/* Prevent images from affecting layouts */
img[alt^='VitalGenuss'] {
  background: none;
  box-shadow: none;
  border-radius: 10px;
}
