/* ============================================================================
  VitalBewegung - Geometric Structured Style | 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, 
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
/* =========================================================================
  Brand Variables (with fallback)
========================================================================= */
:root {
  --brand-primary: #136743;
  --brand-primary-dark: #115333;
  --brand-secondary: #F5F5F5;
  --brand-accent: #A8CE60;
  --brand-accent-bis: #A5B72A;
  --font-display: 'Montserrat', Arial, 'Liberation Sans', sans-serif;
  --font-body: 'Roboto', Arial, 'Liberation Sans', sans-serif;
  --radius-card: 18px;
  --radius-btn: 10px;
  --shadow-card: 0 2px 12px 0 rgba(25,40,33,0.13);
  --shadow-hover: 0 4px 16px 0 rgba(19,103,67,0.19);
  --color-text: #18382E;
  --color-bg: #fff;
  --color-contrast: #1e412e;
  --color-border: #D6E1D9;
}
body {
  color: var(--color-text);
  background: var(--brand-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

/* =========================================================================
  Typography & Headings
========================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-primary-dark);
  line-height: 1.13;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 18px;
}
li {
  margin-bottom: 9px;
  line-height: 1.6;
  position: relative;
}
ul li img {
  margin-right: 10px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

/* =========================================================================
  Structured Layouts with Geometric/Structured Spacing
========================================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-secondary);
  border-radius: 24px;
  position: relative;
}
main > section:not(:last-child){
  box-shadow: var(--shadow-card);
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 24px 30px 24px;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow .16s cubic-bezier(.57,.13,.34,.91);
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

/* =========================================================================
  Nav, Header, and Branding
========================================================================= */
header {
  background: var(--brand-primary);
  border-bottom: 3px solid var(--brand-accent);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 18px;
}
.logo img {
  height: 55px;
  width: auto;
  display: block;
}
/* Main navigation */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 38px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-secondary);
  padding: 10px 6px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
}
.button.button-primary {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  border-radius: var(--radius-btn);
  padding: 13px 28px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: auto;
  margin-right: 8px;
  transition: background 0.23s, color 0.23s, box-shadow 0.15s;
  box-shadow: 0 2px 4px 0 rgba(19,103,67,0.10);
  border: 2px solid var(--brand-accent);
}
.button.button-primary:hover, .button.button-primary:focus {
  background: var(--brand-primary-dark);
  color: var(--brand-secondary);
  border-color: var(--brand-primary-dark);
  box-shadow: 0 3px 9px 0 rgba(19,103,67,0.14);
}
.button.button-secondary {
  background: var(--brand-primary-dark);
  color: #fff;
  border-radius: var(--radius-btn);
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.21s, color 0.21s, box-shadow .12s;
  box-shadow: 0 2px 4px 0 rgba(19,103,67,0.06);
  border: 2px solid var(--brand-primary-dark);
}
.button.button-secondary:hover, .button.button-secondary:focus {
  background: #fff;
  color: var(--brand-primary-dark);
  border-color: var(--brand-accent);
  box-shadow: 0 2px 10px 0 rgba(19,103,67,0.11);
}

/* Hamburger - Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  border-radius: 10px;
  padding: 6px 14px;
  margin-left: 16px;
  transition: background .19s, color .19s, box-shadow .12s;
  z-index: 104;
  border: 2px solid var(--brand-accent);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  outline: none;
}

/* Mobile Navigation Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--brand-secondary);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform .34s cubic-bezier(.68,-0.13,.22,1.29);
  box-shadow: 0 0 16px 0 rgba(19,103,67,0.17);
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--brand-primary);
  color: var(--brand-secondary);
  border-radius: 10px;
  font-size: 2rem;
  font-weight: 700;
  margin: 18px 26px 16px 0;
  border: 2px solid var(--brand-primary);
  transition: background .19s, color .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-left: 36px;
  margin-top: 36px;
  font-family: var(--font-display);
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--brand-primary-dark);
  font-weight: 600;
  padding: 10px 8px 10px 2px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
}

/* Hide main nav, show burger on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .button.button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================================================================
  Footer
========================================================================= */
footer {
  background: var(--brand-primary-dark);
  color: var(--brand-secondary);
  padding: 36px 0 24px 0;
  font-size: 1.01rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-nav a {
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  transition: color .16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
}
.footer-contact {
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.7;
}
.footer-contact img {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  margin-right: 9px;
}

/* =========================================================================
  Cards and Testimonials (Geometric/Structured)
========================================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 18px 20px 26px;
  background: #fff;
  color: #1e412e;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  max-width: 440px;
  min-width: 250px;
  font-size: 1.11rem;
  transition: box-shadow .19s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-card p {
  font-size: 1.11rem;
  margin-bottom: 8px;
  color: var(--brand-primary-dark);
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97em;
  color: var(--brand-primary);
  letter-spacing: .012em;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px;
  margin-bottom: 20px;
}

.card, .testimonial-card, .feature-item {
  /* Prevents overlap, ensures geometric structure */
  box-sizing: border-box;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 20px;
}

/* =========================================================================
  Text & Image Section Layout
========================================================================= */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* Team Profiles */
.team-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-profile {
  background: var(--brand-secondary);
  border-radius: 13px;
  box-shadow: 0 1px 7px 0 rgba(25,40,33,0.07);
  padding: 24px 14px 21px 22px;
  font-size: 1.03rem;
  min-width: 210px;
  flex: 1 1 230px;
  margin-bottom: 18px;
  border-left: 5px solid var(--brand-accent-bis);
}
.team-profile h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

