/* ---------------- CSS RESET AND NORMALIZATION ----------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #fff;
  color: #13344C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
a {
  color: #2D8DBE;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #13344C;
}
h1, h2, h3, h4, h5, h6 {
  color: #13344C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 500; }
h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 500; }

p, ul, ol, address {
  color: #34566c;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: #13344C;
}
em {
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid #e8eaea;
  margin: 40px 0;
}

/* ------------------ LAYOUT STRUCTURE ----------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Section spacing and alignment as required */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(19,52,76,0.06);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.24s, transform 0.22s;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(19,52,76,0.10);
  transform: translateY(-2px) scale(1.012);
}
.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;
  background: #f9fafb;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(19,52,76,0.07);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 430px;
}
.testimonial-card p {
  color: #13344C;
  font-weight: 500;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #2D8DBE;
  font-weight: 400;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Visual card container spacing */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ------------------- NAVIGATION --------------------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  background: #fff;
  position: relative;
  z-index: 21;
}
.main-nav a {
  color: #13344C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 16px;
  border-radius: 7px;
  transition: background 0.22s, color 0.22s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #f0f5f9;
  color: #2D8DBE;
}
.main-nav a.cta-primary {
  background: #2D8DBE;
  color: #fff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(45,141,190, 0.14);
  transition: background 0.24s, color 0.24s, box-shadow 0.24s;
  margin-left: 12px;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: #13344C;
  color: #fff;
  box-shadow: 0 4px 12px rgba(19,52,76, 0.19);
}
/* Hide the burger by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* --------- MOBILE NAVIGATION + ANIMATION ---------- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #2D8DBE;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 50;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #EBF6FB;
  color: #13344C;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,52,76, 0.90);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.25s, transform 0.33s cubic-bezier(.47,1.64,.41,.8);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 28px 0 0;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 10001;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F2C744;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  background: none;
  padding: 56px 34px 0 0;
  width: 100%;
  flex: 1 1 auto;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 14px 0px 14px 22px;
  width: 100%;
  text-align: right;
  border-radius: 6px;
  transition: background 0.13s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2D8DBE;
  color: #F2C744;
}

/* ------------- FOOTER --------------- */
footer {
  background: #F7FAFB;
  border-top: 1px solid #e8eaea;
  padding: 30px 0 10px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #2D8DBE;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover {
  background: #EBF6FB;
  color: #13344C;
}
footer address {
  font-style: normal;
  font-size: 0.97rem;
  color: #34566c;
  margin-bottom: 14px;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
}
.social-links a img {
  width: 27px;
  height: 27px;
  opacity: 0.85;
  transition: opacity 0.18s, filter 0.14s;
}
.social-links a:hover img {
  opacity: 1;
  filter: brightness(1.3);
}
.newsletter-signup {
  margin-top: 14px;
  max-width: 350px;
}
.newsletter-signup p {
  font-size: 0.99rem;
}

/* ------------- BUTTONS & CTAs --------------- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 8px;
  padding: 12px 30px;
  margin: 10px 0;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.22s, color 0.22s, box-shadow 0.25s, transform 0.19s;
  box-shadow: 0 2px 8px rgba(45,141,190, 0.10);
}
.cta-primary {
  background: #2D8DBE;
  color: #fff;
  margin-right: 14px;
}
.cta-primary:hover,.cta-primary:focus {
  background: #13344C;
  color: #fff;
  box-shadow: 0 4px 14px rgba(19,52,76,0.13);
  transform: translateY(-1px) scale(1.02);
}
.cta-secondary {
  background: #F2C744;
  color: #13344C;
}
.cta-secondary:hover,.cta-secondary:focus {
  background: #FFF8E5;
  color: #2D8DBE;
  box-shadow: 0 3px 14px rgba(242,199,68,0.13);
  transform: translateY(-1px) scale(1.018);
}

/* --------------- FORMS -------------------- */
input[type='search'], input[type='text'], input[type='email'], input[type='password'], select, textarea {
  width: 100%;
  padding: 11px 15px;
  font-size: 1rem;
  border: 1px solid #DEEAEA;
  border-radius: 8px;
  background: #FFF;
  color: #13344C;
  margin-bottom: 18px;
  box-shadow: none;
  outline: none;
  transition: border 0.16s, box-shadow 0.14s;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
input[type='search']:focus, input[type='text']:focus, input[type='email']:focus, input[type='password']:focus,
select:focus, textarea:focus {
  border: 1.5px solid #2D8DBE;
  box-shadow: 0 1px 4px rgba(45,141,190, 0.09);
}
label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #13344C;
  margin-bottom: 4px;
  font-weight: 500;
  display: block;
}

