/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #153452;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #153452;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #39A388;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
ul, ol {
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #153452;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.125rem; margin-bottom: 14px; }
h4 { font-size: 1rem; }

p {
  margin-bottom: 16px;
  color: #153452;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* CONTAINER & GENERIC SECTIONS */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 1200px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* HEADER LAYOUT */
header {
  background: #fff;
  border-bottom: 1px solid #EFF2F4;
  position: relative;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 18px 0;
  gap: 24px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #153452;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: #39A388;
  border-bottom: 2px solid #39A388;
}

.button-primary, .button-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 6px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(21,52,82,0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  outline: none;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: center;
}
.button-primary {
  background: #153452;
  color: #fff;
  border: 1px solid #153452;
}
.button-primary:hover, .button-primary:focus {
  background: #39A388;
  border: 1px solid #39A388;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(57,163,136,0.10);
}
.button-secondary {
  background: #fff;
  color: #153452;
  border: 1.5px solid #153452;
}
.button-secondary:hover, .button-secondary:focus {
  background: #f5f7f7;
  color: #153452;
  border-color: #39A388;
}

/* HERO SECTION */
.hero {
  background: #f5f7f7;
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(21,52,82,0.04);
  margin-bottom: 60px;
  padding: 56px 0 64px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 640px;
  gap: 18px;
}
.hero h1 {
  color: #153452;
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.hero p {
  font-size: 1.18rem;
  color: #153452;
  margin-bottom: 24px;
  max-width: 95%;
}

/* FEATURE GRID (for Leistungen, Startseite) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 30px 0 0 0;
}
.features-grid > div {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(21,52,82,0.05);
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 220px;
  transition: transform 0.16s, box-shadow 0.18s;
}
.features-grid > div:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 4px 24px 0 rgba(21,52,82,0.11);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.features-grid h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
.features-grid p {
  font-size: 0.97rem;
  color: #466076;
  margin-bottom: 0;
}

/* USP/VALUES LIST */
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 16px;
  color: #153452;
  font-size: 1rem;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 20px 0 6px 0;
}
.trust-badges img {
  height: 44px;
  width: auto;
  filter: grayscale(0.2) opacity(0.92);
}
.certification {
  font-size: 0.97rem;
  color: #153452;
  margin-bottom: 0;
}

/* STEPS (Startseite, Ablauf) */
.step-list, .step-by-step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #153452;
}
.step-list li, .step-by-step-list li {
  padding-left: 4px;
}

/* TIMELINE VISUALIZATION */
.timeline-visualization {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.timeline-visualization img {
  height: 55px;
  width: auto;
}

/* FAQ ACCORDION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: #153452;
  margin-top: 8px;
}
.faq-list dd {
  margin-left: 0;
  font-size: 0.97rem;
  color: #466076;
  margin-bottom: 8px;
}

/* TESTIMONIALS */
.testimonials, .testimonial-list {
  margin-top: 18px;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px 0 rgba(21,52,82,0.08);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 260px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.17s;
  color: #153452;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(57,163,136,0.08);
  transform: translateY(-4px) scale(1.01);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #153452;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #466076;
  margin-top: 4px;
}
.star-rating {
  color: #39A388;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}

/* CASE STUDIES */
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.case-study {
  background: #f5f7f7;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(21,52,82,0.04);
  padding: 22px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
}
.case-study h3 {
  font-size: 1.09rem;
}

/* SERVICE DETAILS LIST */
.service-details-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 24px 0;
}
.service-details-list li {
  background: #f5f7f7;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 0.98rem;
  color: #153452;
  box-shadow: 0 2px 8px 0 rgba(21,52,82,0.03);
}

/* ADDRESS BLOCK (Kontakt) */
.address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.address-block p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 9px;
}
.address-block img {
  width: 24px;
  height: 24px;
}

/* FOOTER LAYOUT */
footer {
  background: #f5f7f7;
  border-top: 1px solid #EFF2F4;
  box-shadow: 0 -2px 8px 0 rgba(21,52,82,0.03);
  padding: 24px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-links, .legal-links, .social-media-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.legal-links {
  color: #466076;
  font-size: 0.98rem;
}
.social-media-links a img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}
.social-media-links a:hover img {
  opacity: 1;
  transform: scale(1.10);
}
/* Responsive Footer */
@media (max-width: 600px) {
  footer .container {
    gap: 12px;
  }
  .footer-links, .legal-links, .social-media-links {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.97rem;
  }
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #153452;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  padding: 6px 7px;
  border-radius: 6px;
  transition: background 0.13s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f5f7f7;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(21,52,82,0.13);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  overflow-y: auto;
  transform: translateX(-120vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.37s cubic-bezier(.77,0,.18,1.05), opacity 0.27s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #153452;
  position: absolute;
  top: 18px; right: 22px;
  cursor: pointer;
  z-index: 99999;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f5f7f7;
}
.mobile-nav {
  margin-top: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 16px 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.19rem;
  color: #153452;
  letter-spacing: 0.015em;
  padding: 10px 0;
  transition: color 0.2s;
  border-bottom: 1px solid #EFF2F4;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: #39A388;
}

@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header .container > nav {
    display: flex !important;
  }
}
@media (max-width: 991.98px) {
  header .container > nav,
  header .container > .button-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #f5f7f7;
  box-shadow: 0 -2px 24px 0 rgba(21,52,82,0.11);
  border-top: 1.5px solid #EFF2F4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 24px 18px 18px 18px;
  z-index: 12000;
  opacity: 0;
  transform: translateY(90px);
  pointer-events: none;
  transition: opacity 0.36s cubic-bezier(.66,.06,.36,1), transform 0.38s cubic-bezier(.53,.07,.2,.98);
  font-size: 1rem;
}
.cookie-consent-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-top: 4px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s, border 0.15s;
  cursor: pointer;
  border: none;
}
.cookie-consent-banner .accept {
  background: #153452;
  color: #fff;
  border: 1px solid #153452;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #39A388;
  border: 1px solid #39A388;
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #fff;
  color: #153452;
  border: 1px solid #153452;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #f5f7f7;
  color: #153452;
  border-color: #39A388;
}
.cookie-consent-banner .settings {
  background: #f5f7f7;
  color: #153452;
  border: 1px solid #EFF2F4;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #fff;
  border-color: #153452;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 48px 0 rgba(21,52,82,0.18);
  z-index: 12001;
  padding: 36px 28px 18px 28px;
  width: 95vw;
  max-width: 410px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.03);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 14px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  font-size: 1rem;
  padding: 6px 0;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
  font-weight: 500;
  color: #153452;
}
.cookie-modal .category-toggle {
  width: 35px;
  height: 20px;
  border-radius: 14px;
  border: 1.5px solid #EFF2F4;
  background: #f5f7f7;
  position: relative;
  cursor: pointer;
  transition: background 0.15s, border 0.15s;
  display: flex;
  align-items: center;
}
.cookie-modal .category-toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .toggle-slider {
  display: inline-block;
  width: 35px;
  height: 20px;
  border-radius: 14px;
  background: #EFF2F4;
  position: relative;
  transition: background 0.2s;
}
.cookie-modal .toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(21,52,82,0.15);
  transition: left 0.20s, background 0.2s;
}
.cookie-modal .category-toggle input:checked + .toggle-slider {
  background: #39A388;
}
.cookie-modal .category-toggle input:checked + .toggle-slider:before {
  background: #fff;
  left: 18px;
}
.cookie-modal .category-toggle input:disabled + .toggle-slider {
  background: #EFF2F4 !important;
  opacity: 0.67;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
  transition: background 0.14s, color 0.14s, border 0.13s;
  cursor: pointer;
}
.cookie-modal .accept {
  background: #153452;
  color: #fff;
  border: 1px solid #153452;
}
.cookie-modal .accept:hover {
  background: #39A388;
  border: 1px solid #39A388;
}
.cookie-modal .cancel {
  background: #fff;
  color: #153452;
  border: 1px solid #EFF2F4;
}
.cookie-modal .cancel:hover {
  background: #f5f7f7;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 19px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #466076;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #153452;
}

