/* smartglasses-ratgeber.de — helles Layout, Indigo als Trägerfarbe,
   Bernstein als Akzent. Bewusst kein Nachtmodus (Vorgabe Thomas). */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/spacegrotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;

  --ink: #2a2e42;
  --ink-strong: #14172a;
  --ink-soft: #5c6178;
  --line: #e2e4ee;
  --line-soft: #eef0f7;

  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-deep: #eef0f9;

  --brand: #3f3d91;
  --brand-deep: #2b2a68;
  --brand-soft: #ecebf7;
  --brand-line: #cfcdea;

  --accent: #c9741b;
  --accent-soft: #fdf2e3;
  --accent-line: #f0d5ac;

  --warn: #a8442c;
  --warn-soft: #fdeeea;
  --ok: #1f6b52;
  --ok-soft: #e8f4ef;

  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 1px 2px rgba(20, 23, 42, .05), 0 8px 24px -14px rgba(20, 23, 42, .28);
  --shadow-lift: 0 2px 4px rgba(20, 23, 42, .06), 0 18px 40px -22px rgba(20, 23, 42, .4);
  --wrap: 1140px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink-strong);
  line-height: 1.2;
  letter-spacing: -0.014em;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.85rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.05vw, 1.85rem); font-weight: 700; margin-top: 2.4rem; }
h3 { font-size: 1.16rem; font-weight: 700; margin-top: 1.7rem; }
h4 { font-size: 1.02rem; font-weight: 700; margin-top: 1.3rem; }
h2 + h3, h3 + h4 { margin-top: 1rem; }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-deep); }

strong { color: var(--ink-strong); font-weight: 640; }
small { font-size: 0.86rem; }

ul, ol { margin: 0 0 1.05rem; padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
li:last-child { margin-bottom: 0; }

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

svg { width: 1.25em; height: 1.25em; flex: none; }

code, kbd {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em; background: var(--bg-deep); padding: 0.1em 0.35em; border-radius: 4px;
}

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(9px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 62px; }

.site-logo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.09rem;
  color: var(--ink-strong); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap;
}
.site-logo .tld { color: var(--ink-soft); font-weight: 500; }
.logo-mark { width: 1.7em; height: 1.7em; color: var(--brand); }