/* --------- TABLES (Vergleich) ----------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(19,52,76,0.07);
  overflow: hidden;
  margin-bottom: 20px;
}
thead tr {
  background: #F7FAFB;
}
thead th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #13344C;
  font-size: 1.03rem;
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1.5px solid #EBF6FB;
}
tbody td {
  padding: 12px 12px;
  font-size: 1rem;
  color: #34566c;
  border-bottom: 1px solid #F2F6FA;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* ------------- LISTS -------------- */
ul li,
ol li {
  margin-bottom: 8px;
  padding-left: 0.5em;
  font-size: 1rem;
  color: #326084;
  position: relative;
}
ul li img {
  width: 22px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ol {
  padding-left: 18px;
  list-style: decimal inside;
}

/* --------------- FAQ/DEFINITION LISTS -------------- */
dl {
  margin-bottom: 14px;
}
dt {
  font-weight: 600;
  color: #13344C;
  margin-top: 14px;
}
dd {
  color: #34566c;
  margin-left: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* ----------- MODALS / COOKIE BANNERS ----------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  background: #13344C;
  color: #fff;
  padding: 20px 14px 16px 14px;
  box-shadow: 0 -1px 12px rgba(19,52,76,0.12);
  font-size: 1rem;
  transition: transform 0.23s, opacity 0.23s;
  gap: 24px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-left: 18px;
}
.cookie-banner .cookie-btn {
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 18px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  background: #fff;
  color: #13344C;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn.accept {
  background: #2D8DBE;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #F2C744;
  color: #13344C;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #2D8DBE;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #EBF6FB;
  color: #13344C;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #13344C;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #FFF8E5;
  color: #13344C;
}
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(19,52,76, 0.77);
  z-index: 20001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  min-width: 300px;
  max-width: 95vw;
  background: #fff;
  color: #13344C;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(19,52,76,0.16);
  z-index: 20002;
  padding: 28px 28px 18px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  gap: 11px;
}
.cookie-modal .category-label {
  flex: 1 1 auto;
  font-size: 1.03rem;
  font-weight: 500;
  color: #13344C;
}
.cookie-modal .category-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #DEEAEA;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .category-toggle:checked {
  background: #2D8DBE;
}
.cookie-modal .category-toggle[disabled] {
  background: #B5C5D5;
  cursor: not-allowed;
}
.cookie-modal .category-toggle::before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2.5px;
  left: 3px;
  transition: left 0.18s;
}
.cookie-modal .category-toggle:checked::before {
  left: 18px;
  background: #2D8DBE;
}
.cookie-modal .category-toggle[disabled]::before {
  background: #f8f8f8;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-btn {
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 18px;
  font-size: 1rem;
  background: #2D8DBE;
  color: #fff;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-modal-btn.secondary {
  background: #F2C744;
  color: #13344C;
}
.cookie-modal .cookie-modal-btn.close {
  background: #deeaea;
  color: #326084;
}
.cookie-modal .cookie-modal-btn:hover, .cookie-modal .cookie-modal-btn:focus {
  background: #13344C;
  color: #fff;
}
/* ------------- ANIMATIONS -------------- */
@keyframes fadeInUp {
  0% { opacity:0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to { opacity:1; }
}

/* ------------- RESPONSIVE DESIGN --------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .card-container, .content-grid, .section {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .social-links {
    margin-bottom: 12px;
  }
  .card {
    min-width: 90vw;
    max-width: 99vw;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.21rem; }
  .cta-primary, .cta-secondary {
    font-size: 1rem;
    padding: 11px 13px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 95px;
    gap: 12px;
    padding: 17px 9px 11px 9px;
  }
}

/* ----------- ACCESSIBILITY & SELECTION ---------- */
:focus {
  outline: 2px solid #2D8DBE;
  outline-offset: 2px;
}
::selection {
  background: #EBF6FB;
  color: #13344C;
}

/* ------------- VISUAL HIERARCHY --------- */
.section > .container > h1, .section > .container > h2 {
  margin-top: 0;
  margin-bottom: 24px;
}
.section {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(19,52,76,0.03);
}

/* ------------- BRAND ACCENTS ---------- */
::-webkit-input-placeholder { color: #B5C5D5; opacity: 1; }
::-moz-placeholder { color: #B5C5D5; opacity: 1; }
:-ms-input-placeholder { color: #B5C5D5; opacity: 1; }
::placeholder { color: #B5C5D5; opacity: 1; }

/* ------------- MISC/UTILITY ---------- */
.hide { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* ------------ PRINT OVERRIDES ---------- */
@media print {
  nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .social-links, .newsletter-signup, footer { display: none !important; }
  body, .container { background: #fff; color: #000; }
  section, .section, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}

/* --------------- END OF CSS --------------- */