/* CARD, GRID, and FLEX UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(21,52,82,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(57,163,136,0.11);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERAL SPACING & UTILS */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* QUOTES IN TESTIMONIALS */
.testimonial-card p:before, .testimonial-card p:after {
  display: none;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .container {
    padding: 0 12px;
  }
  .features-grid, .content-grid, .card-container, .testimonial-slider, .testimonial-list, .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .case-study {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 30px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 0 38px 0;
    margin-bottom: 32px;
  }
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.13rem; }
  .timeline-visualization img {
    height: 30px;
  }
  .testimonial-card, .case-study {
    padding: 15px 10px;
  }
}
@media (max-width: 600px) {
  .features-grid img {
    width: 29px; height: 29px;
  }
  .trust-badges img {
    height: 32px;
  }
  .cookie-modal {
    padding: 18px 6px 12px 6px;
  }
}

/* Micro-interactions & Focus States */
a, button, .button-primary, .button-secondary, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-consent-banner button:focus {
  outline: 2px solid #39A388;
  outline-offset: 2px;
  transition: outline 0.18s;
}
a:focus, button:focus {
  outline-width: 2px;
}

/* ------ VISUAL HIERARCHY AND WHITE SPACE ------ */
section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { 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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ----------- END MINIMALIST THEME ----------- */