/* ===============================================================
   Logic Peak Gesundheit - style.css
   Elegant Classic Responsive CSS with Flexbox Only
   ================================================================= */
/* RESET & BASELINE NORMALIZATION */
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,
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #FFFFFF;
  color: #223344;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #29547A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #127355;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.2em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #29547A;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  color: #3d4b60;
}
.tagline, .headline {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  color: #127355;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.subheadline {
  font-size: 1.1rem;
  color: #617484;
  margin-bottom: 18px;
  font-family: 'Roboto', Georgia, serif;
}
.confirmation-message {
  font-size: 1.15rem;
  color: #127355;
  margin-bottom: 20px;
  font-style: italic;
}

strong {
  color: #29547A;
  font-weight: 600;
}

/* GLOBAL CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(41, 84, 122, 0.045);
}

/* HEADER/NAVIGATION */
header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 14px 0 rgba(41, 84, 122, 0.05);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #29547A;
  padding: 7px 0;
  position: relative;
  transition: color 0.19s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  color: #127355;
}
.button-primary, .button-secondary {
  display: inline-block;
  border-radius: 22px;
  padding: 10px 32px 10px 32px;
  font-family: 'Montserrat', serif;
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 14px;
  text-align: center;
  box-shadow: 0 3px 16px 0 rgba(41, 84, 122, 0.035);
}
.button-primary {
  background: #29547A;
  color: #FFFFFF;
  border: 1px solid #29547A;
}
.button-primary:hover, .button-primary:focus {
  background: #127355;
  border-color: #127355;
  color: #fff;
  box-shadow: 0 5px 20px rgba(18, 115, 85, 0.13);
}
.button-secondary {
  background: #fff;
  color: #29547A;
  border: 1.5px solid #29547A;
}
.button-secondary:hover, .button-secondary:focus {
  background: #E2E9D8;
  color: #127355;
  border-color: #127355;
  box-shadow: 0 3px 16px 0 rgba(18,115,85,0.07);
}

/* Mobile burger menu */
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #29547A;
  cursor: pointer;
  z-index: 1601;
  margin-left: 14px;
  outline: none;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #127355;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 60px rgba(41,84,122,0.18);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #29547A;
  padding: 22px 20px 0 20px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 3000;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #127355;
}
.mobile-nav {
  padding: 10px 32px 32px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Montserrat', serif;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #223344;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid #E2E9D8;
  font-weight: 700;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2E9D8;
  color: #127355;
}

/* MAIN */
main {
  min-height: 70vh;
}

/* HERO SECTION */
.hero {
  background: #E2E9D8;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 6px 40px 0 rgba(41, 84, 122, 0.06);
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #29547A;
}
.hero .button-primary {
  margin-top: 17px;
  margin-left: 0;
}

/* FEATURES GRID */
.features {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  border: 1px solid #E2E9D8;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(41, 84, 122, 0.045);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 260px;
  padding: 32px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, border 0.18s;
  margin-bottom: 20px; /* CRITICAL SPACING */
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}
.feature-item:hover {
  border-color: #127355;
  box-shadow: 0 6px 28px rgba(18,115,85,0.11);
}

/* CALLOUT/ INFOBOX */
.callout {
  background: #E2E9D8;
  color: #29547A;
  font-size: 1.08rem;
  padding: 18px 26px;
  border-radius: 11px;
  margin-top: 18px;
  margin-bottom: 6px;
  box-shadow: 0 2px 12px rgba(41, 84, 122, 0.07);
  font-family: 'Roboto', serif;
}
.callout a {
  text-decoration: underline;
  color: #127355;
  font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1.5px solid #E2E9D8;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(41, 84, 122, 0.04);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  color: #29547A;
  font-style: italic;
  margin-right: 18px;
  line-height: 1.34;
}
.testimonial-meta {
  color: #1C9F78;
  font-weight: 500;
  font-size: 0.97rem;
  font-family: 'Roboto', serif;
}

/* SECTION CTA */
.cta {
  background: #29547A;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(41, 84, 122, 0.16);
  padding: 48px 0 48px 0;
  margin-bottom: 60px;
  text-align: center;
}
.cta .container, .cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta h2 {
  color: #fff;
  font-size: 2rem;
}
.cta p {
  color: #E2E9D8;
  font-size: 1.15rem;
}
.cta .button-primary {
  background: #1C9F78;
  color: #fff;
  border-color: #1C9F78;
}
.cta .button-primary:hover, .cta .button-primary:focus {
  background: #127355;
  border-color: #127355;
}

/* CARD & FLEX LAYOUTS (MANDATORY CSS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(41, 84, 122, 0.045);
  border: 1px solid #E2E9D8;
  padding: 28px 22px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TEAM AND VALUES LISTS (ueber-uns) */
