/* Ratgeber-Bereich flohmarktdealer.de
   Farben, Schrift und Radien sind von der Startseite übernommen (Tailwind-Bundle, Stand 29.08.2026). */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #02030a;
  --card: #0b0c18;
  --card-soft: rgba(11, 12, 24, .5);
  --border: #1d1e2b;
  --line: rgba(168, 85, 247, .10);
  --line-strong: rgba(168, 85, 247, .22);
  --text: #f5f5f5;
  --body: #c9cbd8;
  --muted: #84879a;
  --accent: #c084fc;
  --accent-light: #d8b4fe;
  --accent-mid: #a855f7;
  --accent-deep: #7e22ce;
  --radius: 16px;
  --radius-sm: 12px;
  --wrap: 72rem;
  --read: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-light); }

/* Barrierefreiheit: Sprunglink und Fokusrahmen */
.sprunglink {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent-mid); color: #fff; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.sprunglink:focus { top: 12px; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }

/* Kopfzeile wie auf der Startseite */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 3, 10, .8);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}
.kopf-innen { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marke { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.marke:hover { color: var(--text); }
.marke-icon {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(to bottom right, var(--accent-mid), var(--accent-deep));
}
.marke-icon svg { width: 16px; height: 16px; color: #fff; }
.marke span span { color: var(--accent); }
.nav { display: none; gap: 24px; align-items: center; }
.nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.menue-knopf {
  background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; border-radius: 8px;
}
.menue-knopf:hover { color: var(--text); }
.menue-knopf svg { width: 22px; height: 22px; display: block; }
.menue { border-top: 1px solid var(--line); padding: 8px 0 16px; }
.menue[hidden] { display: none; }
.menue a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-size: 16px; }
@media (min-width: 768px) {
  .nav { display: flex; }
  .menue-knopf, .menue { display: none !important; }
}

/* Artikelkopf */
.artikelkopf { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.artikelkopf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60rem 28rem at 15% -10%, rgba(126, 34, 206, .22), transparent 60%);
}
.artikelkopf-innen { position: relative; display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 900px) {
  .artikelkopf-innen { grid-template-columns: minmax(0, 1fr) 220px; align-items: end; padding-top: 64px; padding-bottom: 0; }
}
.brotkrumen { font-size: 14px; color: var(--muted); margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; color: #4a4c5e; }
.brotkrumen a { color: var(--muted); text-decoration: none; }
.brotkrumen a:hover { color: var(--text); }
h1 {
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.1; letter-spacing: -.03em;
  font-weight: 800; margin: 0 0 20px; max-width: 22ch; text-wrap: balance;
}
.lead { font-size: 19px; line-height: 1.6; color: var(--body); margin: 0 0 20px; max-width: 40rem; }
.meta { font-size: 14px; color: var(--muted); margin: 0; }
@media (min-width: 900px) { .artikelkopf-text { padding-bottom: 56px; } }
.kopfbild { display: none; }
@media (min-width: 900px) {
  .kopfbild { display: block; align-self: end; height: 300px; overflow: hidden; }
  .kopfbild img {
    width: 220px; border-radius: 24px 24px 0 0;
    border: 1px solid var(--line-strong); border-bottom: 0;
    box-shadow: 0 -10px 60px rgba(126, 34, 206, .25);
  }
}

/* Inhaltsraster: Text links, Inhaltsverzeichnis rechts */
.raster { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 1024px) {
  .raster { grid-template-columns: minmax(0, var(--read)) 240px; justify-content: space-between; gap: 64px; padding-top: 56px; }
}
.toc-mobil { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-soft); margin: 0 0 32px; }
.toc-mobil summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15px; list-style-position: inside; }
.toc-mobil ol { margin: 0; padding: 0 18px 16px 38px; }
.toc-mobil li { padding: 5px 0; }
.toc-mobil a { color: var(--body); text-decoration: none; font-size: 15px; }
@media (min-width: 1024px) { .toc-mobil { display: none; } }
.seitenleiste { display: none; }
@media (min-width: 1024px) {
  .seitenleiste { display: block; }
  .seitenleiste-innen { position: sticky; top: 96px; }
}
.toc-titel { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.toc { list-style: none; margin: 0 0 28px; padding: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.mini-cta { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 16px; background: linear-gradient(160deg, rgba(126, 34, 206, .16), rgba(11, 12, 24, .6)); }
.mini-cta p { margin: 0 0 12px; font-size: 14px; color: var(--body); line-height: 1.5; }
.mini-cta .badges { gap: 8px; }
.mini-cta .badges img { width: 120px; height: auto; }

/* Fließtext */
.artikel { min-width: 0; }
.artikel > * { max-width: var(--read); }
.artikel p, .artikel li { font-size: 18px; line-height: 1.75; color: var(--body); }
.artikel p { margin: 0 0 20px; }
.artikel strong { color: var(--text); font-weight: 600; }
.artikel h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.2; letter-spacing: -.025em;
  font-weight: 700; margin: 56px 0 16px; scroll-margin-top: 88px;
}
.artikel h2:first-child { margin-top: 0; }
.artikel h3 { font-size: 20px; line-height: 1.3; font-weight: 650; margin: 36px 0 12px; letter-spacing: -.01em; }
.artikel ul, .artikel ol { margin: 0 0 24px; padding-left: 22px; }
.artikel li { margin: 0 0 8px; }
.artikel li::marker { color: var(--accent); }

.kurz {
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--card);
  padding: 20px 22px; margin: 0 0 40px;
}
.artikel .kurz-titel { font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--accent); margin: 0 0 8px; }
.artikel .kurz p { margin: 0; font-size: 17px; color: var(--text); }
.artikel .kurz p + p { margin-top: 10px; color: var(--body); }
.artikel .kurz .kurz-titel { font-size: 13px; color: var(--accent); }
.artikel .kurz .kurz-titel + p { margin-top: 0; color: var(--text); }

