:root {
  --bg-color: #f5f3ef;
  --text-main: #111111;
  --text-muted: #555555;
  --accent: #222222;
  --accent-light: #e5e0d8;
  --white: #ffffff;
  --border: #dcd7ce;

  --nav-height: 80px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --spacing-section: 120px;
  --spacing-section-mobile: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
}

.btn-ghost:hover {
  background-color: rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

section { padding: var(--spacing-section) 0; }

@media (max-width: 768px) {
  section { padding: var(--spacing-section-mobile) 0; }
}

header {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero {
  position: relative;
  min-height: calc(90vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: 4rem;
  background-image: url('assets/hero_workout.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: 0;
}

.hero h1, .hero p, .hero .eyebrow { color: var(--white); }
.hero p { font-size: 1.25rem; color: #dddddd; }

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-actions .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}

.hero-actions .btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
  .hero::before { background: rgba(0,0,0,0.6); }
  .hero .container {
    text-align: center;
    margin: 0 auto;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions { justify-content: center; }
}

/* Subpage Hero */
.hero-subpage {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background-color: var(--bg-color);
  color: var(--text-main);
  text-align: center;
}
.hero-subpage .container {
  max-width: 800px;
  margin: 0 auto;
}
.hero-subpage h1 {
  color: var(--text-main);
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.hero-subpage p {
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
}
.hero-subpage .hero-actions {
  justify-content: center;
}

/* Problem Compact Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img-wrapper {
  height: 180px;
  width: 100%;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.card-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Solution Section */
.solution-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.solution-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.solution-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.solution-item p {
  margin-bottom: 0;
  flex-grow: 1;
}

.solution-link {
  display: inline-flex;
  margin-top: 1.5rem;
  font-weight: 600;
  align-items: center;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
}
.solution-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}
.solution-link:hover::after {
  transform: translateX(4px);
}

/* Audience Section */
.audience {
  background: var(--text-main);
  color: var(--white);
  padding: 6rem 0;
  border-radius: 20px;
  margin: 0 5%;
}

.audience h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.audience p { color: #aaaaaa; }

.audience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.audience-checklist {
  list-style: none;
  font-size: 1.1rem;
  color: inherit;
}

.audience-checklist li {
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.audience-checklist li:hover {
  opacity: 1;
  transform: translateX(5px);
}
.audience-checklist li::before {
  content: '✓';
  font-weight: bold;
}

@media (max-width: 768px) {
  .audience-content { grid-template-columns: 1fr; }
}

/* Founders Section */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founders-img {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .founders-grid { grid-template-columns: 1fr; }
}

/* Footer Section */
footer {
  text-align: center;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

footer p {
  margin-left: auto;
  margin-right: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom {
  font-size: 0.75rem;
  color: #aaaaaa;
}

/* Modal */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; z-index: 1000;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-color); padding: 3rem; border-radius: 12px;
  width: 90%; max-width: 500px; position: relative;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }

.close-btn {
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 2rem; background: none; border: none;
  cursor: pointer; color: var(--text-main);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.875rem;
}
.form-control {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 4px; font-size: 1rem; background: var(--white); font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--text-main); }
.modal .btn-primary { width: 100%; margin-top: 1rem; }

/* --- SUBPAGE SPECIFIC CLASSES --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: steps-counter;
}
.step-item {
  position: relative;
  background: var(--white);
  padding: 2.5rem 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.step-item::before {
  counter-increment: steps-counter;
  content: counter(steps-counter);
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--text-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  border: 4px solid var(--bg-color);
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.highlight-section {
  background: var(--text-main);
  color: var(--white);
  padding: 6rem 0;
  border-radius: 20px;
  margin: 0 5%;
}
.highlight-section h2 { color: var(--white); }
.highlight-section p { color: #dddddd; }

.callout-box {
  background: var(--accent-light);
  padding: 1.5rem;
  border-left: 4px solid var(--text-main);
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.feature-card .icon { color: var(--text-main); }
.feature-card h3 { font-size: 1.25rem; margin: 0; line-height: 1.3; }
.feature-card p { font-size: 1rem; margin: 0; }

.result-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}
.result-card .icon { color: var(--text-main); flex-shrink: 0; }

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
details.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
details.faq-item summary {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-muted);
}

.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #e5e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px dashed #dcd7ce;
}

/* --- NAVIGATION MENU OVERLAY --- */
.header-main {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.close-nav-btn {
  position: absolute;
  top: 1.5rem;
  right: 5%;
  font-size: 4rem;
  font-weight: 300;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}
.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}
.overlay-nav a {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: opacity 0.2s ease;
}
.overlay-nav a:hover {
  opacity: 0.6;
}
@media (max-width: 768px) {
  .overlay-nav a { font-size: 2rem; }
}

/* --- LAYOUT VARIATIONS (ERNÄHRUNG & JOURNAL) --- */
.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  counter-reset: v-steps-counter;
}
.v-step-item {
  position: relative;
  background: var(--white);
  padding: 2.5rem 2.5rem 2.5rem 5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.v-step-item::before {
  counter-increment: v-steps-counter;
  content: counter(v-steps-counter);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--text-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  border: 6px solid var(--bg-color);
}
@media (max-width: 768px) {
  .v-step-item {
    padding-left: 2rem;
    padding-top: 4rem;
  }
  .v-step-item::before {
    top: -20px;
    left: 20px;
    transform: none;
  }
}

.highlight-light {
  background: var(--accent-light);
  color: var(--text-main);
  padding: 6rem 0;
  border-radius: 20px;
  margin: 0 5%;
}
.highlight-light h2 { color: var(--text-main); }
.highlight-light p { color: var(--text-muted); }
.highlight-light .audience-checklist li::before { color: var(--accent-light); background: var(--text-main); }

/* Editorial / Magazine Style (Journal) */
.editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--text-main);
}
.editorial-item {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 4rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.editorial-item h3 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 0;
}
.editorial-item p {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-main); /* Darker for magazine feel */
}
@media (max-width: 768px) {
  .editorial-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }
}

.magazine-number-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 2rem;
}
.num-feature {
  display: flex;
  gap: 1.5rem;
}
.num-feature .big-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  opacity: 0.15; /* Extremely subtle watermark style */
  font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
  .magazine-number-grid { grid-template-columns: 1fr; }
}
