/* RESET AND 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, 
main, 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, main, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #23334d;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: #204080;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5A623;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #204080;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.18rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.09rem; }
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(45, 64, 105, 0.06);
}

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

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(32, 64, 128, 0.05);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(32, 64, 128, 0.15);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 20px;
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(32, 64, 128, 0.10);
  min-width: 280px;
  max-width: 350px;
  color: #214075;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #23334d;
  font-size: 1.02rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #204080;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(43,62,90,0.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  gap: 18px;
  min-width: 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #f8fafc;
  border-radius: 9px;
  box-shadow: 0 1px 6px rgba(32, 64, 128, 0.05);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* BUTTONS & LINKS */
.btn-primary {
  display: inline-block;
  background: #204080;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 10px rgba(32, 64, 128, 0.09);
  transition: background 0.15s, transform 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F5A623;
  color: #204080;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 4px 18px rgba(245, 166, 35, .15);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #dde3ef;
  box-shadow: 0 2px 8px rgba(32,64,128,0.03);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 44px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  color: #204080;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  background: #f2f2f7;
  color: #F5A623;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #204080;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 12px;
  z-index: 205;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F5A623;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(32, 64, 128, 0.92);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.87,-0.41,.19,1.44);
  z-index: 210;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  margin: 26px 32px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 211;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  margin: 42px 32px 0 0;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
  width: 100%;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F5A623;
  background: rgba(0,0,0,0.09);
}

@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* MAIN & SECTION BASICS */
main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(45, 64, 105, 0.08);
}

@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 8px;
  }
}

/* TABLES (used for Vergleichstabelle in vorteile.html) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(32, 64, 128, 0.04);
  overflow: hidden;
  margin-top: 8px;
}
th, td {
  padding: 14px 12px;
  text-align: left;
}
th {
  background: #dde6f7;
  font-weight: 700;
  color: #204080;
  font-size: 1.07rem;
}
td {
  font-size: 1rem;
  color: #23334d;
}
tr:not(:last-child) {
  border-bottom: 1px solid #dde3ef;
}

@media (max-width: 700px) {
  table,thead,tbody,tr,th,td {display:block;}
  th, td { padding: 10px 6px; }
  th { background: #dde6f7; }
  td { border-bottom: 1px solid #dde3ef; }
}

/* FOOTER */
footer {
  background: #204080;
  color: #fff;
  padding: 36px 0 0 0;
  margin-top: 40px;
  font-size: 0.97rem;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.87;
  font-size: 1rem;
  text-decoration: underline dotted;
  transition: color 0.15s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5A623;
  opacity: 1;
}
.footer-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.footer-info img {
  height: 37px;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  footer .container { gap: 14px; }
}

/* FORMS (contact summary) */
input, textarea, select {
  border: 1px solid #dde3ef;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 14px;
  background: #f8fafc;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #204080;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #204080;
  margin-bottom: 6px;
}

/* ICONS ALIGNED */
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: #23334d;
}
.text-section ul img, .text-section li img {
  width: 20px;
  height: 20px;
}

/* OL & UL in Features/Process */
ul, ol {
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
}

/* ANIMATIONS */
.btn-primary, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.15s, background 0.15s, color 0.15s, transform 0.18s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #204080;
  color: #fff;
  padding: 28px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(32, 64, 128, 0.21);
  animation: cookieBannerSlideUp 0.45s cubic-bezier(0.67,0.02,0.45,1.01);
  gap: 18px;
}
@keyframes cookieBannerSlideUp {
  0% { transform: translateY(120%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner .btn-cookie {
  background: #F5A623;
  color: #204080;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 1px 4px rgba(32,64,128,0.06);
}
.cookie-banner .btn-cookie.btn-secondary {
  background: #fff;
  color: #204080;
  border: 1px solid #F5A623;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #204080;
  color: #fff;
}
.cookie-banner .btn-cookie.btn-secondary:hover, .cookie-banner .btn-cookie.btn-secondary:focus {
  background: #F5A623;
  color: #204080;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10030;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 64, 128, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.35s cubic-bezier(.86,-0.28,.32,1.4);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23334d;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(32, 64, 128, 0.15);
  padding: 32px 22px 24px 22px;
  max-width: 420px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalUp 0.4s cubic-bezier(.86,-0.28,.32,1.4);
}
@keyframes modalUp {
  from { transform: scale(0.88) translateY(24px); opacity: 0.6; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  color: #204080;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #204080;
  cursor: pointer;
  z-index: 10031;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #204080;
  width: 19px;
  height: 19px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #23334d;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  font-weight: 500;
}
.cookie-category.disabled label { opacity: 0.6; }
.cookie-modal-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-modal-actions .btn-cookie {
  padding: 10px 19px;
}

/* GENERAL UTILITIES FOR SPACING & VISUAL CLEANLINESS */
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.pb-24 { padding-bottom: 24px !important; }
.pt-24 { padding-top: 24px !important; }

/* SHADOWS & BORDER RADIUS */
.rounded {
  border-radius: 12px;
}
.shadow {
  box-shadow: 0 4px 18px rgba(32,64,128,0.09);
}

/* RESPONSIVE SPACING */
@media (max-width: 600px) {
  .section, section {
    padding: 18px 3px;
    margin-bottom: 21px;
  }
  .content-wrapper {
    gap: 10px;
  }
}

/* MICRO-INTERACTIONS & FOCUS STATES */
*:focus {
  outline: 2px solid #204080;
  outline-offset: 2px;
}

/* HIDE ON MOBILE UTILITY */
.hide-mobile { display: block! important; }
@media (max-width: 900px) { .hide-mobile { display: none! important; } }

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