/* ========================
   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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F4F4F9;
  color: #23233A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #1B4079;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #F5A623;
  outline-offset: 2px;
}
ol, ul {
  list-style-position: outside;
  padding-left: 1.2em;
  margin-bottom: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* ========================
   TYPOGRAPHY & FONTS
   ======================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4 {
  color: #1B4079;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 { font-size: 2.75rem; margin-bottom: 28px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.18; }
h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.26; font-weight: 700; }
h4 { font-size: 1.10rem; margin-bottom: 10px; }
p, li, address, dt, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #23233A;
}
strong {
  font-weight: 700;
}

/* ========================
   GENERAL LAYOUT CONTAINERS
   ======================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(27,64,121,0.08), 0 1.5px 8px rgba(245,166,35,0.08);
}

/* ========================
   HEADER & NAVIGATION
   ======================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px rgba(27,64,121,0.11);
  z-index: 2000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1B4079;
  padding: 8px 16px;
  border-radius: 8px;
  background: none;
  transition: background 0.19s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: #F5A623;
  color: #13213a;
}
header nav .button-primary {
  color: #fff !important;
  background: #F5A623;
  margin-left: 12px;
  border: none;
  transition: background 0.18s, transform 0.17s;
  box-shadow: 0 2px 8px rgba(245,166,35,0.10), 0 1.5px 8px rgba(27,64,121,0.05);
}
header nav .button-primary:hover, 
header nav .button-primary:focus {
  background: #ffb443;
  color: #23233A !important;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: #F5A623;
  border: none;
  color: #23233A;
  font-size: 2rem;
  border-radius: 8px;
  padding: 5px 12px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  z-index: 3200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #faa80a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(245,166,35,0.13);
}

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1B4079;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(.7,.2,.2,1);
  opacity: 0.985;
  box-shadow: 0 2px 40px 12px rgba(35,35,58,0.22);
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  margin: 28px 28px 12px 0;
  background: #F5A623;
  color: #23233A;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  height: 48px;
  width: 48px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(245,166,35,0.12);
  transition: background 0.18s, color 0.18s;
  z-index: 9999;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #F5A623;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
  margin-top: 12px;
}
.mobile-menu .mobile-nav a {
  width: 100%;
  padding: 22px 36px;
  font-size: 1.25rem;
  color: #fff;
  border-bottom: 1px solid #23407311;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu .mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  color: #F5A623;
  background: #133262;
}

@media (max-width: 1021px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    gap: 7px;
  }
  header nav a, header nav .button-primary {
    font-size: 0.97rem;
    padding: 6px 10px;
  }
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   MAIN SECTION, FLEX & GRIDS
   ========================= */
main > section {
  margin-bottom: 42px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 195px;
  max-width: 340px;
  background: #1B4079;
  color: #fff;
  border-radius: 16px;
  padding: 34px 20px 22px 20px;
  box-shadow: 0 2px 18px rgba(27,64,121,0.12), 0 1px 8px rgba(245,166,35,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.15s;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 4px 33px rgba(245,166,35,0.13), 0 2px 14px rgba(27,64,121,0.20);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  color: #F5A623;
  font-size: 1.25rem;
}
.feature-grid p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.95;
}

/* Inline Features / Cards */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Lists with ICONS */
.text-section ul li,
ul li img {
  vertical-align: middle;
  margin-right: 10px;
}
.text-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
ul li strong {
  color: #1B4079;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Ordered List with Step Icons on index/so-funktionierts */
ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.08rem;
}
ol li img {
  width: 32px;
  min-width: 32px;
  height: 32px;
}

/* Card-container Pattern */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(27,64,121,0.09);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 28px rgba(245,166,35,0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px 22px;
}

/* Content grid (split rows, e.g. testimonials) */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* =========================
   BUTTONS
   ========================= */
