/* GLADREX — gladrex.com
   Eine Datei, keine Abhängigkeiten, keine externen Ressourcen.
   Keine Webfonts von Dritten: Systemschriften halten die Seite schnell und
   die Datenschutzerklärung kurz. */

:root {
  --bg:      #fbfaf8;
  --surface: #ffffff;
  --fg:      #1b1917;
  --muted:   #6b645d;
  --line:    #e3ded7;
  --accent:  #a8542a;
  --tbd-bg:  #fde68a;
  --tbd-fg:  #6b3d05;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #141312;
    --surface: #1c1a19;
    --fg:      #eceae7;
    --muted:   #9a938b;
    --line:    #2e2b28;
    --accent:  #dd8a5c;
    --tbd-bg:  #6b3d05;
    --tbd-fg:  #fde68a;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Kopf ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}

.wordmark:hover { color: var(--accent); }

.site-head .tagline {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Inhalt ---------- */

main { padding: 3.5rem 0 4rem; }

h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  font-weight: 650;
}

h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 3.5rem 0 1.25rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 2rem 0 0.5rem;
}

p { margin: 0 0 1.1rem; }

.lead {
  font-size: 1.12rem;
  color: var(--fg);
  max-width: 36rem;
}

.muted { color: var(--muted); }

small, .small { font-size: 0.88rem; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

ul { padding-left: 1.15rem; margin: 0 0 1.1rem; }
li { margin-bottom: 0.4rem; }

dl { margin: 0 0 1.5rem; }
dt { font-weight: 650; margin-top: 1rem; }
dd { margin: 0; color: var(--fg); }

/* ---------- Produktkarten ---------- */

.products {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}

.product h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }

.product .kind {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.product p { margin-bottom: 0.9rem; }
.product p:last-of-type { margin-bottom: 0; }

.product .visit {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.product .visit:hover { text-decoration: underline; }
.product .visit::after { content: " \2192"; }

/* ---------- Fuß ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-foot nav a { margin-right: 1.1rem; }
.site-foot nav a:last-child { margin-right: 0; }

/* ---------- Platzhalter ----------
   Bewusst auffällig: was so markiert ist, darf nicht live gehen. */

.tbd {
  background: var(--tbd-bg);
  color: var(--tbd-fg);
  padding: 0.05em 0.4em;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.92em;
}

/* ---------- Größere Viewports ---------- */

@media (min-width: 44rem) {
  h1 { font-size: 2.3rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .product:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
