/* =====================================
   RESET & NORMALIZE (Modern CSS Reset)
   ====================================== */
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;
}

/* Set core body defaults and inherit fonts */
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #F3F7FA;
  color: #21405A;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}

/* ===============================
   BRAND FONTS
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21405A;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p, li, .text-section {
  font-size: 1rem;
  color: #21405A;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}


/* =============================
   CONTAINER/SECTION SPACING
   ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(33, 64, 90, 0.05), 0 1.5px 9px rgba(33,64,90,.05);
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .24s cubic-bezier(.4,0,.2,1), box-shadow .22s;
  display: flex;
  flex-direction: column;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 400px;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-6px) scale(1.020);
  box-shadow: 0 8px 32px rgba(33,64,90,.13), 0 2px 9px rgba(33,64,90,.09);
}
.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 28px 20px 28px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 18px rgba(33,64,90,0.06);
  position: relative;
  max-width: 560px;
  transition: box-shadow .18s, transform .22s;
}
.testimonial-details {
  font-size: .98rem;
  color: #21405A;
  opacity: 0.85;
  font-style: italic;
  margin-top: 2px;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-card span {
  color: #8AC6D1;
  font-size: 1.05em;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  margin-bottom: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.map-placeholder {
  background: #eaf4f8;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 24px;
}

/* =============================
   COLORED/GRADIENT BACKGROUNDS
   ============================= */
.hero {
  background: linear-gradient(120deg, #8AC6D1 15%, #F3F7FA 100%);
  min-height: 350px;
  display: flex;
  align-items: stretch;
  margin-bottom: 60px;
}
.hero .container {
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  min-height: 350px;
}
.hero h1, .hero p {
  color: #21405A;
}

#features, #why-glacial-soul {
  background: linear-gradient(60deg, #F3F7FA 35%, #8AC6D1 130%);
  border-radius: 26px;
}


/* =============================
   HEADER / NAVIGATION BAR
   ============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 27px rgba(33,64,90,.04);
  padding: 0;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  color: #21405A;
  border-radius: 20px;
  transition: background .13s, color .13s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8AC6D1;
  color: #21405A;
}
.cta-primary {
  background: linear-gradient(95deg, #8AC6D1 65%, #21405A 170%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 11px 28px;
  border-radius: 48px;
  box-shadow: 0 4px 16px rgba(33,64,90,0.11);
  transition: background .19s, box-shadow .16s, transform .13s;
  margin-left: 16px;
  letter-spacing: 0.01em;
  outline: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(93deg, #21405A 68%, #8AC6D1 170%);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 26px rgba(33,64,90,0.17);
}
.cta-secondary {
  border: 2px solid #8AC6D1;
  color: #21405A;
  background: #f3f7fa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 48px;
  margin-top: 20px;
  transition: background .19s, border-color .13s, color .14s, box-shadow .20s;
  box-shadow: none;
  display: inline-block;
  outline: none;
  margin-bottom: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #8AC6D1;
  color: #fff;
  border-color: #21405A;
  box-shadow: 0 4px 16px rgba(33,64,90,0.08);
}

.mobile-menu-toggle {
  background: #8AC6D1;
  color: #21405A;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s, color .13s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21405A;
  color: #fff;
}

/* ==========================
   MOBILE NAVIGATION MENU
   ========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 2000;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #8AC6D1 58%, #21405A 170%);
  box-shadow: 0 5px 32px rgba(33,64,90,0.18);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #fff;
  color: #21405A;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin: 22px 22px 0 0;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(33,64,90,0.07);
  transition: background .13s, color .18s;
  z-index: 2040;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21405A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 32px 0 0 0;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  transition: color .16s, text-shadow .19s;
  border-radius: 12px;
  text-shadow: 0 1px 6px rgba(33,64,90,.14);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #21405A;
  background: #fff;
  text-shadow: none;
  padding-left: 8px;
}

/* ================================
   PAGE SECTION STYLES
   ================================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}

ul li {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  height: 26px;
  width: 26px;
  margin-right: 7px;
}

address {
  font-style: normal;
  margin: 12px 0;
  color: #21405A;
}


/* ================================
   FEATURE, CARD, AND LIST SECTIONS
   ================================ */
#features ul, #why-glacial-soul ul, #services ul, #angebote-grid ul, #benefits ul, #values-methods ul, #beratung-details ul, #beratung-ablauf ul, #workshop-list ul, #workshop-benefits ul, .legal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 4px;
}
#features ul li, #why-glacial-soul ul li {
  font-size: 1.08rem;
  font-weight: 500;
  align-items: center;
}

/* ================================
   TESTIMONIALS
   ================================ */
#testimonials .testimonial-card {
  margin-bottom: 24px;
  border-left: 4px solid #8AC6D1;
  background: #fff;
  color: #21405A;
  box-shadow: 0 4px 28px rgba(33,64,90,0.07);
}
#testimonials h2 {
  margin-bottom: 30px;
}


/* ===========================
   FOOTER
   =========================== */
