/* =========================================================
RESET & BASE STYLES
========================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F4F4F7;
  color: #1E3A5B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1E3A5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #7ECBA4;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3A5B;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
}
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.highlight {
  font-size: 1.18rem;
  color: #355072;
  background: #e9eff5;
  border-left: 5px solid #7ECBA4;
  padding: 18px 22px;
  border-radius: 8px 10px 10px 8px;
  margin-bottom: 28px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(30, 58, 91, 0.02);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  margin-top: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================================================
NAVIGATION & MOBILE NAVIGATION
========================================================= */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(30,58,91,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1150px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
  position: relative;
}
.main-nav > a img {
  max-height: 36px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3A5B;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #7ECBA4;
}
.cta-btn {
  color: #fff;
  background: #1E3A5B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 2px 10px rgba(30,58,91,0.07);
  line-height: 1;
  cursor: pointer;
  margin-left: 32px;
  transition: background 0.22s, color 0.15s, box-shadow 0.22s;
  display: inline-block;
}
.cta-btn:focus, .cta-btn:hover {
  background: #7ECBA4;
  color: #1E3A5B;
  box-shadow: 0 4px 20px rgba(126, 203, 164,0.11);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1E3A5B;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 2001;
  margin-left: 14px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 86vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 38px rgba(30,58,91,0.16);
  z-index: 2000;
  padding: 32px 22px 22px 22px;
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(.8, .25, .25, 1.05);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #f4f4f7;
  border: none;
  font-size: 2rem;
  color: #1E3A5B;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e7f7f0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  color: #1E3A5B;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 2px 13px 4px;
  width: 100%;
  border-radius: 7px;
  transition: background .18s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e7f4ef;
  color: #7ECBA4;
}
/* Overlay for mobile menu (semi-transparent background) */
body.mobile-menu-open::before {
  content: '';
  position: fixed;
  top: 0; left: 0;right: 0;bottom: 0;
  background: rgba(30,58,91,0.33);
  z-index: 1099;
  pointer-events: auto;
}

/* Hide desktop nav on small screens, show hamburger */
@media (max-width: 991px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================================================
LAYOUT SECTIONS & FLEX SPACING
========================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,58,91,0.08);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(30,58,91,.07);
  margin-bottom: 20px;
  min-width: 0;
  flex:1 1 270px;
  max-width: 450px;
  transition: box-shadow .18s;
}
.testimonial-card p {
  color: #234073;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
}
.testimonial-card span {
  color: #7ECBA4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 28px rgba(30,58,91,.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 14px rgba(30,58,91,0.09);
  flex: 1 1 210px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow .16s, transform .15s;
}
.feature-item img {
  width: 56px;
  height: 56px;
}
.feature-item:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 24px rgba(30,58,91,0.17);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(30,58,91,0.08);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 370px;
  padding: 26px 22px 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .17s, border 0.15s;
  gap: 11px;
  border: 1px solid transparent;
}
.service-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
}
.service-card .price {
  color: #1E3A5B;
  font-weight: 500;
  font-size: 1.05rem;
  margin-top: 7px;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 7px 22px rgba(30,58,91,0.14);
  border: 1px solid #7ECBA4;
  z-index: 1;
}

.section .service-list {
  list-style: disc inside;
  margin-bottom: 26px;
}
.service-list li {
  background: #fff;
  border-radius: 7px;
  padding: 15px 22px;
  margin-bottom: 12px;
  color: #1E3A5B;
  font-size: 1.06rem;
  border-left: 4px solid #1E3A5B;
  box-shadow: 0 1px 7px rgba(30,58,91,0.03);
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.service-list li span {
  color: #7ECBA4;
  font-weight: 600;
  font-size: 0.96rem;
}

.statistic-highlights,
.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 22px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}
.statistic-highlights span, .service-highlights span {
  font-size: 1.09rem;
  background: #e9eff5;
  color: #234073;
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: 600;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 18px;
  margin-bottom: 0;
}
.trust-badges li {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  box-shadow: 0 1px 12px rgba(30,58,91,0.06);
  gap: 10px;
  font-weight: 500;
  color: #1E3A5B;
  font-size: 1rem;
}
.trust-badges img {
  width: 26px;
  height: 26px;
}