.team-bios {
  margin-left: 0;
  list-style: none;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-bios strong {
  display: inline-block;
  min-width: 180px;
  color: #29547A;
  font-weight: 700;
}
.values-list {
  margin-left: 0;
  padding-left: 0;
  list-style: disc inside;
  font-family: 'Montserrat', serif;
  color: #127355;
  font-size: 1.06rem;
  margin-top: 8px;
  margin-bottom: 22px;
}
.values-list li {
  margin-bottom: 7px;
}

/* TEXT LISTS/GENERAL PAGE */
ul li, ol li {
  margin-bottom: 8px;
}
.text-section ul {
  margin-top: 10px;
}

/* CONTACT PAGE */
.contact-details {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.contact-details li {
  font-size: 1.01rem;
  color: #29547A;
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details a {
  color: #1C9F78;
  font-weight: 500;
}
.map-placeholder {
  padding: 22px 0 14px 0;
  text-align: left;
  color: #127355;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* FOOTER */
footer {
  background: #E2E9D8;
  color: #29547A;
  border-radius: 20px 20px 0 0;
  padding: 42px 0 28px 0;
  margin-top: 44px;
  box-shadow: 0 0 24px 0 rgba(41, 84, 122, 0.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 0 1 130px;
  margin-right: 24px;
}
.footer-brand img {
  width: 80px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1 1 130px;
}
.footer-nav a {
  color: #29547A;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #127355;
}
.footer-contact {
  flex: 2 1 210px;
  font-size: 0.97rem;
  color: #29547A;
  margin-bottom: 8px;
}
.footer-contact ul {
  list-style: none;
  padding-left: 0;
}
.footer-contact li {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
}
.footer-social img {
  width: 30px;
  height: 30px;
}

/* ========== COOKIE CONSENT BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 26px 16px 18px 16px;
  background: #fff;
  border-top: 2px solid #E2E9D8;
  box-shadow: 0 -2px 18px rgba(41,84,122,0.06);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.36s cubic-bezier(.96,.09,.72,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: #223344;
  max-width: 640px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-banner button {
  min-width: 120px;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 18px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 2px 8px 0 rgba(41, 84, 122, 0.06);
}
.cookie-banner .accept {
  background: #1C9F78;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #127355;
}
.cookie-banner .reject {
  background: #E2E9D8;
  color: #29547A;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #29547A;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #127355;
  border: 1.5px solid #1C9F78;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #1C9F78;
  color: #fff;
}

/* COOKIE MODAL  */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41, 84, 122, 0.28);
  z-index: 40000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 38px 32px 26px 32px;
  max-width: 420px;
  box-shadow: 0 10px 48px 0 rgba(41, 84, 122, 0.11);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.cookie-modal-content h3 {
  color: #29547A;
  margin-bottom: 2px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.cookie-category-row label {
  font-size: 1.01rem;
  color: #127355;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #E2E9D8;
  border-radius: 12px;
  border: 1.5px solid #1C9F78;
  cursor: pointer;
  position: relative;
  transition: background 0.17s;
  display: flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
  box-shadow: 0 1px 4px 0 rgba(41, 84, 122, 0.12);
}
.cookie-toggle input:checked + span {
  left: 20px;
  background: #1C9F78;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal-actions button {
  padding: 8px 20px;
  border-radius: 17px;
  border: none;
  font-family: 'Montserrat', serif;
  font-weight: 700;
}
.cookie-modal-actions .save {
  background: #1C9F78;
  color: #fff;
}
.cookie-modal-actions .cancel {
  background: #E2E9D8;
  color: #29547A;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #29547A;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #127355;
}

/* ============= MISC ELEMENTS ================== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #E2E9D8;
  padding: 9px 13px;
  margin-bottom: 15px;
  outline: none;
  transition: border 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: #127355;
}

/* ERROR & SUCCESS STATES */
input.error, textarea.error {
  border-color: #db4437;
}
input.success, textarea.success {
  border-color: #1C9F78;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid {
    gap: 20px;
  }
  .footer-contact { min-width: 185px; }
}
@media (max-width: 992px) {
  .content-wrapper { max-width: 97vw; }
  .footer-contact { min-width: unset; }
}
@media (max-width: 900px) {
  .footer-nav { flex: 1 1 100px; }
  .footer-contact { flex: 2 1 120px; }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-nav, .footer-contact, .footer-brand, .footer-social {
    margin-right: 0; margin-left: 0;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  .content-wrapper {
    padding: 0 2px;
  }
  header .container {
    padding: 13px 9px 13px 9px;
  }
  header nav {
    display: none;
  }
  .button-primary {
    margin-left: 6px;
    padding: 8px 22px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .cta, .cta .container, .cta .content-wrapper {
    padding: 32px 0 32px 0;
    gap: 8px;
  }
  .hero {
    padding: 44px 0 26px 0;
  }
  .footer-brand img { width: 60px; }
  .section {
    padding: 30px 7px;
  }
  .testimonials .content-wrapper {
    gap: 11px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding: 15px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-social { margin-left: 0; }
  .footer-nav, .footer-contact, .footer-brand, .footer-social {
    margin-bottom: 11px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 6px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  .cta h2 { font-size: 1.1rem; }
  .feature-item { padding: 20px 8px 18px 8px; min-width: 150px; }
  .hero { padding: 30px 0 16px 0; }
  .section { padding: 20px 2px; }
  .cookie-modal-content { padding: 23px 7px 17px 7px; }
}
/* ========== END ========== */
