/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F9F9F6;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23395D;
  background: #F9F9F6;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #486291;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23395D;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #23395D;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 600;
}
::-webkit-input-placeholder { color: #7C9AB0; }
::-moz-placeholder { color: #7C9AB0; }
:-ms-input-placeholder { color: #7C9AB0; }
::placeholder { color: #7C9AB0; }

/* CONTAINER LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* FLEXBOX SPACING CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.features-grid,
.card-container, 
.services-list, 
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px 28px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(124, 154, 176, 0.15);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(124, 154, 176, 0.23);
  transform: translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: linear-gradient(120deg, #E3EFFF 0%, #F7E4F8 100%);
  border-radius: 16px;
  padding: 24px 20px;
  min-width: 210px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(124,154,176,0.12);
  transition: box-shadow 0.22s;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(124,154,176,0.19);
}
.service-teaser {
  background: linear-gradient(130deg, #F0F6FF 0%, #F9F4F1 100%);
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 4px 14px rgba(92,141,172,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-teaser:hover {
  box-shadow: 0 8px 28px rgba(92,141,172,0.18);
  transform: translateY(-2px) scale(1.02);
}
.service-price {
  display: inline-block;
  background: #E3EFFF;
  color: #23395D;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  margin: 7px 0 10px 0;
  padding: 4px 14px;
}

.text-section {
  margin-bottom: 28px;
}

.map-placeholder {
  background: linear-gradient(100deg, #F6EBFF 0%, #F0F6FF 100%);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #23395D;
}

.cta, .cta-contact {
  background: linear-gradient(120deg, #F4F9FF 0%, #F8EDFF 100%);
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(209,199,240,0.09);
  margin-bottom: 60px;
  padding: 45px 28px 40px 28px;
  text-align: center;
}
.cta .button, .cta-contact .button {
  margin-top: 22px;
}

.hero {
  background: linear-gradient(135deg, #F2F6FB 0%, #FFF1E5 100%);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 45px 22px 50px 22px;
  box-shadow: 0 12px 32px 0 rgba(160,176,212,0.09);
}
.hero h1, .hero .subheadline {
  color: #23395D;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #46678b;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 26px;
  margin-top: 12px;
}

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(124, 154, 176, 0.09);
  transition: background-color 0.25s, color 0.2s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  margin-top: 10px;
  gap: 7px;
}
.button.primary {
  background: #7C9AB0;
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: #23395D;
  color: #FFF1E5;
  box-shadow: 0 6px 20px 0 rgba(124,154,176,0.20);
  transform: translateY(-2px) scale(1.03);
}
.button.secondary {
  background: #fff8fa;
  color: #23395D;
  border: 1.5px solid #7C9AB0;
}
.button.secondary:hover, .button.secondary:focus {
  background: #F0F6FF;
  color: #23395D;
  border-color: #23395D;
  box-shadow: 0 4px 18px rgba(124,154,176,0.15);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(124,154,176,0.07);
  padding: 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
}
header img {
  height: 56px;
  margin-right: 32px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  padding: 10px 12px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: #23395D;
  border-radius: 8px;
  transition: background 0.19s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #E3EFFF;
  color: #7C9AB0;
}
header .button.primary {
  margin-left: 26px;
}
.mobile-menu-toggle {
  background: #F6EBFF;
  color: #23395D;
  border: none;
  border-radius: 35px;
  font-size: 2rem;
  padding: 4px 20px;
  margin-left: 18px;
  display: none;
  align-items: center;
  transition: background 0.18s, color 0.18s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E3EFFF;
  color: #7C9AB0;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, #F7E4F8 0%, #E3EFFF 100%);
  box-shadow: 0 8px 40px rgba(50,57,93,0.12);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.82,.01,0,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #23395D;
  align-self: flex-end;
  margin: 24px 26px 0 0;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #7C9AB0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  gap: 6px;
  padding: 20px 34px 30px 34px;
}
.mobile-nav a {
  color: #23395D;
  padding: 16px 0;
  font-size: 1.15rem;
  border-radius: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: transparent;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3EFFF;
  color: #7C9AB0;
}

/* MAIN & LAYOUTS */
main {
  margin-bottom: 40px;
  margin-top: 0;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.cta, .cta-contact {
  margin-top: 32px;
}

/* FOOTER */
footer {
  background: #FAF6FC;
  border-top: 3px solid #F6EBFF;
  padding: 0 0 0 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 20px 16px 20px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-navigation a {
  color: #7C9AB0;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #23395D;
}
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #46678b;
  font-size: 1.02rem;
}
.contact-information img {
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  margin-bottom: -5px;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 4px 0 0 0;
}
.social-links a img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #E3EFFF;
  transition: filter 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(124,154,176,.07);
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(0.95) contrast(1.13);
  box-shadow: 0 3px 14px 0 rgba(92,141,172,0.14);
}
.footer-copy {
  margin-top: 10px;
  color: #a3a9ae;
  font-size: 0.99rem;
}

/* TESTIMONIAL SLIDER (only for /) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.testimonials {
  margin-top: 24px;
}
.testimonial-card p {
  color: #23395D;
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1.00rem;
  color: #46678b !important;
  font-style: italic;
  font-weight: 500;
}

/* Utility & Misc */
hr {
  border: none;
  border-top: 1px solid #E8E2FA;
  margin: 30px 0;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: linear-gradient(90deg, #F7E4F8 0%, #E3EFFF 100%);
  border-top: 2px solid #E3EFFF;
  box-shadow: 0 -2px 18px rgba(174,178,203,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #23395D;
  animation: fadeinb 0.4s cubic-bezier(.2,.95,.39,1.08);
}
@keyframes fadeinb {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-consent-banner button {
  border: none;
  padding: 8px 19px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  background: #fff;
  color: #23395D;
  box-shadow: 0 2px 7px 0 rgba(124,154,176,0.04);
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner button.accept {
  background: #7C9AB0;
  color: #fff;
}
.cookie-consent-banner button.accept:hover {
  background: #23395D;
}
.cookie-consent-banner button.reject {
  background: #E3EFFF;
  color: #23395D;
}
.cookie-consent-banner button.reject:hover {
  background: #F6EBFF;
  color: #46678b;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: #23395D;
}
.cookie-consent-banner button.settings:hover {
  background: #F6EBFF;
  color: #7C9AB0;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(60,61,78,0.38);
  z-index: 3100;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeinb 0.2s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  min-width: 310px;
  max-width: 97vw;
  box-shadow: 0 10px 60px rgba(124,154,176,0.18);
  padding: 30px 34px 27px 28px;
  animation: modalpop 0.3s;
  position: relative;
  font-size: 1.05rem;
  color: #23395D;
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes modalpop {
  0% { opacity: 0; transform: scale(0.95) translateY(60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.42rem;
  color: #23395D;
  margin-bottom: 18px;
  margin-top: 4px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 21px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7C9AB0;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 2;
}
.cookie-modal-close:hover {
  color: #23395D;
}
.cookie-category-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 13px 0 20px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 9px;
  border-radius: 12px;
  background: #F7F9FF;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category label {
  flex: 1 1 auto;
  color: #23395D;
  font-weight: 500;
  font-size: 1.01rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #7C9AB0;
  border-radius: 6px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #23395D;
}
.cookie-category.essential label {
  color: #A2A7AF;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-actions button {
  border: none;
  padding: 8px 19px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: #7C9AB0;
  color: #fff;
  box-shadow: 0 2px 7px 0 rgba(124,154,176,0.07);
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .cookie-modal-actions button.secondary {
  background: #E3EFFF;
  color: #23395D;
}
.cookie-modal .cookie-modal-actions button.secondary:hover {
  background: #F6EBFF;
  color: #7C9AB0;
}
.cookie-modal .cookie-modal-actions button.accept {
  background: #7C9AB0;
  color: #fff;
}
.cookie-modal .cookie-modal-actions button.accept:hover {
  background: #23395D;
}
/* Hide modal on page load */
.cookie-modal,
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.active,
.cookie-modal-overlay.active .cookie-modal {
  display: flex !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .features-grid, .services-list, .card-container, .content-grid, .testimonial-slider {
    gap: 18px;
  }
  .feature-item, .service-teaser {
    min-width: 180px;
    padding: 18px 12px;
  }
  .hero, .cta, .cta-contact, .section {
    padding: 34px 9px 35px 9px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  main { margin-bottom: 20px; }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 6px 14px;
    gap: 11px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .features-grid, .services-list, .card-container, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 19px;
  }
  .feature-item, .service-teaser, .testimonial-card {
    min-width: 100%;
    width: 100%;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 0;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-navigation {
    flex-direction: column;
    gap: 13px;
    margin-bottom: 15px;
  }
  .social-links {
    margin: 0 0 10px 0;
  }
  .cta, .cta-contact, .hero {
    padding: 24px 6px 24px 6px;
    border-radius: 17px;
  }
  section {
    margin-bottom: 32px;
    padding: 26px 0 0 0;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 8.5px;
    font-size: 0.98rem;
    z-index: 4000;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 7vw;
    font-size: 0.96rem;
  }
}
@media (max-width: 500px) {
  nav, .footer-navigation, .cookie-category-group {
    gap: 3px;
  }
  .cookie-modal {
    padding: 12px 2vw 14px 2vw;
    font-size: 0.94rem;
  }
  .cookie-modal-overlay {
    padding: 0;
  }
}

/* Animations */
@keyframes slidein {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(0vw); }
}
@keyframes slideout {
  0% { transform: translateX(0vw); }
  100% { transform: translateX(-100vw); }
}

/* Microinteractions */
.button:active, .service-teaser:active, .feature-item:active {
  transform: scale(0.98);
}

/* Remove outline, use custom focus-visible styles for accessibility */
:focus-visible {
  outline: 2px solid #7C9AB0;
  outline-offset: 2px;
}

/* Spacing for all cards & sections */
.card, .testimonial-card, .feature-item, .service-teaser, .map-placeholder {
  margin-bottom: 20px !important;
}
.content-grid > *:not(:last-child) {
  margin-right: 20px;
}

/* REMOVE ABSOLUTE from content elements (cards/text) - only decorative allowed */

/* END OF CSS */
