/* CSS RESET & BASE ----------------------------------------- */
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, main, section, article, aside, footer, header, nav, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #EFEFEF 0%, #739B8B 100%);
  color: #214158;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #214158;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #739B8B;
  text-decoration: underline;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TYPOGRAPHY ----------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #214158;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.275rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p, small, li {
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #214158;
}
small {
  font-size: 0.96rem;
  color: #417382;
}

/* LAYOUT CONTAINERS ----------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

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

.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: 14px;
  align-items: flex-start;
}

/* CARD, FEATURE, TESTIMONIAL LAYOUTS ------------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(60,80,110,0.10);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(34,65,88,0.17);
  transform: translateY(-4px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 18px 22px 18px;
}

.feature-grid, .highlight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-grid > div, .highlight-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(114,155,139,0.10);
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid > div:hover, .highlight-grid > div:hover {
  box-shadow: 0 7px 28px 0 rgba(33,65,88,0.13);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img, .highlight-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 7px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #EFEFEF;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(33,65,88,0.08);
  margin-bottom: 20px;
  min-width: 235px;
  max-width: 410px;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #18405F;
  margin: 0 0 8px 0;
}
.testimonial-card small {
  color: #417382;
  font-weight: 500;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(114,155,139,0.12);
  padding: 18px 22px;
  transition: box-shadow 0.18s;
}
.faq-item:hover {
  box-shadow: 0 5px 22px 0 rgba(33,65,88,0.10);
}
.faq-item h3 {
  font-size: 1.09rem;
  color: #214158;
  margin-bottom: 7px;
}
.faq-item p {
  font-size: 1rem;
  color: #314C62;
}

/* BUTTONS ----------------------------------------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #739B8B 0%, #214158 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 12px 34px;
  margin-top: 18px;
  margin-bottom: 4px;
  box-shadow: 0 3px 12px 0 rgba(114,155,139,0.09);
  cursor: pointer;
  outline: none;
  letter-spacing: 0.5px;
  transition: background 0.23s, box-shadow 0.19s, transform 0.12s;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #214158 0%, #739B8B 100%);
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(33,65,88,0.15);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  border: none;
  background: #739B8B;
  color: #fff;
  padding: 10px 28px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.18s, box-shadow 0.16s, transform 0.11s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #214158;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(114,155,139,0.13);
  transform: translateY(-1.5px) scale(1.02);
  outline: none;
}

/* HEADER & NAVIGATION ----------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 5px 22px 0 rgba(33,65,88,0.09);
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 34px;
}
header img {
  height: 46px;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #214158;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 18px;
  transition: color 0.17s, background 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #739B8B;
  color: #fff;
}

/* FOOTER ----------------------------------------- */
footer {
  background: #214158;
  color: #fff;
  padding: 36px 0 66px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.16s;
  text-decoration: underline;
}
footer nav a:hover, footer nav a:focus {
  color: #739B8B;
  opacity: 1;
}
footer div > img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  margin-right: 9px;
  margin-bottom: 0;
}
footer div > span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 18px;
  font-size: 1rem;
}

/* MOBILE NAVIGATION ----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #739B8B;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 13px;
  right: 18px;
  z-index: 94;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #214158;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 101;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 26px 0 34px;
  box-shadow: 0 0 70px #739B8B33;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.81,0.07,0.29,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #739B8B;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.78rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 26px;
  z-index: 106;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #214158;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 44px;
  width: 100%;
}
.mobile-nav a {
  color: #214158;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 13px 8px;
  border-radius: 20px;
  transition: background 0.17s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #739B8B;
  color: #fff;
}

/* SHOW/HIDE NAV FOR MOBILE ----------------------------------------- */
@media (max-width: 980px) {
  header .container nav,
  header .container a.cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
  }
}

/* --- GENERAL MOBILE STYLES --- */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 8px;
  }
  .feature-grid, .highlight-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch !important;
    gap: 19px !important;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .footer .container {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.62rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.20rem;
    margin-bottom: 10px;
  }
  .faq-accordion, .feature-grid, .highlight-grid {
    gap: 14px;
  }
  .footer .container {
    flex-direction: column;
    gap: 12px;
  }
}
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 14px;
  }
}

/* COOKIE CONSENT BANNER ----------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px 0 rgba(33,65,88,0.09);
  padding: 22px 18px 14px 24px;
  z-index: 1202;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 1rem;
  color: #214158;
  max-width: 600px;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  padding: 9px 20px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  cursor: pointer;
  background: #739B8B;
  color: #fff;
  transition: background 0.18s, color 0.17s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #214158;
}
.cookie-banner .cookie-btn.settings-btn {
  background: #EFEFEF;
  color: #214158;
  border: 1px solid #739B8B;
}
.cookie-banner .cookie-btn.settings-btn:hover, .cookie-banner .cookie-btn.settings-btn:focus {
  background: #739B8B;
  color: #fff;
}

/* COOKIE MODAL ----------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,65,88, 0.23);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 60px 0 rgba(33,65,88,0.13);
  padding: 40px 28px 24px 28px;
  max-width: 420px;
  min-width: 270px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.27rem;
  color: #214158;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: #739B8B;
  border-radius: 4px;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-cat .locked {
  color: #739B8B;
  font-size: 0.93rem;
  margin-left: 7px;
  font-weight: 500;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal .modal-close {
  background: #214158;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 6px 17px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  top: 16px;
  right: 20px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #739B8B;
  color: #fff;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 24px 7px 13px 7px;
    min-width: 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 7px 8px 8px;
  }
}

/* VISUAL/DECOR SPACING ----------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SMOOTH TRANSITIONS / MICRO-INTERACTIONS ----------------------------------------- */
.card, .feature-grid > div, .highlight-grid > div, .testimonial-card, .faq-item, .cta-primary, .button, header nav a, .mobile-nav a {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.13s;
}

/* VISUAL HIERARCHY ----------------------------------------- */
h1, h2, h3, h4 {
  margin-bottom: 0.5em;
}
ul li, ol li {
  margin-bottom: 0.37em;
  color: #214158;
  font-size: 1rem;
}

/* UTILITIES ----------------------------------------- */
.hidden {
  display: none !important;
}

/* ===============================================
   END OF "gradient_modern" STYLE FOR MÜNSTERHAUS KONZEPT
   =============================================== */
