/* ==========================================================================
   A41BTT – Stylesheet
   Schriften liegen lokal in /assets/fonts (kein Abruf bei Google).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */

:root {
  --paper: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #efece4;
  --ink: #11201c;
  --ink-2: #47554f;
  --ink-3: #6f7b75;
  --line: #e2ded3;
  --line-strong: #cfcabd;
  --accent: #0a6e60;
  --accent-soft: #e2f0ec;
  --lime: #d4f25a;
  --lime-ink: #11201c;
  --pos: #1f7a47;
  --pos-soft: #e3f2e8;
  --neg: #b4472f;
  --neg-soft: #f8e7e2;
  --warn: #8a5a00;
  --warn-soft: #fbf1d8;

  /* dunkle Bühne (Hero, Rechner, Footer) – in beiden Modi dunkel */
  --stage: #0f1d19;
  --stage-ink: #eef3ec;
  --stage-ink-2: #a8b7af;
  --stage-line: rgba(238, 243, 236, 0.12);

  --shadow: 0 1px 2px rgba(17, 32, 28, 0.05), 0 12px 32px -14px rgba(17, 32, 28, 0.14);
  --radius: 20px;
  --radius-sm: 12px;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1311;
    --surface: #121c19;
    --surface-2: #16221e;
    --ink: #e9eee8;
    --ink-2: #aab6af;
    --ink-3: #85928b;
    --line: #22302b;
    --line-strong: #2f3f39;
    --accent: #62d2bd;
    --accent-soft: #14302a;
    --pos: #72d39c;
    --pos-soft: #13291d;
    --neg: #f08f77;
    --neg-soft: #2f1a15;
    --warn: #e8bd6a;
    --warn-soft: #2a2312;
    --stage: #070e0c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
  font-variation-settings: "opsz" 36;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

strong,
b {
  font-weight: 650;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: 0.01em;
}

.num {
  font-variant-numeric: tabular-nums;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.5em 1em;
  border-radius: 8px;
}

/* Fachbegriff mit Link ins Glossar: dezent gepunktet unterstrichen */

a.term {
  color: inherit;
  text-decoration: underline dotted;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

a.term:hover {
  color: var(--accent);
}

.hero a.term,
.calc-result a.term {
  text-decoration-color: var(--lime);
}

.hero a.term:hover {
  color: var(--lime);
}

/* Ankerlinks an Überschriften: „#“ erscheint beim Überfahren, Klick kopiert den Link */

.anchor {
  margin-left: 0.3em;
  padding: 0 0.15em;
  font-family: var(--sans);
  font-size: 0.65em;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}

h2:hover > .anchor,
h3:hover > .anchor,
dt:hover > .anchor,
.anchor:focus-visible,
.anchor.is-copied {
  opacity: 1;
}

.anchor:hover {
  color: var(--accent);
}

.anchor.is-copied::after {
  content: " ✓";
  color: var(--pos);
}

@media (hover: none) {
  .anchor {
    opacity: 0.45;
  }
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section--alt {
  background: var(--surface-2);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
  color: var(--ink-2);
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose li {
  margin-block: 0.35em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.stack > * + * {
  margin-top: clamp(20px, 3vw, 32px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.header-inner > .brand {
  margin-right: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.site-nav {
  display: flex;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.45em 0.85em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

/* Sprachmenü */

.lang-menu {
  position: relative;
  flex: none;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  padding: 0.42em 0.8em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary:hover,
.lang-menu[open] summary {
  background: var(--surface-2);
  color: var(--ink);
}

.lang-menu summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.lang-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  width: min(460px, calc(100vw - 2 * var(--gutter)));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lang-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0.5em 0.75em;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.lang-panel a:hover {
  background: var(--surface-2);
}

.lang-panel a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.lang-panel a span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 124px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand lang" "nav nav";
    gap: 0 12px;
    min-height: 0;
    padding-top: 10px;
  }

  .header-inner > .brand {
    grid-area: brand;
  }

  .lang-menu {
    grid-area: lang;
  }

  .site-nav {
    grid-area: nav;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 10px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
}

/* ---------- Hero / dunkle Bühne ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--stage);
  color: var(--stage-ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--stage-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--stage-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 72% 30%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 75% at 72% 30%, #000 15%, transparent 72%);
  opacity: 0.6;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -240px;
  top: -300px;
  background: radial-gradient(closest-side, rgba(212, 242, 90, 0.2), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 112px);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero .eyebrow {
  color: var(--lime);
}

.hero h1 {
  font-size: clamp(3.6rem, 2rem + 8vw, 7.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 0.18em;
  font-variation-settings: "opsz" 144;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  font-variation-settings: "opsz" 72;
}

.hero-tagline em {
  font-style: normal;
  color: var(--lime);
}

.hero .lead {
  color: var(--stage-ink-2);
  max-width: 54ch;
}

.hero a:not(.btn) {
  color: var(--stage-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

/* „Zuletzt aktualisiert“ im Seitenkopf */

.page-updated {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--stage-ink-2);
}

/* Unterseiten-Kopf */

.hero--page .hero-inner {
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(44px, 7vw, 84px);
}

.hero--page h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.3em;
}

.hero--page .lead {
  max-width: 62ch;
  margin-bottom: 0;
}

.crumbs {
  font-size: 0.85rem;
  color: var(--stage-ink-2);
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--stage-ink-2) !important;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font: 600 0.98rem/1 var(--sans);
  padding: 1em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .arrow {
  transition: transform 0.15s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 10px 28px -12px rgba(212, 242, 90, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--stage-ink);
  border-color: rgba(238, 243, 236, 0.28);
}

.btn--ghost:hover {
  background: rgba(238, 243, 236, 0.08);
}

.btn--ink {
  background: #11201c;
  color: #f6f4ee;
}

/* ---------- Kennungen (WKN, ISIN …) ---------- */

.idents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ident {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  border: 1px solid var(--stage-line);
  background: rgba(238, 243, 236, 0.04);
  border-radius: 10px;
  padding: 0.4em 0.45em 0.4em 0.8em;
  font-size: 0.82rem;
  color: var(--stage-ink-2);
}

.ident b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--stage-ink);
  letter-spacing: 0.02em;
}

.ident--plain {
  padding-right: 0.8em;
}

.copy {
  appearance: none;
  border: 0;
  border-radius: 6px;
  padding: 0.32em 0.6em;
  font: 600 0.72rem/1.2 var(--sans);
  color: inherit;
  background: color-mix(in srgb, currentColor 12%, transparent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.copy:hover {
  background: color-mix(in srgb, currentColor 22%, transparent);
}

.copy.is-done {
  color: var(--pos);
}

.hero .copy.is-done {
  color: var(--lime);
}

/* ---------- Zins-Karte im Hero ---------- */

.rate-card {
  background: linear-gradient(180deg, rgba(238, 243, 236, 0.075), rgba(238, 243, 236, 0.025));
  border: 1px solid var(--stage-line);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.rate-card__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--stage-ink-2);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--stage-ink-2);
}

.live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.live.is-live {
  color: var(--lime);
}

.live.is-live::before {
  opacity: 1;
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 242, 90, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(212, 242, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 242, 90, 0); }
}

.rate-card__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 2.4rem + 3vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
  margin: 14px 0 8px;
  font-variant-numeric: tabular-nums lining-nums;
  font-variation-settings: "opsz" 144;
}

.rate-card__meta {
  font-size: 0.8rem;
  color: var(--stage-ink-2);
  margin: 0 0 18px;
}

.rate-card dl {
  margin: 0;
}

.rate-card dl > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--stage-line);
  font-size: 0.92rem;
}

.rate-card dt {
  color: var(--stage-ink-2);
}

.rate-card dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.sri {
  display: inline-flex;
  gap: 3px;
  margin-right: 0.55em;
  vertical-align: -1px;
}

.sri i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: rgba(238, 243, 236, 0.16);
}

