/* ----------------------------
   CSS RESET & BASE STYLES
---------------------------- */
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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F1F3F6;
  color: #222e3a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #27446B;
  text-decoration: none;
  transition: color 0.23s;
}
a:focus, a:hover {
  color: #222e3a;
}
ul, ol {
  list-style: none;
}

/* ----------------------------
   FONT IMPORTS
---------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27446B;
  line-height: 1.15;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 600;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

p {
  margin-bottom: 16px;
}

strong {
  font-weight: 600;
  color: #222e3a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------
   HEADER, NAVIGATION, CTA BUTTON
---------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e3e7ee;
  box-shadow: 0 2px 8px rgba(39,68,107,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  padding: 0 20px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
}
nav > a > img {
  height: 38px;
  margin-right: 24px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #27446B;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  border-bottom: 2px solid #27446B;
}
.cta-btn {
  background: #27446B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(39,68,107,0.07);
  margin-left: 32px;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.1em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #192c47;
  box-shadow: 0 4px 14px rgba(39,68,107,0.12);
}

@media (max-width: 1024px) {
  nav ul {
    gap: 12px;
  }
  .cta-btn {
    margin-left: 14px;
    padding: 10px 18px;
    font-size: 0.98rem;
  }
}

/* -----------------------------------
   MOBILE NAVIGATION (BURGER MENU)
----------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #27446B;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 205;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(39,68,107,0.14);
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #192c47;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 32px rgba(39,68,107,0.18);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 4px 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #27446B;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #192c47;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 36px 28px 36px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #27446B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e9eef6;
  color: #192c47;
}

@media (max-width: 1024px) {
  nav ul, nav .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------
   MAIN: HERO SECTION, SECTION LAYOUT
---------------------------------- */
.hero {
  background: linear-gradient(104deg, #27446B 65%, #F1F3F6 100%);
  color: #fff;
  padding: 64px 0 56px 0;
}
.hero .container {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 680px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta-btn {
  margin-top: 32px;
  background: #fff;
  color: #27446B;
  box-shadow: 0 3px 16px rgba(39,68,107,0.17);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #d6deeb;
  color: #192c47;
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 36px 0;
  }
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .hero .container {
    padding: 0 12px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(39,68,107,0.06);
}

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

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

/* ------------------------------
   FEATURE / CARD LAYOUTS
------------------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 260px;
  background: #F1F3F6;
  padding: 28px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(39,68,107,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  transition: box-shadow 0.24s, transform 0.2s;
  margin-bottom: 20px;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.feature h3 {
  color: #27446B;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.feature p {
  color: #222e3a;
  font-size: 0.99rem;
  margin-bottom: 0;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 18px rgba(39,68,107,0.13);
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 900px) {
  .feature {
    flex: 1 1 90%;
    min-width: 160px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 10px;
  }
  .feature {
    min-width: 0;
    width: 100%;
    padding: 20px 12px;
    border-radius: 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(39,68,107,0.06);
  position: relative;
  transition: box-shadow 0.2s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(39,68,107,0.12);
  transform: translateY(-2px) scale(1.007);
}

/* ------------
   GRID FLEX
------------ */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    gap: 14px;
    justify-content: flex-start;
  }
}

.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: 18px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #283850;
  font-size: 1rem;
}
.text-section ul {
  padding-left: 16px;
}
.text-section ul li {
  list-style: disc;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .text-section {
    font-size: 0.99rem;
    gap: 10px;
  }
}

/* ------------------------------
   TESTIMONIAL CARDS
------------------------------ */
.testimonial-card {
  background: #F1F3F6;
  border: 1px solid #dde2e8;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(39,68,107,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.06rem;
  color: #222e3a;
  transition: box-shadow 0.21s, border-color 0.18s;
}
.testimonial-card p {
  color: #27446B;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #192c47;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 18px rgba(39,68,107,0.12);
  border-color: #b9bed6;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 16px;
    font-size: 1rem;
  }
}

/* ----------------------------
   FAQ ACCORDION COMPONENT
---------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F1F3F6;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(39,68,107,0.09);
  padding: 20px 20px 12px 20px;
  transition: box-shadow 0.15s;
  cursor: pointer;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 6px 22px rgba(39,68,107,0.12);
}
.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #27446B;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

/* --------------------------------------
   MAP PLACEHOLDER & GENERAL UTILITIES
-------------------------------------- */
.map-placeholder {
  background: #e9eef6;
  border-radius: 9px;
  padding: 20px;
  min-height: 80px;
  text-align: center;
  color: #27446B;
  margin-bottom: 12px;
}

