/* steckercheck.de — editorial, static, no third-party assets */
:root {
  --bg: #f3efe6;
  --paper: #fffcf6;
  --ink: #141310;
  --muted: #534f46;
  --hairline: #d8d2c4;
  --accent: #1a3d32;
  --accent-soft: #e4eee8;
  --well: #f6f3eb;
  --max: 38rem;
  --wide: 46rem;
  --home: 58rem;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino,
    "Times New Roman", serif;
}

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

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.7;
}

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

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

a:focus-visible,
.wordmark:focus-visible,
.nav a:focus-visible,
.continue:focus-visible,
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.45rem 0.75rem;
  z-index: 20;
  text-decoration: none;
}

.skip:focus {
  top: 0.65rem;
}

/* —— Masthead —— */
.site-header {
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}

.site-header-inner,
.site-footer-inner,
.wrap {
  width: min(var(--wide), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.75rem;
  padding: 0.95rem 0 0.85rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.wordmark {
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--ink);
}

.wordmark span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.3;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.15rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.55rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--accent);
  text-decoration: none;
}

/* —— Page frame —— */
main {
  flex: 1;
  padding: 0 0 4rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
}

.wrap.wide {
  width: min(var(--wide), calc(100% - 2rem));
}

.page {
  padding-top: 2.4rem;
}

/* —— Type —— */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

h2 {
  font-size: 1.28rem;
  margin: 2.85rem 0 0.75rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
  margin: 1.85rem 0 0.45rem;
  letter-spacing: -0.015em;
}

p,
li {
  max-width: 65ch;
}

p {
  margin: 0 0 1.05rem;
}

.lead,
.dek {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 62ch;
}

.lead {
  color: var(--muted);
}

.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  margin: 0 0 1.15rem;
}

/* —— Hero (homepage) —— */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 2.75rem 0 2.6rem;
  margin-bottom: 2.15rem;
}

.hero .wrap {
  width: min(var(--wide), calc(100% - 2rem));
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  max-width: 16ch;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.05rem;
}

.hero .lead {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.35rem;
}

/* Homepage: decision board, not a sparse hero */
body.home main {
  padding-bottom: 1.6rem;
}

body.home .site-header-inner,
body.home .site-footer-inner,
.home-wrap {
  width: min(var(--home), calc(100% - 2rem));
}

.home-wrap {
  padding-top: 1.05rem;
}

body.home h1 {
  max-width: none;
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  margin: 0 0 0.85rem;
}

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
}

.board-panel {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--accent);
  padding: 0.95rem 1.15rem 1rem;
}

.board-panel p {
  max-width: none;
  margin: 0;
}

.board-num {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5.2vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--accent);
}

.board-sub {
  margin-top: 0.28rem !important;
  font-size: 0.8rem;
  color: var(--muted);
}

.board-label {
  margin-top: 0.7rem !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.board-desc {
  margin-top: 0.15rem !important;
  font-size: 0.92rem;
  color: var(--ink);
}

.board-note {
  margin: 0 0 1.05rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: none;
}

.home-page .table-wrap {
  margin: 0 0 1.1rem;
}

.home-page th,
.home-page td {
  padding: 0.55rem 0.7rem;
}

.home-page table {
  font-size: 0.84rem;
}

.traps-kicker {
  margin: 0 0 0.45rem;
}

.traps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.65rem;
}

.traps li {
  max-width: none;
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
}

.traps li + li {
  margin-top: 0;
}

.home-cta {
  margin: 0;
  max-width: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.btn-primary:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.12);
}

.continue {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  padding: 0.35rem 0;
}

.continue:hover {
  text-decoration-thickness: 2px;
}

/* —— Disclosure: quiet well, not a warning —— */
.disclosure {
  margin: 0 0 2rem;
  padding: 0.85rem 0 0.95rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.disclosure p {
  margin: 0;
  max-width: 68ch;
}

.disclosure-kicker {
  display: inline;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.45em;
}

/* —— Featured story card —— */
.story-card,
.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem;
}

.story-card li,
.card-list li,
.story {
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--accent);
  padding: 1.25rem 1.3rem 1.35rem;
}

.story h2,
.story-card h2,
.story h3,
.story-card h3,
.card-list h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 0 0 0.45rem;
  max-width: 28ch;
}

.story h2 a,
.story-card h2 a,
.story h3 a,
.story-card h3 a,
.card-list h3 a {
  color: var(--ink);
  text-decoration: none;
}

