/* 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;
  --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 {
  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;
}

/* Front page: one question, one short answer, one path — fills first screen */
body.front main {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

body.front .hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: 4.5rem 0 5rem;
  min-height: calc(100vh - 12rem);
  border-bottom: 0;
}

body.front .hero .kicker {
  margin-bottom: 0.85rem;
}

body.front .hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
}

body.front .hero .lead {
  max-width: 42ch;
}

body.front .hero .continue {
  font-size: 1rem;
}

.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: 1.6rem;
}

.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;
}

.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;
}

/* —— 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.front .hero {
    padding: 3.25rem 0 3.75rem;
    min-height: calc(100vh - 11rem);
    justify-content: flex-start;
  }

  body.front .hero h1 {
    font-size: clamp(2.2rem, 9vw, 2.85rem);
    max-width: 12ch;
  }

  body.front .hero .lead {
    max-width: 38ch;
  }

  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));
  }
}


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

section.faq > h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.95rem;
}

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

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

.faq-item h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
  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;
}
