/* ========== DESIGN-VARIABLEN ========== */

:root {
  /* Dark theme (default) */
  --bg-dark: #111111;
  --bg-dark-alt: #181818;
  --card-dark: #181818;
  --border-dark: #2a2a2a;

  --text-main-dark: #e5e5e5;
  --text-soft-dark: #b3b3b3;
  --text-muted-dark: #888888;

  /* Light theme */
  --bg-light: #f7f7f7;
  --bg-light-alt: #f1f1f1;
  --card-light: #ffffff;
  --border-light: #dddddd;

  --text-main-light: #222222;
  --text-soft-light: #555555;
  --text-muted-light: #777777;

  /* Accent – Grün (gesund, ruhig) */
  --accent: #22c55e;
  --accent-soft: #4ade80;
}

/* ========== RESET & BASIS ========== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  font-size: 15.5px;   /* FEINER! */
}

img {
  display: block;
}

/* Standard: Dark Theme */

body {
  background: var(--bg-dark);
  color: var(--text-main-dark);
}

/* Layout helper */

.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

/* ========== HEADER ========== */

.site-header {
  background: #101010;
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main-dark);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.logo-img {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: contain;
}

/* NAV */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  color: var(--text-soft-dark);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

/* ========== HERO ========== */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: #111111;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 40vh;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-sub {
  font-size: 1rem;  /* KLEINER! */
  margin-top: 0.7rem;
  margin-bottom: 1rem;
  color: var(--text-main-dark);
  max-width: 34rem;
}

.hero-text {
  max-width: 36rem;
  margin-bottom: 2rem;
  color: var(--text-soft-dark);
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #06230f;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 0.6rem;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-main-dark);
}

/* ========== SECTIONS ========== */

.section {
  padding: 3.2rem 0;
  background: var(--bg-dark-alt);
}

.section.alt {
  background: #141414;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.3rem;
}

.section p {
  max-width: 45rem;
  margin-bottom: 0.8rem;
}

/* ========== LISTS ========== */

.list {
  margin: 0.8rem 0 1.5rem;
  padding-left: 1.2rem;
}

.list li {
  margin-bottom: 0.35rem;
}

/* ========== CARDS ========== */

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-dark);
  border-radius: 14px;
  border: 1px solid var(--border-dark);
  padding: 1.4rem 1.5rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.card.note {
  background: #151515;
  border-left: 4px solid var(--accent);
}

/* ========== EXPERIMENTS NOTE ========== */

.experiments-note {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.experiments-note a {
  color: var(--accent-soft);
  text-decoration: none;
}

.experiments-note a:hover {
  text-decoration: underline;
}

/* ========== VIDEO GRID ========== */

.video-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.video-embed {
  margin-top: 0.8rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* ========== CONTACT ========== */

.contact-email a {
  color: var(--accent-soft);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* ========== FOOTER ========== */

.site-footer {
  border-top: 1px solid var(--border-dark);
  background: #101010;
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.footer-social {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-soft-dark);
}

.footer-social a {
  text-decoration: none;
  color: var(--accent-soft);
}

.footer-social a:hover {
  text-decoration: underline;
}

/* ========== GLOBAL LINKS ========== */

a {
  color: inherit;
}

/* ========== LIGHT THEME (System-Preference) ========== */

@media (prefers-color-scheme: light) {
  body {
    background: var(--bg-light);
    color: var(--text-main-light);
  }

  .site-header {
    background: #ffffff;
    border-bottom-color: var(--border-light);
  }

  .logo {
    color: var(--text-main-light);
  }

  .nav a {
    color: var(--text-soft-light);
  }

  .hero {
    background: #ffffff;
  }

  .hero-sub {
    color: var(--text-main-light);
  }

  .hero-text {
    color: var(--text-soft-light);
  }

  .btn.ghost {
    border-color: var(--border-light);
    color: var(--text-main-light);
  }

  .section {
    background: var(--bg-light);
  }

  .section.alt {
    background: var(--bg-light-alt);
  }

  .card {
    background: var(--card-light);
    border-color: var(--border-light);
  }

  .card.note {
    background: #f5f5f5;
  }

  .video-embed {
    border-color: var(--border-light);
  }

  .site-footer {
    background: #ffffff;
    border-top-color: var(--border-light);
    color: var(--text-muted-light);
  }

  .footer-social {
    color: var(--text-soft-light);
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 1rem;
  }

  .video-embed iframe {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .video-embed iframe {
    height: 180px;
  }
}