.story h2 a:hover,
.story-card h2 a:hover,
.story h3 a:hover,
.story-card h3 a:hover,
.card-list h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.story p,
.story-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 58ch;
}

.section-kicker {
  margin: 0 0 0.85rem;
}

/* —— Pipeline —— */
.pipeline {
  margin: 0;
  padding-top: 0.25rem;
}

.pipeline ul {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  border-top: 1px solid var(--hairline);
}

.pipeline li {
  max-width: none;
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 0.95rem;
}

.pipeline .meta {
  margin-bottom: 0.35rem;
}

/* —— Article —— */
.article-header {
  margin-bottom: 2.15rem;
}

.article-header h1 {
  max-width: 20ch;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
}

.prose {
  padding-top: 2.35rem;
}

.prose p,
.prose li {
  max-width: 65ch;
}

/* Article scan: chapter air + jump targets (direct children only — not FAQ/legal) */
.prose > h2 {
  margin-top: 3.25rem;
  margin-bottom: 0.8rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 5.5rem;
}

.prose > h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.4rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent);
  scroll-margin-top: 5.5rem;
}

.prose > h2 + h3 {
  margin-top: 1.1rem;
}

.pull {
  margin: 1.75rem 0 1.85rem;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 2px solid var(--accent);
  max-width: 42ch;
}

.pull p {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: none;
}

/* —— Table —— */
.table-wrap {
  position: relative;
  overflow-x: auto;
  margin: 0.4rem 0 1.5rem;
  border: 1px solid var(--hairline);
  background: var(--paper);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.45;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--hairline);
}

th {
  background: var(--accent-soft);
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

td:first-child {
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

/* —— Lists —— */
ol,
ul {
  margin: 0 0 1.2rem;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.4rem;
}

/* Checklist: only “Was Sie prüfen” (h2 + ol). Not Quellen (.sources), not Drei Punkte (p + ol). */
.prose > h2 + ol:not(.sources) {
  list-style: none;
  padding: 0;
  margin: 0.55rem 0 1.6rem;
  counter-reset: pruefen;
  max-width: 42rem;
}

.prose > h2 + ol:not(.sources) li {
  counter-increment: pruefen;
  position: relative;
  max-width: none;
  margin: 0 0 0.65rem;
  padding: 0.85rem 1.05rem 0.85rem 2.85rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--accent);
}

.prose > h2 + ol:not(.sources) li + li {
  margin-top: 0;
}

.prose > h2 + ol:not(.sources) li::before {
  content: counter(pruefen);
  position: absolute;
  left: 0.95rem;
  top: 0.85rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--accent);
}

/* Drei Punkte: stay a normal list, slightly clearer numbers */
.prose > p + ol {
  padding-left: 1.4rem;
  font-variant-numeric: tabular-nums;
}

/* —— Bezug / merchant placeholders —— */
.bezug {
  margin: 1.75rem 0 2rem;
  padding: 1rem 0 0.15rem;
  border-top: 1px solid var(--hairline);
  max-width: 42rem;
}

.bezug .kicker {
  margin-bottom: 0.55rem;
}

.placeholder-link {
  display: block;
  margin: 0 0 0.35rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  max-width: 40rem;
  font-size: 0.98rem;
}

.placeholder-link strong {
  color: var(--ink);
  font-weight: 650;
}

.bezug .note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* —— Sources —— */
.sources {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  counter-reset: src;
}

.sources li {
  max-width: none;
  margin: 0 0 0.85rem;
  padding-left: 1.7rem;
  text-indent: -1.7rem;
  overflow-wrap: anywhere;
}

.sources li::before {
  counter-increment: src;
  content: counter(src) ".";
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-right: 0.4em;
}

.sources a {
  overflow-wrap: anywhere;
}

/* —— Legal —— */
address {
  font-style: normal;
  margin: 0 0 1.15rem;
  line-height: 1.65;
}

.legal-block {
  margin: 0 0 1.75rem;
}

.legal-item {
  margin: 0 0 1.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--hairline);
}

.legal-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-item dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.legal-item dd {
  margin: 0;
  max-width: 42ch;
}

.legal-item dd a {
  color: var(--accent);
}

.page h1 {
  max-width: 16ch;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--paper);
  padding: 1.2rem 0 1.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  align-items: baseline;
}

