/* CSS Reset & Normalize */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #F3F4F7;
  color: #22304A;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: #1A3775;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E4473B;
}
ul, ol {
  margin-left: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3775;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #22304A;
  line-height: 1.7;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 600;
}
/* Containers & Layouts */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section, .hero-section, .features-section, .services-overview, .testimonials-section, .cta-section,
.about-section, .team-section, .usp-section, .services-detail-section, .benefits-section,
.pricing-section, .faq-pricing-section, .faq-section, .coverage-section, .contact-section, .thank-you-section, .legal-section, .gdpr-section, .cookie-policy-section, .terms-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(26, 55, 117, 0.08);
}
.hero-section {
  background: #F3F4F7;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 60px;
}
/* Flex Pattern Containers, Cards and Grids */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,55,117,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 220px;
}
.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: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  background: #FEFEFE;
  border-radius: 14px;
  box-shadow: 0 4px 19px rgba(26, 55, 117, 0.09);
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 24px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #22304A;
}
.testimonial-author {
  font-size: 0.98rem;
  color: #667399;
  font-style: italic;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature grid - Homepage highlights */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature {
  background: #F8F9FA;
  border-radius: 13px;
  box-shadow: 0 1px 5px rgba(26,55,117,0.06);
  padding: 24px 20px 20px 20px;
  min-width: 180px;
  flex: 1 1 230px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature img {
  margin-bottom: 14px;
  width: 44px;
  height: 44px;
}
.feature:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 5px 23px rgba(26, 55, 117, 0.12);
}
/* Header & Navigation */
header {
  background: #fff;
  border-bottom: 1px solid #E9EAEE;
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 71px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A3775;
  padding: 8px 0;
  position: relative;
  transition: color 0.16s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #E4473B;
  transition: width 0.18s;
  position: absolute;
  left: 0;
  bottom: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E4473B;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.btn, button.btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #1A3775;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(26,55,117,0.05);
  margin-bottom: 6px;
  margin-right: 6px;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.13s;
}
.btn.primary {
  background: #1A3775;
  color: #fff;
  box-shadow: 0 5px 18px rgba(26,55,117,0.13);
}
.btn.primary:hover, .btn.primary:focus {
  background: #22304A;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.btn:hover, .btn:focus {
  background: #E3E9F7;
  color: #1A3775;
  box-shadow: 0 6px 22px rgba(26,55,117,0.09);
  outline: none;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 19px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A3775;
  cursor: pointer;
  z-index: 1200;
  padding: 2px 8px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E4473B;
  background: #E3E9F7;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(26,55,117,0.19);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.71,.04,.46,.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 0 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1A3775;
  cursor: pointer;
  z-index: 2050;
  padding: 5px 10px;
  transition: background 0.14s;
}
.mobile-menu-close:focus {
  background: #E3E9F7;
  outline: 2px solid #E4473B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 50px 0 0 36px;
  width: 85vw;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #1A3775;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 14px 4px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F4F7;
  color: #E4473B;
}

/* Hide desktop main-nav and show burger on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1021px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section, .hero-section, .features-section, .services-overview, .testimonials-section, .cta-section,
  .about-section, .team-section, .usp-section, .services-detail-section, .benefits-section,
  .pricing-section, .faq-pricing-section, .faq-section, .coverage-section, .contact-section, .thank-you-section, .legal-section, .gdpr-section, .cookie-policy-section, .terms-section {
    padding: 28px 6px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
  .hero-section {
    padding: 44px 2px 20px 2px;
  }
  .content-wrapper, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature {
    min-width: unset;
    width: 100%;
    padding: 19px 14px 14px 14px;
    border-radius: 10px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 17px 10px 14px 10px;
    border-radius: 8px;
  }
  .card {
    min-width: unset;
    width: 100%;
    border-radius: 10px;
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.13rem;
  }
}
/* CTA-section */
.cta-section {
  background: #E3E9F7;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 13px 50px rgba(26,55,117,0.06);
}
.cta-section .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.cta-section h2 {
  color: #22304A;
}
.cta-section .btn {
  margin: 0 auto;
}
/* Tables (Preise) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #F8F9FA;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  margin-top: 12px;
}
th, td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #E3E9F7;
}
th {
  background: #1A3775;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
tr:last-child td {
  border-bottom: none;
}
/* FAQ Accordion and Cards */
.faq-accordion, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F8F9FA;
  border-radius: 10px;
  padding: 17px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(26,55,117,0.06);
}
.faq-item h3 {
  font-size: 1.06rem;
  margin-bottom: 4px;
}
.faq-item p {
  font-size: 0.99rem;
  color: #22304A;
}
.direktkontakt-link {
  margin-top: 16px;
}
.direktkontakt-link a {
  color: #E4473B;
  font-weight: 600;
  text-decoration: underline;
}
.direktkontakt-link a:hover {
  color: #1A3775;
}
/* Footer Styles */
footer {
  background: #fff;
  border-top: 1px solid #E9EAEE;
  margin-top: 32px;
  padding: 32px 0 18px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #667399;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #E4473B;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: #22304A;
}
.footer-contact img {
  vertical-align: middle;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  margin-bottom: -4px;
  opacity: 0.75;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #22304A;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  filter: grayscale(15%);
}
@media (max-width: 680px) {
  .footer-contact, .footer-nav, .footer-brand {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #FFF;
  border-top: 2px solid #E3E9F7;
  box-shadow: 0 -4px 26px rgba(26,55,117,0.10);
  padding: 24px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(.69,.28,.39,1.11), opacity 0.5s;
}
.cookie-banner.hide {
  transform: translateY(200%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-title {
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 2px;
  color: #22304A;
}
.cookie-banner .cookie-banner-text {
  font-size: 0.98rem;
  color: #22304A;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 24px;
  background: #1A3775;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 26px;
  font-weight: 600;
  margin-bottom: 0;
  box-shadow: 0 3px 13px rgba(26,55,117,0.12);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #1A3775;
  border: 1px solid #1A3775;
}
.cookie-btn.settings {
  background: #E4473B;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #22304A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,55,117,0.15);
  outline: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #E3E9F7;
  color: #1A3775;
  border-color: #22304A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #d54035;
}
@media (max-width: 540px) {
  .cookie-banner {
    padding: 17px 3vw 18px 3vw;
    font-size: 0.93rem;
    gap: 11px;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,48,74,0.55);
  z-index: 4000;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.19s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 9px 38px rgba(26,55,117,0.21);
  padding: 32px 28px 26px 28px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPop 0.22s cubic-bezier(.87,-0.15,.59,1.2);
}
@keyframes modalPop {
  0% { transform: scale(0.82) translateY(-32px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  color: #E4473B;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
  transition: background 0.12s;
}
.cookie-modal h2 {
  font-size: 1.13rem;
  margin-bottom: 5px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8F9FA;
  border-radius: 8px;
  padding: 11px 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #22304A;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #E3E9F7;
  border-radius: 12px;
  transition: background 0.18s;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #1A3775;
}
.cookie-toggle:disabled {
  background: #D8DAE3;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(26,55,117,0.09);
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-toggle:disabled::before {
  background: #F3F4F7;
}
.cookie-category .category-desc {
  font-size: 0.99rem;
  color: #667399;
  margin-left: 8px;
}
.cookie-category .essential-label {
  font-weight: 600;
  color: #1A3775;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 18px 6vw 18px 6vw;
  }
}

/* About Trust-Badges */
.trust-signals {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.trust-badge {
  background: #E3E9F7;
  color: #1A3775;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 15px;
  padding: 8px 15px;
  box-shadow: 0 1px 5px rgba(26,55,117,0.03);
  margin-bottom: 4px;
}

/* City List (staedte-regionen) */
.city-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 11px;
}
.region-descriptions {
  margin-bottom: 10px;
}
.gebietskarte-hinweis {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #22304A;
  font-size: 1rem;
}
.gebietskarte-hinweis img {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}
/* Kontakt Seite Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 13px;
}
.contact-info img {
  vertical-align: middle;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  opacity: 0.75;
  margin-bottom: -3px;
}
.contact-info a {
  color: #1A3775;
  font-weight: 600;
  transition: color 0.15s;
}
.contact-info a:hover {
  color: #E4473B;
}
.map-location {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 8px;
  background: #F8F9FA;
  border-radius: 10px;
  padding: 10px 13px;
}
.map-location img {
  width: 36px;
  height: 36px;
  opacity: 0.7;
}
/* Thank-You Section */
.thank-you-section {
  text-align: center;
}
.thank-you-section .btn {
  margin: 24px auto 0 auto;
  display: inline-block;
}

/* Legal Section (Datenschutz, GDPR) */
.legal-section ul,
.gdpr-section ul {
  margin-bottom: 16px;
}
.legal-section li,
.gdpr-section li {
  padding-left: 0px;
}

/* Utilities */
.text-center {
  text-align: center !important;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }

/* Subtle Animations */
.btn, .feature, .testimonial-card, .card {
  transition: background 0.23s, color 0.19s, box-shadow 0.19s, transform 0.15s;
}
.btn:active, .feature:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* Ensure No Overlap & Consistent Spacing */
.feature, .card, .testimonial-card, .faq-item, .trust-badge, .map-location, .cookie-modal, .cookie-banner {
  margin-bottom: 20px;
}
.content-grid > *, .content-wrapper > *, .feature-grid > *, .city-list > *, .faq-list > * {
  margin-bottom: 0;
}

/* End of stylesheet */
