@import 'fonts.css';
@import 'variables.css';
@import 'components/nav.css';
@import 'components/footer.css';
@import 'components/hero.css';
@import 'components/buttons.css';
@import 'components/cards.css';
@import 'components/home.css';
@import 'components/about.css';
@import 'components/welcome.css';
@import 'components/detox.css';
@import 'components/partner.css';
@import 'components/digital.css';
@import 'components/contact.css';
@import 'components/cookie.css';
@import 'components/blog.css';
@import 'components/shop.css';

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

/* ── Typografie ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: var(--lh-tight);
  color: var(--color-text);
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* ── Layout-Helfer ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-text);
}

.section {
  padding-block: var(--space-3xl);
}

.section--sm {
  padding-block: var(--space-2xl);
}

/* ── Text-Helfer ── */
.text-center  { text-align: center; }
.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

/* ── Prose (Fließtext-Seiten wie Impressum, Datenschutz) ── */
.prose h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); font-size: var(--fs-xl); }
.prose h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); font-size: var(--fs-lg); }
.prose p, .prose li { line-height: var(--lh-loose); margin-bottom: var(--space-md); }
.prose ul, .prose ol { padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.prose li { margin-bottom: var(--space-xs); }
.prose strong { font-weight: var(--fw-bold); color: var(--color-text); }
.prose a { text-decoration: underline; }

/* ── Trennlinie ── */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-xl);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding-inline: var(--space-md); }
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }
  .section { padding-block: var(--space-2xl); }
  .section--sm { padding-block: var(--space-xl); }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-md); }
  h1 { font-size: var(--fs-xl); }
  h2 { font-size: var(--fs-lg); }
  h3 { font-size: var(--fs-md); }
  .section { padding-block: var(--space-xl); }
  .section--sm { padding-block: var(--space-lg); }
}