.site-nav { display: flex; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 0.15rem; }
.site-nav > li { position: relative; margin: 0; }
.site-nav > li > a {
  display: block; padding: 0.55rem 0.72rem; border-radius: var(--radius-s);
  font-family: var(--display); font-weight: 500; font-size: 0.965rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-nav > li > a:hover { background: var(--bg-soft); color: var(--brand-deep); }
.site-nav > li.in-section > a { color: var(--brand); background: var(--brand-soft); }
.drop-toggle { display: none; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 322px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav > li:hover .dropdown,
.site-nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.drop-col ul { list-style: none; margin: 0; padding: 0; }
.drop-col li { margin: 0; }
.drop-col a {
  display: block; padding: 0.5rem 0.65rem; border-radius: var(--radius-s);
  text-decoration: none; color: var(--ink-strong); font-weight: 570; font-size: 0.95rem;
}
.drop-col a:hover { background: var(--brand-soft); }
.drop-desc {
  display: block; font-weight: 400; font-size: 0.83rem; color: var(--ink-soft);
  margin-top: 0.05rem; line-height: 1.4;
}
.drop-head {
  margin: 0.35rem 0.65rem 0.2rem; font-family: var(--display);
  font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft);
}

.icon-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 0.42rem; color: var(--ink-strong); cursor: pointer; margin-left: auto;
}
.icon-btn svg { width: 1.4em; height: 1.4em; }
.i-x { display: none; }
.menu-toggle[aria-expanded="true"] .i-x { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

/* --------------------------------------------------------- Brotkrumen */
.crumbs-bar { border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem;
  list-style: none; margin: 0; padding: 0.62rem 0; font-size: 0.86rem; color: var(--ink-soft);
}
.crumbs li { margin: 0; display: inline-flex; align-items: center; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs svg { width: 0.95em; height: 0.95em; opacity: .55; }

/* ------------------------------------------------------------ Sektionen */
.section { padding: 2.6rem 0; }
.section--tight { padding: 1.9rem 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); padding: 2.4rem 0; }
.section > .wrap > h2:first-child { margin-top: 0; }

.prose { max-width: 74ch; }
.prose > h2:first-child { margin-top: 0; }

.lead { font-size: 1.16rem; line-height: 1.6; color: var(--ink); }

/* ----------------------------------------------------------------- Hero */
.hero {
  background:
    radial-gradient(120% 130% at 88% -20%, var(--brand-soft) 0%, transparent 58%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding: 2.9rem 0 2.4rem;
}
.hero h1 { margin-bottom: 0.85rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.8rem; } }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.42rem;
  font-family: var(--display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
  background: #fff; border: 1px solid var(--brand-line);
  padding: 0.32rem 0.7rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero-kicker svg { width: 1.05em; height: 1.05em; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.35rem; }
.hero-facts span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.38rem 0.78rem; font-size: 0.87rem; color: var(--ink);
}
.hero-facts svg { width: 1.05em; height: 1.05em; color: var(--brand); }

/* ---------------------------------------------------------- Kurzantwort */
.kurzantwort {
  border: 1px solid var(--brand-line); border-left: 4px solid var(--brand);
  background: var(--brand-soft); border-radius: var(--radius);
  padding: 1.05rem 1.2rem; margin: 0 0 1.6rem;
}
.ka-label {
  display: flex; align-items: center; gap: 0.42rem; margin: 0 0 0.3rem;
  font-family: var(--display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep);
}
.ka-label svg { width: 1.15em; height: 1.15em; }
.ka-text { margin: 0; font-size: 1.08rem; line-height: 1.58; color: var(--ink-strong); }

/* ------------------------------------------------------------ Normzitat */
.normzitat {
  margin: 1.7rem 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); overflow: hidden;
}
.norm-kopf {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--ink-strong); color: #fff;
  padding: 0.62rem 1.05rem; font-family: var(--display); font-weight: 600; font-size: 0.92rem;
}
.norm-kopf svg { width: 1.15em; height: 1.15em; opacity: .85; }
.normzitat blockquote { margin: 0; padding: 1.15rem 1.25rem 0.9rem; }
.normzitat blockquote p {
  margin: 0; font-size: 1.1rem; line-height: 1.62; color: var(--ink-strong);
  font-family: var(--display); font-weight: 500;
}
.normzitat blockquote p::before { content: "\201E"; color: var(--brand); }
.normzitat blockquote p::after { content: "\201C"; color: var(--brand); }
.normzitat figcaption {
  padding: 0.55rem 1.25rem 0.95rem; font-size: 0.85rem; color: var(--ink-soft);
  border-top: 1px solid var(--line-soft); margin-top: 0.35rem;
}

/* -------------------------------------------------------------- Hinweise */
/* Kopfzeile steht ÜBER dem Text, nicht daneben: .note ist ein Block, nur die
   Kopfzeile selbst ist flex. Als Flex-Container würden Kopf und Text
   nebeneinander laufen und sich überlagern. */
.note {
  display: block;
  border: 1px solid var(--brand-line); background: var(--brand-soft);
  border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.5rem 0;
  font-size: 0.99rem;
}
.note > div { min-width: 0; }
.note-head {
  display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.45rem;
}
.note-head svg { flex: none; }
.note-head svg { width: 1.2em; height: 1.2em; color: var(--brand); }
.note-title {
  margin: 0; font-family: var(--display); font-weight: 640;
  color: var(--ink-strong); font-size: 1rem;
}
.note--warn { border-color: #f0c8bd; background: var(--warn-soft); }
.note--warn .note-head svg { color: var(--warn); }
.note--recht { border-color: var(--line); background: var(--bg-soft); }
.note--recht .note-head svg { color: var(--ink-strong); }
.note--praxis { border-color: var(--accent-line); background: var(--accent-soft); }
.note--praxis .note-head svg { color: var(--accent); }
.note--norm { border-color: #cfd6e8; background: #eef2fb; }
.note--norm .note-head svg { color: var(--brand-deep); }

.recht-hinweis {
  font-size: 0.87rem; color: var(--ink-soft); border-top: 1px solid var(--line);
  padding-top: 0.8rem; margin-top: 1.6rem;
}

.stand {
  display: flex; align-items: center; gap: 0.42rem;
  font-size: 0.85rem; color: var(--ink-soft); margin: 1.5rem 0 0;
}
.stand svg { width: 1.05em; height: 1.05em; }

/* ---------------------------------------------------------------- Bilder */
.fig { margin: 1.8rem 0; }
.fig-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); }
.fig img { width: 100%; }
.ki-badge {
  position: absolute; right: 0.55rem; bottom: 0.55rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(20, 23, 42, .72); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.02em;
  padding: 0.22rem 0.5rem; border-radius: 999px; backdrop-filter: blur(3px);
}
.ki-badge svg { width: 0.95em; height: 0.95em; }
.fig figcaption { font-size: 0.87rem; color: var(--ink-soft); margin-top: 0.55rem; }

