/* ══════════════════════════════════════════════════════════════
   Schriften — lokal ausgeliefert.
   Keine Verbindung zu fonts.googleapis.com oder fonts.gstatic.com,
   keine Cookies, damit kein Cookie-Banner nötig.
   ══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700; /* Variable Font, deckt alle Schnitte ab */
  font-display: swap;
  src: url("/fonts/source-serif-4-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
}

/* ══════════════════════════════════════════════════════════════ */

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

:root {
  --paper: #fbfaf7;
  --paper-2: #f2efe8;
  --ink: #1a1a19;
  --ink-2: #3f3f3c;
  --ink-3: #6e6e69;
  --ink-4: #9a9a93;
  --rule: #dedbd2;
  --brand: #1f4d3f;
  --brand-2: #2d6b57;
  --flag: #8a5a1f;
  --flag-soft: #f7f0e5;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: min(100% - 2.5rem, 43rem);
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* die Seite selbst scrollt nie horizontal */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.135rem; /* ≈ 18px */
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Nur für Screenreader sichtbar. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  position: static;
  display: inline-block;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  background: var(--brand);
  color: #fff;
}

/* ── Masthead ── */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.logo span {
  color: var(--brand-2);
}
.mast-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 34rem) {
  .mast-tag {
    display: none;
  }
}

.crumb {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ink-4);
  padding: 1.1rem 0 0;
  letter-spacing: 0.02em;
}
.crumb a {
  color: var(--ink-3);
  text-decoration: none;
}
.crumb a:hover {
  color: var(--brand);
}

/* ── Artikelkopf ── */
.kicker {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin: 1.6rem 0 0.75rem;
}
h1 {
  font-size: clamp(1.95rem, 5.4vw, 3rem);
  line-height: 1.13;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.standfirst {
  font-size: 1.235rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 1.9rem;
}

.byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0;
  border-block: 1px solid var(--rule);
  font-family: var(--sans);
}
.avatar {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  flex: none;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.byline-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.byline-meta {
  font-size: 0.79rem;
  color: var(--ink-3);
  line-height: 1.45;
}

/* ── Fließtext ── */
p {
  margin: 0 0 1.2rem;
}
h2 {
  font-size: clamp(1.42rem, 3.4vw, 1.78rem);
  line-height: 1.24;
  letter-spacing: -0.017em;
  font-weight: 700;
  margin: 2.7rem 0 0.85rem;
  text-wrap: balance;
}
h3 {
  font-size: 1.155rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1.9rem 0 0.6rem;
}
.lead-cap::first-letter {
  float: left;
  font-size: 3.5rem;
  line-height: 0.82;
  font-weight: 700;
  margin: 0.28rem 0.55rem 0 0;
  color: var(--brand);
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
}
li {
  margin-bottom: 0.5rem;
}
li::marker {
  color: var(--brand-2);
}

/* ── Kennzeichnungshinweis (§ 5a Abs. 4 UWG) ──
   Bewusst nicht kleiner als der Fließtext und nicht ausgegraut. */
.notice {
  background: var(--flag-soft);
  border-left: 3px solid var(--flag);
  padding: 1rem 1.2rem;
  margin: 1.6rem 0 2rem;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  border-radius: 0 3px 3px 0;
}
.notice strong {
  color: var(--flag);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* ── Hervorgehobener Kasten ── */
.box {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.3rem 1.4rem;
  margin: 2.2rem 0;
}
.box-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 0.7rem;
}
.box h3 {
  margin-top: 0;
  font-size: 1.1rem;
}
.box > :last-child {
  margin-bottom: 0;
}

/* ── Zitat ── */
.pull {
  border-left: 3px solid var(--brand);
  margin: 2.1rem 0;
  padding: 0.15rem 0 0.15rem 1.3rem;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.pull p {
  margin: 0;
}
.pull cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.83rem;
  font-style: normal;
  color: var(--ink-3);
  margin-top: 0.65rem;
  letter-spacing: 0.01em;
}

/* ── Checkliste ── */
.check {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0;
}
.check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  font-size: 1.06rem;
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 2px;
  background: var(--brand-2);
}

/* ── Tabelle ── */
.tbl-scroll {
  overflow-x: auto;
  margin: 1.7rem 0;
  -webkit-overflow-scrolling: touch;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 30rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}
th {
  text-align: left;
  padding: 0.6rem 0.9rem 0.6rem 0;
  border-bottom: 2px solid var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
td {
  padding: 0.72rem 0.9rem 0.72rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
td strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Hinweis auf das Lernangebot ── */
.cta {
  background: var(--brand);
  color: #f4f7f5;
  border-radius: 5px;
  padding: 1.7rem 1.6rem;
  margin: 2.6rem 0;
}
.cta-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fc4b4;
  margin-bottom: 0.6rem;
}
.cta h2 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.3;
}
.cta p {
  color: #cfe0d8;
  font-size: 1.02rem;
  margin-bottom: 1.15rem;
}
.cta a {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.cta a:focus-visible {
  outline: 3px solid #9fc4b4;
  outline-offset: 3px;
}
.cta small {
  display: block;
  margin-top: 0.85rem;
  color: #9fc4b4;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ── Häufige Fragen ── */
.faq {
  margin: 1.6rem 0;
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 0.2rem 0;
}
.faq summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  color: var(--brand-2);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  padding: 0 0 0.95rem;
  color: var(--ink-2);
  font-size: 1.04rem;
  margin: 0;
}

/* ── Rechtsseiten ── */
.legal h2 {
  font-size: 1.25rem;
  margin: 2.1rem 0 0.6rem;
}
.legal .ph {
  background: var(--flag-soft);
  color: var(--flag);
  font-family: var(--sans);
  font-size: 0.9em;
  font-weight: 600;
  padding: 0.1em 0.4em;
  border-radius: 2px;
}
.legal .addr {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.1rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--rule);
  margin-top: 3.4rem;
  padding: 2rem 0 3rem;
  font-family: var(--sans);
  font-size: 0.83rem;
  color: var(--ink-3);
  line-height: 1.65;
}
footer nav {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
}
footer a {
  color: var(--ink-3);
  text-decoration: none;
}
footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
