/* ====================== */
/*      RESET & BASE      */
/* ====================== */
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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F6F8F9;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #153C62;
  background: #F6F8F9;
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.25em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
a {
  color: #32A195;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover,
a:focus {
  color: #153C62;
  text-decoration: none;
  outline: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(21,60,98,0.04);
  position: relative;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ====================== */
/*   TYPOGRAPHY & FONTS  */
/* ====================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  color: #153C62;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}
h2:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 32px;
  background: #32A195;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 3px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 20px 0 10px 0;
  letter-spacing: 0.04em;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p, li, blockquote {
  font-size: 1.08rem;
  color: #153C62;
  font-weight: 400;
}
blockquote {
  font-style: italic;
  color: #153C62;
  margin-bottom: 8px;
  border-left: 4px solid #32A195;
  padding-left: 16px;
  background: #F6F8F9;
  border-radius: 8px;
}
subheadline,
.subheadline {
  font-size: 1.25rem;
  color: #32A195;
  font-weight: 500;
}
strong {
  font-weight: 700;
  color: #153C62;
}
em {
  font-style: italic;
  color: #32A195;
}

/* ====================== */
/*  HEADER & NAVIGATION  */
/* ====================== */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(21,60,98,0.04);
  position: relative;
  z-index: 10;
}
nav[aria-label="Hauptnavigation"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 12px 20px;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0 14px;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #153C62;
  padding: 10px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #32A195;
  color: #fff;
  text-decoration: none;
}

/* Header CTA Button */
.btn-primary {
  background: #153C62;
  color: #fff;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,60,98,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-transform: uppercase;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #32A195;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(21,60,98,0.16);
  outline: none;
}
.btn-secondary {
  background: #32A195;
  color: #fff;
  border-radius: 8px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(21,60,98,0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  text-transform: uppercase;
  margin-top: 12px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #153C62;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 14px rgba(21,60,98,0.17);
  outline: none;
}

/* ===================== */
/*   FLEXBOX LAYOUTS     */
/* ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(21,60,98,0.07);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.13s;
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 380px;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(21,60,98,0.19);
  transform: translateY(-3px) scale(1.015);
}
.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;
  background: #F6F8F9;
  border: 2px solid #32A195;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(21,60,98,0.03);
  flex: 1 1 300px;
  max-width: 540px;
  min-width: 220px;
  transition: border 0.23s, box-shadow 0.15s, transform 0.12s;
  color: #153C62;
}
.testimonial-card:hover {
  border-color: #153C62;
  box-shadow: 0 2px 16px rgba(21,60,98,0.09);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-meta {
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #32A195;
  font-weight: 700;
  margin-left: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 16px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(21,60,98,0.05);
  border-left: 5px solid #32A195;
}

/* ===================== */
/*     SECTIONS/GRID    */
/* ===================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
  }
}
h2, h3 {
  margin-top: 0;
}

/* ============================== */
/*      FOOTER                    */
/* ============================== */
footer {
  padding: 32px 0 14px 0;
  background: #153C62;
  color: #fff;
  font-size: 1rem;
  margin-top: 58px;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #32A195;
  margin: 0 8px;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.footer-nav a:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  text-align: center;
}
.footer-info img {
  width: 48px;
  height: 48px;
  display: block;
}
.footer-info p {
  font-size: 0.99rem;
  color: #fff;
}

/* ============================== */
/*      MOBILE BURGER MENU        */
/* ============================== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #153C62;
  border: 2px solid #32A195;
  border-radius: 8px;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.15s;
  outline: none;
}
.mobile-menu-toggle:focus {
  background: #32A195;
  color: #fff;
  border-color: #153C62;
}
.mobile-menu {
  position: fixed;
  z-index: 2001;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,60,98,0.92);
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.64,-0.01,.5,1.51);
  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: 22px 26px 0 0;
  background: #32A195;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.21s, color 0.21s;
}
.mobile-menu-close:hover {
  background: #fff;
  color: #153C62;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 36px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.32rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 0 8px 12px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #32A195;
  color: #fff;
}
@media (max-width: 1111px) {
  nav[aria-label="Hauptnavigation"] ul,
  nav[aria-label="Hauptnavigation"] a.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1112px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================== */
/*      RESPONSIVE DESIGN         */
/* ============================== */
@media (max-width: 990px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  section {
    padding: 24px 4px;
    margin-bottom: 37px;
    border-radius: 12px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
    padding-left: 11px;
  }
  .card-container,
  .content-grid,
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  section {
    padding: 15px 2px;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.97rem;
    padding: 10px 15px;
  }
  .footer-info img {
    width: 32px;
    height: 32px;
  }
}

/* ============================== */
/*           MICROS               */
/* ============================== */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F8F9;
}
::-webkit-scrollbar-thumb {
  background: #32A195;
  border-radius: 5px;
}
::selection {
  background: #32A195;
  color: #fff;
}

/* ============================= */
/*     COOKIE CONSENT BANNER     */
/* ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 98vw;
  max-width: 740px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 30px rgba(21,60,98,0.13);
  z-index: 4000;
  padding: 28px 26px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.64,-0.01,.5,1.51);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner .cookie-banner-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  font-weight: 700;
  color: #153C62;
  margin-bottom: 5px;
}
.cookie-banner p {
  font-size: 1.06rem;
  color: #153C62;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 19px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-btn-accept {
  background: #32A195;
  color: #fff;
}
.cookie-btn-accept:hover {
  background: #153C62;
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  border: 1.6px solid #32A195;
  color: #153C62;
}
.cookie-btn-reject:hover {
  background: #32A195;
  color: #fff;
}
.cookie-btn-settings {
  background: #153C62;
  color: #fff;
}
.cookie-btn-settings:hover {
  background: #32A195;
  color: #fff;
}

/* COOKIE CATEGORY MODAL */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  min-width: 320px;
  max-width: 98vw;
  width: 440px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(21,60,98,0.21);
  border-radius: 16px;
  padding: 34px 28px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.22s cubic-bezier(.5,1.21,.5,1.1);
  color: #153C62;
}
.cookie-modal.active {
  display: flex;
  animation: cookie-modal-in 0.37s 1 cubic-bezier(.7,-0.01,.64,1.4);
  transform: translate(-50%, -50%) scale(1);
}
@keyframes cookie-modal-in {
  0%   { opacity: 0; transform: translate(-50%, -38%) scale(0.91); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
  color: #153C62;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #153C62;
}
.cookie-category .toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #F6F8F9;
  border-radius: 16px;
  outline: none;
  margin: 0 0 0 10px;
  position: relative;
  border: 1.6px solid #32A195;
}
.cookie-category .toggle:checked {
  background: #32A195;
}
.cookie-category .toggle:before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 4px;
  box-shadow: 0 1px 2px rgba(21,60,98,0.03);
  transition: left 0.2s;
}
.cookie-category .toggle:checked:before {
  left: 22px;
}
.cookie-modal .cookie-btn-group {
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn-settings-close {
  background: #fff;
  border: 1.2px solid #32A195;
  color: #153C62;
}
.cookie-modal .cookie-btn-settings-close:hover {
  background: #153C62;
  color: #fff;
}
.cookie-category .toggle[disabled]:before,
.cookie-category .toggle[readonly]:before {
  background: #b7b7b7;
  border: 1.2px solid #aaa;
}

@media (max-width: 520px) {
  .cookie-modal {
    min-width: 0;
    width: 99vw;
    padding: 18px 6vw 18px 6vw;
  }
  .cookie-banner {
    padding: 16px 6px 12px 8px;
  }
  .cookie-banner .cookie-btn-group {
    flex-direction: column;
    gap: 9px;
    margin-top: 6px;
  }
}

/* ============================== */
/*   GEOMETRIC/STRUCTURED EXTRAS  */
/* ============================== */
.section {
  border-radius: 16px;
  box-shadow: 0 6px 26px rgba(21,60,98,0.08);
  border: 1.2px solid #EFEFEF;
}
.card {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 75% 100%, 0 100%);
}
.feature-item {
  box-shadow: 0 2px 10px rgba(50,161,149,0.07);
  border-radius: 10px;
}
hr {
  border: none;
  border-top: 2px dashed #32A195;
  margin: 30px 0;
}

/* ============================== */
/*         MISC OVERRIDES         */
/* ============================== */
main {
  min-height: 60vh;
}
.text-section h2:not(:first-child) {
  margin-top: 24px;
}
.text-section h3:not(:first-child) {
  margin-top: 20px;
}
.text-section > p, .text-section > ul, .text-section > ol {
  margin-bottom: 13px;
}

/* Ensure at least 20px between all cards/sections */
.card:not(:last-child),
.feature-item:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ============== */
/* Hide/Show      */
/* ============== */
[hidden],
.hide {
  display: none !important;
}

/* ============== */
/*  ACCESSIBILITY */
/* ============== */
:focus {
  outline: 2px solid #32A195;
  outline-offset: 2px;
}

/* ============== */
/*  PRINT SUPPORT */
/* ============== */
@media print {
  * {
    color: #111 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .mobile-menu, .cookie-banner, .cookie-modal, .btn, header, footer { display: none !important; }
  section, main { box-shadow: none !important; border: none !important; }
}
