/* CSS 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7F9FA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1F2933;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
ul, ol {
  list-style: inside disc;
  margin-left: 18px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* BRAND COLORS (pastel adaptations) */
:root {
  --primary: #2F3F59;
  --primary-soft: #C1D0EE;
  --secondary: #73A3D6;
  --accent: #F3F6F8;
  --pastel-blue: #C7DFFF;
  --pastel-green: #D6F3E7;
  --pastel-purple: #E1DAFA;
  --pastel-pink: #FFDDE4;
  --pastel-yellow: #FEF6C3;
  --white: #fff;
  --shadow: 0 4px 24px 0 rgba(120, 150, 180, 0.10);
}

/* TYPOGRAPHY (Soft Pastel Style) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; font-weight:700; margin-bottom:24px; }
h2 { font-size: 1.7rem; font-weight:600; margin-bottom:18px; }
h3 { font-size: 1.25rem; font-weight:500; margin-bottom:12px; }
h4 { font-size: 1.12rem; font-weight:400; margin-bottom:10px; }
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #31353A;
  font-size: 1rem;
  line-height: 1.7;
}
p {
  margin-bottom: 13px;
}
strong, b { font-weight: bold; }

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* FLEX GRIDS (MANDATORY PATTERNS) */
.features-grid, .services-grid, .team-grid, .service-features, .news-list, .event-teasers, .legal-update-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.features-grid > div, .services-grid > div, .team-grid > div, .service-features > div, .news-list > div, .event-teasers > div, .legal-update-list > div {
  background: var(--white);
  flex: 1 1 260px;
  min-width: 260px;
  padding: 26px 22px 18px 22px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid var(--pastel-blue);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
  border: 1px solid var(--pastel-purple);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px 26px;
  min-width: 275px;
  flex: 1 1 320px;
  border: 1.5px solid var(--pastel-green);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #232D37;
  text-align: center;
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
  align-items: center;
}
.next-steps ul {
  padding-left: 0;
  margin-left: 0;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg,var(--pastel-blue) 0%, var(--pastel-green) 100%);
  box-shadow: 0 2px 12px 0 rgba(120, 140, 170, 0.10);
  padding: 0;
  position: relative;
  z-index: 990;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.22s, color 0.18s;
}
header nav a:hover, header nav a.active {
  color: var(--secondary);
  border-bottom: 2.5px solid var(--secondary);
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 12px 32px;
  margin-left: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(81, 145, 186, 0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #87B8D7;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 15px 0 rgba(110, 175, 200, 0.20);
  outline: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 26px;
  z-index: 1202;
  background: var(--white);
  color: var(--primary);
  font-size: 2.2rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(120,150,180,0.12);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--pastel-purple);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(230, 238, 247, 0.95);
  z-index: 1204;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 16px 0 0 0;
  transition: transform 0.27s cubic-bezier(.78,.58,.23,.99);
  transform: translateX(100%);
  box-shadow: -2px 0 10px rgba(120,150,180,0.10);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  font-size: 2.2rem;
  line-height: 1;
  margin: 18px 26px 0 0;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(140,120,180,0.10);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background 0.14s;
}
.mobile-menu-close:focus, .mobile-menu-close:active {
  background: var(--pastel-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 32px;
  gap: 24px;
  padding: 12px 36px 40px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a.active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
  outline: none;
}

/* Hide nav/cta on mobile for burger */
@media (max-width: 1020px) {
  header .container nav,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(100deg,var(--pastel-yellow) 0%, var(--white) 100%);
  padding: 60px 0 48px 0;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 48px 0 rgba(190,210,230,0.10);
  margin-bottom: 48px;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.18rem;
  color: #385275;
  margin-bottom: 18px;
}
@media (max-width:700px) {
  .hero {
    padding: 34px 0 30px 0;
    border-radius: 0 0 20px 20px;
  }
  .hero h1 { font-size: 1.55rem; }
  .hero p { font-size: 1rem; }
}

/* BUTTONS & LINKS */
button, .cta-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
button:focus { outline: 2px solid var(--secondary); outline-offset: 1px; }
a { transition: color 0.12s; }
a:focus { outline: 2px solid var(--secondary); outline-offset: 3px; }

/* NEWS & EVENT/LEGAL CARDS (Aktuellesseite) */
.news-list > div, .event-teasers > div, .legal-update-list > div {
  background: var(--white);
  border: 1px solid var(--pastel-purple);
  border-radius: 13px;
  padding: 16px 18px;
  min-width: 220px;
  min-height: 110px;
  box-shadow: var(--shadow);
}
.news-list > div h3, .event-teasers > div h3, .legal-update-list > div h3 {
  margin-bottom: 7px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg,var(--pastel-green) 10%, var(--pastel-blue) 90%);
  border-radius: 20px 20px 0 0;
  margin-top: 46px;
  box-shadow: 0 -2px 28px 0 rgba(180,200,215,0.12);
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 18px 24px 18px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  padding: 2.5px 0;
  opacity: 0.93;
  transition: color 0.15s, opacity 0.15s;
}
footer nav a:hover, footer nav a.active {
  color: var(--secondary);
  opacity: 1;
}
footer img {
  margin-bottom: 12px;
}
footer div:last-child {
  font-size: 0.96rem;
  color: #535169;
}
footer div:last-child img {
  vertical-align: text-bottom;
  margin-right: 6px;
}
@media (max-width:800px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding: 20px 12px 12px 12px;
  }
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 900px) {
  .features-grid, .services-grid, .team-grid, .service-features, .news-list, .event-teasers, .legal-update-list {
    gap: 16px;
  }
  .features-grid > div, .services-grid > div, .team-grid > div, .service-features > div, .news-list > div, .event-teasers > div, .legal-update-list > div {
    flex-basis: 100%;
    min-width: unset;
    padding: 18px 13px 13px 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    gap: 18px;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 26px 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: linear-gradient(90deg, var(--pastel-yellow) 10%, var(--pastel-blue) 90%);
  color: #222;
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 -8px 28px 0 rgba(210,210,210,0.11);
  transition: transform 0.23s cubic-bezier(.68,.13,.47,.83);
  font-size: 1.04rem;
  min-height: 50px;
  gap: 17px 24px;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
}
.cookie-consent-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-consent-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 2px;
  transition: background 0.16s, box-shadow 0.15s;
  box-shadow: 0 2px 7px 0 rgba(120,170,170,0.09);
}
.cookie-consent-btn.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-consent-btn.settings {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #F7BAC2;
  color: var(--secondary);
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  background: #B5E0FD;
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(220,230,238,0.8);
  z-index: 1350;
  align-items: center;
  justify-content: center;
  animation: fadein .25s cubic-bezier(.19,.97,.54,.98);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadein {
  from { opacity:0;} to {opacity:1;}
}
.cookie-modal {
  background: var(--white);
  border-radius: 21px;
  padding: 38px 24px 26px 24px;
  max-width: 400px;
  width: 98vw;
  box-shadow: 0 4px 32px 0 rgba(42,97,130,0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popin .18s cubic-bezier(.35,1.21,.36,.93);
}
@keyframes popin { from{transform: scale(0.94);} to{transform: scale(1);} }
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-toggle {
  width: 46px; height: 25px;
  background: var(--pastel-blue);
  border: none;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1.5px;
  top: 1.2px;
  transition: left 0.14s;
  box-shadow: 0 1px 4px rgba(130,160,190,0.10);
}
.cookie-toggle[aria-checked="true"]:before {
  left: 21px;
  background: var(--accent);
}
.cookie-category[aria-disabled="true"] .cookie-toggle {
  background: #D9E3EA;
  opacity: 0.66;
  cursor:default;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 7px 14px;
  border-radius: 9px;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--primary);
}

/* MICRO-INTERACTIONS & HOVER STATES */
.features-grid > div:hover, .services-grid > div:hover, .team-grid > div:hover, .service-features > div:hover, .news-list > div:hover, .event-teasers > div:hover, .legal-update-list > div:hover {
  box-shadow: 0 8px 24px 0 rgba(120,130,160,0.14);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.018);
}
.card:hover {
  box-shadow: 0 8px 22px 0 rgba(78,106,172,.13);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px 0 rgba(89,161,141,.13);
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.016);
}