.sri i.on {
  background: var(--lime);
}

/* große Variante auf hellem Grund */
.sri--light {
  display: flex;
  gap: 6px;
  margin: 0 0 1.2em;
}

.sri--light i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font: 600 0.95rem var(--sans);
  font-style: normal;
}

.sri--light i.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

/* ---------- Steckbrief ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.facts > div {
  background: var(--surface);
  padding: 18px 20px;
}

.facts dt {
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.facts dd {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}

.facts .mono {
  font-size: 1rem;
}

/* ---------- Karten & Listen ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.card > :last-child {
  margin-bottom: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1em;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.badge--pos {
  background: var(--pos-soft);
  color: var(--pos);
}

.badge--neg {
  background: var(--neg-soft);
  color: var(--neg);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.checklist li {
  position: relative;
  padding-left: 40px;
  color: var(--ink-2);
}

.checklist li strong {
  display: block;
  color: var(--ink);
}

.checklist li::before,
.checklist li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
}

.checklist li::before {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pos-soft);
}

.checklist li::after {
  left: 6px;
  top: calc(0.15em + 6px);
  width: 14px;
  height: 14px;
  background: var(--pos);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.checklist--neg li::before {
  background: var(--neg-soft);
}

.checklist--neg li::after {
  background: var(--neg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.checklist--info li::before {
  background: var(--accent-soft);
}

.checklist--info li::after {
  background: var(--accent);
}

/* nummerierte Schritte */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
  font-variant-numeric: lining-nums;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* Chips (Handelsplätze) */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.92rem;
}

