/* seiten.css — die öffentlichen Seiten (T6, #2907).
   HELL UND SCHLICHT (SaaS-Standard P1): kein `prefers-color-scheme: dark`,
   kein Framework. Eigenständig neben styles.css (die gehört der App). */

:root {
  --grund: #f4f6f9;
  --text: #1f2933;
  --leise: #52606d;
  --linie: #d9dee5;
  --karte: #ffffff;
  --akzent: #1c4f8a;
  --akzent-weich: #e6eef8;
  --warn: #8a4b00;
  --warn-weich: #fdf3e3;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  color: var(--akzent);
}

/* Kopf */
.kopf {
  background: var(--karte);
  border-bottom: 1px solid var(--linie);
}

.kopf .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.marke {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
}

.navigation a,
.fuss-links a {
  margin-left: 14px;
  text-decoration: none;
  color: var(--akzent);
}

.navigation a:first-child,
.fuss-links a:first-child {
  margin-left: 0;
}

/* Haupt */
.haupt {
  padding: 32px 0 48px;
}

.haupt h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}

.haupt h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--linie);
}

.haupt h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.4rem;
}

.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--leise);
}

.unterzeile {
  font-size: 1.1rem;
  color: var(--leise);
}

.definition {
  font-size: 1.05rem;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.4rem 0 1rem;
}

.knopf {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--akzent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.knopf.zweit {
  background: var(--akzent-weich);
  color: var(--akzent);
}

.klein {
  font-size: 0.92rem;
  color: var(--leise);
}

/* Fakten-Listen */
.fakten {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1.2rem;
  margin: 0.8rem 0;
}

.fakten dt {
  font-weight: 600;
}

.fakten dd {
  margin: 0;
}

/* Tabellen */
.tabelle {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

.tabelle th,
.tabelle td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--linie);
}

.tabelle thead th {
  font-weight: 600;
}

/* Rechtstext-Seiten */
.rechtstext table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

.rechtstext th,
.rechtstext td {
  text-align: left;
  vertical-align: top;
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--linie);
}

.rechtstext blockquote {
  margin: 0.8rem 0;
  padding: 0.6rem 0.9rem;
  background: var(--warn-weich);
  border-left: 4px solid var(--warn);
  border-radius: 0 6px 6px 0;
  color: var(--warn);
  font-weight: 600;
}

.entwurf {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--warn-weich);
  border: 1px solid var(--warn);
  border-radius: var(--radius);
  color: var(--warn);
  font-weight: 600;
}

/* Stand und Fuß */
.stand {
  font-weight: 600;
}

.fuss {
  border-top: 1px solid var(--linie);
  background: var(--karte);
}

.fuss .wrap {
  padding-top: 20px;
  padding-bottom: 24px;
}

.fuss-gruppe {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
  color: var(--leise);
}

.fehler h1 {
  font-size: 1.5rem;
}

/* Die Inhalte der Welle B (T7, #2908): hell und schlicht (P1). */
.vertrauen {
  font-size: 1rem;
  color: var(--leise);
}

.abschnitt {
  margin-top: 0.5rem;
}

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 14px;
  margin: 0.6rem 0;
}

.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.karte h3 {
  margin-top: 0;
}

.schritte li {
  margin-bottom: 0.5rem;
}

.brotkrumen {
  font-size: 0.9rem;
  color: var(--leise);
  margin-bottom: 0.5rem;
}

.tabelle-huelle {
  overflow-x: auto;
}

/* Befehlsblöcke: hell, damit der Text auch bei Sonne lesbar bleibt. */
pre.code {
  background: #f0f3f7;
  border: 1px solid var(--linie);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}


/* Mobil: 16 px Rand ist schon gesetzt; keine horizontale Scrollleiste. */
@media (max-width: 40rem) {
  .fakten {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .fakten dd {
    margin-bottom: 0.6rem;
  }

  .tabelle,
  .rechtstext table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .navigation a {
    margin-left: 10px;
  }
}