.hinweis {
  border: 1px solid var(--line-strong); background: rgba(126, 34, 206, .08);
  padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 24px;
}
.artikel .hinweis p { margin: 0; font-size: 16px; }

/* Tabellen */
.tabelle-rahmen { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; background: var(--card-soft); }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; padding: 16px 18px 6px; font-weight: 650; font-size: 17px; color: var(--text); }
th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 18px; }
td { padding: 12px 18px; vertical-align: top; color: var(--body); line-height: 1.5; }
tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .025); }
td.preis { white-space: nowrap; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
td.ding { color: var(--text); }
@media (max-width: 639px) {
  .tabelle-mobil thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle-mobil tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 16px; }
  .tabelle-mobil td { padding: 0; }
  .tabelle-mobil td.preis { text-align: right; }
  .tabelle-mobil td.notiz { grid-column: 1 / -1; font-size: 15px; color: var(--muted); margin-top: 4px; }
  .tabelle-mobil td.notiz:empty { display: none; }
  caption { padding: 14px 16px 6px; }
}
.tabelle-breit { overflow-x: auto; }
.tabelle-breit table { min-width: 560px; }

/* App-Hinweis an den Abbruchstellen */
.app-box {
  position: relative; overflow: hidden;
  display: grid; gap: 20px; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(126, 34, 206, .22), rgba(11, 12, 24, .9) 55%);
  padding: 24px; margin: 40px 0;
}
@media (min-width: 640px) { .app-box { grid-template-columns: minmax(0, 1fr) 150px; padding: 28px 28px 0; } }
.app-box-text { padding-bottom: 0; }
@media (min-width: 640px) { .app-box-text { padding-bottom: 28px; } }
.artikel .app-box .app-box-titel { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; margin: 0 0 8px; color: var(--text); }
.artikel .app-box p { font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.app-box-bild { display: none; }
@media (min-width: 640px) {
  .app-box-bild { display: block; align-self: end; height: 210px; overflow: hidden; }
  .app-box-bild img { width: 150px; border-radius: 18px 18px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; }
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badges a { display: inline-block; border-radius: 10px; transition: opacity .2s, transform .2s; }
.badges a:hover { opacity: .85; }
.badges a:active { transform: translateY(1px); }
.badges img { width: 150px; height: auto; }
.klein, .artikel p.klein { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 12px 0 0; }
.artikel p.klein { margin: -16px 0 28px; }
.artikel .app-box .klein { font-size: 14px; margin: 12px 0 0; color: var(--muted); }

/* Rechner */
.rechner { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 22px; margin: 0 0 32px; }
.rechner-felder { display: grid; gap: 16px; }
@media (min-width: 640px) { .rechner-felder { grid-template-columns: 1fr 1.4fr; } }
.feld { display: grid; gap: 8px; }
.feld label { font-size: 14px; font-weight: 600; color: var(--text); }
.feld input, .feld select {
  font: inherit; font-size: 17px; color: var(--text); background: var(--bg);
  border: 1px solid #34364a; border-radius: 10px; padding: 11px 12px; width: 100%;
}
.feld input:focus-visible, .feld select:focus-visible { border-color: var(--accent); }
.feld-hilfe { font-size: 13px; color: var(--muted); }
.ergebnis { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .ergebnis { grid-template-columns: 1fr 1fr; } }
.ergebnis div { border-radius: var(--radius-sm); background: var(--card-soft); border: 1px solid var(--border); padding: 14px 16px; }
.ergebnis dt { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.ergebnis dd { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.artikel .rechner .ergebnis-notiz { font-size: 14px; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }

/* FAQ wie auf der Startseite */
.faq { display: grid; gap: 12px; margin: 0 0 24px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 20px 18px; }
.artikel .faq p { font-size: 16px; line-height: 1.7; margin: 0; }

/* Weiterlesen */
.weiter { border-top: 1px solid var(--line); padding: 48px 0 72px; }
.weiter-titel { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 20px; }
.weiter-liste { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .weiter-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.weiter-liste a {
  display: block; height: 100%; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-soft);
  padding: 20px 22px; transition: border-color .2s, transform .2s;
}
.weiter-liste a:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }
.weiter-liste strong { display: block; font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
.weiter-liste span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Übersichtsseite */
.uebersicht { list-style: none; margin: 0; padding: 40px 0 72px; display: grid; gap: 16px; }
.uebersicht a {
  display: grid; gap: 6px; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-soft);
  padding: 24px; transition: border-color .2s;
}
@media (min-width: 768px) { .uebersicht a { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; padding: 28px 32px; } }
.uebersicht a:hover { border-color: var(--line-strong); color: var(--text); }
.uebersicht strong { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }
.uebersicht span { color: var(--body); font-size: 16px; line-height: 1.6; }
.uebersicht em { font-style: normal; color: var(--accent); font-size: 15px; font-weight: 600; white-space: nowrap; }
@media (min-width: 768px) { .uebersicht em { grid-row: 1 / span 2; grid-column: 2; } }

/* Fußzeile wie auf der Startseite */
.fuss { border-top: 1px solid var(--line); background: var(--card-soft); }
.fuss-raster { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 8px; }
@media (min-width: 640px) { .fuss-raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fuss-raster { grid-template-columns: repeat(3, 1fr); } }
.fuss h2 { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.fuss p, .fuss li { font-size: 14px; color: var(--muted); line-height: 1.6; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--text); }
.fuss .marke { font-size: 16px; margin-bottom: 12px; }
.fuss .marke-icon { width: 28px; height: 28px; }
.fuss-unten { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12px; color: var(--muted); }
.fuss-unten nav { display: flex; gap: 16px; }

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

@media (max-width: 639px) {
  .app-box .badges img { width: 136px; }
}

/* Verkaufswert-Rechner */
.vw-felder { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .vw-felder { grid-template-columns: 1fr 1fr; }
  .vw-breit { grid-column: 1 / -1; }
  .ergebnis.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ergebnis.drei dd { font-size: 21px; white-space: nowrap; }
.vw-felder .feld { align-content: start; }
.artikel .rechner .ergebnis-notiz:empty { display: none; }

/* Vergleichstabelle: auf dem Handy eine Karte je Zeile */
@media (max-width: 639px) {
  .tabelle-karten thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle-karten tr { display: block; padding: 14px 16px; }
  .tabelle-karten td { display: block; padding: 3px 0; }
  .tabelle-karten td.ding { font-weight: 650; font-size: 17px; padding-bottom: 6px; }
  .tabelle-karten td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 14px; }
}
.tabelle-karten td.ding { white-space: normal; }
.unsere { color: var(--accent); font-size: 13px; font-weight: 600; display: block; }