.chips li span {
  font-family: var(--mono);
  font-size: 0.8em;
  color: var(--ink-3);
  margin-left: 0.4em;
}

/* Hinweis-Box */

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 16px;
  padding: 18px 20px;
}

.callout::before {
  content: "i";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font: 700 0.95rem/26px var(--serif);
  text-align: center;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Hinweis „in diesem Land nicht zum Vertrieb zugelassen“ – auf allen Seiten betroffener Länderversionen */
.unavailable {
  background: var(--warn-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  font-size: 0.95rem;
}

.unavailable .wrap {
  padding-block: 14px;
}

.unavailable p {
  margin: 0;
}

.unavailable strong {
  color: var(--warn);
}

.unavailable ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.unavailable li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.88rem;
}

.unavailable li .mono {
  color: var(--ink-3);
  font-size: 0.8rem;
}

.unavailable a {
  color: var(--warn);
  font-weight: 600;
}

.unavailable p + p {
  margin-top: 6px;
}

/* Hinweis „Übersetzung – deutsche Fassung maßgeblich“ über dem Impressum */
.translation-note {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.todo {
  background: #fff1a8;
  color: #4a3c00;
  border-radius: 4px;
  padding: 0 0.3em;
}

/* ---------- Tabellen ---------- */

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.table-wrap table {
  min-width: 560px;
}

.table-wrap--narrow table {
  min-width: 0;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

thead th {
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface-2);
  white-space: nowrap;
}

tbody tr:last-child > * {
  border-bottom: 0;
}

tbody th {
  font-weight: 600;
}

.col-hl {
  background: color-mix(in srgb, var(--accent-soft) 70%, transparent);
}

thead .col-hl {
  color: var(--accent);
  background: var(--accent-soft);
}

/* hervorgehobene Tabellenzeile (z. B. A41BTT als Vergleich) */
.row-hl > * {
  background: color-mix(in srgb, var(--accent-soft) 70%, transparent);
}

.row-hl td.num b {
  color: var(--accent);
}

/* Geldmarkt-ETF-Vergleich: breite Tabelle, auf dem Handy horizontal scrollbar */
.mm-table {
  min-width: 860px;
}

.mm-table tbody th {
  white-space: normal;
  min-width: 220px;
}

.mm-table td {
  white-space: nowrap;
}

.mm-table td:nth-child(2) {
  white-space: normal;
  min-width: 160px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

/* Renditevergleich auf der Startseite */
.perf {
  margin-top: clamp(28px, 4vw, 44px);
}

.perf .table-wrap {
  box-shadow: none;
  margin: 18px 0 0;
}

.compare-more {
  margin: 18px 0 0;
  color: var(--ink-2);
}

/* hervorgehobene Karte */
.card--hl {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

td.num,
th.num {
  text-align: right;
  white-space: nowrap;
}

.delta.up {
  color: var(--pos);
}

.delta.down {
  color: var(--neg);
}

/* ---------- Rechner ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .calc {
    grid-template-columns: 1fr;
  }
}

.calc-form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(22px, 3vw, 36px);
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.45;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.input {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 1.05rem var(--sans);
  font-variant-numeric: tabular-nums;
  padding: 12px 14px;
  outline: none;
}

.input span {
  padding-right: 14px;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}

.calc-result {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--stage);
  color: var(--stage-ink);
  padding: clamp(22px, 3vw, 36px);
}

.calc-result__title {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stage-ink-2);
  margin: 0;
}

.result-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
  font-variant-numeric: tabular-nums lining-nums;
  font-variation-settings: "opsz" 144;
  margin: 10px 0 6px;
}

.result-sub {
  color: var(--stage-ink-2);
  font-size: 0.95rem;
  margin: 0;
}

.result-sub b {
  color: var(--stage-ink);
}

.bars {
  display: grid;
  gap: 16px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--stage-ink-2);
  margin-bottom: 7px;
}

.bar-label b {
  color: var(--stage-ink);
  font-variant-numeric: tabular-nums;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(238, 243, 236, 0.08);
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--lime);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bar--muted > i {
  background: #8ea79b;
}

.kv {
  margin: 0;
  display: grid;
  gap: 0;
}

.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--stage-line);
  font-size: 0.92rem;
}

.kv dt {
  color: var(--stage-ink-2);
}

.kv dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.calc-note {
  margin: auto 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--stage-ink-2);
}

/* Sparplan-Säulen */

.cols {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 140px;
  padding-top: 8px;
}

.cols > div {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cols .c-int {
  background: var(--lime);
  border-radius: 3px 3px 0 0;
}

.cols .c-dep {
  background: rgba(238, 243, 236, 0.22);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--stage-ink-2);
}

.legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
  background: rgba(238, 243, 236, 0.22);
}

.legend .l-int::before {
  background: var(--lime);
}

/* ---------- €STR-Verlauf ---------- */

.chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-head h3 {
  margin: 0;
}

.chart-readout {
  text-align: right;
}

.chart-readout b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums lining-nums;
}

.chart-readout span {
  font-size: 0.82rem;
  color: var(--ink-3);
}

.spark {
  color: var(--accent);
}

.spark-plot {
  position: relative;
  height: 260px;
  touch-action: pan-y;
  cursor: crosshair;
}

.spark-plot svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spark-plot .grid {
  stroke: var(--line-strong);
  stroke-dasharray: 3 5;
}

.spark-dot,
.spark-guide {
  position: absolute;
  pointer-events: none;
}

.spark-dot {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
}

.spark-guide {
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.spark-y {
  position: absolute;
  right: 0;
  transform: translateY(-120%);
  font-size: 0.75rem;
  color: var(--ink-3);
  background: var(--surface);
  padding: 0 4px;
  font-variant-numeric: tabular-nums;
}

.spark-x {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 10px;
}

.spark-status {
  display: grid;
  place-items: center;
  min-height: 200px;
  margin: 0;
  color: var(--ink-3);
  text-align: center;
  font-size: 0.95rem;
}

/* ---------- Swap-Schema ---------- */

.swap {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}

.swap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.swap-node {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  background: var(--paper);
}

.swap-node--fund {
  background: var(--stage);
  color: var(--stage-ink);
  border-color: transparent;
}

.swap-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.swap-node strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 4px 0;
}

.swap-node--fund strong {
  color: var(--lime);
}

.swap-node > span:last-child {
  font-size: 0.86rem;
  opacity: 0.8;
}

.swap-flows {
  display: grid;
  gap: 26px;
  color: var(--ink-3);
}

/* Pfeil = Beschriftung + Linie (::before) + Spitze (::after) */
.flow {
  position: relative;
  padding-bottom: 12px;
}

.flow span {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--ink-2);
}

.flow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
}

