/* ========================
  Lebensbalance Hildesheim
  Gradient Modern Style CSS
  ======================== */

/* --- 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #f7f7f7 0%, #e8f6ef 100%);
  color: #1f2e39;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #57CC99;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #354f52;
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
  color: #22577A;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: stretch;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #e8f6ef 70%, #57CC99 110%);
  box-shadow: 0 6px 24px rgba(34,87,122,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="Lebensbalance Hildesheim"] {
  height: 38px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22577A;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  background: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e8f6ef;
  color: #57CC99;
}
.cta-button.primary {
  background: linear-gradient(90deg, #22577A 65%, #57CC99 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin-left: 30px;
  box-shadow: 0 3px 12px rgba(34,87,122,0.08);
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  letter-spacing: 1px;
  position: relative;
  z-index: 21;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: linear-gradient(90deg, #57CC99 70%, #22577A 110%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(34,87,122,0.15);
  outline: none;
}
.button, button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #22577A;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 21;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #57CC99;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(96deg, #57CC99 15%, #F7F7F7 45%, #e8f6ef 100%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 6px 24px rgba(34,87,122,0.08);
  margin-bottom: 60px;
  padding: 60px 0 56px 0;
  width: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #22577A;
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.hero .subheadline {
  color: #22577A;
  margin-bottom: 22px;
  font-weight: 500;
}

/* --- SECTION SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 2rem;
}

/* --- FLEXBOX LAYOUTS (MANDATORY PATTERNS) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(34,87,122,0.07);
  padding: 28px;
  min-width: 270px;
}
.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;
  background: #F7F7F7;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(34,87,122,0.06);
  color: #1f2e39;
  font-size: 1rem;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID & CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,87,122,0.05);
  padding: 24px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(34,87,122,0.09);
  transform: translateY(-4px) scale(1.022);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

/* --- SERVICE LIST / CARD STYLES --- */
.service-list,
.team-bios,
.value-statements,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,87,122,0.06);
  flex: 1 1 240px;
  min-width: 230px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-list > div:hover {
  box-shadow: 0 8px 32px rgba(34,87,122,0.09);
  transform: translateY(-4px) scale(1.022);
}
.service-list h3 {
  font-size: 1.1rem;
}
.service-list span {
  color: #57CC99;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
}
.team-bios > div {
  background: #f7f7f7;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(34,87,122,0.05);
  flex: 1 1 200px;
  min-width: 200px;
  padding: 16px 18px;
}
.value-statements > li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(34,87,122,0.05);
  padding: 16px 18px;
  margin-bottom: 0;
}

/* --- TESTIMONIALS --- */
.testimonials-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
  font-size: 1rem;
  color: #1f2e39;
  background: #fff;
  border: 1.5px solid #e8f6ef;
  box-shadow: 0 3px 16px rgba(34,87,122,0.09);
  padding: 24px 18px 20px 18px;
  margin-bottom: 0;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px rgba(87,204,153,0.10);
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card p {
  color: #1f2e39;
  font-size: 1rem;
  margin-bottom: 0.75em;
}
.testimonial-card span {
  color: #57CC99;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
}

/* --- CONTACT / DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details img {
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

.map-placeholder {
  background: #f7f7f7;
  border-radius: 13px;
  padding: 18px 21px;
  box-shadow: 0 1px 4px rgba(34,87,122,0.04);
  margin-top: 18px;
}

.service-info span {
  color: #22577A;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #22577A 75%, #57CC99 100%);
  color: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  padding: 35px 0 14px 0;
  margin-top: 60px;
  box-shadow: 0 -6px 24px rgba(34,87,122,0.08);
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 14px 0 0 0;
}
footer nav a {
  color: #fff;
  background: rgba(34,87,122,0.13);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.18s;
  font-size: 1rem;
}
footer nav a:hover {
  background: rgba(87,204,153,0.22);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 0 0;
  font-size: 0.98rem;
  align-items: center;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
}
footer .copyright {
  margin-top: 18px;
  font-size: 0.93rem;
  color: #caf0f8;
}
footer img[alt="Lebensbalance Hildesheim"] {
  height: 36px;
}

/* --- MOBILE MENU & ANIMATION --- */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #22577A 75%, #57CC99 110%);
  z-index: 1000;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(.77,.2,.05,1.0);
  opacity: 0.98;
  box-shadow: 0 14px 44px rgba(34,87,122,0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 22px 10px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1001;
}
.mobile-menu-close:focus {
  outline: 2px solid #57CC99;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 3vw 12px 0;
  border-radius: 9px;
  background: none;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.080);
  color: #57CC99;
  outline: none;
}

