/* INAL DNS – Infoseite. Farben und Schriften angelehnt an inal-it.de. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-800.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-700.woff2") format("woff2"); }

:root {
  --font-b: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Bricolage Grotesque", Georgia, serif;
  --font-m: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* Markenfarben (fix, unabhängig vom Farbschema) */
  --brand-bg: #0A1416;
  --brand-panel: #0F2226;
  --cyan: #22D3DE;
  --cyan-deep: #0E7C86;
  --teal: #16A6B0;
  --mag: #E83C9B;
  --mint: #34E0A1;
  --amber: #F2B94B;

  /* Helles Schema */
  --bg: #F5F8F7;
  --surface: #FFFFFF;
  --surface-2: #EEF4F3;
  --text: #0A1819;
  --muted: #4E6260;
  --line: #DCE6E4;
  --accent: #0B6F78;
  --accent-soft: #E3F6F7;
  --warn-bg: #FFF6E5;
  --warn-line: #E9B44C;
  --warn-text: #6B4A00;
  --filter-bg: #FDF1F7;
  --filter-line: #E83C9B;
  --filter-text: #8E1756;
  --ok: #0B7A52;
  --code-bg: #0F2226;
  --code-text: #EAF6F5;
  --shadow: 0 24px 60px -32px rgba(8, 30, 32, .45);
  --r: 18px;
  --maxw: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1416;
    --surface: #0F2226;
    --surface-2: #132A2F;
    --text: #EAF6F5;
    --muted: #A3BAB8;
    --line: rgba(255, 255, 255, .11);
    --accent: #22D3DE;
    --accent-soft: rgba(34, 211, 222, .10);
    --warn-bg: rgba(242, 185, 75, .09);
    --warn-line: #F2B94B;
    --warn-text: #F6D592;
    --filter-bg: rgba(232, 60, 155, .08);
    --filter-line: #E83C9B;
    --filter-text: #F7A8D2;
    --ok: #34E0A1;
    --code-bg: #071012;
    --code-text: #EAF6F5;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-d); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

