/*
  GLIDEFRAME BALANCE - SOFT PASTEL CSS
  Responsive, modern, mobile-first, flexbox-only.
  Brand fonts: Montserrat + Open Sans.
  Brand colors: #355C7D (primary), #95A5A6 (secondary), #F9E79F (accent) + soft pastel palette.
*/

/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2C3E50;
  background-color: #FAF9F6;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  transition: background 0.3s;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #355C7D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7766C6;
}
ul, ol {
  padding-left: 1.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #355C7D;
  line-height: 1.15;
}
h1 { font-size: 2.3rem; margin-bottom: 0.8em; }
h2 { font-size: 1.7rem; margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.2em; color: #6678A2; }

/* CONTAINER & LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX LAYOUTS */
.features-grid, .card-container, .card-grid, .footer-contact, .footer-social, .footer-nav, .content-grid, .reminder-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div, .feature-item {
  background: #FFFFFFCC;
  border-radius: 22px;
  box-shadow: 0 2px 14px 0 rgba(53,92,125,0.04);
  padding: 22px 20px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 24px 0 rgba(53,92,125,0.13);
  transform: translateY(-4px) scale(1.02);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  background: #FFFDFB;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(53,92,125,0.07);
  margin-bottom: 28px;
  border: 1px solid #F2E9FB;
  min-width: 0;
}

/* Responsive FLEX for text-image sections & content-grid */
.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;
}
.card {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(53,92,125,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HEADER / NAVIGATION */
header {
  background: linear-gradient(90deg, #F9E79F 3%, #AFCBFF 100%);
  box-shadow: 0 2px 20px 0 rgba(53,92,125,0.04);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 24px;
}
header img {
  height: 48px;
}
nav {
  display: flex;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #355C7D;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
  background: #F9E79F;
  color: #7766C6;
}
.cta-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #F9E79F;
  color: #355C7D;
  font-size: 1.13rem;
  box-shadow: 0 4px 16px 0 rgba(53,92,125,0.10);
  transition: background 0.17s, color 0.17s, box-shadow 0.25s;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFE082;
  color: #34405e;
  box-shadow: 0 8px 24px 0 rgba(53,92,125,0.15);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #355C7D;
  cursor: pointer;
  margin-left: 14px;
  z-index: 20;
  outline: none;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #7766C6;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250, 249, 246, 0.97);
  box-shadow: 0 2px 18px 0 rgba(53,92,125,0.11);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 38px 0 0 0;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #355C7D;
  cursor: pointer;
  position: absolute;
  top: 20px; right: 22px;
  z-index: 1002;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  color: #7766C6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 38px;
  width: 100%;
  padding: 0 30px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  color: #355C7D;
  padding: 13px 6px;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  text-align: left;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9E79F;
  color: #7766C6;
}

/* HERO SECTION */
.hero {
  padding: 60px 0 44px 0;
  background: linear-gradient(150deg, #F9E79F 0%, #D9E7FB 100%);
  border-radius: 0 0 42px 42px;
  box-shadow: 0 8px 30px 0 rgba(53,92,125,0.09);
  margin-bottom: 44px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #3C4267;
  letter-spacing: 0.6px;
  text-shadow: 0 2px 6px rgba(170,160,226,0.06);
}
.hero p {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 1.25rem;
  color: #425772;
}

/* ABOUT, FEATURES, SERVICES, LEGAL, AND TIPS SECTIONS */
.about, .nutrition-tips, .sleep-tips, .movement-tips, .mental-tips, .local-resources, .services, .legal, .contact-info, .team, .thankyou {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(53,92,125,0.04);
  margin-bottom: 60px;
}
.about ul, .nutrition-tips ul, .services ul, .local-resources ul, .sleep-tips ul, .movement-tips ul, .mental-tips ul, .legal ul, .team-member-profile ul {
  margin-bottom: 18px;
  margin-top: 10px;
  padding-left: 1.4em;
}
.about li, .nutrition-tips li, .services li, .local-resources li, .sleep-tips li, .movement-tips li, .mental-tips li, .team-member-profile li {
  font-size: 1.02rem;
  padding-bottom: 7px;
  color: #715C7B;
}
.services ul li {
  padding: 13px 0;
  border-bottom: 1px solid #F2E9FB;
  font-size: 1.06rem;
  color: #536079;
}
.services ul li:last-child {
  border-bottom: none;
}
.services strong {
  color: #355C7D;
}

/* REMINDER BOXES */
.reminder-boxes {
  background: #E6F6FF;
  color: #355C7D;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(149,165,166,0.07);
  padding: 20px 20px 16px 20px;
  margin: 26px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #A7D8FE;
  font-size: 1rem;
  font-weight: 500;
}
.reminder-boxes strong, .reminder-boxes h4 {
  color: #267561;
  font-weight: 700;
}

/* TESTIMONIAL CARDS */
.testimonials h2 {
  text-align: center;
}
.testimonial-card {
  background: #FEF6FB;
  border: 1.5px solid #F4DADA;
  color: #345;
  min-width: 220px;
  max-width: 520px;
  margin: 0 auto 24px auto;
  position: relative;
  box-shadow: 0 4px 18px 0 rgba(149,165,166,0.09);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #3C3C4E;
  font-style: italic;
}
.testimonial-card strong {
  color: #937CDD;
  font-weight: 600;
}
.testimonial-card img {
  height: 21px;
  display: inline-block;
  margin-right: 2px;
}

/* CTA SECTIONS */
.cta, .thankyou .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.cta {
  background: linear-gradient(90deg, #FFE5EC 5%, #EDE7FF 95%);
  border-radius: 18px;
  margin: 54px 0 60px 0;
  box-shadow: 0 2px 18px 0 rgba(53,92,125,0.06);
}
.cta h2 {
  margin-bottom: 20px;
  color: #3C4267;
}
.thankyou h1 {
  margin-bottom: 30px;
}

/* LEGAL PAGES */
.legal h1, .legal h2 {
  margin-bottom: 16px;
}
.legal ul, .legal ol {
  margin-bottom: 24px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #F9E79F 3%, #AFCBFF 100%);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -6px 24px 0 rgba(53,92,125,0.04);
  margin-top: 60px;
  padding: 34px 0 22px 0;
  font-size: 0.98rem;
  color: #355C7D;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a, .footer-contact a {
  color: #355C7D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: underline;
  margin-right: 6px;
  margin-bottom: 6px;
}
.footer-nav a:hover {
  color: #937CDD;
  text-decoration: none;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #576779;
  font-size: 0.99rem;
  margin-bottom: 0;
}
.footer-contact img {
  height: 17px;
  margin-right: 3px;
}
.footer-social a {
  margin-right: 14px;
}
.footer-social img {
  height: 27px;
}

/* TEAM MEMBER PROFILES (ueber-uns) */
.team-member-profile {
  background: #F9FAFB;
  border-radius: 19px;
  box-shadow: 0 2px 8px 0 rgba(53,92,125,0.03);
  padding: 22px 18px 18px 18px;
  margin: 0 0 30px 0;
  width: 100%;
}
.team-member-profile h3 {
  color: #355C7D;
  font-size: 1.18rem;
  font-weight: 700;
}

/* CONTACT-INFO LAYOUT (kontakt.html) */
.contact-info .text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 23px;
}

/* FORMS (for potential forms or newsletter) */
input[type=text], input[type=email], textarea {
  padding: 12px 14px;
  border: 1.3px solid #C9CAE9;
  border-radius: 14px;
  font-size: 1rem;
  background: #FFF8F3;
  color: #355C7D;
  margin-bottom: 18px;
  outline: none;
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border 0.2s, box-shadow 0.18s;
}
input:focus, textarea:focus {
  border: 1.7px solid #9AD4FA;
  box-shadow: 0 2px 14px 0 rgba(149,205,227,0.10);
}
button, .btn {
  padding: 12px 28px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #95A5A6;
  color: #FFFFFF;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  margin-right: 12px;
  margin-bottom: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
button:hover, .btn:hover {
  background: #355C7D;
  color: #F9E79F;
  box-shadow: 0 4px 16px 0 rgba(53,92,125,0.17);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF8F5;
  color: #355C7D;
  border-top: 2.5px solid #F9E79F;
  box-shadow: 0 -4px 20px 0 rgba(149,165,166,0.07);
  font-size: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 18px 24px;
  animation: cookieBannerIn 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  min-width: 0;
}
@keyframes cookieBannerIn {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 12px;
  text-align: center;
  max-width: 600px;
  font-size: 1.04rem;
}
.cookie-banner .btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn-accept {
  background: #F9E79F;
  color: #355C7D;
  border: none;
  font-weight: 700;
}
.cookie-btn-accept:hover {
  background: #FFE082;
  color: #34405e;
}
.cookie-btn-reject {
  background: #F7B9B6;
  color: #683742;
  border: none;
  font-weight: 700;
}
.cookie-btn-reject:hover {
  background: #FFD6D4;
}
.cookie-btn-settings {
  background: #E6F6FF;
  color: #355C7D;
  border: none;
  font-weight: 700;
}
.cookie-btn-settings:hover {
  background: #A7D8FE;
}

/* COOKIE POPUP MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40,61,99,0.33);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #FAF9F6;
  border-radius: 22px;
  box-shadow: 0 4px 50px 0 rgba(53,92,125,0.18);
  min-width: 320px;
  max-width: 99vw;
  padding: 34px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.08rem;
}
.cookie-modal h2 {
  color: #355C7D;
  font-size: 1.19rem;
  margin-bottom: 22px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #F9E79F;
  width: 18px; height: 18px;
}
.cookie-essential {
  font-weight: 700;
  color: #355C7D;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal .btn {
  min-width: 120px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #355C7D;
  position: absolute;
  top: 20px; right: 24px;
  cursor: pointer;
}
.cookie-modal-close:focus {
  color: #7766C6;
}

/* UTILITIES & MICROINTERACTIONS */
@media (prefers-reduced-motion: no-preference) {
  a, button, .cta-primary, .feature-item, .testimonial-card, .card, input, textarea {
    transition: box-shadow 0.22s, background 0.17s, color 0.2s, transform 0.2s, border 0.2s;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1020px) {
  .container { max-width: 850px; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 6px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  .content-wrapper, .container {
    padding: 0 8px;
  }
  section, .section, .about, .nutrition-tips, .services, .legal, .contact-info, .team {
    padding: 30px 5px 28px 5px;
    margin-bottom: 36px;
  }
  .features-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-item, .card, .card-content {
    min-width: 0;
    padding: 18px 9px;
  }
  .testimonial-card {
    padding: 16px 13px;
    max-width: 99vw;
  }
  .text-image-section, .footer-contact, .footer-social, .footer-nav, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-social img { height: 21px; }
  .mobile-menu {
    padding-top: 24px;
  }
  .mobile-nav {
    padding: 0 12px;
    font-size: 1.07rem;
  }
}
@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: 1.04rem; }
  h2 { font-size: 1.25rem; }
  .features-grid .feature-item, .testimonial-card, .team-member-profile {
    min-width: 0;
    padding: 14px 6px;
  }
  .cta-primary { padding: 7px 12px; font-size: 0.98rem; }
  footer, .cookie-banner { font-size: 0.94rem; }
}

/* VISUAL STYLE: SOFT PASTEL SUPPORT SHADES */
:root {
  --pastel-blue: #AFCBFF;
  --pastel-purple: #EDE7FF;
  --pastel-yellow: #FFF7D4;
  --pastel-pink: #FFE5EC;
  --pastel-green: #E6F6FF;
  --pastel-mint: #E3F9E5;
  --brand-primary: #355C7D;
  --brand-secondary: #95A5A6;
  --brand-accent: #F9E79F;
}

/* Hide elements visually only for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* DL/FAQ Styles */
dl { margin-bottom: 20px; margin-top: 10px; }
dl dt {
  font-weight: 700;
  color: #355C7D;
  margin-bottom: 4px;
  margin-top: 8px;
}
dl dd {
  margin-left: 0;
  margin-bottom: 8px;
  color: #715C7B;
}

/* Misc - ensure no absolute positioning for content, only icons/close */

/* End of style.css file */
