/* VitalStuttgart Monochrome Sophisticated CSS
   Brand: Modern, elegant, inviting. Palette: Black, white, gray (with subtle accent for accessibility). 
   Fonts: Montserrat (display), Open Sans (body).
   All containers use flexbox layouts only. Responsive, mobile-first. 
   Includes mobile nav burger and cookie consent styles. 
   Spacing, hierarchy, and card/template containers strictly according to requirements.
   No CSS Grid, no column props, and no clamp().
*/

/* RESET & BASE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f8f8f8;
  color: #191919;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button, .cta-button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
ul, li {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 600;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
}
p {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/* LAYOUT CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper { 
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HERO SECTION */
.hero {
  background: #fff;
  box-shadow: 0 6px 36px rgba(8,16,32,0.08);
  border-radius: 18px;
  margin-bottom: 32px;
  padding: 48px 0 32px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  margin: 0 auto;
}
.hero h1 {
  color: #101010;
  margin-bottom: 22px;
}

/* NAVIGATION + HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 12px rgba(18,18,18,0.02);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  padding: 8px 12px;
  border-radius: 6px;
  margin-right: 0;
  transition: background 0.16s, color 0.16s;
}
header nav a.cta-button {
  margin-left: 20px;
  background: #18181a;
  color: #fafafa;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a.cta-button:hover, header nav a.cta-button:focus {
  background: #353535;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.13);
}
header nav a:hover, header nav a:focus {
  background: #ededed;
  color: #000;
}
header nav a img {
  height: 36px;
  margin-right: 15px;
  vertical-align: middle;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #151515;
  background: #eaeaea;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  z-index: 85;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1d1d1d;
  color: #fafafa;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  height: 100vh;
  background: #181818;
  color: #fafafa;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.79,.2,.04,1);
  box-shadow: -3px 0 38px rgba(0,0,0,0.17);
  z-index: 100;
  align-items: flex-start;
  padding: 36px 26px 18px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 28px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.12s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #181818;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 90px;
  width: 100%;
}
.mobile-nav a {
  color: #fafafa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 14px 0;
  border-radius: 5px;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #262626;
  color: #C2780A;
}

@media (max-width: 1100px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  header nav a.cta-button { font-size: 0.98rem; padding: 8px 16px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* CONTENT SECTIONS, CARDS, LAYOUTS */
.features, .core-values, .service-grid, .feature-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 8px;
      flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1.5px solid #e3e3e3;
  border-radius: 15px;
  padding: 28px 24px 22px 24px;
  min-width: 225px;
  max-width: 345px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 10px rgba(16,20,24,0.045);
  transition: box-shadow 0.15s, border 0.15s;
}
.feature-item:hover {
  border: 1.5px solid #18181a;
  box-shadow: 0 9px 22px rgba(0,0,0,0.14);
}
.feature-item h3 a {
  color: #1d212a;
  transition: color 0.17s; 
}
.feature-item h3 a:hover {
  color: #18187a;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  opacity: 0.90;
  filter: grayscale(100%) contrast(1.12);
}

.service-grid {
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.service-card {
  min-width: 220px;
  flex: 1 1 215px;
  background: #fafbfc;
  border: 1.5px solid #e2e2e2;
  border-radius: 15px;
  padding: 30px 24px 24px 24px;
  margin-bottom: 20px; 
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.045);
  transition: box-shadow 0.15s, border 0.16s;
}
.service-card:hover {
  border: 1.5px solid #18187a;
  box-shadow: 0 8px 20px rgba(8,8,8,0.17);
}
.service-card h3 {
  color: #15161a;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #333;
  background: #ececec;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 1.08rem;
  margin-top: 6px;
  font-weight: 500;
  display: inline-block;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 1px 10px rgba(16,20,24,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px 20px;
  min-width: 218px;
  flex: 1 1 215px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.12s, border 0.18s;
}
.card:hover {
  border: 1.5px solid #18187a;
  box-shadow: 0 10px 22px rgba(18,18,18,0.13);
}

/* GRID-LIKE LAYOUTS */
.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; }
  .feature-grid, .service-grid { flex-direction: column; gap: 18px;}
  .card-container { flex-direction: column; gap: 18px; }
}

.text-section, .mini-guide {
  margin-bottom: 10px;
  width: 100%;
}

.mini-guide {
  background: #fafbfc;
  border: 1px solid #ebebeb;
  border-radius: 9px;
  padding: 18px 20px;
  margin-top: 20px;
}

/* TESTIMONIALS */
.testimonials {
  background: #f7f7f7;
  padding: 40px 0;
  margin-bottom: 60px;
  border-radius: 18px;
}
.testimonials .content-wrapper {
  gap: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 20px;
  background: #fff;
  border-left: 5px solid #18187a;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: border 0.14s, box-shadow 0.13s;
}
.testimonial-card p {
  font-size: 1.10rem;
  color: #181818;
  font-weight: 500;
  flex: 1 1 80%;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #555;
  font-size: 0.97rem;
  font-style: italic;
  min-width: 130px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px rgba(15,20,25,0.13);
  border-left: 5px solid #353535;
}

