/* 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F3E9DC;
  color: #22324A;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #22324A;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s cubic-bezier(.5,1,.5,1);
}
a:hover, .main-nav a:focus, .footer-nav a:focus, .mobile-nav a:focus {
  color: #98A89D;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #22324A;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
@media (min-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}
p, li, blockquote {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #22324A;
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  border-left: 5px solid #98A89D;
  padding-left: 18px;
  color: #22324A;
  margin-bottom: 16px;
  font-weight: 500;
  background: #F3E9DC;
}

/* MAIN LAYOUTS & CONTAINERS WITH FLEXBOX */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
header .container, footer .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 720px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px 0 rgba(34, 50, 74, 0.1);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s cubic-bezier(.5,1,.5,1), transform .13s;
}
.card:hover {
  box-shadow: 0 12px 48px 0 rgba(34,50,74,0.16);
  transform: translateY(-2px) scale(1.02);
}
.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: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(34,50,74,0.09);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 280px;
  transition: box-shadow .18s cubic-bezier(.5,1,.5,1), transform .13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(152,168,157, 0.15);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-author {
  color: #22324A;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  min-height: 42vh;
  background: #22324A;
  color: #fff;
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
  position: relative;
  box-shadow: 0 8px 32px #22324A11;
}
.hero .cta-button {
  background: #fff;
  color: #22324A;
  border: 2px solid #98A89D;
}
.hero .cta-button:hover,
.hero .cta-button:focus {
  background: #98A89D;
  color: #22324A;
  border-color: #98A89D;
}
.hero h1, .hero p {
  color: #fff;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 3px solid #22324A;
  position: relative;
  z-index: 20;
  box-shadow: 0 2px 8px #22324A06;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #22324A;
  position: relative;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active {
  background: #98A89D;
  color: #fff;
}
.cta-button {
  display: inline-block;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  border-radius: 32px;
  padding: 14px 34px;
  font-size: 1.05rem;
  background: #98A89D;
  color: #22324A;
  border: 2px solid #98A89D;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px #22324A14;
  text-transform: uppercase;
  transition: background .22s cubic-bezier(.77,0,.18,1), color .17s, box-shadow .18s, border .16s;
  margin-left: 16px;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #22324A;
  color: #fff;
  border-color: #22324A;
  box-shadow: 0 5px 24px #98A89D22;
}

/* MOBILE NAVIGATION STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #22324A;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 30;
  margin-left: auto;
  padding: 6px 14px 6px 10px;
}
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-button { margin-left: 8px; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; 
  width: 100vw; height: 100vh;
  background: #22324A;
  color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.64,0,.42,1);
  box-shadow: 2px 0 28px #22324A33;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  right: 21px;
  top: 18px;
  cursor: pointer;
  z-index: 101;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.27rem;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 8px;
  background: transparent;
  transition: background .14s, color .14s;
  width: 100%;
  display: block;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #98A89D;
  color: #22324A;
}

@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* FOOTER */
footer {
  width: 100%;
  background: #22324A;
  color: #fff;
  padding: 48px 0 32px 0;
  box-shadow: 0 -3px 18px #22324A23;
}
.footer-logo img {
  height: 60px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 7px 10px;
  font-weight: 700;
  transition: background .18s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #98A89D;
  color: #22324A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 15px;
  margin-right: 8px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  background: #F3E9DC;
  transition: box-shadow .16s, background .13s;
  width: 36px; height: 36px;
  justify-content: center;
}
.footer-social a:hover {
  box-shadow: 0 0 0 3px #98A89D44;
  background: #98A89D;
}
.footer-social img {
  width: 22px; height: 22px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav { gap: 10px; }
  .footer-social { margin-top: 10px; }
}

/* GENERAL SPACING for CARDS & SECTION GAPS */
section { margin-bottom: 60px; }
section:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  section { margin-bottom: 36px; }
}
.card-container, .content-grid, .text-image-section {
  margin-top: 18px;
}
ul, ol {
  margin-left: 1em;
}
ul li, ol li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
ul li img, .feature-item img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
.contact-details, .kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #22324A;
  margin-bottom: 8px;
}
.map-location img {
  width: 22px;
}

/* FORMS (if present in extensions) */
input, textarea, select {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 2px solid #98A89D;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fff;
  color: #22324A;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #22324A;
  outline: none;
}

/* BLOG LIST & FAQ */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.blog-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(34,50,74,0.09);
  padding: 22px 22px 18px 22px;
  transition: box-shadow .14s, transform .11s;
}
.blog-list article:hover {
  box-shadow: 0 8px 28px #98A89D22;
  transform: scale(1.01);
}
.blog-list h3 {
  font-size: 1.18rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #22324A;
}
.blog-list a {
  color: #98A89D;
  font-weight: 700;
  transition: color .13s;
}
.blog-list a:hover { color: #22324A; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list > div {
  background: #fff;
  border-left: 4px solid #22324A;
  border-radius: 6px;
  padding: 18px 18px 14px 18px;
  font-size: 1rem;
  color: #22324A;
  margin-bottom: 4px;
  line-height: 1.47;
}

