/* RESET & BASE CSS */
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; }
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4FAFB;
  color: #1A5784;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  word-break: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1A5784; text-decoration: none; transition: color 0.22s; }
a:hover, a:focus { color: #6BBF59; text-decoration: underline; }

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1A5784;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 10px; }
p, ul, ol, dl, blockquote { font-size: 1rem; }

/* General Layout Containers */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Structured/Geometric / Section rules */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 10px 0 rgba(26,87,132,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(26,87,132,0.05);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F4FAFB;
  border: 2.5px solid #1A5784;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 2px 14px rgba(26,87,132,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 400px;
  color: #1A5784;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER NAVIGATION --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 22px 24px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 2px 8px rgba(26,87,132,0.09);
  position: relative;
  z-index: 20;
}
header img {
  width: 160px;
  height: auto;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-weight: 600;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #6BBF59;
  color: #fff;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1A5784;
  color: #fff;
  font-family: 'Lato', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 13px 32px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(26,87,132,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #6BBF59;
  color: #1A5784;
  box-shadow: 0 6px 20px 0 rgba(107,191,89,0.14);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: #1A5784;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.25rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 102;
  box-shadow: 0 1px 8px rgba(26,87,132,0.08);
  cursor: pointer;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #6BBF59;
  color: #1A5784;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1A5784;
  color: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: transparent;
  color: #fff;
  border: none;
  align-self: flex-end;
  margin-right: 22px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #6BBF59;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Lato', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,250,251,0.1);
  transition: color 0.17s, background 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #6BBF59;
  color: #1A5784;
  border-radius: 8px;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 0;
  margin-bottom: 60px;
  background: linear-gradient(120deg, #F4FAFB 75%, #6BBF59 200%);
  border-radius: 0 0 54px 54px;
  box-shadow: 0 3px 18px rgba(26,87,132,0.08);
  position: relative;
}
.hero-section .container {
  display: flex;
  align-items: center;
  min-height: 340px;
  justify-content: flex-start;
  padding: 44px 20px 44px 20px;
}
.hero-section h1 {
  font-size: 2.4rem;
  color: #1A5784;
  margin-bottom: 12px;
  letter-spacing: 0.045em;
}
.hero-section p {
  font-size: 1.12rem;
  margin-bottom: 28px;
  color: #1A5784;
}
.hero-section .cta-button {
  font-size: 1.1rem;
  padding: 15px 34px;
  border-radius: 16px;
}

/* FEATURE (BENEFITS) GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 24px 0 0 0;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  border: 2.5px solid #6BBF59;
  box-shadow: 0 2px 16px #1A578409;
  padding: 22px 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1A5784;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.22s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px #6BBF5910;
  border: 2.5px solid #1A5784;
  transform: translateY(-6px) scale(1.02);
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 4px;
}
.feature-grid strong {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.12rem;
  color: #1A5784;
}

/* SERVICES LIST (leistungen) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 24px;
}
.service-list > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 14px;
  border: 2.2px solid #1A5784;
  box-shadow: 0 2px 12px #1A578410;
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.20s;
  min-width: 220px;
}
.service-list > div:hover {
  border-color: #6BBF59;
  box-shadow: 0 6px 26px #6BBF5920;
  transform: scale(1.02);
}

/* PRICING TABLE */
.pricing-table {
  margin: 18px 0 30px 0;
  overflow-x: auto;
  width: 100%;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px 20px 12px 12px;
  box-shadow: 0 2px 12px #1A578410;
  overflow: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
}
.pricing-table th,
.pricing-table td {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1.2px solid #F4FAFB;
}
.pricing-table th {
  background: #1A5784;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pricing-table td {
  font-size: 1.01rem;
  color: #1A5784;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* CTA SECTION SPECIFIC */
.cta-section {
  background: #1A5784;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(26,87,132,0.09);
  text-align: center;
  align-items: center !important;
  padding: 40px 20px;
  gap: 20px;
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #fff;
}
.cta-section .cta-button {
  background: #fff;
  color: #1A5784;
  border: 2px solid #6BBF59;
}
.cta-section .cta-button:hover,
.cta-section .cta-button:focus {
  background: #6BBF59;
  color: #fff;
  border: 2px solid #fff;
}

/* TESTIMONIAL SLIDER (if JS changes) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.star-rating {
  font-size: 1.3rem;
  color: #6BBF59;
  letter-spacing: 0.2em;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 8px;
  user-select: none;
}
.star-rating-filter {
  display: flex;
  gap: 16px;
  margin: 18px 0;
  align-items: center;
}
.star-rating-filter span {
  font-family: 'Lato', Arial, sans-serif;
  color: #1A5784;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 8px;
  border: 2px solid #1A5784;
  background: #fff;
  transition: all 0.18s;
  cursor: pointer;
}
.star-rating-filter span:hover,
.star-rating-filter span.active {
  background: #6BBF59;
  color: #fff;
  border-color: #6BBF59;
}

/* FOOTER */
footer {
  background: #fff;
  margin-top: 52px;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -2px 12px rgba(26,87,132,0.07);
  padding: 34px 0 22px 0;
  color: #1A5784;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #1A5784;
  font-size: 0.98rem;
  text-decoration: none;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #6BBF59;
  color: #fff;
}
.footer-contact {
  color: #205c8d;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.footer-contact a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.15s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #6BBF59;
}

/* TEXT/GENERAL ELEMENTS */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
li {
  margin-bottom: 0;
}
dt {
  margin-top: 12px;
  font-weight: 700;
  color: #1A5784;
  font-family: 'Lato', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
}
dd { margin-bottom: 12px; margin-left: 18px; }
blockquote {
  border-left: 4px solid #6BBF59;
  padding-left: 15px;
  margin-bottom: 8px;
  color: #1A5784;
  font-style: italic;
  background: #f4fafb;
}

/* ACCORDIONS/FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: 13px;
  border: 2px solid #1A5784;
  padding: 16px 22px;
  box-shadow: 0 1px 12px #1A578409;
}
.faq-accordion h2 {
  font-size: 1.05rem;
}
.faq-accordion p {
  font-size: 0.98rem;
}

/* QUICK LINKS/SMALL CARDS */
.quick-links {
  margin-top: 28px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #6BBF59;
  padding: 15px 18px;
}
.quick-links ul { gap: 6px; margin-bottom: 0; }
.quick-links a {
  color: #1A5784;
  font-weight: 600;
}
.quick-links a:hover,
.quick-links a:focus {
  color: #6BBF59;
}

/* LEGAL SECTIONS */
.legal-section {
  background: #F4FAFB;
  border: 2px solid #1A5784;
  border-radius: 20px;
  box-shadow: 0 2px 12px #1A578409;
  padding: 32px 22px;
}
.legal-section h2 { color: #1A5784; font-size: 1.18rem; }

/* CONFIRMATION SECTION (THANK YOU) */
.confirmation-section {
  background: #6BBF59;
  color: #fff;
  border-radius: 22px;
  text-align: center;
  padding: 54px 16px 44px 16px;
  box-shadow: 0 2px 18px #1A578411;
}
.confirmation-section h1 {
  color: #fff;
}
.confirmation-section .cta-button {
  background: #fff; color: #1A5784; border: 2px solid #1A5784;
}
.confirmation-section .cta-button:hover { background: #1A5784; color: #fff; }
.next-steps {
  padding: 24px 14px 22px;
  margin: 16px auto 0;
  background: #F4FAFB;
  color: #1A5784;
  border-radius: 15px;
  line-height: 1.45;
  font-size: 1rem;
  max-width: 420px;
  border: 2px solid #1A5784;
  box-shadow: 0 2px 8px #1A578410;
}
.next-steps h2 {
  color: #1A5784;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.next-steps ul {
  color: #205c8d;
  font-size: 0.98rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 3px solid #1A5784;
  color: #1A5784;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 999;
  box-shadow: 0 -3px 24px 0 rgba(26,87,132,0.14);
  padding: 22px 18px 14px 18px;
  font-size: 1rem;
  animation: slideUp 0.62s cubic-bezier(0.75,0,0.38,1.1);
}
@keyframes slideUp { from { transform: translateY(100%);} to { transform: translateY(0);} }
.cookie-banner-buttons {
  display: flex;
  gap: 19px;
}
.cookie-banner-button {
  background: #1A5784;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 21px;
  transition: background 0.22s, color 0.18s;
  cursor: pointer;
}
.cookie-banner-button.accept {
  background: #6BBF59;
  color: #1A5784;
}
.cookie-banner-button.settings {
  background: #fff;
  color: #1A5784;
  border: 2px solid #6BBF59;
}
.cookie-banner-button.reject {
  background: #1A5784;
  color: #fff;
}
.cookie-banner-button:hover,
.cookie-banner-button:focus {
  background: #1A5784;
  color: #6BBF59;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-55%) scale(0.97);
  background: #fff;
  border: 3px solid #1A5784;
  border-radius: 18px;
  z-index: 1001;
  width: 95%;
  max-width: 480px;
  box-shadow: 0 8px 44px 0 rgba(26,87,132,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 20px;
  animation: modalIn 0.47s cubic-bezier(0.55,0,0.38,1.14);
}
@keyframes modalIn { from { opacity:0; transform:translate(-50%,-55%) scale(0.8);} to { opacity:1; transform:translate(-50%,-55%) scale(0.97);} }
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #F4FAFB;
  border-radius: 8px;
  padding: 13px 12px;
  border: 1.3px solid #6BBF59;
}
.cookie-modal .category-switch {
  margin-right: 8px;
  min-width: 44px;
  height: 24px;
  background: #e2efea;
  border-radius: 18px;
  border: none;
  outline: 1.5px solid #6BBF59;
  cursor: pointer;
}
.cookie-modal .category-switch[disabled] {
  background: #bdbdbd;
  color: #777;
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  color: #1A5784;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .main-nav { gap: 18px; }
  .hero-section .container { min-height: unset; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid, .testimonial-slider, .service-list, .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    gap: 0;
    padding: 12px 11px 14px 11px;
    border-radius: 0 0 18px 18px;
  }
  header img { width: 112px; margin-right: 0; }
  .main-nav { display: none; }
  .cta-button { font-size: 0.98rem; padding: 10px 18px; }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-section .container {
    padding: 36px 10px;
  }
  .hero-section h1 { font-size: 1.45rem; }

  .feature-grid, .testimonial-slider, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .service-list > div, .testimonial-card {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  .cta-section { padding: 28px 8px; border-radius: 12px; }
  .footer-nav { flex-direction: column; gap: 8px; }
  .footer-contact { font-size: 0.95rem; }
  .card, .legal-section { padding: 18px 10px; border-radius: 12px; }
  .section { margin-bottom: 32px; padding: 24px 8px; border-radius: 13px; }
  .confirmation-section {
    padding: 32px 7px 28px 7px;
    border-radius: 14px;
  }
  .cookie-banner {
    font-size: 0.97rem;
    gap: 12px;
    padding: 14px 7px 12px 7px;
  }
  .cookie-modal { padding: 18px 8px; border-radius: 12px; min-width: unset; }
  .content-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  h1, .hero-section h1 { font-size: 1.16rem; }
  h2, .cta-section h2 { font-size: 1.04rem; }
  .pricing-table th,
  .pricing-table td { font-size: 0.90rem; padding: 11px 5px; }
}

/* --- MICRO-INTERACTIONS --- */
.card, .feature-grid li, .service-list > div, .faq-accordion > div, .testimonial-card, .quick-links {
  transition: box-shadow 0.18s, border 0.18s, transform 0.22s;
}
.card:focus-within,
.feature-grid li:focus-within,
.service-list > div:focus-within,
.faq-accordion > div:focus-within,
.testimonial-card:focus-within,
.quick-links:focus-within {
  box-shadow: 0 8px 24px 0 #1A578415;
  border-color: #6BBF59;
}

/* -- Focus visible for accessibility -- */
*:focus-visible {
  outline: 2.4px solid #1A5784;
  outline-offset: 2px;
}

/* --- Z-INDEX RULES --- */
header { z-index: 20; }
.mobile-menu { z-index: 120; }
footer { z-index: 18; }
.cookie-banner { z-index: 999; }
.cookie-modal { z-index: 1001; }

/* --- GEOMETRIC THEMING --- */
/* Angled edges, corners, etc. */
.section,
.card,
.pricing-table table,
.cta-section,
.confirmation-section,
.next-steps,
.legal-section,
.testimonial-card,
.feature-grid li,
.service-list > div,
.quick-links,
.faq-accordion > div {
  border-radius: 16px;
}

/* SVG Icon Color Support (for SVG injected icons) */
img[src*='icon-'] {
  filter: brightness(0) saturate(100%) hue-rotate(180deg); /* for geometric accent look */
}

/* Background geometric accent (optional, can be removed/adapted) */
body::before {
  content: '';
  position: fixed;
  right: -42vw;
  top: 10vh;
  width: 90vw; height: 90vw;
  background: rgba(26,87,132,0.04);
  border-radius: 50% 45% 63% 46% / 60% 45% 50% 41%;
  z-index: 1;
  pointer-events: none;
  filter: blur(1.5px);
}

/* Hide unnecessary default scrollbar on sliders */
.testimonial-slider {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.testimonial-slider::-webkit-scrollbar { display: none; }
