/* Nur sichtbar, wenn Google Analytics in js/analytics.js aktiviert ist */
html:not(.ga-on) [data-analytics="on"], html.ga-on [data-analytics="off"] { display: none; }

:root {
  --pay: #017f8d;
  --pay-deep: #0b3a40;
  --pay-tint: #e8f3f4;
  --tel: #dbb101;
  --ink: #1d2a2c;
  --muted: #5b6b6d;
  --line: #dde5e6;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }
header.site { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); }
header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: linear-gradient(90deg, var(--pay) 0 50%, var(--tel) 50% 100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; max-width: 1180px; }
.logo img { height: 46px; width: auto; }
.back { color: var(--pay); text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; }
.back svg { margin-right: 8px; }
.back:hover { text-decoration: underline; }
main { padding: 64px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--pay); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 11px; height: 12px; background: currentColor; clip-path: var(--hex); }
h1 { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--pay-deep); margin: 0 0 18px; line-height: 1.15; }
.intro { color: var(--muted); font-size: 1.08rem; margin: 0 0 32px; }
h2 { font-size: 1.15rem; color: var(--pay-deep); margin: 0 0 10px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.card { background: #f4f7f7; border-radius: 14px; padding: 24px 26px; }
.card p { margin: 0; }
.card a, section.text a { color: var(--pay); text-decoration: none; }
.card a:hover, section.text a:hover { text-decoration: underline; }
.summary { background: var(--pay-tint); border-radius: 14px; padding: 22px 26px; margin-bottom: 40px; }
.summary h2 { margin-bottom: 8px; }
.summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.summary li { display: flex; gap: 12px; }
.summary li::before { content: ""; flex: none; width: 12px; height: 14px; margin-top: 7px; background: var(--pay); clip-path: var(--hex); }
nav.toc { border-top: 1px solid var(--line); padding-top: 24px; }
nav.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: .95rem; }
nav.toc li { margin-bottom: 4px; break-inside: avoid; }
nav.toc a { color: var(--ink); text-decoration: none; }
nav.toc a:hover { color: var(--pay); }
.grid.spaced { margin: 22px 0 48px; }
dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; }
section.text { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 28px; }
section.text p, section.text li { color: #3a4a4c; }
section.text p { margin: 0 0 1em; }
section.text ul { margin: 0 0 1em; padding-left: 20px; }
section.text li { margin-bottom: 4px; }
.source { font-size: .88rem; color: var(--muted); margin-top: 40px; }
footer.site { background: #072a2e; color: rgba(255,255,255,.75); font-size: .88rem; padding: 26px 0; position: relative; }
footer.site::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pay) 0 50%, var(--tel) 50% 100%); }
footer.site .wrap { max-width: 1180px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site nav { display: flex; gap: 22px; }
footer.site a { color: rgba(255,255,255,.85); text-decoration: none; }
footer.site a:hover { color: var(--tel); }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  nav.toc ol { columns: 1; }
  dl { grid-template-columns: 1fr; gap: 0; }
  dd { margin-bottom: 10px; }
  .back span { display: none; }
}
