/* =========================
   Airy Bloom Leipzig Style
   Tech Futuristic Aesthetic
   ========================= */

/* --- 1. Reset & Base --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #1a2537;
  color: #F5F8FC;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-top: 0;
  margin-bottom: 16px;
  color: #F5F8FC;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #e2eef7;
}
ul, ol { padding-left: 24px; }
strong { color: #fff; font-weight: 700; }

blockquote {
  background: rgba(33,96,147,0.80);
  color: #88C9BF;
  border-left: 4px solid #88C9BF;
  padding: 16px 24px;
  margin: 16px 0;
  border-radius: 10px;
  font-style: italic;
}

/* --- 2. Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* --- 3. Header & Main Navigation --- */
header {
  width: 100%;
  background: #192339;
  box-shadow: 0 6px 24px 0 rgba(33,96,147,.09);
  position: relative;
  z-index: 10;
}
.logo img {
  height: 48px;
  width: auto;
  margin: 8px 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F5F8FC;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,#88C9BF 0,#216093 100%);
  transition: width .3s;
  border-radius: 6px;
  margin-top: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #88C9BF;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 80%;
}

.cta.primary,
.cta.secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  margin-left: 12px;
  box-shadow: 0 4px 16px 0 rgba(33,96,147,0.17);
  transition: background .18s, color .18s, box-shadow .25s, transform .12s;
}
.cta.primary {
  background: #216093;
  color: #fff;
  border: 2px solid #88C9BF;
  box-shadow: 0 0 8px #88C9BF57, 0 2px 25px #21609338;
}
.cta.primary:hover, .cta.primary:focus {
  background: #133262;
  color: #88C9BF;
  box-shadow: 0 0 12px #88C9BFc8, 0 6px 30px #216093a0;
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: transparent;
  color: #88C9BF;
  border: 2px solid #88C9BF;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #88C9BF;
  color: #192339;
}