.site-footer .publisher {
  color: var(--muted);
  margin-right: 0.25rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0;
}

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

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 0.16s ease, text-decoration-thickness 0.16s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* —— Small screens —— */
@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .tagline {
    display: none;
  }

  .site-header-inner {
    align-items: flex-start;
    padding: 0.8rem 0 0.55rem;
  }

  .nav {
    width: 100%;
    margin: 0 -0.35rem;
  }

  .nav a {
    min-height: 44px;
    padding: 0.55rem 0.45rem;
  }

  .hero {
    padding: 2.1rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.55rem);
    max-width: 14ch;
  }

  body.home main {
    padding-bottom: 1.85rem;
  }

  .home-wrap {
    padding-top: 0.95rem;
  }

  body.home h1 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    max-width: 14ch;
  }

  .board {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .board-num {
    font-size: clamp(2.2rem, 11vw, 2.7rem);
  }

  .traps {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-page .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .home-page .table-wrap::after {
    content: none;
    display: none;
  }

  .home-page .table-wrap table,
  .home-page .table-wrap tbody {
    display: block;
    width: 100%;
  }

  .home-page .table-wrap thead {
    display: none;
  }

  .home-page .table-wrap tbody tr {
    display: block;
    margin: 0 0 0.7rem;
    padding: 0.15rem 0 0.2rem;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-top: 2px solid var(--accent);
  }

  .home-page .table-wrap tbody tr:last-child {
    margin-bottom: 0;
  }

  .home-page .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    white-space: normal;
    padding: 0.5rem 0.9rem;
    border-bottom: 1px solid var(--hairline);
  }

  .home-page .table-wrap td:last-child {
    border-bottom: 0;
  }

  .home-page .table-wrap td::before {
    display: block;
    margin: 0 0 0.15rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .home-page .table-wrap td:nth-child(1)::before {
    content: "Zahl";
  }

  .home-page .table-wrap td:nth-child(2)::before {
    content: "Was sie misst";
  }

  .home-page .table-wrap td:nth-child(3)::before {
    content: "Wo sie steht";
  }

  .home-page .table-wrap td:nth-child(4)::before {
    content: "Was sie begrenzt";
  }

  th,
  td {
    min-width: 7.5rem;
  }

  td:first-child {
    white-space: normal;
    min-width: 9rem;
  }

  .table-wrap::after {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1.35rem;
    background: linear-gradient(to right, transparent, rgba(20, 19, 16, 0.08));
  }

  /* Article table: stack the two data rows as paper cards (no data-label in HTML) */
  .prose .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .prose .table-wrap::after {
    content: none;
    display: none;
  }

  .prose .table-wrap table,
  .prose .table-wrap tbody {
    display: block;
    width: 100%;
  }

  .prose .table-wrap thead {
    display: none;
  }

  .prose .table-wrap tbody tr {
    display: block;
    margin: 0 0 0.85rem;
    padding: 0.2rem 0 0.25rem;
    background: var(--paper);
    border: 1px solid var(--hairline);
    border-top: 2px solid var(--accent);
  }

  .prose .table-wrap tbody tr:last-child {
    margin-bottom: 0;
  }

  .prose .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    white-space: normal;
    padding: 0.55rem 0.95rem;
    border-bottom: 1px solid var(--hairline);
  }

  .prose .table-wrap td:last-child {
    border-bottom: 0;
  }

  .prose .table-wrap td::before {
    display: block;
    margin: 0 0 0.18rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .prose .table-wrap td:nth-child(1)::before {
    content: "Zahl";
  }

  .prose .table-wrap td:nth-child(2)::before {
    content: "Was sie misst";
  }

  .prose .table-wrap td:nth-child(3)::before {
    content: "Wo sie steht";
  }

  .prose .table-wrap td:nth-child(4)::before {
    content: "Was sie begrenzt";
  }
}


/* —— FAQ: editorial stacked Q&A, no accordion —— */
section.faq {
  margin-top: 3rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 5.5rem;
}

section.faq > h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.7rem;
  scroll-margin-top: 5.5rem;
}

.faq-item {
  margin: 0;
  padding: 0.72rem 0 0.75rem;
  border-bottom: 1px solid var(--hairline);
  max-width: 42rem;
  scroll-margin-top: 5.5rem;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 700;
  margin: 0 0 0.28rem;
  letter-spacing: -0.015em;
  line-height: 1.28;
  color: var(--ink);
  max-width: none;
  overflow-wrap: break-word;
}

.faq-item p {
  margin: 0;
  max-width: 65ch;
  color: var(--muted);
  line-height: 1.65;
}

/* .btn alias: editorial underline, not a SaaS pill */
.btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  padding: 0.35rem 0;
  background: none;
  border-radius: 0;
}

.btn:hover {
  color: var(--accent);
  filter: none;
  text-decoration-thickness: 2px;
}

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