/* ============= CSS Reset & Normalization ============= */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #217C5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B38A00;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
}

/* ============= Typography ============= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #217C5D;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.lead {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #217C5D;
}
strong {
  font-weight: 700;
}


/* ============= Layout Structure ============= */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Responsive content grids & flex layouts */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(33,124,93,0.10), 0 1.5px 4px rgba(0,0,0,0.04);
  padding: 28px 22px 24px 22px;
  min-width: 240px;
  flex: 1 1 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2.5px solid transparent;
}
.feature:hover, .feature:focus {
  transform: translateY(-7px) scale(1.03);
  border-color: #FFC107;
  box-shadow: 0 8px 24px rgba(33,124,93,0.18);
}
.feature img {
  width: 45px;
  height: 45px;
  margin-bottom: 18px;
}
.feature h3 {
  color: #B38A00;
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.text-section {
  margin: 0 0 6px 0;
  font-size: 1rem;
  max-width: 650px;
  color: #26372B;
}

.text-section blockquote {
  border-left: 5px solid #217C5D;
  padding-left: 18px;
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: #217C5D;
  background: #F7F7F7;
  border-radius: 7px;
  font-weight: 500;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(33,124,93,0.10);
  padding: 24px 20px;
  flex: 1 1 260px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 14px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: #F7F7F7;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(33,124,93,0.06);
  min-width: 270px;
  max-width: 360px;
  flex: 1 1 290px;
  position: relative;
  font-size: 1.08rem;
  color: #1d183d;
  margin-bottom: 20px;
  border-left: 6px solid #217C5D;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 24px rgba(33,124,93,0.17);
  border-left: 6px solid #B38A00;
}
.testimonial-card span {
  font-size: 0.97em;
  color: #217C5D;
  font-weight: 600;
  margin-top: 3px;
}
.rating-summary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
  color: #B38A00;
  letter-spacing: 0.03em;
}

/* Pricing/Table */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.price-option {
  background: #F7F7F7;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(33,124,93,0.08);
  padding: 32px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 370px;
  border-left: 6px solid #B38A00;
}
.price-option strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #217C5D;
}
.price-option span {
  color: #B38A00;
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 18px;
  display: block;
}
.price-option p {
  margin-bottom: 18px;
}

/* Event Listing */
.event-listing ul {
  padding-left: 18px;
}
.event-listing li {
  margin-bottom: 13px;
}

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

/* ============= Header ============= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,124,93,.07);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 18px 20px;
}
header img[alt="OpticFlash Ernährung"] {
  width: 170px;
  height: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #217C5D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.01em;
  transition: color .16s;
}
header nav a:hover, header nav a:focus {
  color: #B38A00;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #217C5D;
  color: #fff;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 28px;
  font-size: 1.1rem;
  margin-left: auto;
  border: none;
  box-shadow: 0 2px 9px rgba(33,124,93,0.13);
  transition: background .16s, box-shadow .18s, transform .18s;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.04em;
  outline: none;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B38A00;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(179,138,0,0.12);
}

/* ============= Mobile Navigation ============= */
.mobile-menu-toggle {
  display: none;
  background: #217C5D;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  margin-left: auto;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B38A00;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 100vw;
  width: 90vw;
  max-width: 370px;
  height: 100vh;
  box-shadow: -4px 0 30px rgba(33,124,93,0.22);
  z-index: 2000;
  padding: 30px 26px 22px 26px;
  transition: transform 0.32s cubic-bezier(.5,.02,.3,1), left 0s 0.32s;
  transform: translateX(100vw);
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  left: auto;
  transform: translateX(-100vw);
  opacity: 1;
  visibility: visible;
  transition: transform 0.32s cubic-bezier(.5,.02,.3,1), left 0s;
}
.mobile-menu-close {
  background: #217C5D;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 22px;
  box-shadow: 0 2px 6px rgba(33,124,93,0.10);
  transition: background 0.15s;
  z-index: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B38A00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  color: #217C5D;
  padding: 8px 0;
  border-radius: 8px;
  transition: background .14s, color .14s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F7F7;
  color: #B38A00;
}

@media (max-width: 1080px) {
  header nav {
    gap: 12px;
  }
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 840px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-primary {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 14px 10px;
  }
  .mobile-menu {
    padding: 18px 8px 18px 16px;
    font-size: 94%;
  }
}


/* ============= Main & Section Layouts ============= */
main {
  width: 100%;
  min-height: min(70vh, 340px);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
}
@media (max-width: 900px) {
  section {
    padding: 32px 4px 32px 4px;
    margin-bottom: 36px;
  }
}