/* --- Hamburger & Mobile Menu --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #88C9BF;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F5F8FC;
}

.mobile-menu {
  position: fixed;
  z-index: 120;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #192339f2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.5, 2, .3, 1), opacity .22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #88C9BF;
  font-size: 2.1rem;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 130;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5F8FC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin-top: 40px;
}
.mobile-nav a {
  color: #F5F8FC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
  background: none;
  padding: 16px 0;
  transition: color .21s, background .21s;
  border-radius: 15px;
  width: 90vw;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #88C9BF22;
  color: #88C9BF;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .main-nav,
  .cta.primary {
    display: none !important;
  }
}

/* --- 4. Hero & Section Style --- */
.hero {
  width: 100%;
  background: linear-gradient(135deg, #216093 0%, #88C9BF 100%);
  padding: 60px 0 48px 0;
  margin-bottom: 48px;
  border-bottom: 4px solid #88C9BF;
  position: relative;
  box-shadow: 0 10px 42px 0 #164670d4, 0 1px 0 #216093;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 1px 8px #2160931a, 0 0px 24px #88C9BF53;
  margin-bottom: 12px;
}
.hero p {
  color: #F5F8FC;
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero .cta.primary {
  font-size: 1.12rem;
  margin-top: 10px;
}

section {
  background: #1a2537;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 32px 0 #13326222;
  transition: box-shadow .22s, background .22s;
}
section:hover {
  box-shadow: 0 6px 36px 0 #88C9BF33;
  background: #202e45;
}

/* --- 5. Feature Grid, Cards, Content Flex --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 240px;
  background: #22304d;
  border-radius: 20px;
  box-shadow: 0 4px 20px #21609311;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .23s, transform .2s, background .16s;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid #88C9BF44;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 32px #88C9BF4c;
  background: #21609325;
  transform: translateY(-7px) scale(1.015);
  border-color: #88C9BF85;
}
.feature-grid img {
  height: 54px;
  width: 54px;
  margin-bottom: 16px;
}
.feature-grid h3 {
  text-align: center;
  color: #F5F8FC;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #192339;
  border-radius: 15px;
  box-shadow: 0 2px 12px #21609311;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s, background .18s;
  border: 2px solid #88C9BF22;
}
.card:hover {
  box-shadow: 0 8px 28px #88C9BF3c;
  background: #22304d;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #F5F8FC;
  color: #22304d !important;
  padding: 24px 20px;
  border-radius: 17px;
  box-shadow: 0 2px 18px #88C9BF2e;
  min-width: 250px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border-left: 5px solid #88C9BF;
  font-size: 1rem;
  transition: box-shadow .19s, transform .14s;
}
.testimonial-card span,
.testimonial-card p {
  color: #22304d !important;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px #21609344;
  transform: translateY(-5px) scale(1.02);
}

.inspiration-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0;
}
.inspiration-quotes blockquote {
  flex: 1 1 260px;
  min-width: 190px;
}

.community-highlights {
  background-color: #21609314;
  border-radius: 13px;
  padding: 18px 20px;
  margin: 20px 0;
  color: #e2eef7;
  font-size: 1.07rem;
}
.community-highlights p {
  margin-bottom: 12px;
}

.team-list {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.team-member {
  background: #22304d;
  border-radius: 13px;
  box-shadow: 0 2px 10px #2160931a;
  padding: 20px 16px;
  min-width: 180px;
  flex: 1 1 170px;
  margin-bottom: 20px;
  color: #F5F8FC;
}
.team-member h3 {
  margin-bottom: 10px;
}

.activity-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 32px;
}
.activity-filters button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #216093;
  color: #F5F8FC;
  border: none;
  padding: 8px 18px;
  border-radius: 18px;
  margin: 2px 0;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 6px #21609322;
  transition: background .19s, color .15s;
}
.activity-filters button:hover, .activity-filters button:focus {
  background: #88C9BF;
  color: #192339;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 8px;
}
.search-bar input[type="text"] {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: #22304d;
  color: #F5F8FC;
  font-size: 1rem;
}
.search-bar button {
  background: #216093;
  color: #F5F8FC;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: not-allowed;
  opacity: 0.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  font-size: 1.07rem;
}
.contact-details img {
  height: 22px;
  width: 22px;
  margin-right: 10px;
  vertical-align: middle;
}
.map-placeholder {
  margin: 32px 0 14px;
  padding: 18px 0;
  background: #192339;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.map-placeholder img {
  height: 45px;
  width: 45px;
}

.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;
}

.text-section {
  background: #192339;
  border-radius: 11px;
  padding: 18px 18px;
  color: #F5F8FC;
  margin: 24px 0;
  font-size: 1rem;
}

/* --- 6. Footer --- */
footer {
  background: #192339;
  border-top: 4px solid #216093;
  box-shadow: 0 -4px 22px #21609319;
  padding-top: 32px;
  padding-bottom: 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: #F5F8FC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
}
.footer-brand img {
  height: 38px;
  width: 38px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #88C9BF;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 17px;
  margin-bottom: 7px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #22304d;
  transition: background .13s;
}
.social-links a:hover, .social-links a:focus {
  background: #88C9BF;
}
.social-links img {
  height: 22px;
  width: 22px;
}

/* --- 7. Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  z-index: 2100;
  bottom: 0; left: 0; right: 0;
  background: #192339;
  border-top: 4px solid #216093;
  color: #F5F8FC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  gap: 18px;
  box-shadow: 0 -6px 32px #21609337;
  animation: banner-fade-in .55s cubic-bezier(.44,1.53,.77,.97);
}
@keyframes banner-fade-in {
  from { transform: translateY(100px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 320px;
  font-size: 1rem;
  color: #F5F8FC;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.cookie-banner-buttons button {
  background: #216093;
  color: #F5F8FC;
  border: none;
  border-radius: 20px;
  padding: 10px 23px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, color .17s;
}
.cookie-banner-buttons button:hover, .cookie-banner-buttons button:focus {
  background: #88C9BF;
  color: #1a2537;
}
.cookie-banner-buttons .cookie-settings {
  background: transparent;
  border: 2px solid #88C9BF;
  color: #88C9BF;
}
.cookie-banner-buttons .cookie-settings:hover, .cookie-banner-buttons .cookie-settings:focus {
  background: #88C9BF;
  color: #1a2537;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-55%) scale(1);
  z-index: 2200;
  background: #22304d;
  border-radius: 20px;
  min-width: 310px;
  max-width: 95vw;
  box-shadow: 0 12px 65px #21609377;
  padding: 32px 22px 24px 22px;
  transition: opacity .29s, transform .27s;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-drop-in .31s cubic-bezier(.47,1.44,.83,1.0);
}
@keyframes modal-drop-in {
  from { transform: translate(-50%,-30%) scale(.84); opacity: 0; } to { transform: translate(-50%,-55%) scale(1); opacity: 1; }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-modal-header h2 {
  font-size: 1.5rem;
  color: #F5F8FC;
  margin-bottom: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #88C9BF;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-modal-category {
  background: #1a2537;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #F5F8FC;
}
.cookie-modal-category-toggle input[type="checkbox"] {
  width: 28px;
  height: 18px;
  -webkit-appearance: none;
  background: #22304d;
  border-radius: 11px;
  outline: none;
  transition: background .19s;
  cursor: pointer;
  border: 2px solid #88C9BF99;
  position: relative;
}
.cookie-modal-category-toggle input[type="checkbox"]:checked {
  background: #88C9BF;
  border-color: #216093;
}
.cookie-modal-category-toggle input[type="checkbox"]:before {
  content: "";
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 12px; height: 12px;
  border-radius: 7px;
  background: #fff;
  transition: left .19s;
}
.cookie-modal-category-toggle input[type="checkbox"]:checked:before {
  left: 11px;
  background: #216093;
}
.cookie-modal-category.essential {
  opacity: 0.70;
}
.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-footer button {
  background: #216093;
  color: #F5F8FC;
  border: none;
  border-radius: 18px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, color .11s;
}
.cookie-modal-footer button:hover, .cookie-modal-footer button:focus {
  background: #88C9BF;
  color: #1a2537;
}

/* Hide modal/banner by default - must be handled via JS */
.cookie-banner, .cookie-modal { display:none; }
.cookie-banner.show, .cookie-modal.show { display: flex; }

/* --- 8. Responsive & Adaptive Layout --- */
@media (max-width: 1023px) {
  .feature-grid, .content-grid, .testimonials, .team-list, .card-container, .inspiration-quotes {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid > div, .card, .testimonial-card, .team-member, .card-content {
    min-width: 0px;
    width: 100%;
    max-width: 100%;
  }
  section { padding: 32px 6px; margin-bottom: 40px; }
  .hero { padding: 42px 0 28px 0; margin-bottom: 32px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 6px; padding-right: 6px; }
  .hero h1 { font-size: 2rem; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .contact-details { font-size: 0.99rem; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .hero { padding: 20px 0 16px 0; }
}

/* --- 9. Focus/Accessibility --- */
a, button, input[type="text"], .cta {
  outline: none;
  transition: box-shadow .13s;
}
a:focus, .cta:focus, button:focus {
  box-shadow: 0 0 0 2px #88C9BF66;
}

/* --- 10. Misc --- */
::-webkit-input-placeholder {color: #88C9BF88;}
::-moz-placeholder {color: #88C9BF88;}
:-ms-input-placeholder {color: #88C9BF88;}
::placeholder {color: #88C9BF88;}

/* Hide disabled elements' border for cleaner look */
input[disabled], button[disabled] {
  opacity: 0.5;
  background: #22304d44 !important;
  color: #88C9BF92 !important;
  cursor: not-allowed;
}

/* --- MODERN NEON/TECH EFFECTS --- */
.cta.primary, .activity-filters button {
  box-shadow: 0 0 0 0 #88C9BFAA, 0 0 14px #88C9BF44 inset;
}
.cta.primary:hover, .activity-filters button:hover {
  box-shadow: 0 0 13px 2px #88C9BFcc, 0 0 25px #21609366 inset;
  text-shadow: 0 0 6px #F5F8FC33;
}

section, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .3s, background-color .2s, border-color .18s;
}

/* --- Z-Index Guide ---
header: 10
mobile-menu: 120+
cookie-banner: 2100
cookie-modal: 2200
--- */