/* Blog Cards */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.blog-post {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  flex: 1 1 270px;
  min-width: 245px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-accent);
  transition: box-shadow .18s;
}
.blog-post h2 {
  font-size: 1.31rem;
  margin-bottom: 10px;
}
.blog-post p {
  font-size: 1rem;
}
.blog-post a.button {
  margin-top: 12px;
}
.blog-post:hover {
  box-shadow: var(--shadow-hover);
  border-left-color: var(--brand-primary-dark);
}
.blog-categories {
  margin-top: 22px;
}
.blog-categories h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* =========================================================================
  Contact & Map layout
========================================================================= */
.contact-details, .address-map {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  min-width: 230px;
  margin-bottom: 20px;
  flex: 1 1 230px;
}
.contact-details h2, .address-map h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;  
}
.contact-details p, .address-map p {
  margin-bottom: 7px;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
}
.contact-details img, .address-map img {
  width: 20px;
  margin-right: 12px;
}

/* =========================================================================
  Cookie Consent Banner & Modal
========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-secondary);
  color: var(--brand-primary-dark);
  box-shadow: 0 -2px 18px 0 rgba(19,103,67,0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
  padding: 20px 18px;
  font-size: 1rem;
  gap: 20px;
  animation: cookieSlideIn .5s ease-out;
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%);}
  to {transform: translateY(0);}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .button,
.cookie-banner button {
  border-radius: 9px;
  padding: 10px 21px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  border: 2px solid var(--brand-primary-dark);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  border-color: var(--brand-accent);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--brand-primary-dark);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--brand-primary-dark);
  color: #fff;
  border-color: var(--brand-primary-dark);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  z-index: 2100;
  background: rgba(28,64,46,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s;
}
.cookie-modal-overlay.open {
  visibility: visible;
  opacity: 1;
}

.cookie-modal {
  background: #fff;
  color: var(--brand-primary-dark);
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(19,103,67,.17);
  max-width: 400px;
  width: 95vw;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalPop .36s;
}
@keyframes modalPop {
  from {transform: scale(0.92); opacity: 0.6;}
  to   {transform: scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.31rem;
  margin-bottom: 16px;
  text-transform: none;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal .toggle {
  width: 38px; height: 20px;
  border-radius: 12px;
  background: var(--brand-secondary);
  border: 2px solid var(--brand-primary-dark);
  position: relative;
  transition: background .18s;
}
.cookie-modal .toggle input[type=checkbox] {
  display: none;
}
.cookie-modal .toggle span {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--brand-accent);
  border-radius: 50%;
  transition: left .18s;
}
.cookie-modal .toggle input[type=checkbox]:checked + span {
  left: 18px;
  background: var(--brand-primary-dark);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .button {
  padding: 10px 22px;
  border-radius: 9px;
  border: 2px solid var(--brand-accent);
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  font-weight: 700;
  font-family: var(--font-display);
}
.cookie-modal .button.cancel {
  background: #fff;
  color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}
.cookie-modal .button:hover, .cookie-modal .button:focus {
  background: var(--brand-primary-dark);
  color: #fff;
}

/* =========================================================================
  Responsive Design - Mobile First
========================================================================= */
/* Structural: stack section content on mobile */
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper, .content-grid, .card-container, .blog-list, .team-overview {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .card, .testimonial-card, .feature-item, .team-profile, .blog-post {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  main > section {
    border-radius: 0;
    padding: 28px 6px;
    margin-bottom: 38px;
    box-shadow: none;
  }
  .footer-nav {
    gap: 14px;
    font-size: 1rem;
  }
}
@media (max-width: 630px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-contact, .footer-nav {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.98rem;
  }
}

/* =========================================================================
  Micro-interactions & Visual Accents (Geometric)
========================================================================= */
ul li::before, ol li::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background: var(--brand-accent);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: baseline;
  margin-top: 0;
}
ul li img {
  margin-right: 6px;
  margin-left: -12px;
}

.button, button {
  transition: background .19s, color .19s, box-shadow .13s, border-color .14s;
}

/* Links highlight effect */
a {
  transition: color .13s, border-color .13s, background .21s;
}

a:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Modal scrollbar fix */
.cookie-modal::-webkit-scrollbar {
  width: 8px;
}
.cookie-modal::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 6px;
}

/* =========================================================================
  Utility classes
========================================================================= */
.hide {display: none !important;}
.nowrap {white-space: nowrap;}
.text-center {text-align: center;}
.text-right {text-align: right;}
.text-uppercase {text-transform: uppercase;}

/* =========================================================================
  Animations
========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  *, *::before, *::after {
    transition: background 0.23s, color 0.21s, box-shadow 0.15s, border-color 0.16s;
  }
}

/* =========================================================================
  Accessibility
========================================================================= */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

/* =========================================================================
  Geometric/Angular Font Emphasis
========================================================================= */
body, p, li, span, label {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6, nav a, .button {
  font-family: var(--font-display);
  font-variant-caps: all-petite-caps;
  letter-spacing: 0.025em;
}

/* END OF FILE */