/* CTA Section Enhancement */
section .cta-primary {
  margin-top: 16px;
  align-self: flex-start;
}

/* ============= Footer ============= */
footer {
  background: #217C5D;
  color: #fff;
  padding: 0;
  font-size: 1rem;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 28px;
  align-items: flex-start;
}
.footer-top > div:first-child img {
  width: 60px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1rem;
  transition: color .18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FFC107;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 3px;
  border-top: 1px solid #317d63;
}
.footer-bottom p {
  font-size: 1rem;
  color: #fff;
}
.social-media-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-media-icons img {
  width: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.83;
  transition: opacity .15s;
}
.social-media-icons img:hover {
  opacity: 1;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 22px;
  }
  .footer-menu {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 620px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* ============= Cookie Consent Banner & Modal ============= */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  color: #1d183d;
  border-top: 4px solid #B38A00;
  box-shadow: 0 -4px 24px rgba(33,124,93,0.07);
  z-index: 3004;
  padding: 19px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s, bottom 0.33s;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-consent-banner .cookie-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 17px;
  border: none;
  cursor: pointer;
  margin: 0;
  background: #F7F7F7;
  color: #217C5D;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
  box-shadow: 0 1.5px 6px rgba(33,124,93,0.07);
  outline: none;
}
.cookie-btn:active, .cookie-btn:focus {
  box-shadow: 0 3px 12px rgba(33,124,93,.15);
}
.cookie-btn.accept {
  background: #217C5D;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #B38A00;
}
.cookie-btn.reject {
  background: #B38A00;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #217C5D;
  color: #fff;
}
.cookie-btn.settings {
  background: #F7F7F7;
  color: #217C5D;
  border: 1.5px solid #217C5D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fffbe7;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,124,93,0.20);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .21s;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 44px rgba(33,124,93,0.19);
  max-width: 420px;
  width: 92vw;
  padding: 32px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h3 {
  margin-bottom: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #B38A00;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #217C5D;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  border: 2px solid #B38A00;
  border-radius: 4px;
  width: 22px;
  height: 22px;
  margin: 0 6px 0 0;
  position: relative;
  cursor: pointer;
  transition: background 0.13s, border 0.13s;
}
.cookie-category input[type="checkbox"]:checked {
  background: #217C5D;
  border-color: #217C5D;
  box-shadow: 0 3px 7px rgba(33,124,93,0.10);
}
.cookie-category input[type="checkbox"]:checked:before {
  content: '\2713';
  position: absolute;
  left: 4px;
  top: 0px;
  color: #fff;
  font-size: 1rem;
}
.cookie-category.essential label {
  color: #B38A00;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  background: #B38A00;
  border-color: #B38A00;
  cursor: not-allowed;
}
.cookie-category.essential input[type="checkbox"]:checked:before {
  color: #fff;
}
.cookie-category.essential input[type="checkbox"]:disabled {
  background: #B38A00;
  border-color: #B38A00;
  opacity: 1;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  min-width: 102px;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6vw 14px 6vw;
    font-size: 94%;
  }
}


/* ============= General UI ============= */
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 16px;
  border: none;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .13s, color .13s;
}
button:focus, input[type="submit"]:focus {
  outline: 2px dashed #217C5D;
  outline-offset: 2px;
}

/* ============= Tables ============= */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 22px;
  background: #F7F7F7;
  border-radius: 8px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #217C5D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
td {
  color: #222;
}

/* ============= Spacing Utilities (8/16/24/32-px scale) ============= */
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.ml-16 { margin-left: 16px !important; }
.mr-16 { margin-right: 16px !important; }

/* ============= Geometric/Decorative Elements ============= */
.feature, .card, .price-option, .testimonial-card, .cookie-modal {
  border-radius: 20px;
}
.geoshape {
  width: 46px; height: 46px;
  background: #FFC107;
  border-radius: 8px 36px 23px 14px / 18px 34px 18px 28px;
  opacity: 0.12;
  position: absolute;
  z-index: 0;
  left: -16px; top: -16px;
  pointer-events: none;
  filter: blur(3px);
}

/* ============= Responsive ============= */
@media (max-width: 1080px) {
  .feature {
    min-width: 180px;
    max-width: 99vw;
    font-size: 1em;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
  .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.34rem; }
  .lead { font-size: 1rem; }
  .feature, .card, .price-option {
    padding: 18px 11px 18px 13px;
    font-size: 94%;
  }
  section {
    padding-left: 3vw;
    padding-right: 4vw;
  }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* ============= End Modern Bold UI ============= */
