/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #FBFAF6;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 16px;
  color: #2f322c;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #244B3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0F2120;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  margin-bottom: 16px;
  color: #3b4236;
}
ul li, ol li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #214834;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.24; }
h3 { font-size: 1.5rem; margin-bottom: 14px; line-height: 1.28; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }
h5, h6 { font-size: 1.1rem; }
p {
  margin-bottom: 16px;
  line-height: 1.66;
  font-size: 1rem;
}
b, strong {
  font-weight: bold;
  color: #244B3C;
}

/* --------------------------------------------------
       MAIN LAYOUT STRUCTURE
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(36, 75, 60, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.text-section {
  margin-bottom: 28px;
}
.map-section {
  margin-top: 18px;
}

/* --------------------------------------------------
            FLEXBOX FEATURE GRID
----------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #fcfcf8;
  border-radius: 12px;
  padding: 28px 18px 20px 18px;
  min-width: 240px;
  box-shadow: 0 2px 8px rgba(36, 75, 60, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.feature-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}

/* --------------------------------------------------
                CARD CONTAINERS
----------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 26px 20px;
  box-shadow: 0 2px 14px rgba(36, 75, 60, 0.05);
  min-width: 200px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f6f5f1;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(36, 75, 60, 0.06);
  color: #254034;
  font-size: 1.1rem;
}
.testimonial-card b {
  margin-left: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', serif;
  color: #244B3C;
  font-weight: 700;
}
/* Ensure contrast for testimonial text */
.testimonial-card p { color: #254034; }

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

/* --------------------------------------------------
                  HEADER & NAVIGATION
----------------------------------------------------- */
header {
  background: #244B3C;
  padding: 0;
  box-shadow: 0 2px 18px rgba(36, 75, 60, 0.045);
  width: 100%;
  z-index: 250;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 72px;
  justify-content: flex-start;
}
header nav a {
  color: #EBEDE8;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: 500;
  margin-right: 7px;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  position: relative;
  transition: color 0.23s;
}
header nav a:last-child {
  margin-right: 0;
}
header nav a:hover, header nav a:focus {
  color: #BCDEE2;
}
header nav img {
  height: 38px;
  width: auto;
  margin-right: 20px;
}
.cta-button {
  background: #EADCA6;
  color: #244B3C !important;
  font-family: 'Montserrat', 'Georgia', serif;
  border-radius: 100vw;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(36,75,60,0.10);
  border: none;
  display: inline-block;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: #BCDEE2;
  color: #183020;
  transform: translateY(-2px) scale(1.035);
}

/* --------------------------------------------------
               TAGS & BADGES
----------------------------------------------------- */
.tag {
  display: inline-block;
  padding: 3px 14px;
  background: #244B3C;
  color: #fff;
  border-radius: 100vw;
  font-size: 0.94rem;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  margin-right: 8px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.tag:last-child {
  margin-right: 0;
}
.feature-grid .tag {
  background: #BCDEE2;
  color: #244B3C;
}

/* --------------------------------------------------
                  FOOTER
----------------------------------------------------- */
footer {
  background: #EADCA6;
  color: #2f322c;
  padding: 34px 0 28px 0;
  box-shadow: 0 -2px 22px rgba(36, 75, 60, 0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #244B3C;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  font-size: 0.99rem;
  margin-bottom: 2px;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #426E5A;
}
footer img {
  height: 36px;
  margin-bottom: 10px;
}
footer p {
  font-size: 0.99rem;
  color: #232821;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------
       MOBILE NAVIGATION (HAMBURGER MENU)
----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #EADCA6;
  color: #214834;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 1002;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #BCDEE2;
  color: #244B3C;
  transform: scale(1.09);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86vw;
  max-width: 340px;
  background: #244B3C;
  color: #EBEDE8;
  z-index: 4000;
  padding: 40px 30px 22px 30px;
  box-shadow: -2px 0 20px rgba(36, 75, 60, 0.13);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.25,.8,.25,1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #EADCA6;
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  right: 22px;
  cursor: pointer;
  z-index: 4010;
  padding: 0 5px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #BCDEE2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.mobile-nav a {
  color: #EADCA6;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.19rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 2px;
  border-radius: 5px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BCDEE2;
  color: #244B3C;
}

@media (max-width: 1024px) {
  header nav {
    gap: 14px;
    padding: 0 12px;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 6px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 22px 11px 18px 11px;
    font-size: 0.99rem;
  }
}

/* Show mobile menu toggle button and hide normal nav */
@media (max-width: 800px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
  header {
    position: relative;
    min-height: 64px;
  }
}
@media (max-width: 800px) {
  .footer .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* --------------------------------------------------
               RESPONSIVE SECTIONS
----------------------------------------------------- */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width:600px) {
  .feature-grid {
    gap: 10px;
  }
  .feature-grid > div {
    min-width: 100%;
    margin-bottom: 6px;
    padding: 20px 6px 13px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px;
  }
  h1{font-size:1.45rem;}
  h2{font-size:1.13rem;}
}
@media (max-width: 768px) {
  .content-wrapper,
  .text-section {
    padding: 0;
    margin-bottom: 18px;
  }
  .content-grid,
  .card-container,
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section {
    padding: 23px 4px;
    margin-bottom: 34px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px;
  }
}

/* --------------------------------------------------
                 FORM AND BUTTONS
----------------------------------------------------- */
button {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
button:disabled, .cta-button:disabled {
  opacity: .57;
  pointer-events: none;
}
input, textarea, select {
  border: 1px solid #BCDEE2;
  border-radius: 7px;
  padding: 9px 14px;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.17s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #244B3C;
  outline: none;
}

/* --------------------------------------------------
              SPACING & MICRO INTERACTIONS
----------------------------------------------------- */
.section, .card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 1px 8px rgba(36, 75, 60, 0.06);
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 3px 18px rgba(36, 75, 60, 0.11);
  transform: translateY(-4px) scale(1.01);
}

hr {
  border: none;
  border-top: 1px solid #EADCA6;
  margin: 28px 0;
}

/* --------------------------------------------------
              COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 22px rgba(36, 75, 60, 0.13);
  padding: 25px 16px 23px 16px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 3px solid #EADCA6;
  font-family: 'Montserrat', 'Georgia', serif;
  animation: cookieFadeIn 0.6s cubic-bezier(.4,.38,.18,1);
}
@keyframes cookieFadeIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #214834;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  min-width: 130px;
  padding: 8px 18px;
  margin: 0;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  border-radius: 100vw;
  font-size: 1rem;
  border: none;
  box-shadow: 0 1px 3px rgba(36, 75, 60, 0.08);
  cursor: pointer;
  transition: background 0.15s, color 0.17s;
  background: #EADCA6;
  color: #244B3C;
}
.cookie-banner button.accept {
  background: #244B3C;
  color: #fff;
}
.cookie-banner button.reject {
  background: #BCDEE2;
  color: #244B3C;
}
.cookie-banner button.settings {
  background: #EADCA6;
  color: #244B3C;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #BCDEE2;
  color: #214834;
}
.cookie-banner button.accept:hover {
  background: #426E5A;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #244B3C;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,56,44,0.36);
  z-index: 8010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.5s;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 44px rgba(36,75,60,0.18);
  max-width: 380px;
  width: 92vw;
  padding: 32px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
  color: #244B3C;
}
.cookie-modal label {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', 'Georgia', serif;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EADCA6;
  border-radius: 20px;
  transition: background .23s;
}
.cookie-modal .switch input:checked + .slider {
  background: #244B3C;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .23s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 21px;
  border-radius: 100vw;
  background: #244B3C;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(36, 75, 60, 0.07);
  border: none;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal button.secondary {
  background: #EADCA6;
  color: #244B3C;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #BCDEE2;
  color: #244B3C;
}

/* Hide modal for desktop if not active */
.cookie-modal, .cookie-modal-overlay {
  display: none;
}
.cookie-modal.open, .cookie-modal-overlay.open {
  display: flex;
}

/* --------------------------------------------------
              TYPOGRAPHY HIERARCHY
----------------------------------------------------- */
/* Font scale: 14px, 16px, 18px, 24px, 32px, 48px */
html { font-size: 16px; }
@media (min-width: 700px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.38rem; }
  h4, h5, h6 { font-size: 1.13rem; }
  .cta-button { font-size: 1.08rem; }
  p, li, ul { font-size: 1.01rem; }
}

/* --------------------------------------------------
            ACCESSIBILITY & SELECTION STYLES
----------------------------------------------------- */
::-webkit-selection { background: #EADCA6; color: #244B3C; }
::selection { background: #EADCA6; color: #244B3C; }
:focus-visible {
  outline: 2px solid #EADCA6;
  outline-offset: 2px;
  z-index: 9000;
}

/* --------------------------------------------------
           ICONS FOR LISTS (Kontakt page)
----------------------------------------------------- */
.text-section ul li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 7px;
  display: inline-block;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------
           FURTHER REFINEMENTS
----------------------------------------------------- */
main {
  min-height: 60vh;
}
@media (max-width:500px) {
  .container {
    padding: 0 3px;
  }
  .card, .feature-grid > div, .testimonial-card {padding-left:7px;padding-right:7px;}
  .testimonial-card{padding:8px;}
}

/* END OF CSS */