/* 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,
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 {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background: #F4F4F4;
  color: #273242;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #25613D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2A900;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
ul, ol {
  margin-left: 1.5em; /* proper indentation */
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #213049;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
  color: #273242;
}
strong {
  color: #25613D;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34, 38, 62, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 750px;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(38,61,82,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #213049;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #25613D;
}
.main-nav a.active, .main-nav a[aria-current='page'] {
  color: #25613D;
  border-bottom: 2px solid #25613D;
}
.button.primary {
  background: #25613D;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  margin-left: 24px;
  box-shadow: 0 2px 12px rgba(37,97,61,0.08);
  cursor: pointer;
  transition: background 0.22s, transform 0.18s;
}
.button.primary:hover, .button.primary:focus {
  background: #F2A900;
  color: #213049;
  transform: translateY(-2px) scale(1.04);
}
.button.secondary {
  background: #F2A900;
  color: #1A2634;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  margin-top: 10px;
  box-shadow: 0 2px 12px rgba(242,169,0,0.05);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s;
}
.button.secondary:hover, .button.secondary:focus {
  background: #25613D;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.link {
  color: #25613D;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1.5px solid #25613D;
  transition: color 0.18s, border-color 0.18s;
}
.link:hover, .link:focus {
  color: #F2A900;
  border-color: #F2A900;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #213049;
  cursor: pointer;
  padding: 4px 12px;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #25613D;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; height: 100vh;
  width: 85vw;
  max-width: 360px;
  background: #fff;
  box-shadow: 4px 0 36px rgba(38,49,69,0.16);
  z-index: 2050;
  transform: translateX(-102%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 32px 24px 32px 28px;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #25613D;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 28px;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2A900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.mobile-nav a {
  color: #213049;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #25613D;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  content: "";
  position: fixed;
  z-index: 2049;
  inset: 0;
  background: rgba(38,49,69, 0.12);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.active ~ .mobile-menu-overlay {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav {
    gap: 15px;
  }
  .button.primary {
    margin-left: 0;
  }
}
@media (max-width: 820px) {
  .section {
    padding: 28px 4vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 0;
  }
  header img {
    hight: 38px;
    min-width: 38px;
    margin-right: 16px;
  }
}

/* HERO Section Enhancements */
section:first-of-type {
  background: #F4F4F4;
  box-shadow: none;
  padding-top: 25px;
}

/* Feature/Grid Layouts */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,49,61,0.04);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.17s;
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(37,97,61,0.10);
  transform: translateY(-2px) scale(1.02);
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

/* Cards & Tips */
.tip-grid, .card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.tip-card, .card {
  background: #F7FAFC;
  border-radius: 14px;
  border: 1.5px solid #E4E8ED;
  padding: 24px 17px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(34,38,62,0.06);
  position: relative;
  transition: box-shadow 0.2s, transform 0.14s;
}
.tip-card:hover, .card:hover {
  box-shadow: 0 8px 24px rgba(34,38,62, 0.10);
  transform: scale(1.025);
}

/* Testimonials */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #FAFBFD;
  box-shadow: 0 2px 8px rgba(38,61,102,0.06);
  border: 1.5px solid #DFE3EA;
  color: #1A2634;
  min-width: 220px;
  max-width: 370px;
  font-size: 1.01rem;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #1A2634;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #25613D;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 6px 16px rgba(37,97,61,0.08);
}

/* Content Grid for Flexible Layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Text-Image Section Flex Pattern */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Feature Item Pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Address/Contact block styling */
.address-block, .phone-email, .opening-hours {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.address-block p, .phone-email p, .opening-hours p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: #273242;
}

/* Expert Quotes (in Tipps & Tricks) */
.expert-quotes blockquote {
  margin-top: 32px;
  border-left: 4px solid #25613D;
  padding-left: 18px;
  color: #25613D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  background: #F7FAFC;
  border-radius: 7px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-weight: 600;
}

