/* forum-r125.de — Das 125er-Straßenmagazin
   Palette: Anthrazit / mechanisches Orange / Off-White */

:root {
  --ink: #191c20;          /* anthracite profond */
  --ink-2: #22262c;
  --ink-3: #2b3038;
  --line: #3a4049;
  --paper: #f2f0ec;        /* off-white chaud */
  --paper-2: #e9e6e0;
  --muted: #9aa1ab;
  --muted-dark: #8a919b;
  --orange: #f2600c;       /* orange mécanique */
  --orange-2: #ff7a1f;
  --orange-soft: rgba(242, 96, 12, 0.12);
  --maxw: 1160px;
  --text: #c9ced5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typo ---------- */
h1, h2, h3, h4 { color: #fff; line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: 0.01em; hyphens: auto; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2.6em 0 0.7em; }
h2 .num { color: var(--orange); font-size: 0.72em; letter-spacing: 0.14em; display: block; margin-bottom: 0.25em; font-weight: 700; }
h3 { font-size: 1.22rem; margin: 1.9em 0 0.5em; }
p { margin: 0 0 1.15em; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
strong { color: #e8eaee; }
ul, ol { margin: 0 0 1.3em 1.3em; }
li { margin-bottom: 0.5em; }

.lead { font-size: 1.17rem; color: #dfe3e8; max-width: 46em; }
.kicker {
  display: inline-block; font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-2);
  border: 1px solid rgba(242, 96, 12, 0.45); padding: 0.3em 0.8em;
  border-radius: 2px; margin-bottom: 1.1em; background: var(--orange-soft);
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 1.6rem; padding: 0.8rem 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 40px; color: #fff; font-weight: 800; font-size: 1.06rem; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand svg, .brand img { width: 34px; height: 34px; flex: none; }
.brand .tld { color: var(--orange-2); }
nav.main { margin-left: auto; display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav.main a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; padding: 0 6px; color: var(--text); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; }
nav.main a:hover { color: #fff; text-decoration: none; border-bottom: 2px solid var(--orange); }

/* ---------- Hero (dégradé CSS, sans photo) ---------- */
.hero {
  position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(1100px 560px at 84% 112%, rgba(242, 96, 12, 0.38), transparent 62%),
    radial-gradient(760px 420px at -8% -18%, rgba(74, 82, 94, 0.5), transparent 60%),
    linear-gradient(158deg, #14161a 0%, #1c2026 52%, #242931 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 52px, rgba(255, 255, 255, 0.018) 52px 54px);
}
.hero::after {
  content: ""; position: absolute; right: -150px; bottom: -210px; width: 560px; height: 560px;
  border-radius: 50%; border: 96px solid rgba(242, 96, 12, 0.10); pointer-events: none;
}
.hero-mark {
  position: absolute; right: -0.04em; bottom: -0.28em; pointer-events: none;
  font-size: clamp(9rem, 24vw, 20rem); font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.055);
  letter-spacing: -0.04em; user-select: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 5.2rem 1.4rem 4.4rem;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 62vh, 640px);
}

/* Bandeau décoratif sous les entêtes d'articles */
.media-band {
  height: 10px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg,
    var(--orange) 0%, var(--orange-2) 22%,
    #2b3038 22.03%, #22262c 58%,
    rgba(242, 96, 12, 0.55) 99%);
}
.hero-content h1 { max-width: 13em; text-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.hero-content p { max-width: 34em; font-size: 1.12rem; color: #e6e9ee; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-meta { margin-top: 1.4rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(20, 22, 26, 0.75); border: 1px solid var(--line);
  color: #dfe3e8; padding: 0.35em 0.8em; border-radius: 2px;
}
.chip.orange { background: var(--orange); border-color: var(--orange); color: #14161a; }

/* ---------- Layout ---------- */
main { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }
.section { padding: 3.6rem 0 2.4rem; }
.section.tight { padding: 2.6rem 0 1.6rem; }
.grid { display: grid; gap: 1.4rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.5rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--orange); transform: translateY(-3px); }
.card .tag { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-2); }
.card h3 { margin: 0; font-size: 1.12rem; }
.card h3 a { display: inline-block; padding: 7px 0; margin: -7px 0; color: #fff; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.card .go { display: inline-flex; align-items: center; min-height: 40px; margin-top: auto; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; }

/* ---------- Article ---------- */
.article-header { border-bottom: 1px solid var(--line); background: var(--ink); }
.article-header .wrap { padding-top: 3.2rem; padding-bottom: 2.6rem; }
.crumbs { font-size: 0.875rem; color: var(--muted-dark); letter-spacing: 0.04em; margin-bottom: 1.2rem; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3.2rem; padding: 2.6rem 0 4rem; }
.prose { max-width: 44em; }
.prose h2:first-child { margin-top: 0; }

.figure { margin: 2.2em 0; }
.figure img { width: 100%; display: block; border-radius: 6px; border: 1px solid var(--line); }
.figure figcaption { font-size: 0.875rem; color: var(--muted-dark); margin-top: 0.6em; letter-spacing: 0.02em; }

/* Sidebar */
aside.toc { border-left: 1px solid var(--line); padding-left: 1.6rem; font-size: 0.9rem; position: sticky; top: 84px; align-self: start; }
aside.toc .toc-title { font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); font-weight: 700; margin-bottom: 0.8em; }
aside.toc ul { list-style: none; margin: 0 0 1.8em; padding: 0; }
aside.toc li { margin-bottom: 0.2em; }
aside.toc a { display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; padding: 0 6px; margin-left: -6px; color: var(--muted); }
aside.toc a:hover { color: var(--orange-2); }
aside.toc .box { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem; }

/* Specs table */
table.specs { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.8em 0 2.2em; font-size: 0.95rem; -webkit-overflow-scrolling: touch; }
table.specs caption { caption-side: top; text-align: left; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-2); font-weight: 700; padding-bottom: 0.7em; }
table.specs th, table.specs td { text-align: left; padding: 0.65em 0.8em; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs th { color: #fff; font-weight: 700; white-space: nowrap; }
table.specs td { color: var(--text); }
table.specs tr:nth-child(even) { background: rgba(255,255,255,0.022); }

/* Callout / note */
.note {
  border-left: 3px solid var(--orange); background: var(--orange-soft);
  padding: 1em 1.3em; border-radius: 0 4px 4px 0; margin: 1.8em 0; color: #e8d9cd;
}
.note strong { color: #fff; }

/* Checkliste */
ol.checklist { list-style: none; counter-reset: chk; margin: 1.6em 0; padding: 0; }
ol.checklist > li {
  counter-increment: chk; position: relative; padding: 0.85em 0 0.85em 3.2em;
  border-bottom: 1px solid var(--line); margin: 0;
}
ol.checklist > li::before {
  content: counter(chk, decimal-leading-zero); position: absolute; left: 0; top: 0.8em;
  color: var(--orange-2); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em;
}

/* Related */
.related { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-cta { background: var(--ink-2); border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); background: #14161a; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.8rem 1.4rem 2.4rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; font-size: 0.92rem; }
footer.site h4 { font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 0.9em; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 0.1em; }
footer.site a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
footer.site a:hover { color: var(--orange-2); }
.footer-note { border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 0.875rem; }
.footer-note .wrap { padding: 1.1rem 1.4rem; }

/* ---------- Bandeau stats home ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stats div { background: var(--ink-2); padding: 1.4rem 1.2rem; }
.stats .v { font-size: 1.7rem; font-weight: 800; color: #fff; }
.stats .v span { color: var(--orange-2); }
.stats .k { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); margin-top: 0.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  aside.toc { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  nav.main { order: 3; width: 100%; margin-left: 0; gap: 0.2rem 1.1rem; }
  .navbar { flex-wrap: wrap; gap: 0.8rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { min-height: 74vw; padding: 3.4rem 1.4rem 3rem; }
  table.specs th { white-space: normal; }
}

/* Autor */
.byline-autor{margin:1rem 0 0;font-size:.9rem;color:#aab3bd;letter-spacing:.02em}
.byline-autor a{color:#dfe3e8;text-decoration:none;border-bottom:1px solid #4a545e}
.byline-autor a:hover{border-bottom-color:#f04e23}
.author-box{margin:2.4rem 0 0;padding:1.1rem 1.25rem;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.02)}
.author-box .author-box__role{margin:0 0 .35rem;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:#f04e23}
.author-box .author-box__name{margin:0 0 .5rem;font-size:1.05rem;color:#f2f4f6}
.author-box .author-box__name a{color:#f2f4f6;text-decoration:none;border-bottom:1px solid #4a545e}
.author-box p:last-child{margin:0;font-size:.94rem;color:#aab3bd}