/* CTA SECTIONS */
.cta {
  background: #98A89D;
  color: #22324A;
  border-radius: 25px;
  box-shadow: 0 6px 22px #22324A15;
  margin-bottom: 50px;
}
.cta h2, .cta p {
  color: #22324A;
}
.cta .cta-button {
  background: #22324A;
  color: #fff;
  border: 2px solid #22324A;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #fff;
  color: #22324A;
  border-color: #98A89D;
}

/* SERVICE GRID */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.service-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 10px 0 rgba(34,50,74,0.08);
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 175px;
  color: #22324A;
  font-weight: 600;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .13s, transform .12s;
}
.service-grid > div:hover {
  box-shadow: 0 6px 22px #98A89D33;
  transform: translateY(-2px) scale(1.02);
}
.service-grid img {
  width: 36px; height: 36px;
}
@media (max-width: 900px) {
  .service-grid { flex-direction: column; gap: 18px; }
  .service-grid > div { flex: 1 1 100%; }
}

/* ICONS INSIDE LISTS & CONTACT */
ul li img, .kontakt-details img {
  width: 23px;
  height: 23px;
}
.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 38px;
  padding-bottom: 10px;
}
.testimonials h2 {
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 360px;
    min-width: 260px;
    margin-right: 14px;
  }
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }
  .testimonials .content-wrapper { gap: 14px; }
}

/* BUTTONS */
button, .cta-button {
  cursor: pointer;
  outline: none;
  border: none;
}
button:focus, .cta-button:focus {
  outline: 2px solid #22324A;
  outline-offset: 2px;
}

/* SEPARATORS & GEOMETRIC SHAPES (decorative) */
.section:not(.hero):not(.cta):after {
  content: "";
  display: block;
  height: 3px;
  width: 65px;
  margin: 36px auto 0 auto;
  border-radius: 1.5px;
  background: #98A89D;
  opacity: 0.2;
}

/* HIGH CONTRAST ENSURED FOR TESTIMONIALS & REVIEWS */
.testimonial-card, .faq-list > div {
  background: #fff;
  color: #22324A;
}
.testimonial-card blockquote { color: #22324A; }

/* ANIMATIONS & INTERACTIONS */
.cta-button, .service-grid > div, .testimonial-card, .card {
  transition: box-shadow .13s, transform .11s, background .17s, color .14s;
}
.card:hover, .service-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px #22324A16;
  background: #F3E9DC;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2000;
  background: #22324A;
  color: #fff;
  box-shadow: 0 -3px 24px #22324A19;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 18px;
  font-size: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  gap: 20px;
  transition: opacity .35s cubic-bezier(.8,0,.2,1), transform .28s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  margin: 0 2px;
  border: 2px solid transparent;
  box-shadow: 0 2px 4px #22324A11;
  background: #98A89D;
  color: #22324A;
  font-size: 1rem;
  transition: background .13s, color .13s, border-color .13s;
}
.cookie-banner button.accept {
  background: #98A89D;
  color: #22324A;
}
.cookie-banner button.reject {
  background: #fff;
  color: #22324A;
  border: 2px solid #98A89D;
}
.cookie-banner button.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #98A89D;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #22324A;
  color: #fff;
  border-color: #F3E9DC;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,50,74,0.8);
  z-index: 2020;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity .32s cubic-bezier(.91,0,.29,1);
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  min-width: 300px;
  background: #fff;
  color: #22324A;
  border-radius: 18px;
  padding: 32px 28px 24px 28px;
  max-width: 94vw;
  box-shadow: 0 9px 42px #22324A22;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
  font-size: 1rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 46px; height: 26px;
}
.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:#98A89D;
  border-radius: 13px;
  transition: background .15s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 4px; bottom: 4px;
  background:#fff;
  border-radius: 50%;
  transition: transform .15s;
  box-shadow: 0 2px 6px #22324A12;
}
.cookie-modal .switch input:checked + .slider {
  background: #22324A;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .switch input:disabled + .slider {
  background: #ddd;
  opacity: .6;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: none;
  color: #22324A;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 5;
}
.cookie-modal .save-btn {
  align-self: flex-end;
  margin-top: 12px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  padding: 9px 30px;
  border-radius: 22px;
  border: 2px solid #98A89D;
  background: #98A89D;
  color: #22324A;
  font-weight: 700;
  font-size: 1rem;
  transition: background .13s, color .13s, border .13s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: #22324A;
  color: #fff;
  border-color: #22324A;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 990px; }
}
@media (max-width: 992px) {
  .container { max-width: 99vw; }
  .hero { padding-top: 42px; }
  .footer-logo img { height: 46px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .card, .service-grid > div {
    padding: 18px 12px;
  }
  .footer-logo img { height: 34px; }
  section { padding: 16px 4px; }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
}

/* MISC HELPERS */
.hide { display: none !important; }

/* PRINT STYLE */
@media print {
  *, *:before, *:after { background: none !important; color: #000 !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}

/* END OF CSS */