/* Footer */
footer {
  background: #213049;
  color: #fff;
  margin-top: 70px;
  padding: 40px 0 16px 0;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  color: #BEC7D3;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-nav a {
  color: #F2A900;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  color: #F2A900;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 36px;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  font-size: 0.99rem;
  color: #E6E7EC;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #BEC7D3;
}
.footer-contact img {
  width: 16px;
  opacity: 0.9;
}

/* Responsive Patterns */
@media (max-width: 1000px) {
  .feature-grid, .tip-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .feature, .tip-card, .card, .testimonial-card {
    max-width: 100%;
  }
  .footer-contact {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .feature-grid, .tip-grid, .card-container, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .tip-card, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section {
    padding: 21px 8px;
  }
}
@media (max-width:480px) {
  .footer-brand img {
    height: 28px;
  }
  .section {
    border-radius: 12px;
  }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: #213049;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px 20px 12px;
  box-shadow: 0 -3px 24px rgba(34,38,62,0.14);
  gap: 14px;
  animation: cookieIn 0.66s cubic-bezier(0.6,0,0.27,1);
}
@keyframes cookieIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  max-width: 750px;
  font-size: 1.01rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 7px;
  padding: 9px 20px;
  background: #25613D;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.15s;
}
.cookie-banner .cookie-btn.settings {
  background: #F2A900;
  color: #1A2634;
}
.cookie-banner .cookie-btn.reject {
  background: #E85F4A;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #213049;
  color: #F2A900;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #25613D;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #ae3725;
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,49,69,0.28);
  z-index: 2200;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fcfcfc;
  color: #213049;
  border-radius: 18px;
  max-width: 400px;
  width: 98vw;
  padding: 38px 24px 28px 24px;
  box-shadow: 0 12px 44px rgba(34,38,62,0.18);
  z-index: 2210;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: dropIn 0.22s cubic-bezier(.15,1.15,.53,.97);
}
@keyframes dropIn {
  0% { transform: translateY(-36px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.11rem;
  margin-bottom: 10px;
  color: #25613D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.cookie-modal .category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #25613D;
  cursor: pointer;
}
.cookie-modal .category .cookie-switch {
  margin-left: 14px;
  font-weight: 500;
  color: #213049;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 18px;
  background: #25613D;
  color: #fff;
  font-size: 1rem;
}
.cookie-modal .cookie-btn.cancel {
  background: #DFE3EA;
  color: #1A2634;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #213049;
  color: #F2A900;
}
/* Cookie modal close btn */
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 1.5rem;
  color: #213049;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F2A900;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 5vw 20px 5vw;
    min-width: 0;
    max-width: 98vw;
  }
}

/*********** Typography Scale ***********/
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
@media (max-width: 920px) { h1 { font-size: 1.8rem; } h2 { font-size: 1.22rem; } }
@media (max-width: 480px) { h1 { font-size: 1.3rem; } }

/******* Spacing Enforcements ******/
.section, .content-wrapper, .card-container, .card, .content-grid, .testimonial-card, .feature-item, .text-image-section {
  box-sizing: border-box;
}
.card, .tip-card, .feature {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid, .feature-grid, .tip-grid, .testimonial-slider, .content-grid {
  gap: 24px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}

/***** Misc. Form Elements *****/
input[type="text"], input[type="email"], textarea {
  border-radius: 7px;
  border: 1.5px solid #BCC9DB;
  padding: 10px 14px;
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #273242;
  background: #fafbfc;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus {
  border-color: #25613D;
}

/***** Utilities *****/
.rounded {
  border-radius: 12px;
}
.bg-accent {
  background: #F4F4F4;
}
.text-primary {
  color: #25613D;
}
.text-secondary {
  color: #F2A900;
}
.text-muted {
  color: #8591A5;
}
.shadow {
  box-shadow: 0 2px 12px rgba(38,49,69,0.07);
}

/***** Hide elements visually but keep accessible *****/
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* Prevent overlapping - enforce minimum gaps */
.section > *, .content-wrapper > *, .container > * {
  margin-bottom: 20px;
}
.section > *:last-child, .content-wrapper > *:last-child, .container > *:last-child {
  margin-bottom: 0;
}

/*************************************************************/
/* NO CSS GRID, COLUMNS, break-inside, or absolute cards     */
/*************************************************************/