footer {
  background: #21405A;
  color: #fff;
  font-size: 1rem;
  padding: 48px 0 30px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer-main-nav, .footer-legal-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-main-nav a, .footer-legal-nav a {
  color: #fff;
  opacity: 0.93;
  font-size: 1rem;
  border-radius: 9px;
  padding: 4px 0px 4px 0;
  transition: background .12s, color .12s;
}
.footer-main-nav a:hover, .footer-legal-nav a:hover {
  background: #8AC6D1;
  color: #21405A;
}
.footer-contact {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-branding img {
  margin-top: 14px;
  height: 49px;
  width: auto;
}


/* ================================
   LEGAL PAGES
   ================================ */
.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(33,64,90,0.07);
  padding: 36px 32px 36px 32px;
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2.1rem;
}
.legal h2 {
  font-size: 1.26rem;
  margin-top: 25px;
  margin-bottom: 12px;
}

/* ================================
   COOKIE CONSENT BANNER
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #21405A;
  border-top: 1px solid #8AC6D1;
  box-shadow: 0 -5px 30px rgba(33,64,90,0.10);
  z-index: 3200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 24px 32px;
  gap: 24px;
  width: 100vw;
  max-width: 100vw;
  font-size: 1rem;
  transition: transform .28s, opacity .18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 24px;
  border-radius: 29px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(33,64,90,0.07);
  transition: background .17s, color .14s, box-shadow .18s;
  cursor: pointer;
  outline: none;
  border: none;
  margin-left: 0;
}
.cookie-btn.accept {
  background: #8AC6D1;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #21405A;
  color: #fff;
}
.cookie-btn.settings {
  background: #f3f7fa;
  color: #21405A;
  border: 2px solid #8AC6D1;
}
.cookie-btn.settings:hover {
  background: #8AC6D1;
  color: #21405A;
}
.cookie-btn.reject {
  background: #fff;
  color: #8AC6D1;
  border: 2px solid #8AC6D1;
}
.cookie-btn.reject:hover {
  background: #8AC6D1;
  color: #fff;
}

/* ===============================
   COOKIE PREFERENCES MODAL
   =============================== */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 3400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,64,90,0.14);
  justify-content: center;
  align-items: center;
  transition: opacity .18s;
}
#cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 56px rgba(33,64,90,.11);
  padding: 38px 36px 32px 36px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.cookie-modal-content h3 {
  color: #21405A;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-modal-content label {
  font-size: 1rem;
  font-weight: 500;
  color: #21405A;
}
.cookie-modal-content input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #8AC6D1;
  border-radius: 6px;
  margin-right: 10px;
}
.cookie-modal-content .cookie-category.disabled label {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* ===========================
   FORM ELEMENTS
   =========================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 9px;
  border: 1.5px solid #8AC6D1;
  background: #fff;
  transition: border-color .14s, box-shadow .13s;
  box-shadow: 0 1px 8px rgba(33,64,90,0.05);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #21405A;
  box-shadow: 0 2px 16px rgba(33,64,90,0.10);
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1099px) {
  .container {
    max-width: 980px;
  }
  .footer-links {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 90vw;
  }
  .footer-links {
    flex-direction: column;
    gap: 9px 0;
  }
  .footer-branding {
    margin-top: 26px;
  }
}
@media (max-width: 768px) {
  
  /* Navigation: Show burger, hide menu */
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  header .container {
    gap: 6px;
    padding: 12px 10px 12px 10px;
  }
  .hero, .hero .container {
    min-height: 210px;
  }
  .hero {
    margin-bottom: 38px;
    padding: 22px 0 28px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .content-wrapper, .section {
    padding: 22px 6px 22px 6px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px 0;
  }
  .footer-contact {
    margin-bottom: 10px;
  }
  .footer-branding img {
    margin-top: 22px;
    height: 38px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  /* Card and content layouts:
     (Flex direction column on small screens) */
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact, .footer-branding {
    font-size: 0.92rem;
  }
}
@media (max-width: 680px) {
  h1 {font-size: 1.48rem;}
  h2 {font-size: 1.15rem;}
  .container, .content-wrapper, .section, .legal {
    padding: 13px 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7px 18px 10px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
  .cookie-modal-content {
    padding: 23px 13px 17px 14px;
    width: 98vw;
    max-width: 98vw;
  }
}

@media (max-width: 519px) {
  .card {
    padding: 15px !important;
    min-width: 80vw;
  }
}

/* ===============================
   UTILITIES
   =============================== */
.gap-8 { gap:8px; }
.gap-16 {gap:16px;}
.gap-24 {gap:24px;}
.gap-32 {gap:32px;}
.m-b-20 {margin-bottom:20px;}
.m-b-30 {margin-bottom:30px;}
.m-b-40 {margin-bottom:40px;}
.white-bg {background:#fff;}
.gradient-bg {
  background: linear-gradient(111deg, #8AC6D1 20%, #21405A 94%);
}
.rounded {border-radius:18px;}
.centered {justify-content:center; align-items:center;}

/* ===============================
   CUSTOM SCROLLBAR (for sidebar / testim.)
   =============================== */
html {
  scrollbar-width: thin;
  scrollbar-color: #8AC6D1 #F3F7FA;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F3F7FA;
}
::-webkit-scrollbar-thumb {
  background: #8AC6D1;
  border-radius: 6px;
}

/* ================
   Micro-interactions
   ================ */
.card, .cta-primary, .cta-secondary, .testimonial-card, .footer-main-nav a, .footer-legal-nav a, .main-nav a, .cookie-btn, .mobile-nav a {
  transition: box-shadow .18s, transform .16s, background .17s, color .17s;
}

/* ================
   Accessibility
   ================ */
:focus-visible {
  outline: 2.5px solid #8AC6D1;
  outline-offset: 1.5px;
}

/* ================
   Z-INDEX LAYERS FOR MENUS & BANNERS
   ================ */
header { z-index: 100; position: relative; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3200; }
#cookie-modal { z-index: 3400 !important; }

/* ================
   Hide visually (for a11y)
   ================ */
.sr-only { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
