/* 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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  background: #F5F8FA;
  color: #204173;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #204173;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #36A87C;
  text-decoration: underline;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
}
th, td {
  border: 1.5px solid #204173;
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #e1eaf1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
/* TYPOGRAPHY - GEOMETRIC STRUCTURED */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #204173;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h4, h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, address {
  margin-bottom: 18px;
  font-size: 1.125rem;
}
strong {
  font-weight: 700;
}
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(32,65,115,0.08);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.container {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
/* =============== HEADER & NAV =============== */
header {
  width: 100%;
  background: #204173;
  box-shadow: 0 6px 28px rgba(32,65,115,0.10);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  min-height: 72px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.15s;
  border-radius: 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #36A87C;
  border-bottom: 2.5px solid #36A87C;
}

.cta-btn {
  background: #36A87C;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 32px;
  font-size: 1.06rem;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(32,65,115,0.06);
  letter-spacing: 0.06em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
  text-transform: uppercase;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #204173;
  color: #36A87C !important;
  box-shadow: 0 6px 18px rgba(32,65,115,0.11);
  transform: translateY(-3px) scale(1.04);
}
.mobile-menu-toggle {
  background: #36A87C;
  color: #fff;
  border-radius: 7px;
  padding: 9px 16px;
  font-size: 1.5rem;
  margin-left: 20px;
  display: none;
  border: 2px solid #204173;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #204173;
  color: #36A87C;
  outline: 2px solid #36A87C;
}
/* ====== MOBILE NAV MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #204173;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.55, 0, 0.1, 1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #36A87C;
  color: #fff;
  font-size: 2rem;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 20px 30px 10px 0;
  box-shadow: 0 6px 30px rgba(32,65,115,0.18);
  align-self: flex-end;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.18s, border 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #36A87C;
  border: 2px solid #36A87C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 36px 18px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.48rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 0;
  display: block;
  letter-spacing: 0.06em;
  border-bottom: 2.5px solid transparent;
  transition: color 0.18s, border 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #36A87C;
  border-bottom: 2.5px solid #36A87C;
}

/* ============ MAIN CONTENT ============= */
main {
  min-height: 60vh;
  padding-top: 40px;
  padding-bottom: 50px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32,65,115,0.09);
  margin-bottom: 20px;
  padding: 24px;
  transition: box-shadow 0.17s, transform 0.16s;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 34px rgba(32,65,115,0.14);
  transform: translateY(-4px) scale(1.03);
}
.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;
  padding: 20px;
  background: #F5F8FA;
  border: 1.8px solid #36A87C;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,65,115,0.08);
  margin-bottom: 24px;
  margin-right: 12px;
  margin-left: 0;
  max-width: 550px;
  color: #204173;
  font-size: 1.125rem;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #204173;
  box-shadow: 0 6px 22px rgba(32,65,115,0.17);
}
.testimonial-card p {
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  color: #204173;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #36A87C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* =============== BUTTONS GENERAL =============== */
button, .cta-btn {
  cursor: pointer;
}
button:disabled, .cta-btn[disabled] {
  opacity: 0.58;
  pointer-events: none;
}
/* ============ FOOTER ============ */
footer {
  background: #204173;
  color: #fff;
  padding: 38px 0 26px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 22px rgba(32,65,115,0.08);
  font-size: 1.04rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 6px 0;
  border-radius: 5px;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #36A87C;
  background: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}
.footer-contact a, .footer-contact address {
  color: #e7f2fd;
  font-size: 1rem;
  margin-bottom: 2px;
}
.footer-contact a:hover {
  color: #36A87C;
}
.footer-hours {
  color: #B2BED3;
  font-size: 0.97rem;
}
/* ================== COOKIE BANNER ================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #204173;
  color: #fff;
  padding: 24px 16px;
  box-shadow: 0 -4px 24px rgba(32,65,115,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 3000;
  transition: transform 0.3s;
}
#cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 10px 26px;
  border-radius: 7px;
  background: #36A87C;
  color: #fff;
  border: none;
  transition: background 0.2s, color 0.18s, transform 0.18s;
  text-transform: uppercase;
  margin: 0 3px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #36A87C;
}
#cookie-settings-btn {
  background: #fff;
  color: #204173;
  border: 1.8px solid #36A87C;
  font-weight: 600;
}
#cookie-settings-btn:hover, #cookie-settings-btn:focus {
  background: #36A87C;
  color: #fff;
}
/* ===== Cookie Modal ===== */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 430px;
  background: #fff;
  color: #204173;
  z-index: 3200;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(32,65,115,0.15);
  padding: 32px 24px 18px 24px;
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 1;
  transition: opacity 0.22s, transform 0.22s;
  display: none;
}
#cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
#cookie-modal h2 {
  color: #204173;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #e1eaf1;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  margin-left: 10px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #36A87C;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 20px;
  background: #204173;
}
#cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
#cookie-modal .cookie-btn {
  padding: 10px 22px;
  font-size: 0.95rem;
}

