/* Selbst gehostete Schriften.
   Roboto: Apache License 2.0. Source Sans 3: SIL Open Font License 1.1.
   Erzeugt mit hole-schriften.sh; es wird keine Verbindung zu Google aufgebaut. */

/* Roboto 400, latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto 400, latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-400-latin.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;
}

/* Roboto 500, latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto 500, latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-500-latin.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;
}

/* Roboto 700, latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto 700, latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/roboto-700-latin.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;
}

/* Source Sans 3 400, latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 400, latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-400-latin.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;
}

/* Source Sans 3 600, latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 600, latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-600-latin.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;
}

/* Source Sans 3 700, latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/source-sans-3-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Source Sans 3 700, latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/source-sans-3-700-latin.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;
}

/* Gemeinsames Stylesheet fuer die Wissens-Seite, Tokens aus pmxperts.de */
:root {
  --blue: #33a8de;
  --blue-deep: #1b7cab;
  --tint: #daeff9;
  --ink: #333333;
  --ink-strong: #15191c;
  --dark: #3d3d3d;
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #5e6a70;
  --line: #dbe4e9;
  --on-dark: #eef4f7;
  --on-dark-muted: #b4c2ca;

  --display: Candara, "Source Sans 3", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --read: 720px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tint: #16303d;
    --ink: #dde6ea;
    --ink-strong: #f2f7f9;
    --dark: #10161a;
    --bg: #11171a;
    --surface: #182024;
    --muted: #9bacb5;
    --line: #2a353b;
    --blue-deep: #6fc6ec;
  }
}
:root[data-theme="dark"] {
  --tint: #16303d;
  --ink: #dde6ea;
  --ink-strong: #f2f7f9;
  --dark: #10161a;
  --bg: #11171a;
  --surface: #182024;
  --muted: #9bacb5;
  --line: #2a353b;
  --blue-deep: #6fc6ec;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.68;
}
img { max-width: 100%; }
a { color: var(--blue-deep); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band { padding: 64px 0; }
.band--tint { background: var(--tint); }
.band--dark { background: var(--dark); color: var(--on-dark); }

/* Kopfzeile */
.topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; padding: 4px 10px; }
.logo img { display: block; width: auto; height: clamp(54px, 7vw, 74px); max-width: 100%; }
.topnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.topnav a.plain { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 4px; }
.topnav a.plain:hover { color: var(--blue-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 100px;
  font-family: var(--body); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--blue); color: #ffffff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

h1, h2, h3 { font-family: var(--display); color: var(--ink-strong); line-height: 1.22; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 700; margin-bottom: 10px;
}
.lead { font-size: 1.14rem; color: var(--muted); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 40px; }

/* Beitragsliste */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.post {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px 28px 28px; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: 10px; min-width: 0;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.post { text-decoration: none; color: inherit; }
a.post:hover { box-shadow: 0 12px 30px rgba(21, 25, 28, .10); transform: translateY(-2px); }
.post .meta { font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.post h3 { font-size: 1.22rem; }
a.post:hover h3 { color: var(--blue-deep); }
.post p { color: var(--muted); font-size: 0.97rem; }
.post .more { margin-top: auto; padding-top: 6px; font-weight: 500; color: var(--blue-deep); font-size: 0.93rem; }

/* Hinweiskasten */
.note {
  margin-top: 36px; padding: 22px 26px; border-left: 3px solid var(--blue);
  background: var(--surface); border-radius: 0 10px 10px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.note strong { font-family: var(--display); color: var(--ink-strong); }
.note p { color: var(--muted); font-size: 0.97rem; }

/* Artikelseite */
.article { padding: 56px 0 72px; }
.article .wrap { max-width: calc(var(--read) + 40px); }
.article .kicker { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 0.8rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.article h1 { margin-bottom: 18px; }
.article .standfirst { font-size: 1.18rem; color: var(--muted); margin-bottom: 36px; }
.article h2 { margin: 42px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p + p { margin-top: 16px; }
.article ul { margin: 16px 0; padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--blue); }
.article .pull {
  margin: 34px 0; padding: 20px 26px; border-left: 3px solid var(--blue);
  font-family: var(--display); font-size: 1.22rem; line-height: 1.42; color: var(--ink-strong);
}
.article .herkunft { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.backlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue-deep); font-weight: 500; font-size: 0.93rem; }
.backlink:hover { text-decoration: underline; }

/* Abschlussband */
.cta-copy { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.cta-copy h2 { color: #ffffff; }
.cta-copy p { color: var(--on-dark-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.band--dark .btn--ghost { border-color: rgba(255, 255, 255, .28); color: #ffffff; }
.band--dark .btn--ghost:hover { border-color: #ffffff; color: #ffffff; }

.site { padding: 26px 0; border-top: 1px solid var(--line); background: var(--surface); }
.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 0.86rem; color: var(--muted); }
.site a { color: var(--muted); }

@media (max-width: 620px) {
  .band { padding: 48px 0; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; }
  .topnav { justify-content: flex-start; }
}

/* Sprungmarken zu den Themenfeldern */
.feldnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.feldnav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  transition: border-color .18s ease, color .18s ease;
}
.feldnav a:hover { border-color: var(--blue); color: var(--blue-deep); }
.feldnav a span {
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.feldnav a:hover span { color: var(--blue-deep); }
.band[id] { scroll-margin-top: 12px; }

/* Rechtstexte: Impressum und Datenschutz */
.rechtstext .wrap { max-width: calc(var(--read) + 40px); }
.rechtstext h1 { margin-bottom: 32px; }
.rechtstext h2 { font-size: clamp(1.25rem, 2.1vw, 1.5rem); margin: 38px 0 12px; }
.rechtstext h3 { font-size: 1.06rem; margin: 26px 0 8px; }
.rechtstext p + p { margin-top: 14px; }
.rechtstext p, .rechtstext li { font-size: 0.97rem; }
.rechtstext ul { margin: 14px 0; padding-left: 22px; }
.rechtstext li { margin-bottom: 7px; }
.rechtstext li::marker { color: var(--blue); }
.rechtstext address { font-style: normal; line-height: 1.7; }
.rechtstext .hervor {
  padding: 18px 22px; border-left: 3px solid var(--blue); background: var(--surface);
  border-radius: 0 10px 10px 0; margin: 20px 0;
}
.rechtstext .klein { font-size: 0.86rem; color: var(--muted); }
.rechtstext a { word-break: break-word; }