.flow::after {
  content: "";
  position: absolute;
  bottom: -5px;
  border: 6px solid transparent;
}

.flow--out::after {
  right: -2px;
  border-left: 9px solid currentColor;
  border-right: 0;
}

.flow--in {
  color: var(--accent);
}

.flow--in::after {
  left: -2px;
  border-right: 9px solid currentColor;
  border-left: 0;
}

.swap-basket {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 12px;
  align-items: stretch;
}

.basket {
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.9rem;
}

.basket b {
  display: block;
  margin-bottom: 8px;
}

.basket-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.basket-bar i:first-child {
  width: 75%;
  background: var(--accent);
}

.basket-bar i:last-child {
  flex: 1;
  background: repeating-linear-gradient(45deg, var(--line-strong) 0 4px, transparent 4px 8px);
}

.basket-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-3);
  font-size: 0.8rem;
}

.swap figcaption {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-3);
}

@media (max-width: 760px) {
  .swap-grid,
  .swap-basket {
    grid-template-columns: 1fr;
  }

  .swap-flows {
    gap: 6px;
    padding: 4px 0;
  }

  .flow {
    padding: 0;
  }

  .flow::before,
  .flow::after {
    display: none;
  }

  .flow--out span::before {
    content: "↓ ";
  }

  .flow--in span::before {
    content: "↑ ";
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 19px 44px 19px 0;
  font-weight: 600;
  font-size: 1.04rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.2s;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details > div {
  padding-bottom: 20px;
  color: var(--ink-2);
}

.faq details > div > :last-child {
  margin-bottom: 0;
}

/* ---------- Call-to-Action ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 24px;
  background: var(--lime);
  color: var(--lime-ink);
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem);
}

.cta p {
  margin: 0.35em 0 0;
  opacity: 0.8;
}

/* ---------- TradingView ---------- */

.chart-embed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.consent {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 420px;
  padding: 32px var(--gutter);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--surface);
}

.consent > div {
  max-width: 460px;
}

.consent svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  color: var(--accent);
  opacity: 0.6;
}