.usp-list {
  margin-bottom: 24px;
}
.usp-list li {
  background: #f3fbf8;
  border-radius: 7px;
  padding: 11px 20px;
  color: #1E3A5B;
  font-size: 1.04rem;
  margin-bottom: 10px;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(30,58,91,0.03);
}

.price-overview {
  margin-top: 35px;
  margin-bottom: 0;
  color: #234073;
  font-weight: 500;
  background: #e9eff5;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 1.04rem;
}

/* Testimonials slider & list (index, erfolgsgeschichten) */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.case-study-summaries {
  padding: 22px 16px 10px 16px;
  background: #e9eff5;
  border-radius: 11px;
  margin-top: 30px;
}
.case-study-summaries h3 {
  color: #1E3A5B;
  font-size: 1.07rem;
  margin-bottom: 9px;
}
.case-study-summaries ul {
  margin: 0 0 0 12px;
  font-size: 1rem;
}

/* FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 13px rgba(30,58,91,0.05);
  padding: 21px 20px 15px 20px;
  transition: box-shadow 0.11s;
  cursor: pointer;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 18px rgba(126,203,164,0.13);
}
.faq-item h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  color: #1E3A5B;
  margin-bottom: 7px;
  font-weight: 600;
}
.faq-item p {
  font-size: 1rem;
  color: #234073;
  margin: 0;
}
.quick-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.quick-links a {
  background: #e9eff5;
  color: #1E3A5B;
  padding: 10px 24px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.quick-links a:hover, .quick-links a:focus {
  color: #7ECBA4;
  background: #c1e3d3;
}

.step-by-step-timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  counter-reset: step;
  margin-left: 0;
}
.step-by-step-timeline li {
  background: #fff;
  border-radius: 8px;
  padding: 18px 22px 18px 60px;
  color: #1E3A5B;
  box-shadow: 0 1px 8px rgba(30,58,91,0.04);
  position: relative;
  font-weight: 500;
  min-height: 48px;
}
.step-by-step-timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #1E3A5B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.infographic {
  margin: 35px 0 22px 0;
  text-align: center;
}
.quick-faq {
  margin-top: 32px;
  background: #e9eff5;
  border-radius: 8px;
  padding: 16px 19px;
}
.quick-faq h3 {
  margin-bottom: 8px;
}

.confirmation-section {
  align-items: flex-start;
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 25px rgba(30,58,91,0.07);
  padding: 36px 28px;
}
.confirmation-section ul {
  margin-left: 16px;
}

.contact-section {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-details {
  flex: 1 1 250px;
  min-width: 200px;
}
.map-embed {
  flex: 1 1 200px;
  min-width: 180px;
  margin-left: 10px;
}

/* =========================================================
FOOTER
========================================================= */
footer {
  background: #1E3A5B;
  color: #fff;
  padding: 44px 0 22px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #7ECBA4;
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #355072;
}
.footer-contact {
  max-width: 660px;
  margin: 0 auto 18px auto;
  font-size: 1.08rem;
  color: #b9d6e9;
  text-align: center;
}
.footer-contact b {
  color: #fff;
}
.footer-contact a {
  color: #7ECBA4;
  text-decoration: underline;
  font-weight: 500;
}
.footer-legal {
  text-align: center;
  color: #b9d6e9;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* =========================================================
COOKIE CONSENT BANNER & MODAL
========================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1E3A5B;
  border-top: 3px solid #1E3A5B;
  box-shadow: 0 -2px 33px rgba(30,58,91,0.08);
  padding: 22px 16px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: banner-slide-up 0.75s cubic-bezier(.4,1.1,.35,1.01);
}
@keyframes banner-slide-up {from { transform: translateY(120px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p {
  flex: 1 1 250px;
  margin-right: 10px;
  font-size: 1rem;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 11px 23px;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.19s, color 0.14s, box-shadow .15s;
  margin-bottom: 1px;
}
.cookie-banner .accept {
  background: #1E3A5B;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #7ECBA4;
  color: #1E3A5B;
  box-shadow: 0 2px 13px rgba(126,203,164,0.13);
}
.cookie-banner .reject {
  background: #e9eff5;
  color: #1E3A5B;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #eecdd4;
  color: #1E3A5B;
}
.cookie-banner .settings {
  background: #f3fbf8;
  color: #1E3A5B;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #c1e3d3;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,58,91,0.37);
  z-index: 3005;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modal-fade-in 0.25s;
}
@keyframes modal-fade-in {from{opacity:0} to{opacity:1}}
.cookie-modal {
  background: #fff;
  color: #1E3A5B;
  min-width: 312px;
  max-width: 96vw;
  border-radius: 14px 14px 0 0;
  padding: 36px 32px 28px 32px;
  margin-bottom: 0;
  box-shadow: 0 -1px 32px rgba(30,58,91,0.13);
  position: relative;
  animation: modal-slide-up 0.23s cubic-bezier(.33,1,.44,1.01);
}
@keyframes modal-slide-up {from{transform:translateY(160px);} to{transform:translateY(0);}}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: #1E3A5B;
  font-size: 1.7rem;
  position: absolute;
  top: 19px;
  right: 18px;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #e9eff5;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-modal .cat-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cat-toggle {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  position: relative;
  background: #e9eff5;
  transition: background 0.2s;
  border: none;
  appearance: none;
  cursor: pointer;
  margin-left: 6px;
}
.cookie-modal .cat-toggle.checked {
  background: #7ECBA4;
}
.cookie-modal .cat-toggle.disabled {
  background: #7ECBA4;
  opacity: 0.6;
  cursor: default;
}
.cookie-modal .cat-toggle::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(30,58,91,0.13);
  transition: left 0.21s;
}
.cookie-modal .cat-toggle.checked::after {
  left: 24px;
}
.cookie-modal .cat-desc {
  color: #355072;
  font-size: 0.995rem;
  margin-left: 7px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 25px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 32px;
  border: none;
  background: #1E3A5B;
  color: #fff;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-actions .cookie-btn.alt {
  background: #e9eff5;
  color: #1E3A5B;
}
.cookie-modal .modal-actions .cookie-btn:hover, .cookie-modal .modal-actions .cookie-btn:focus {
  background: #7ECBA4;
  color: #1E3A5B;
}
.cookie-modal .modal-actions .cookie-btn.alt:hover, .cookie-modal .modal-actions .cookie-btn.alt:focus {
  background: #c1e3d3;
  color: #1E3A5B;
}

/* =========================================================
RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 1100px) {
  .container, .main-nav {
    max-width: 94vw;
  }
}
@media (max-width: 991px) {
  .feature-grid, .service-cards, .statistic-highlights, .service-highlights, .testimonial-slider, .testimonial-list, .trust-badges, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .service-card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .contact-section {
    flex-direction: column;
    gap: 24px;
  }
  .main-nav {
    padding: 16px 10px 16px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section {
    padding: 28px 5px;
    margin-bottom: 32px;
  }
  .confirmation-section {
    padding: 20px 8px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  .footer-nav {
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    font-size: 1rem;
    padding: 0 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 4px;
  }
  .cookie-modal {
    padding: 19px 7px 19px 9px;
  }
}
/* =========================================================
FOCUS & ACCESSIBILITY
========================================================= */
:focus {
  outline: 2px solid #7ECBA4;
  outline-offset: 2px;
}
button:focus-visible {
  outline: 2px solid #7ECBA4;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01ms !important; }
}