/* NOTE BOX & INFO */
.note {
  background: var(--pastel-yellow);
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 1rem;
  color: #454455;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

/* UTILS */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-16 { margin-bottom: 16px !important; }
.align-center { text-align: center !important; display: flex; flex-direction: column; align-items: center; }

/* SCROLLBAR (for desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 9px; background: var(--accent);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--pastel-blue); border-radius: 7px;
  }
}

/* RESPONSIVE TWEAKS */
@media (max-width: 700px) {
  .card, .testimonial-card {
    min-width: unset;
    padding: 12px 6px;
  }
  .footer, .footer .container { padding: 14px 6px 14px 8px; }
  .contact-info { flex-direction: column; gap: 12px; }
  .features-grid, .services-grid, .team-grid, .service-features, .news-list, .event-teasers, .legal-update-list { gap:13px; }
}

/* HIGH CONTRAST for Testimonials */
.testimonial-card, .testimonial-card p {
  color: #193345;
  background: #F9FCFF;
}
.testimonial-card span { color: #2F3F59; }

/* FORMS (if present) */
input, textarea, select {
  font-family:'Roboto',Arial,sans-serif;
  font-size: 1rem;
  background: #fff;
  border: 1.2px solid var(--pastel-blue);
  border-radius: 11px;
  padding: 8px 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(90,120,168,0.06);
  outline:none;
  transition: border-color 0.18s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 2px 9px rgba(120, 163, 214, 0.13);
}

/* ACCESSIBLE FOCUS VISIBLE */
:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}