.consent .btn {
  margin: 8px 0 12px;
}

.consent small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.5;
}

#tv-chart {
  height: 600px;
}

#tv-chart:empty {
  display: none;
}

@media (max-width: 600px) {
  #tv-chart {
    height: 460px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--stage);
  color: var(--stage-ink-2);
  font-size: 0.92rem;
  padding-top: clamp(48px, 7vw, 80px);
}

.site-footer a {
  color: var(--stage-ink);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer .brand {
  color: var(--stage-ink);
  margin-bottom: 14px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stage-ink-2);
  margin: 6px 0 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-langs {
  display: block;
  margin-top: clamp(32px, 5vw, 48px);
}

.footer-langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: clamp(28px, 4vw, 40px);
  padding-block: 24px 32px;
  border-top: 1px solid var(--stage-line);
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-legal p {
  max-width: 90ch;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

/* Kennzahlen-Liste auf hellem Grund (Steuerseite) */

.kv--light > div {
  border-top-color: var(--line);
}

.kv--light dt {
  color: var(--ink-2);
}

.kv--light dd {
  text-align: right;
}

/* Chips als Links (z. B. Länder mit Steuer-Infos) */

.chips--links li {
  padding: 0;
}

.chips--links a {
  display: block;
  padding: 0.4em 0.95em;
  color: var(--ink);
  text-decoration: none;
}

.chips--links a:hover {
  color: var(--accent);
}

/* Glossar */

/* einspaltig, damit sich die längeren Erklärungen gut lesen lassen */
.glossary {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0;
}

.glossary > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  scroll-margin-top: 100px;
}

.glossary dd p {
  margin: 0 0 0.75em;
}

.glossary dd p:last-child {
  margin-bottom: 0;
}

.glossary .g-def {
  color: var(--ink);
  font-weight: 500;
}

.glossary > div:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.glossary dt {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 36;
}

.glossary dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* Sparplan-Anbieter */

.broker-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.broker-table td,
.broker-table th {
  vertical-align: middle;
}

.broker-note {
  display: block;
  max-width: 46ch;
  margin-top: 4px;
  white-space: normal;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-3);
}

.tag {
  display: inline-block;
  padding: 0.18em 0.65em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.tag--free {
  background: var(--pos-soft);
  color: var(--pos);
}

.tag--neg {
  background: var(--neg-soft);
  color: var(--neg);
}

.tag--open {
  background: var(--surface-2);
  color: var(--ink-3);
}

/* Broker-Kacheln (Kaufen-Seite) */

.broker-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.broker {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s, transform 0.15s;
}

.broker:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* farbiger Punkt je Typ vor dem Namen */
.broker::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.broker--neo::before {
  background: #9bc22a;
}

.broker--bank::before {
  background: var(--ink-3);
}

.broker-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  line-height: 1.3;
}

.broker .tag {
  flex: none;
  font-size: 0.75rem;
}

.tag--neo {
  background: color-mix(in srgb, var(--lime) 35%, transparent);
  color: var(--ink);
}

.tag--online {
  background: var(--accent-soft);
  color: var(--accent);
}

.tag--bank {
  background: var(--surface-2);
  color: var(--ink-2);
}

.table-source {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 12px;
}

/* ---------- Sprachwahl (Startseite /) und 404 ---------- */

.picker {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-block: 56px;
}

.picker-brand {
  color: var(--stage-ink);
  margin-bottom: 28px;
}

.picker h1 {
  font-size: clamp(3.2rem, 2rem + 6vw, 6rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.15em;
}

.picker .lead {
  margin-bottom: 40px;
}

.picker-title {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.lang-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.lang-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--stage-line);
  border-radius: 14px;
  background: rgba(238, 243, 236, 0.04);
  color: var(--stage-ink);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.lang-grid a:hover {
  border-color: var(--lime);
  background: rgba(212, 242, 90, 0.08);
  transform: translateY(-1px);
}

.lang-grid a span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--stage-ink-2);
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