.button-primary, .button-secondary, button[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 9px;
  padding: 14px 32px;
  font-size: 1.16rem;
  line-height: 1.1;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  box-shadow: 0 2px 10px rgba(245,166,35, .12),0 0.5px 4px rgba(27,64,121,0.07);
  text-align: center;
  margin-top: 12px;
  margin-bottom: 8px;
}
.button-primary,
button.button-primary,
input.button-primary[type="submit"] {
  background: #F5A623;
  color: #1B4079;
}
.button-primary:hover,
.button-primary:focus {
  background: #ffb443;
  color: #13213a;
  box-shadow: 0 4px 22px rgba(245,166,35,0.16);
  transform: scale(1.04);
}
.button-secondary {
  background: #1B4079;
  color: #fff;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #F5A623;
  color: #1B4079;
  box-shadow: 0 3px 14px rgba(27,64,121,0.13);
  transform: scale(1.04);
}

/* =========================
   TESTIMONIALS SLIDER/CARDS
   ========================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 5px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 26px 26px 26px;
  box-shadow: 0 2px 18px rgba(27,64,121,0.14), 0 1px 8px rgba(245,166,35,0.10);
  min-width: 260px;
  max-width: 395px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  color: #23233A;
  font-size: 1.10rem;
}
.testimonial-card p {
  color: #23233A;
  font-size: 1.13rem;
  line-height: 1.5;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #F5A623;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  align-self: flex-end;
  opacity: 0.98;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #1B4079;
  color: #fff;
  margin-top: 68px;
  padding: 36px 0 0 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 16px rgba(27,64,121,0.18);
}
footer .container {
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img {
  width: 54px;
  height: 54px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
footer nav a {
  color: #F5A623;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 3px 0;
}
footer nav a:hover,footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer address {
  font-style: normal;
  margin-top: 8px;
  font-size: 0.93rem;
  color: #F4F4F9;
  max-width: 325px;
}

/* =========================
   TABLE STYLES
   ========================= */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 25px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(245,166,35,0.07);
}
thead {
  background: #1B4079;
  color: #fff;
}
th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1.5px solid #ecedf3;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: #1B4079;
  color: #fff;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #F5A62313;
}