/* --------------------------------------------------------------- Karten */
.cards { display: grid; gap: 0.95rem; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 0.28rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.05rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--brand-line); }
.card-ico { display: inline-flex; color: var(--brand); margin-bottom: 0.45rem; }
.card-ico svg { width: 1.62em; height: 1.62em; }
.card strong { font-family: var(--display); font-size: 1.06rem; color: var(--ink-strong); }
.card-text { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.55; }
.card-more {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.6rem;
  font-size: 0.87rem; font-weight: 600; color: var(--brand);
}
.card-more svg { width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------- Weiterlesen */
.next { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.next a {
  display: block; position: relative; padding: 0.95rem 1.05rem 0.95rem 3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .16s, background .16s;
}
.next a:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.next a > svg {
  position: absolute; left: 1.05rem; top: 1.05rem; width: 1.35em; height: 1.35em; color: var(--brand);
}
.next strong { display: block; font-family: var(--display); color: var(--ink-strong); font-size: 1rem; }
.next span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }

/* -------------------------------------------------------------- Tabellen */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin: 1.5rem 0 0.4rem; -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
caption {
  text-align: left; padding: 0.85rem 1rem 0.4rem;
  font-family: var(--display); font-weight: 640; font-size: 1.02rem; color: var(--ink-strong);
}
th, td { padding: 0.62rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th {
  background: var(--bg-soft); font-family: var(--display); font-weight: 600;
  font-size: 0.86rem; color: var(--ink-strong); white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfbfe; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll-hint { display: none; font-size: 0.8rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.table-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0.6rem 0 0; }

/* ------------------------------------------------------------------ FAQ */
.qa { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.qa details { border-bottom: 1px solid var(--line-soft); }
.qa details:last-child { border-bottom: 0; }
.qa summary {
  cursor: pointer; padding: 0.92rem 2.6rem 0.92rem 1.15rem; position: relative;
  font-family: var(--display); font-weight: 600; color: var(--ink-strong); font-size: 1rem;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 1.28rem;
  width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .18s;
}
.qa details[open] summary::after { transform: rotate(-135deg); }
.qa summary:hover { background: var(--bg-soft); }
.qa-body { padding: 0 1.15rem 1.05rem; font-size: 0.99rem; }

/* -------------------------------------------------------------- Quellen */
.sources { max-width: 84ch; }
.sources h2 { margin-top: 0; }
.sources ol { font-size: 0.93rem; }
.sources li { margin-bottom: 0.75rem; }
.sources a { word-break: break-word; font-size: 0.87rem; }
.sources-intro { font-size: 0.9rem; color: var(--ink-soft); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--ink-strong); color: #c3c7d8; margin-top: 2.8rem; font-size: 0.94rem; }
.footer-grid {
  display: grid; gap: 1.9rem; padding: 2.6rem 0 1.9rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-about p { font-size: 0.9rem; line-height: 1.6; }
.footer-logo {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: #fff; text-decoration: none; margin-bottom: 0.7rem; letter-spacing: -0.02em;
}
.footer-logo .tld { color: #8f95ad; font-weight: 500; }
.footer-head {
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; margin: 0 0 0.6rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a, .footer-legal a { color: #c3c7d8; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover, .footer-legal a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; justify-content: space-between;
  align-items: center; border-top: 1px solid #2c3049; padding: 1.1rem 0; font-size: 0.87rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-disclosure { background: #0d1020; }
.footer-disclosure p {
  margin: 0; padding: 0.95rem 0; font-size: 0.82rem; line-height: 1.55; color: #9298b0;
}

/* ------------------------------------------------------------- Mobil */
@media (max-width: 940px) {
  .icon-btn { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 62px 0 auto; z-index: 60;
    flex-direction: column; gap: 0; margin: 0; padding: 0.5rem 1.2rem 1.4rem;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 62px); overflow-y: auto;
    box-shadow: var(--shadow-lift); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > li { border-bottom: 1px solid var(--line-soft); }
  .site-nav > li > a { padding: 0.85rem 0.2rem; font-size: 1.02rem; }
  .drop-toggle {
    display: inline-flex; position: absolute; right: 0; top: 0.42rem;
    background: none; border: 0; padding: 0.5rem; color: var(--ink-soft); cursor: pointer;
  }
  .drop-toggle svg { transition: transform .18s; }
  .drop-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0.6rem 0.5rem;
    min-width: 0; display: none;
  }
  .dropdown.open { display: block; }
  .site-nav > li:hover .dropdown { opacity: 1; visibility: visible; }
  .site-nav > li:hover .dropdown:not(.open) { display: none; }
  .scroll-hint { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .section { padding: 2rem 0; }
  .hero { padding: 2.1rem 0 1.9rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .site-footer, .next, .crumbs-bar { display: none; }
  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ------------------------------------------------- Rechts-Check (Werkzeug) */
.rc-wahl {
  display: grid; gap: 0.6rem; margin: 1.6rem 0 1.9rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.szenario {
  display: flex; align-items: center; gap: 0.6rem; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.78rem 0.95rem; cursor: pointer; font: inherit; font-size: 0.96rem;
  color: var(--ink-strong); transition: border-color .15s, background .15s, box-shadow .15s;
}
.szenario svg { width: 1.4em; height: 1.4em; color: var(--brand); flex: none; }
.szenario:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.szenario.aktiv {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand); font-weight: 600;
}
.rc-ergebnis[hidden] { display: none; }
.rc-ergebnis > h2 { margin-top: 0; }
.rc-norm {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--radius); background: #fff; padding: 1.1rem 1.2rem; margin: 1rem 0;
}
.rc-norm h3 { margin: 0.2rem 0 0.6rem; font-size: 1.05rem; }
.rc-norm-kopf {
  display: flex; align-items: center; gap: 0.42rem; margin: 0;
  font-family: var(--display); font-size: 0.84rem; font-weight: 600; color: var(--brand-deep);
}
.rc-norm-kopf svg { width: 1.05em; height: 1.05em; }
.rc-norm blockquote, .norm-eintrag blockquote {
  margin: 0 0 0.8rem; padding: 0.7rem 0.95rem; background: var(--bg-soft);
  border-radius: var(--radius-s); border-left: 2px solid var(--brand-line);
}
.rc-norm blockquote p, .norm-eintrag blockquote p {
  margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--ink-strong);
}
.rc-norm blockquote p::before, .norm-eintrag blockquote p::before { content: "\201E"; }
.rc-norm blockquote p::after, .norm-eintrag blockquote p::after { content: "\201C"; }

/* --------------------------------------------- Datensatz-Einzeleinträge */
.norm-eintrag {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 1.15rem 1.25rem; margin: 1.1rem 0;
}
.norm-eintrag h3 { margin: 0 0 0.25rem; font-size: 1.06rem; }
.norm-meta {
  margin: 0 0 0.7rem; font-size: 0.85rem; color: var(--ink-soft);
  font-family: var(--display); font-weight: 500;
}
.norm-fuss { margin: 0.55rem 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.norm-fuss a { color: var(--brand); }
.cell-sub { display: block; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; margin-top: 0.15rem; }
.cell-empty { color: var(--ink-soft); }
.download-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--brand); color: #fff; text-decoration: none;
  padding: 0.55rem 1rem; border-radius: var(--radius-s); font-weight: 600; font-size: 0.95rem;
}
.download-link:hover { background: var(--brand-deep); color: #fff; }
.download-link svg { width: 1.15em; height: 1.15em; }

/* ------------------------------------------------- Fragenverzeichnis */
.fragenliste { list-style: none; margin: 0 0 1.8rem; padding: 0; counter-reset: frage; }
.fragenliste li { margin: 0 0 0.55rem; }
.fragenliste a {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.85rem 1.05rem; text-decoration: none; color: var(--ink);
  transition: border-color .15s, background .15s;
}
.fragenliste a:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.fragenliste strong {
  display: block; font-family: var(--display); color: var(--ink-strong);
  font-size: 1rem; margin-bottom: 0.15rem;
}
.fragenliste span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; }

/* ----------------------------------------------------------- Sonstiges */
.link-spaeter { color: var(--ink-strong); font-weight: 560; }
.vorlage-hinweis {
  margin-top: 2.2rem; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-soft);
}

/* ---------------------------------------------- Smart-Glasses-Finder */
.finder { margin: 1.7rem 0 2rem; border: 0; padding: 0; }
.finder-frage {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 1rem 1.15rem 1.1rem; margin: 0 0 0.85rem;
}
.finder-frage legend {
  font-family: var(--display); font-weight: 640; color: var(--ink-strong);
  font-size: 1.02rem; padding: 0 0.4rem; margin-left: -0.4rem;
}
.fo-reihe { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.fo {
  font: inherit; font-size: 0.94rem; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.45rem 0.95rem; color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.fo:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.fo.aktiv {
  background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
}
.finder-hinweis {
  display: flex; align-items: flex-start; gap: 0.45rem;
  font-size: 0.87rem; color: var(--ink-soft); margin: 0.9rem 0 0;
}
.finder-hinweis svg { width: 1.1em; height: 1.1em; flex: none; margin-top: 0.15rem; }

.finder-ergebnis { margin: 2rem 0; }
.finder-ergebnis > h2 { margin-top: 0; }
.fe-hinweis {
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  border-radius: var(--radius-s); padding: 0.75rem 1rem; font-size: 0.95rem;
  color: var(--ink-strong); margin-bottom: 1.1rem;
}
.ergebnis-karte {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: var(--radius); background: #fff; padding: 1.1rem 1.2rem;
  margin: 0 0 0.9rem;
}
.ergebnis-karte[hidden] { display: none; }
.ergebnis-karte h3 { margin: 0 0 0.3rem; font-size: 1.08rem; }
.ek-text { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.ek-link { font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.ek-link svg { width: 1.05em; height: 1.05em; }

.ek-daten, .attr-liste {
  display: grid; gap: 0.4rem 1.2rem; margin: 0 0 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.ek-daten > div, .attr-liste > div {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.5rem;
  font-size: 0.92rem; padding: 0.3rem 0; border-bottom: 1px solid var(--line-soft);
}
.ek-daten dt, .attr-liste dt {
  color: var(--ink-soft); font-family: var(--display); font-size: 0.85rem;
}
.ek-daten dd, .attr-liste dd { margin: 0; color: var(--ink-strong); }

@media (max-width: 520px) {
  .ek-daten > div, .attr-liste > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ------------------------------------------- Sprungnavigation (lange Seiten) */
.toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: 1rem 1.2rem 1.1rem; margin: 1.7rem 0 2rem;
}
.toc-kopf {
  display: flex; align-items: center; gap: 0.45rem; margin: 0 0 0.6rem;
  font-family: var(--display); font-weight: 640; font-size: 0.96rem;
  color: var(--ink-strong);
}
.toc-kopf svg { width: 1.1em; height: 1.1em; color: var(--brand); flex: none; }
.toc ol {
  list-style: none; margin: 0; padding: 0;
  columns: 2; column-gap: 1.6rem;
}
.toc li { margin: 0; break-inside: avoid; }
.toc a {
  display: block; padding: 0.32rem 0; font-size: 0.93rem;
  text-decoration: none; color: var(--brand);
}
.toc a:hover { text-decoration: underline; color: var(--brand-deep); }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* Ankersprünge nicht unter den klebenden Kopf laufen lassen */
main :where(h2, h3, article)[id] { scroll-margin-top: 78px; }

/* ------------------------------------- Klickflächen (WCAG 2.2, 2.5.8: 24px) */
.crumbs a { padding: 0.15rem 0; display: inline-block; min-height: 24px; }
.footer-nav a { display: inline-block; padding: 0.15rem 0; min-height: 24px; }
.footer-legal a { display: inline-block; padding: 0.2rem 0; min-height: 24px; }
.sources li a, .norm-fuss a { display: inline-block; padding: 0.12rem 0; min-height: 24px; }