/* =========== RESPONSIVENESS =========== */
@media (max-width: 1190px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 90vw;
  }
  .main-nav {
    gap: 16px;
  }
  section {
    padding: 30px 6px;
  }
}
@media (max-width: 880px) {
  .container {
    max-width: 100vw;
    padding: 0 5vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 100vw;
  }
  main {
    padding-top: 15px;
    padding-bottom: 25px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 56px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section, .section {
    padding: 18px 2vw 25px 2vw;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .footer-nav, .footer-contact {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonials-section {
    gap: 10px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  section, .section {
    padding: 11px 1vw 14px 1vw;
    margin-bottom: 18px;
  }
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.08rem; }
}
/* ======= GEOMETRIC DECORATIVE ELEMENTS ======= */
section::before, section::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
}
section::before {
  width: 50px;
  height: 50px;
  top: -18px;
  left: -18px;
  background: #36A87C;
  border-radius: 16px 0 22px 0;
  opacity: 0.09;
  transform: rotate(-10deg);
}
section::after {
  width: 36px;
  height: 36px;
  bottom: -14px;
  right: -18px;
  background: #204173;
  border-radius: 0 22px 18px 0;
  opacity: 0.11;
  transform: rotate(21deg);
}
/* Only show on larger screens */
@media (max-width: 700px) {
  section::before, section::after {
    display: none;
  }
}
/* GEOMETRIC LIST STYLE */
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 4px 12px 4px 20px;
  background: #204173;
  position: absolute;
  left: 0;
  top: 5px;
  opacity: 0.16;
}
/* Features/images in lists (icons in index.html) */
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ul li span {
  vertical-align: middle;
  display: inline-block;
}
/* Table on Mitgliedschaft */
table {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
  background: #fff;
  color: #204173;
}
tbody tr:nth-child(odd) {
  background: #f3f6fb;
}
/* === Accessibility focus ===== */
a:focus, button:focus, .cta-btn:focus, input:focus, .cookie-btn:focus {
  outline: 2.2px solid #36A87C;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #aeb7c4; }
::-moz-placeholder { color: #aeb7c4; }
:-ms-input-placeholder { color: #aeb7c4; }
::placeholder { color: #aeb7c4; }

/* ======== HTML5 REMEDIES ======== */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
[hidden] { display: none; }

/* ========== ANIMATIONS ========== */
html {
  scroll-behavior: smooth;
}
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  will-change: transform, box-shadow;
  transition: background 0.23s, color 0.13s, transform 0.18s, box-shadow 0.20s, border 0.17s;
}
/* Micro interaction: card hover bump */
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s, border-color 0.16s;
}

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

body, p, address, td, th, input, textarea, select, option, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, .cta-btn, .main-nav a, .mobile-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* ========= Z-INDEX MANAGEMENT ========= */
header       { z-index: 10; }
.mobile-menu { z-index: 1200; }
#cookie-banner { z-index: 3000; }
#cookie-modal  { z-index: 3200; }

/* ===== HIDING COOKIE MODAL OVERLAY ===== */
#cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,65,115,0.31);
  z-index: 3190;
  display: none;
}
#cookie-modal.open ~ #cookie-modal-overlay {
  display: block;
}

/* ===== Miscellaneous ===== */
hr {
  border: none;
  border-top: 1.5px solid #e1eaf1;
  margin: 24px 0;
}

/* === Hide elements visually but remain accessible === */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