code, kbd, pre { font-family: var(--font-m); font-size: .92em; }
:not(pre) > code {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .08em .38em;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  vertical-align: bottom;
  line-height: 1.45;
}
pre {
  background: var(--code-bg);
  color: var(--code-text);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 1em;
  overflow-x: auto;
  line-height: 1.55;
  font-size: .88rem;
}
kbd {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .9em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .02em .4em;
  white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: #062023; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 22, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
.brand span { font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand span b { color: var(--cyan); font-weight: 800; }

.nav ul { list-style: none; margin: 0; padding: 0; display: none; gap: 4px; }
.nav a { color: #C9DCDA; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
@media (min-width: 900px) { .nav ul { display: flex; } }
.nav { display: flex; align-items: center; }
@media (min-width: 900px) { .nav .nav-cta { display: none; } }

/* Sprachumschalter DE | EN: die cyanfarbene Pille gleitet beim Wechsel zur anderen Sprache */
.nav { gap: 10px; }
.lang {
  --opt: 2.6em; --sep: .8em;
  position: relative; display: inline-flex; align-items: center; flex: none;
  padding: 3px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px;
  font-weight: 700; font-size: .8rem; letter-spacing: .04em; line-height: 1;
}
.lang-pill {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: var(--opt);
  border-radius: 7px; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 222, .5);
  transition: transform .32s cubic-bezier(.5, 0, .2, 1.25), box-shadow .32s ease;
}
.lang[data-active="en"] .lang-pill { transform: translateX(calc(var(--opt) + var(--sep))); }
.lang.is-switching .lang-pill { box-shadow: 0 0 0 4px rgba(34, 211, 222, .18); }
.nav .lang-opt {
  position: relative; z-index: 1; width: var(--opt); padding: 6px 0; text-align: center;
  font-size: inherit; border-radius: 7px; color: #C9DCDA; transition: color .25s ease;
}
.nav .lang-opt:hover { color: #fff; background: none; }
.lang[data-active="de"] .lang-opt[lang="de"],
.lang[data-active="en"] .lang-opt[lang="en"] { color: #062023; }
.lang-sep { position: relative; z-index: 1; width: var(--sep); text-align: center; color: rgba(255, 255, 255, .25); }
.lang-opt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Seitenwechsel: Inhalt blendet beim Umschalten kurz aus und auf der neuen Seite wieder ein */
main, .site-footer { transition: opacity .22s ease, transform .22s ease; }
html.lang-leaving main, html.lang-leaving .site-footer { opacity: 0; transform: translateY(6px); }
html.lang-arriving main { animation: lang-in .35s ease both; }
@keyframes lang-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Schmale Handys: Kopfzeile verdichten, damit Logo, Button und Umschalter nebeneinander passen */
@media (max-width: 419px) {
  .site-header .wrap { gap: 8px; }
  .nav { gap: 6px; }
  .brand { gap: 8px; }
  .brand img { height: 32px; }
  .brand span { font-size: 1rem; }
  .lang { --opt: 2.3em; --sep: .6em; }
  .nav .lang-opt { padding: 5px 0; }
}
@media (max-width: 339px) { .brand span { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 .95rem/1 var(--font-b);
  padding: 12px 18px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cyan); color: #062023; box-shadow: 0 12px 28px -12px rgba(34, 211, 222, .65); }
.btn-primary:hover { background: #4FE0E9; }
.btn-ghost { background: transparent; color: #EAF6F5; border-color: rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-small { padding: 8px 12px; font-size: .85rem; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #EAF6F5;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(34, 211, 222, .20), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(232, 60, 155, .16), transparent 60%),
    var(--brand-bg);
  padding: 48px 0 56px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 222, .5), rgba(232, 60, 155, .5), transparent);
}
.hero-grid { display: grid; gap: 36px; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; } .hero { padding: 80px 0 88px; } }
@media (min-width: 720px) and (max-width: 1079px) { .endpoints { max-width: 640px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #9DBFBD;
}
.eyebrow .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); font-weight: 800; color: #fff; margin: 14px 0 0; }
.hero h1 .grad {
  background: linear-gradient(95deg, var(--cyan) 10%, #7E8CE0 55%, var(--mag) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.claim { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: #C9DCDA; margin: 16px 0 0; max-width: 34em; }
.hero-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; max-width: 520px; }
@media (min-width: 480px) { .hero-badges { grid-template-columns: repeat(3, 1fr); } }
.hero-badges li {
  font-size: .85rem; font-weight: 600; color: #DDEDEC;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
  padding: 6px 10px; border-radius: 999px; text-align: center; white-space: nowrap;
}
.hero-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; max-width: 520px; }
@media (max-width: 359px) { .hero-actions { grid-template-columns: 1fr; } }
.filter-flag {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 26px; padding: 14px 16px; border-radius: 14px;
  background: rgba(232, 60, 155, .10); border: 1px solid rgba(232, 60, 155, .45);
  color: #F9D3E7; font-size: .95rem;
}
.filter-flag svg { width: 22px; height: 22px; flex: none; color: #F7A8D2; margin-top: 2px; }
.filter-flag a { color: #fff; font-weight: 700; }

/* Endpunkte */
.endpoints {
  background: linear-gradient(180deg, #0E2429, #0A181C);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75), inset 0 1px rgba(255, 255, 255, .05);
  overflow: hidden;
}
.endpoints-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02);
  font-size: .84rem; font-weight: 600; color: #9DBFBD;
}
.endpoints-bar .wdots { display: inline-flex; gap: 6px; }
.endpoints-bar .wdots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.endpoints dl { margin: 0; padding: 8px 0; }
.ep { padding: 14px 18px; display: grid; grid-template-columns: 1fr; gap: 6px 12px; align-items: center; }
@media (min-width: 480px) { .ep { grid-template-columns: 1fr auto; } }
.ep + .ep { border-top: 1px solid rgba(255, 255, 255, .06); }
.ep dt { grid-column: 1 / -1; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9DBFBD; }
.ep dt small { text-transform: none; letter-spacing: 0; font-weight: 600; color: #7FA3A0; font-size: .82rem; }
.ep dd { margin: 0; min-width: 0; }
.ep code.val {
  display: block; font-size: clamp(.92rem, 3.6vw, 1.02rem); color: #fff; font-weight: 600;
  overflow-wrap: anywhere; white-space: normal; background: none; border: 0; padding: 0;
}
.ep .copy-cell { margin: 0; }
.copy {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .8rem/1 var(--font-b);
  color: #062023; background: var(--cyan);
  border: 0; border-radius: 9px; padding: 8px 11px; cursor: pointer;
}
.copy:hover { background: #4FE0E9; }
.copy svg { width: 15px; height: 15px; }
.copy.done { background: var(--mint); }
.endpoints-note {
  margin: 0; padding: 12px 18px 16px; border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .88rem; color: #A9C2C0;
}

/* ---------- Abschnitte ---------- */
section.block { padding: 64px 0; }
@media (min-width: 720px) { section.block { padding: 88px 0; } }
section.block + section.block { border-top: 1px solid var(--line); }
section.alt { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { section.alt { background: #0C191C; } }

.sec-head { max-width: 760px; margin-bottom: 36px; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sec-head p.lead { font-size: 1.12rem; color: var(--muted); margin: 14px 0 0; }

/* Kacheln */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow);
}
.tile .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Filter-Abschnitt */
#filter { position: relative; }
.filter-panel {
  border: 2px solid var(--filter-line); background: var(--filter-bg);
  border-radius: 22px; padding: 22px 18px;
}
@media (min-width: 720px) { .filter-panel { padding: 36px; } }
.filter-panel .kicker { color: var(--filter-text); }
.filter-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 820px) { .filter-list { grid-template-columns: 1fr 1fr; } }
.filter-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.filter-list .x {
  grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--filter-line); color: #fff;
}
.filter-list .x svg { width: 16px; height: 16px; }
.filter-list strong { display: block; line-height: 1.35; }
.filter-list span.src { font-size: .9rem; color: var(--muted); }
.notblocked {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--ok);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.notblocked svg { width: 24px; height: 24px; color: var(--ok); flex: none; margin-top: 2px; }
.notblocked p { margin: 0; }
.notes { display: grid; gap: 14px; }
@media (min-width: 820px) { .notes { grid-template-columns: 1fr 1fr; } }
.note {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 14px; padding: 16px 18px;
}
.note h3 { font-size: 1.05rem; color: var(--warn-text); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.note h3 svg { width: 20px; height: 20px; flex: none; }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note ul { padding-left: 1.2em; margin: 0 0 1em; }

/* Akkordeon (Anleitungen, FAQ) */
.acc { display: grid; gap: 12px; }
details.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
}
details.item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; font-weight: 700; font-size: 1.08rem;
  border-radius: 16px;
}
details.item > summary::-webkit-details-marker { display: none; }
details.item > summary .os {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
details.item > summary .os svg { width: 22px; height: 22px; }
details.item > summary .t { flex: 1; min-width: 0; }
details.item > summary .t small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
details.item > summary .chev { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
details.item > summary { transition: background-color .2s; }
details.item > summary:hover { background: var(--accent-soft); }
details.item[open] > summary .chev { transform: rotate(180deg); }
details.item[open] > summary { border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
details.item .body { padding: 18px 18px 8px; }
@media (min-width: 720px) { details.item .body { padding: 22px 26px 12px 72px; } }

details.item .body > h3 { margin: 1.6em 0 .8em; }
details.item .body > h3:first-child { margin-top: .2em; }
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 42px; margin-bottom: 14px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 800 .85rem/1 var(--font-d); background: var(--accent); color: var(--surface);
}
@media (prefers-color-scheme: dark) { ol.steps > li::before { color: #062023; } }
.hint { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
.dl-box {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center;
  background: var(--accent-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 1.2em;
}
.dl-box .btn-primary { box-shadow: none; }
.dl-box p { margin: 0; font-size: .95rem; color: var(--muted); flex: 1 1 220px; }

.cmd { position: relative; }
.cmd .copy { position: absolute; top: 8px; right: 8px; }
.cmd pre { padding-right: 104px; white-space: pre-wrap; overflow-wrap: anywhere; }
.steps ul { margin: .4em 0 0; padding-left: 1.2em; }
.steps ul li { margin-bottom: .2em; }

/* Prüfen */
.checks { display: grid; gap: 16px; counter-reset: c; }
.check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.check h3 { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.check h3::before {
  counter-increment: c; content: counter(c);
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  font: 800 .9rem/1 var(--font-d); background: linear-gradient(135deg, var(--cyan), var(--mag)); color: #fff;
}
.check p { color: var(--muted); font-size: 1rem; }
.check p strong { color: var(--text); }
.check .cmd pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.check > :last-child, .check > .cmd:last-child pre { margin-bottom: 0; }

/* FAQ */
.faq details.item > summary { font-size: 1.03rem; }
.faq details.item .body { padding-left: 18px; }
@media (min-width: 720px) { .faq details.item .body { padding-left: 26px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-bg); color: #C9DCDA; padding: 56px 0 28px; font-size: .97rem; }
.site-footer a { color: #7FE3EA; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { font-size: .8rem; font-family: var(--font-b); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9DBFBD; margin-bottom: 12px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.foot-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.foot-brand p { color: #A9C2C0; max-width: 30em; }
.foot-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; color: #8FAAA7;
}

/* ---------- Rechtstexte ---------- */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.1rem, 6vw, 3rem); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: clamp(1.3rem, 3.4vw, 1.6rem); margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .35em; }
.legal .meta { color: var(--muted); }
.legal .back { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; margin-bottom: 26px; }
.legal .callout {
  background: var(--accent-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 1em;
}
.legal .callout p:last-child { margin-bottom: 0; }

/* Handy: mehr Platz für Befehle und Werte */
@media (max-width: 599px) {
  details.item .body { padding: 16px 14px 6px; }
  ol.steps > li { padding-left: 36px; }
  :not(pre) > code { font-size: .84em; }
  pre { font-size: .78rem; padding: 12px; }
  .cmd pre { padding-right: 12px; margin-bottom: 8px; }
  .cmd .copy { position: static; margin-bottom: 1em; }
  .check > .cmd:last-child .copy { margin-bottom: 0; }
}

/* JS-abhängige Elemente bleiben ohne JS verborgen */
[data-js-only][hidden] { display: none !important; }

@media print {
  .site-header, .copy, .skip, .hero-actions { display: none !important; }
  .hero, .site-footer { background: #fff !important; color: #000 !important; }
  details.item .body { display: block; }
}

/* VPN-Abschnitt */
.vpn-rules { margin-bottom: 20px; }
.vpn-rules li { margin-bottom: .5em; }