/* =========================
   FAQ/DETAIL
   ========================= */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 2px;
  color: #1B4079;
  font-size: 1.05em;
}
dd {
  margin-bottom: 17px;
  margin-left: 24px;
  color: #23233A;
  font-size: 1em;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #1B4079;
  color: #fff;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 32px 6px rgba(27,64,121,0.22);
  font-size: 1rem;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  animation: cookieIn 0.6s cubic-bezier(.72,.02,.24,1.15) 1;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  max-width: 680px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  background: #F5A623;
  color: #1B4079;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1em;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, transform 0.12s;
}
.cookie-btn.settings {
  background: #fff;
  color: #1B4079;
  border: 1px solid #F5A623;
}
.cookie-btn.reject {
  background: #23233A;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffaa10;
  color: #fff;
  transform: scale(1.07);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F5A623;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F5A623;
  color: #1B4079;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,35,58,0.77);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  pointer-events: auto;
}
.cookie-modal__window {
  background: #fff;
  color: #23233A;
  border-radius: 23px;
  max-width: 450px;
  width: 94vw;
  box-shadow: 0 2px 48px 12px rgba(27,64,121,0.37),0 6px 18px rgba(245,166,35,0.12);
  padding: 38px 36px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  animation: popupVisible 0.33s cubic-bezier(.7,0,.2,1.05) 1;
}
@keyframes popupVisible {
  from { opacity:0; transform: scale(0.92) translateY(40px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal__window h2 {
  color: #1B4079;
  font-size: 1.23rem;
}
.cookie-modal__close {
  position: absolute;
  right: 20px; top: 18px;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #23233A;
  cursor: pointer;
  transition: color 0.12s, background 0.16s;
  border-radius: 7px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F5A623;
}
.cookie-preferences-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.cookie-pref-item label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
}
.cookie-pref-item input[type="checkbox"] {
  accent-color: #F5A623;
  width: 22px;
  height: 22px;
  margin-right: 2px;
}
.cookie-pref-item.cookie-essentials label {
  color: #b1b1b7;
}
.cookie-pref-item.cookie-essentials input {
  accent-color: #b1b1b7;
}

/* =========================
   RESPONSIVE LAYOUTS
   ========================= */
@media (max-width: 1100px) {
  .feature-grid > div {
    min-width: 175px;
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
    padding: 0 6vw;
  }
  .testimonial-card {
    min-width: 170px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .section {
    padding: 24px 5vw;
    margin-bottom: 42px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-grid > div { padding: 24px 13px 16px 13px; }
  .testimonial-slider {
    gap: 14px;
  }
  .content-grid {
    gap: 13px;
  }
  .text-section, .content-wrapper {
    gap: 17px;
  }
}
@media (max-width: 560px) {
  html { font-size: 14px; }
  .mobile-menu .mobile-nav a {
    font-size: 1.08rem;
    padding: 17px 19px;
  }
  .container {
    max-width: 99vw;
    padding: 0 2vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 8px;
  }
  .feature-grid > div { min-width: 0; width: 100%; }
  .testimonial-slider { flex-direction: column; }
  .testimonial-card { max-width: 100vw; min-width: 120px; }
  .section {
    padding: 12px 2vw 22px 2vw;
  }
}
@media (max-width: 460px) {
  html { font-size: 13px; }
  .cookie-banner { flex-direction: column; gap: 10px; text-align: center; }
}

/* =======================
   ACCESSIBILITY
   ======================= */
:focus-visible, .focus-visible {
  outline: 2px dashed #F5A623 !important;
  outline-offset: 1.5px;
}

/* =======================
   SCROLLBARS - vibrant accent
   ======================= */
::-webkit-scrollbar {
  width: 10px; height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #F5A623CC;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #ececf2;
  border-radius: 7px;
}

/* =========================
   MICRO-ANIMATIONS
   ========================= */
a, .button-primary, .button-secondary, .cookie-btn {
  transition: color 0.17s, background 0.17s, transform 0.13s, box-shadow 0.14s;
}
.feature-grid > div, .testimonial-card, .card {
  transition: transform 0.19s, box-shadow 0.17s;
}
.testimonial-card:hover, .testimonial-card:focus {
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 7px 28px rgba(27,64,121,0.18);
}

/* ==========================
   SPECIAL CLASS UTILS
   ==========================
*/
.section:last-child {
  margin-bottom: 0;
}

/* .text-image-section for page extensions */
.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: 15px;
  }
}

/* .feature-item Utility (if needed) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Hide elements utility */
.hide { display: none !important; }

/* Ensure min 20px between cards/content */
.card-container > * {
  margin-bottom: 20px !important;
}
.content-grid > * {
  margin-bottom: 20px;
}

/* Overwrite unwanted column/grid properties just in case (forbidden by prompt) */
[class*="grid"], [class*="column"] {
  display: flex !important;
  flex-wrap: wrap;
}

/* ==========================
   PRINT OPTIMIZATION (optional)
   ========================== */
@media print {
  header, .cookie-banner, .mobile-menu, .mobile-menu-toggle, footer {
    display: none !important;
  }
  .container, main, body {
    background: #fff !important;
    color: #23233A !important;
  }
}

/* ==========================
   ELECTRIC VIBRANT EFFECTS
   ========================== */
/* Simple lightning accent border */
.feature-grid > div:before {
  content: '';
  display: block;
  position: absolute;
  left: -10px; top: 14px;
  width: 6px; height: 30px;
  background: #F5A623;
  border-radius: 7px;
  opacity: 0.61;
}

/* Hide border on mobile (less space) */
@media (max-width: 599px) {
  .feature-grid > div:before { display: none; }
}

/* Hero effects (Speed lines) - optional decoration, will not impact layout */
.section.hero {
  position: relative;
  overflow: hidden;
}
.section.hero::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: 40px; left: 55%;
  width: 130px; height: 400px;
  background: linear-gradient(110deg, #F5A623 3%, #F4F4F9 80%);
  opacity: 0.13;
  transform: rotate(23deg);
  border-radius: 99px;
  pointer-events: none;
}

/* ======================= */