/* CTA Section */
.cta {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px rgba(20,20,20,0.07);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2 { color: #111; }

/* CTA Button */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  background: #18181a;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.10rem;
  padding: 13px 34px;
  margin-top: 22px;
  box-shadow: 0 4px 13px rgba(0,0,0,0.09);
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.15s, box-shadow 0.17s, transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: #353535;
  color: #C2780A;
  box-shadow: 0 12px 34px rgba(30,30,30,0.16);
  transform: translateY(-2px) scale(1.02);
}

/* LISTS & UL */
ul { margin-left: 22px; margin-bottom: 20px; }
li {
  list-style-type: disc;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #232323;
}
.text-section ul { margin-bottom: 0; }

/* LEGAL Page Layouts */
.legal {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(18,18,18,0.06);
  padding: 38px 0 36px 0;
  margin-bottom: 50px;
}
.legal h1 { margin-bottom: 32px; }
.legal h2 { font-size: 1.30rem; color: #151622; }
.legal h3 { font-size: 1.13rem; color: #1a1a1d; }
.text-section { margin-bottom: 28px; }

/* ADDRESS BLOCK */
.address-block {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-top: 22px;
  font-size: 0.97rem;
  color: #4b4b4b;
}
.address-block a {
  color: #18187a;
  font-weight: 500;
}
.address-block a:hover { text-decoration: underline; }

/* FOOTER */
footer {
  background: #191a1d;
  color: #dedede;
  width: 100%;
  padding: 38px 0 22px 0;
  margin-top: auto;
  flex-shrink: 0;
  box-shadow: 0 -2px 24px rgba(18,18,18,0.05);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
footer nav a {
  color: #e1e1e1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.13s, background 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: #232323;
}

/* Spacing for Main Content Sections */
.about-short, .about-team, .core-values, .services-overview,
.kontakt-info, .kontakt-standort, .service-detail, .ernaehrung-tipps, .schlaf-tipps, .bewegung-tipps, .mentale-tipps, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(18,18,18,0.045);
}


/* Confirmation Page Styling */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
}
.confirmation h1 {
  color: #101010;
  margin-bottom: 20px;
}
.confirmation p {
  color: #222;
  font-size: 1.12rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 140;
  width: 100vw;
  background: #111112;
  color: #fafafa;
  box-shadow: 0 -1.5px 10px rgba(12,12,12,0.18);
  padding: 20px 10px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: banner-slideup 0.44s cubic-bezier(.69,.24,.17,1);
}
@keyframes banner-slideup {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.02rem;
  color: #dedede;
  flex: 1 1 240px;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-banner button {
  background: #fafafa;
  color: #18181a;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  margin-left: 0;
  transition: background 0.13s, color 0.14s, box-shadow 0.12s;
  box-shadow: 0 1px 6px rgba(8,8,8,0.08);
}
.cookie-banner .accept-cookies {
  background: #18181a;
  color: #fafafa;
}
.cookie-banner .accept-cookies:hover, .cookie-banner .accept-cookies:focus {
  background: #353535;
  color: #fff;
}
.cookie-banner .reject-cookies {
  background: #fff;
  color: #101010;
}
.cookie-banner .reject-cookies:hover, .cookie-banner .reject-cookies:focus {
  background: #ededed;
}
.cookie-banner .cookie-settings {
  background: #232323;
  color: #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #18187a;
  color: #fff;
}

/* Cookie modal styling */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 150;
  background: rgba(14,14,16,0.52);
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  display: flex;
  animation: cookie-modal-fadein 0.3s cubic-bezier(.79,.2,.04,1);
}
@keyframes cookie-modal-fadein {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  color: #15161a;
  padding: 36px 32px 30px 32px;
  border-radius: 18px;
  max-width: 95vw;
  width: 430px;
  box-shadow: 0 8px 44px rgba(14,14,22,0.19);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
  margin-bottom: 3px;
  font-weight: 700;
  color: #101010;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  color: #232323;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  padding: 7px;
  transition: background 0.12s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #ededed;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f7;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.cookie-category.essential {
  opacity: 0.67;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #c6c6c6;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #18187a;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.13s;
}
.cookie-switch:checked:before {
  transform: translateX(17px);
}

/* Cards, Mini-Sections */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Responsive media queries */
@media (max-width: 660px) {
  .container { padding: 0 8px; }
  .cta-button, .cookie-banner button, .service-price, .feature-item, .service-card {
    font-size: 0.98rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero, .about-short, .services-overview, .about-team, .core-values, .service-detail, .ernaehrung-tipps, .schlaf-tipps, .bewegung-tipps, .mentale-tipps, .confirmation {
    padding: 25px 5px;
  }
  .footer nav, .cookie-banner .cookie-actions {
    gap: 9px;
  }
  .address-block { font-size: 0.92rem; }
}

/* Subtle focus effect for accessibility */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #18187a;
  outline-offset: 3px;
}

/* Hide scrollbars in mobile menu for iOS/Android */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Animations for section fade in */
.section, .hero, .cta, .testimonials, .about-short, .services-overview, .legal {
  animation: section-fadein 0.62s cubic-bezier(.77,.19,.16,1);
}
@keyframes section-fadein {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: none; }
}

/* End of CSS */
