/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #21446a;
  background-color: #f3f6f9;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #25b2c6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21446a;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 1em;
}
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(33,68,106,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21446a;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.32; margin-bottom: 12px; }
h4 { font-size: 1.1rem; line-height: 1.36; margin-bottom: 10px; }
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #21446a;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #21446a;
  margin-bottom: 26px;
  line-height: 1.6;
}
.text-section {
  margin-bottom: 30px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 6px;
}

/* --- CONTAINER, GRID, FLEX UTILS --- */
.container {
  width: 100%;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.features-grid, .service-list, .footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.features-grid {
  margin-top: 16px;
  justify-content: space-between;
}
.service-list {
  margin-top: 16px;
  justify-content: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(33,68,106,0.09);
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(33,68,106,0.11);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(33,68,106,0.07);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  margin-bottom: 36px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 20px 18px 20px;
}
header img[alt="Lumina Ridge"] {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #21446a;
  padding: 7px 0px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #25b2c6;
  border-bottom: 2px solid #25b2c6;
  outline: none;
}
.button.primary {
  background: #25b2c6;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 13px 36px;
  margin-left: 18px;
  box-shadow: 0 2px 12px rgba(37,178,198,0.07);
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.23s, color 0.23s;
}
.button.primary:hover, .button.primary:focus {
  background: #21446a;
  color: #fff;
  box-shadow: 0 4px 22px rgba(33,68,106,0.10);
  outline: none;
}
.button.secondary {
  background: #f3f6f9;
  color: #21446a;
  border: 2px solid #25b2c6;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 11px 26px;
  margin-top: 30px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.23s, color 0.20s, border 0.18s;
}
.button.secondary:hover, .button.secondary:focus {
  background: #25b2c6;
  color: #fff;
  border: 2px solid #21446a;
  outline: none;
}
.button:active {
  transform: translateY(1px);
}
/* --- HAMBURGER NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1109;
  background: #fff;
  border: 2px solid #21446a;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #21446a;
  cursor: pointer;
  box-shadow: 0 1px 10px rgba(33,68,106,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.15s, background 0.15s;
}
.mobile-menu-toggle:focus {
  border-color: #25b2c6;
  outline: none;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1200;
  background: rgba(33, 68, 106, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu nav {
  background: #fff;
  width: 82vw;
  max-width: 380px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px 22px 24px 32px;
  box-shadow: 6px 0px 36px 0 rgba(33,68,106,0.13);
  transform: translateX(-104%);
  transition: transform 0.28s cubic-bezier(.85,.01,.29,1.14);
}
.mobile-menu.open nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  border: 2px solid #25b2c6;
  color: #21446a;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  align-self: flex-end;
  cursor: pointer;
  margin: 17px 8px 0 0;
  box-shadow: 0 1px 8px rgba(33,68,106,0.13);
  transition: border 0.15s, background 0.18s;
  z-index: 1210;
}
.mobile-menu-close:focus {
  border-color: #21446a;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #21446a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid #f3f6f9;
  transition: color 0.15s;
  font-weight: 600;
  outline: none;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #25b2c6;
  background: #f3f6f9;
  border-radius: 8px;
}
@media (max-width: 980px) {
  header .container nav {
    display: none;
  }
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(120deg, #f3f6f9 80%, #e1f1f7 100%);
  min-height: 320px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.hero .subheadline {
  margin-bottom: 20px;
}

/* --- FEATURES / THEMENWELTEN --- */
.features {
  background: #f8fafc;
  box-shadow: 0 1px 12px rgba(33,68,106,0.05);
}
.features-grid {
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(33,68,106,0.06);
  padding: 26px 22px;
  min-width: 234px;
  max-width: 320px;
  flex: 1 1 230px;
  transition: box-shadow 0.21s, background 0.20s;
}
.feature-item img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.09rem;
  margin-bottom: 5px;
}
.feature-item p {
  font-size: 0.97rem;
  color: #3a587b;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  background: #f3f6f9;
  box-shadow: 0 3px 18px rgba(37,178,198,0.07);
  outline: none;
}