/* Hide main-nav & show mobile nav toggle on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button.primary {
    margin-left: 0;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22577A;
  color: #fff;
  z-index: 1200;
  padding: 20px 14px 24px 14px;
  box-shadow: 0 -7px 38px rgba(34,87,122,0.13);
  gap: 20px;
  font-size: 1rem;
  flex-wrap: wrap;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: banner-in 0.65s cubic-bezier(.77,.2,.05,1);
}
@keyframes banner-in {
  from { transform: translateY(140%); opacity: 0.3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-right: 24px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  background: #57CC99;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  margin-left: 8px;
  margin-right: 7px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, color 0.2s, transform 0.18s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #22577A;
  color: #57CC99;
  transform: translateY(-2px) scale(1.05);
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.6px solid #57CC99;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #57CC99;
  color: #fff;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,87,122,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  animation: fadeIn 0.35s cubic-bezier(.77,.2,.05,1.0);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #22577A;
  padding: 32px 28px;
  border-radius: 22px;
  box-shadow: 0 9px 44px rgba(34,87,122,0.16);
  min-width: 90vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.46s cubic-bezier(.77,.2,.05,1.0);
}
@keyframes modalIn {
  from { transform: scale(0.92) translateY(74px); opacity: 0.1; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #22577A;
  font-size: 1.28rem;
  margin-bottom: 6px;
}
.cookie-category {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #e8f6ef;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.23s;
}
.cookie-toggle:checked {
  background: #57CC99;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 2px 5px rgba(34,87,122,0.08);
  transition: left 0.23s;
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .cookie-btn-block {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 20px;
  border: none;
  background: #57CC99;
  color: #fff;
}
.cookie-modal .cookie-btn.reject {
  background: #e8f6ef;
  color: #22577A;
}
.cookie-modal .cookie-btn.reject:hover, .cookie-modal .cookie-btn.reject:focus {
  background: #22577A;
  color: #fff;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #22577A;
  font-size: 1.5rem;
  align-self: flex-end;
  cursor: pointer;
}
.cookie-modal .close-modal:focus {
  outline: 2px solid #57CC99;
}

/* --- RESPONSIVE --- */
@media (max-width: 920px) {
  .container {
    padding: 0 3vw;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 16px 10px 15px 16px;
  }
  .service-list > div, .team-bios > div, .testimonial-card {
    min-width: 175px;
    padding: 16px 10px 13px 15px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero {
    padding: 32px 0 28px 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 1rem;
  }
  .feature-grid, .service-list, .team-bios, .testimonial-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px 10px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  /* mobile menu covers all */
  .mobile-menu {
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 15px;
  }
  .hero {
    border-radius: 10px;
    padding-top: 19px;
    padding-bottom: 17px;
  }
  .container {
    padding: 0 7px;
  }
  .feature-grid > div, .service-list > div {
    min-width: 0;
    max-width: 98vw;
    padding: 12px 5px 10px 9px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 99vw;
    padding: 12px 7px 8px 9px;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.cta-button,
button,
.main-nav a,
footer nav a,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.17s, transform 0.14s;
}
button:active, .cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #57CC99;
  outline-offset: 2px;
}

/* --- SCROLLBAR STYLE --- */
::-webkit-scrollbar { width: 10px; background: #e8f6ef; }
::-webkit-scrollbar-thumb { background: #57CC99; border-radius: 8px; }

/* --- UTILITIES: SPACING/GAPS --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-0 { margin-top: 0 !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }

/* ========== END OF CSS ========== */