/* ----------------------------------
   TABLE STYLES (PREISLISTE, ETC.)
---------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(39,68,107,0.08);
  margin-bottom: 24px;
  font-size: 1rem;
  overflow: hidden;
}
table thead {
  background: #e9eef6;
}
table th, table td {
  padding: 12px 16px;
  text-align: left;
}
table th {
  color: #27446B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #dde2e8;
}
table td {
  color: #222e3a;
  border-bottom: 1px solid #eaecee;
}
table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  table th, table td {
    padding: 10px 8px;
    width: 100%;
    box-sizing: border-box;
  }
  table td {
    border-bottom: none;
  }
}

/* --------------------------
   FOOTER STYLES
-------------------------- */
footer {
  background: #222e3a;
  color: #fff;
  margin-top: 48px;
  box-shadow: 0 -2px 12px rgba(39,68,107,0.06);
  padding-top: 32px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 220px;
}
footer nav a > img {
  height: 36px;
  margin-bottom: 8px;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer ul li a {
  color: #F1F3F6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.87;
  transition: opacity 0.17s, text-decoration 0.17s;
}
footer ul li a:hover, footer ul li a:focus {
  opacity: 1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.98rem;
  color: #e4e9f1;
  text-align: right;
  min-width: 260px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    text-align: left;
  }
}

/* ----------------------------------------
   BUTTONS & INPUTS (Appearance & Effects)
---------------------------------------- */
button, .cta-btn {
  outline: none;
  transition: background 0.19s, color 0.17s, box-shadow 0.23s;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 3px #dde8ff;
}

input, textarea, select {
  border: 1px solid #dde2e8;
  background: #F1F3F6;
  border-radius: 7px;
  padding: 10px 12px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222e3a;
  transition: border-color 0.16s, background 0.16s;
  width: 100%;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #27446B;
  background: #eef2fa;
}

/* ------------------------------------
   UTILITIES & REUSABLE FLEX PATTERNS
------------------------------------ */
.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;
}

/* ----
RESPONSIVE ADJUSTMENTS
---- */
@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    min-width: unset;
  }
}

/* -----------------------------------
   COOKIE CONSENT BANNER & POPUP
----------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #222e3a;
  z-index: 999;
  box-shadow: 0 -2px 16px rgba(39,68,107,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px 22px 30px;
  border-radius: 20px 20px 0 0;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s, transform 0.25s;
  will-change: opacity, transform;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  margin: 0;
  color: #27446B;
  font-size: 1rem;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-btn-main {
  padding: 9px 20px;
  border-radius: 19px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.19s, color 0.19s;
  margin-left: 4px;
}
.cookie-btn-main {
  background: #27446B;
  color: #fff;
  border: 1px solid #192c47;
}
.cookie-btn-main:focus, .cookie-btn-main:hover {
  background: #192c47;
}
.cookie-btn {
  background: #f1f3f6;
  color: #27446B;
  border: 1px solid #dde2e8;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #dae3ed;
  color: #192c47;
}
@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 18px 12px;
    max-width: 99vw;
  }
  .cookie-buttons {
    gap: 6px;
  }
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,68,107,0.33);
  z-index: 1002;
  display: none;
}
.cookie-modal-backdrop.visible {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 99vw;
  width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(39,68,107,0.21);
  z-index: 1100;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.25s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 10px 24px;
}
.cookie-modal-header h2 {
  font-size: 1.13rem;
  color: #27446B;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #27446B;
  cursor: pointer;
  padding: 2px 5px;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #192c47;
}
.cookie-modal-content {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 5px;
}
.cookie-category label {
  font-size: 1rem;
  color: #222e3a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  flex: 1;
  cursor: pointer;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  border-radius: 11px;
  background: #dde2e8;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: background 0.19s;
  margin-left: 0.6em;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 3px;
  left: 3px;
  right: auto;
  bottom: auto;
  background-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  transition: left 0.19s, background 0.18s;
  box-shadow: 0 1px 3px rgba(39,68,107,.13);
}
.cookie-toggle input:checked + .cookie-slider {
  left: 23px;
  background: #27446B;
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: #27446B;
}
.cookie-toggle.essential {
  background: #b5b8bd !important;
}
.cookie-category .cookie-toggle[aria-disabled="true"] {
  opacity: .55;
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 24px 18px 24px;
}
.cookie-modal-btn {
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  background: #27446B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal-btn:hover, .cookie-modal-btn:focus {
  background: #192c47;
}

@media (max-width: 500px) {
  .cookie-modal {
    width: 97vw;
    min-width: unset;
    padding: 0;
  }
  .cookie-modal-header, .cookie-modal-content, .cookie-modal-footer {
    padding-left: 9px;
    padding-right: 9px;
  }
}

/* ------------------------------
   GENERAL ANIMATION TRANSITIONS
------------------------------ */
.hero, .section, .testimonial-card, .feature, .faq-item, .footer-contact, .card, nav ul li a, .cta-btn {
  transition: box-shadow 0.2s, background 0.21s, color 0.17s, border 0.17s, transform 0.16s;
}

/* --------------
   CUSTOM FOCUS
-------------- */
:focus {
  outline: 2px solid #27446B;
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* --------------
   MISCELLANEOUS
-------------- */
::-webkit-input-placeholder { color: #8a949e; }
::-moz-placeholder { color: #8a949e; }
:-ms-input-placeholder { color: #8a949e; }
::placeholder { color: #8a949e; }

/* Icon alignment in text lists */
.text-section ul li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-section ul li img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

/* WRAP-UP: Ensure no elements overlap, provide enough padding/margins, and all contrast requirements met. */
