/* --- 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, main, 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;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F7F8FA;
  color: #25436A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: none;
  outline: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s;
}
ul, ol {
  list-style: none;
}

/* --- BRAND COLORS & PALETTE (SOFT PASTEL) --- */
:root {
  --primary: #25436A;
  --secondary: #7CA5B8;
  --accent: #E3DCC8;
  --pastel-blue: #C8DAEA;
  --pastel-lavender: #ECE9F6;
  --pastel-peach: #FCE1CF;
  --pastel-green: #E6F5EA;
  --pastel-pink: #F7E1EC;
  --white: #fff;
  --black: #222;
  --border: #e1e7ed;
  --shadow: 0 4px 24px rgba(120, 147, 161, 0.12);
  --radius: 18px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: var(--primary);
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.18rem; margin-bottom: 8px; }
.subheadline {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 24px;
}
strong, b {
  color: var(--primary);
  font-weight: 600;
}

p, li, label {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.12rem; }
  .subheadline { font-size: 1rem; }
}

/* --- CONTAINER & SPACING --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.28s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(120, 147, 161, 0.18);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-lavender);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 410px;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.06rem;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--secondary);
}

/* --- Buttons & CTAs --- */
.cta {
  display: inline-block;
  border-radius: 32px;
  padding: 12px 34px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  letter-spacing: 0.02em;
  transition: background 0.22s, color 0.16s, box-shadow 0.22s;
  box-shadow: 0 2px 10px rgba(124, 165, 184, 0.13);
  cursor: pointer;
  outline: none;
  border: none;
  margin-right: 10px;
  margin-bottom: 16px;
}
.cta.primary {
  background: var(--primary);
  color: var(--accent);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta.secondary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--primary);
}
button:active {
  transform: scale(0.97);
}