/* --- SERVICES / ANGEBOTE & TIMELINE --- */
.services {
  background: #fff;
}
.service-list {
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f3f6f9;
  border-radius: 12px;
  box-shadow: 0 0.5px 5px 0 rgba(33,68,106,0.10);
  padding: 22px 16px 20px 16px;
  min-width: 206px;
  max-width: 290px;
  flex: 1 1 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, background 0.18s;
}
.service-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 11px;
}
.service-item h3 {
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.service-item p {
  font-size: 0.97rem;
  color: #355475;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #21446a;
  font-weight: 600;
  margin-top: 12px;
}
.service-item:hover, .service-item:focus-within {
  background: #25b2c6;
  color: #fff;
  box-shadow: 0 2px 20px 0 rgba(37,178,198,0.14);
}
.service-item:hover h3, .service-item:focus-within h3, 
.service-item:hover .service-price, .service-item:focus-within .service-price,
.service-item:hover p, .service-item:focus-within p {
  color: #fff;
}

/* --- TESTIMONIALS / SLIDER CARDS --- */
.testimonials {
  background: #f3f6f9;
  margin-bottom: 55px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.testimonial-card {
  background: #fff;
  color: #21446a;
  border-radius: 16px;
  box-shadow: 0 2px 13px rgba(33,68,106,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 28px;
  min-width: 250px;
  max-width: 420px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, background 0.20s;
  margin-bottom: 24px;
}
.testimonial-card p {
  color: #21446a;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-meta {
  color: #3a587b;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 22px rgba(33,68,106,0.13);
  background: #e1f1f7;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  padding: 0 0 32px 0;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -1px 14px rgba(33,68,106,0.06);
  margin-top: 50px;
}
.footer-top {
  width: 100%;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 0 18px 0;
  display: flex;
}
.footer-top nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-top nav a {
  color: #21446a;
  font-size: 1rem;
  padding: 4px 0;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  color: #25b2c6;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #3a587b;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  min-height: 22px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  margin-top: 7px;
}
.footer-social a {
  background: #f3f6f9;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  box-shadow: 0 0.5px 2px rgba(33,68,106,0.07);
  transition: background 0.14s;
}
.footer-social a img {
  width: 22px;
  height: 22px;
}
.footer-social a:hover, .footer-social a:focus {
  background: #25b2c6;
  outline: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
  border-top: 1px solid #e3e8ef;
  padding-top: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.96rem;
}
.legal-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  font-size: 0.97rem;
  flex-wrap: wrap;
}
.legal-links a {
  color: #3a587b;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.legal-links a:hover, .legal-links a:focus {
  color: #25b2c6;
  border-bottom: 1px solid #25b2c6;
  outline: none;
}
.footer-copy {
  color: #9fb2c8;
  font-size: 0.95rem;
  margin-left: auto;
  font-family: 'Roboto', Arial, sans-serif;
}


/* --- SPACING STEPPING / UTILITIES --- */
.mt-1 { margin-top: 8px !important; } .mt-2 { margin-top: 16px !important; } .mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; } .mb-2 { margin-bottom: 16px !important; } .mb-3 { margin-bottom: 24px !important; }
.gap-1 { gap: 8px !important; } .gap-2 { gap: 16px !important; } .gap-3 { gap: 24px !important; }

/* --- FAQ + CONTENT CARDS --- */
.faq-list h3 {
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-list p {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1300;
  background: #fff;
  box-shadow: 0 -4px 24px 0 rgba(33,68,106,0.14);
  padding: 23px 16px 16px 16px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: center;
  transition: transform 0.33s, opacity 0.2s;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-text {
  font-size: 0.99rem;
  color: #21446a;
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 2px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  border: 2px solid transparent;
  margin-bottom: 2px;
}
.cookie-btn.accept {
  background: #25b2c6;
  color: #fff;
  border-color: #25b2c6;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #21446a;
  border-color: #21446a;
  color: #fff;
}
.cookie-btn.reject {
  background: #f3f6f9;
  color: #21446a;
  border-color: #c9d9eb;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e1f1f7;
  color: #21446a;
  border-color: #25b2c6;
}
.cookie-btn.settings {
  background: #fff;
  color: #25b2c6;
  border-color: #25b2c6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f3f6f9;
  color: #21446a;
  border-color: #21446a;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,68,106,0.17);
  z-index: 1333;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(33,68,106,0.11);
  padding: 38px 22px 26px 22px;
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
  animation: cookieModalPopIn 0.49s cubic-bezier(.7,.13,.58,1.11);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(0.91) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  margin-top: 0;
}
.cookie-modal-section {
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e8ef;
  width: 100%;
}
.cookie-modal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cookie-modal-label {
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 6px;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 38px;
  height: 22px;
  background: #e1f1f7;
  border-radius: 14px;
  position: relative;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #25b2c6;
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
  box-shadow: 0 1px 4px rgba(33,68,106,0.10);
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  width: 100%;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 85px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #21446a;
  font-size: 1.45rem;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e1f1f7;
  outline: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  .container {
    padding: 0 7px;
    max-width: 99vw;
  }
  .hero, section {
    padding: 24px 5px;
  }
  .features-grid, .service-list, .testimonial-slider, .footer-top {
    flex-direction: column;
    gap: 22px !important;
    align-items: stretch;
  }
  .feature-item, .service-item, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 { font-size: 1.32rem; }
  .hero h1 { font-size: 1.1rem; }
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    padding: 20px 6px 16px 6px;
  }
}

/* --- VISUAL ENHANCEMENT UTILS --- */
::-webkit-scrollbar { width: 8px; background: #f3f6f9; }
::-webkit-scrollbar-thumb { background: #e1f1f7; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #d1e8f3; }

/* --- MISC. ELEMENT STYLES --- */
hr {
  border: none;
  border-bottom: 1px solid #e3e8ef;
  margin: 32px 0;
}
::selection {
  background: #e1f1f7;
  color: #21446a;
}

/* --- ACCESSIBILITY FOCUS STYLES --- */
a:focus, button:focus, .button:focus, .feature-item:focus-within, .testimonial-card:focus-within, .service-item:focus-within {
  outline: 2px solid #25b2c6;
  outline-offset: 2px;
}


/* ---- END LUMINA RIDGE SCANDINAVIAN CLEAN CSS ---- */