/* --- HEADER & NAV --- */
header {
  background: linear-gradient(90deg, #ECE9F6 0%, #C8DAEA 100%);
  box-shadow: 0 2px 12px rgba(124, 165, 184, 0.06);
  padding-top: 0;
  position: relative;
  z-index: 15;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 18px 15px 18px;
}
.main-nav > a img {
  height: 42px;
  margin-right: 20px;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul a:hover, .main-nav ul a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.main-nav ul .cta {
  margin-left: 8px;
}

/* --- MOBILE BURGER NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.16s;
  z-index: 60;
}
.mobile-menu-toggle:active {
  background: var(--primary);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(232,238,246,0.98);
  box-shadow: 0 4px 24px rgba(124, 165, 184, 0.18);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.74,0,.41,1.01);
  flex-direction: column;
}
.mobile-menu.active {
  display: flex !important;
  transform: translateX(0);
}

.mobile-menu-close {
  background: var(--pastel-pink);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  margin: 18px auto 12px 90%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:active {
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 26px;
}
.mobile-nav a {
  font-size: 1.23rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  padding: 10px 28px;
  border-radius: 22px;
  background: var(--accent);
  width: 84%;
  text-align: center;
  margin-bottom: 3px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
@media (max-width: 1100px) {
  .main-nav {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
@media (max-width: 950px) {
  .main-nav ul {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  .main-nav ul {
    gap: 3px;
  }
  .main-nav ul a {
    font-size: 1rem;
    padding: 6px 8px;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav > a img {
    height: 36px;
  }
  .main-nav {
    padding: 14px 12px;
  }
}

/* --- HERO / FEATURE / CARD LAYOUTS --- */
.features-grid, .services-list, .events-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 5px;
}
.features-grid {
  gap: 24px 18px;
}
.feature, .service-card, .event-card, .blog-post-preview {
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 21px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.16s;
}
.feature img, .service-card img, .event-card img {
  height: 48px;
  width: 48px;
  margin-bottom: 6px;
}
.feature:hover, .service-card:hover, .event-card:hover, .blog-post-preview:hover {
  box-shadow: 0 8px 28px rgba(144,156,181,0.14);
  transform: translateY(-4px) scale(1.018);
}
.service-price, .event-price {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  background: var(--pastel-peach);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 5px;
  font-size: 1rem;
}

/* --- BENEFIT / VORTEIL / EXTRA SECTIONS --- */
.benefit-list, .member-benefits, .event-steps, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}
.benefit-list li, .member-benefits li, .contact-details li {
  background: var(--pastel-green);
  border-radius: 13px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit-list img, .member-benefits img {
  width: 30px;
  height: 30px;
  margin-right: 4px;
}
.event-steps {
  margin-bottom: 22px;
}
.event-steps li {
  background: var(--pastel-lavender);
  border-radius: 13px;
  padding: 12px 20px;
  margin-bottom: 8px;
}
.security-note {
  background: var(--pastel-blue);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin-top: 16px;
}
.security-note h3 {
  margin-bottom: 12px;
}
.security-note ul {
  gap: 8px;
}

/* --- TEAM & ABOUT BLOCKS --- */
.team-member {
  background: var(--pastel-green);
  padding: 20px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.team-note {
  background: var(--pastel-peach);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 24px;
}

/* --- BLOG CATEGORIES FILTER --- */
.categories-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.categories-filter button {
  background: var(--pastel-blue);
  border: none;
  border-radius: 12px;
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 7px 18px;
  font-size: 1rem;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background 0.18s;
}
.categories-filter button:hover, .categories-filter button:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* --- FORMS --- */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 500px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
input[type="text"],
input[type="email"],
textarea {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--pastel-lavender);
  margin-top: 3px;
  font-size: 1.08rem;
  resize: vertical;
  transition: border 0.14s, box-shadow 0.14s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
  background: var(--accent);
}
.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
form label a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
form label a:hover, form label a:focus {
  color: var(--primary);
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #E3DCC8 0%, #ECE9F6 100%);
  border-top: 1.5px solid var(--accent);
  padding: 38px 0 25px 0;
  margin-top: 60px;
}
.footer-navigation {
  text-align: center;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-navigation a {
  color: var(--primary);
  transition: color 0.18s;
  padding: 2px 6px;
  border-radius: 9px;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.footer-contact {
  text-align: center;
  font-size: 0.99rem;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 10px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(247, 232, 245, 0.98);
  color: var(--primary);
  box-shadow: 0 -2px 10px rgba(120, 147, 161, 0.07);
  z-index: 1201;
  padding: 24px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1.02rem;
  animation: fadeInCookie 0.4s ease;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: 18px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 8px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--primary);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(124,165,184,0.25);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 94vw;
  padding: 38px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  background: var(--pastel-blue);
  color: var(--primary);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--accent);
}
.cookie-modal h3 {
  margin-bottom: 8px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 14px 0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: var(--primary);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-top: 6px;
}
.cookie-modal .cookie-modal-actions button {
  flex: 1 1 auto;
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--secondary);
  border-radius: 16px;
  padding: 9px 0;
  font-weight: 500;
  font-size: 1.07rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: var(--secondary);
  color: var(--accent);
  border-color: var(--primary);
}

/* --- RESPONSIVE LAYOUTS & FLEX DIRECTIONS --- */
@media (max-width: 900px) {
  .features-grid, .services-list, .events-list, .blog-list, .testimonials {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .testimonial-card, .feature, .service-card, .event-card, .blog-post-preview {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5vw;
  }
  .section {
    padding: 30px 6px;
  }
  .footer-navigation, .footer-contact {
    font-size: 0.95rem;
    word-break: break-all;
  }
  .cta, .cta.primary, .cta.secondary {
    padding: 10px 18px;
    font-size: 0.97rem;
  }
  .benefit-list li, .member-benefits li, .event-steps li {
    padding: 8px 12px;
    font-size: 0.98rem;
  }
  .feature, .service-card, .event-card, .team-member {
    padding: 16px 9px;
    font-size: 0.99rem;
  }
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
.card, .feature, .service-card, .event-card {
  transition: box-shadow 0.21s, transform 0.13s;
}
.card:active, .feature:active, .service-card:active, .event-card:active {
  transform: scale(0.97);
}
input:focus, textarea:focus {
  box-shadow: 0 2px 8px 0 #e3dcc85c;
}

/* --- MISC --- */
a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1.5px;
}
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}

/* --- MOBILE FIRST ADDITIONAL FINE-TUNING --- */
@media (max-width: 500px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .team-member, .team-note, .testimonial-card {
    padding: 13px 8px;
  }
  .cookie-modal {
    padding: 20px 5vw 18px 5vw;
  }
}

/* --- Z-INDEX & OVERLAP CONTROL --- */
header, .main-nav, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cookie-modal { z-index: inherit; }

/* --- ENSURE NO GRID OR COLUMNS PROPERTIES USED --- */
/* All layouts are built with flex only. */
