/* MediaDB – Website */
:root {
  --bg: #f7f5f1;
  --bg-alt: #efebe4;
  --surface: #ffffff;
  --text: #1d1b19;
  --muted: #5f5a54;
  --line: #ddd7ce;
  --accent: #b4442b;
  --accent-ink: #ffffff;
  --accent-soft: #f6e3dc;
  --vinyl: #1b1a1a;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px rgba(40,30,20,.10);
  --radius: 14px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151413;
    --bg-alt: #1c1b19;
    --surface: #23211f;
    --text: #f1ede7;
    --muted: #a9a29a;
    --line: #36332f;
    --accent: #e0694d;
    --accent-ink: #1a0d09;
    --accent-soft: #3a221b;
    --vinyl: #0b0b0b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #151413;
  --bg-alt: #1c1b19;
  --surface: #23211f;
  --text: #f1ede7;
  --muted: #a9a29a;
  --line: #36332f;
  --accent: #e0694d;
  --accent-ink: #1a0d09;
  --accent-soft: #3a221b;
  --vinyl: #0b0b0b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand svg { width: 32px; height: 32px; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--accent-ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 11px 20px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
}
.btn:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 40em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Screenshots */
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto;
  border-radius: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--surface);
}
.hero-shot { margin-top: 8px; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shots a { display: block; }
.shots a:hover img { border-color: var(--muted); }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; }
.shot figcaption b { display: block; color: var(--text); font-size: 18px; margin-bottom: 2px; }

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 40em; font-size: 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

/* Schritte */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: var(--accent); color: var(--accent-ink);
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Zweispaltig */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 14px 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 9px var(--accent);
}
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 16px; }

table.fields { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
table.fields th, table.fields td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
table.fields tr:first-child th, table.fields tr:first-child td { border-top: 0; }
table.fields th { width: 38%; font-weight: 600; }
table.fields td { color: var(--muted); }

/* Download */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dl { display: flex; flex-direction: column; gap: 6px; }
.dl h3 { margin: 0; font-size: 20px; }
.dl p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.dl .btn { align-self: flex-start; margin-top: auto; }
.dl-count { color: var(--muted); font-size: 14px; margin-top: 4px; }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan h3 { margin: 0 0 8px; font-size: 20px; }
.plan .amount { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.plan .limit { margin: 2px 0 18px; color: var(--muted); font-size: 15px; }
.plan .checks { margin-bottom: 20px; }
.plan .checks li { padding-bottom: 8px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .badge {
  position: absolute; top: -12px; right: 16px; margin: 0;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}

/* FAQ */
/* Hinweis "Neu" unter der Versionszeile */
.news-pill { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 0; padding: 8px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--text); font-size: 15px; }
.news-pill b { color: var(--accent); }

/* Was ist neu */
.releases { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.releases .card { padding: 18px 22px; }
.rel-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px !important; color: var(--text) !important; font-size: 17px !important; }
.rel-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; }
.releases ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.releases li li { margin: 3px 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; }

/* Fußzeile */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-footer nav { margin-left: auto; display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

/* Textseiten (Impressum, Datenschutz) */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 40px; }
.page h2 { font-size: 22px; margin-top: 36px; }
.todo { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 2px 6px; border-radius: 4px; }

/* Anleitung (ffmpeg) */
.guide h2 { scroll-margin-top: 80px; }
.guide .wrap { min-width: 0; }
.guide code { overflow-wrap: anywhere; }  /* lange Pfade auf dem Handy umbrechen */
.guide pre.cmd { max-width: 100%; }
.guide h3 { font-size: 18px; margin: 28px 0 8px; }
.guide p, .guide li { color: var(--muted); }
.guide p b, .guide li b { color: var(--text); }
.guide .lead { margin-bottom: 24px; }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 20px; margin: 0 0 24px; }
.callout p { margin: 0 0 6px; color: var(--text); }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { margin: 4px 0; color: var(--text); }
ol.howto { padding-left: 22px; margin: 0 0 16px; }
ol.howto > li { margin: 0 0 10px; padding-left: 4px; }
pre.cmd { margin: 8px 0; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; }
pre.cmd code { background: none; padding: 0; font-size: 14px; color: var(--text); white-space: pre; }
.guide table.fields { margin: 8px 0 16px; }

/* Kopieren-Knöpfe (copy.js) */
.copy-wrap { position: relative; margin: 8px 0; }
.copy-wrap pre.cmd { margin: 0; padding-right: 118px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
}
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { color: var(--text); border-color: var(--muted); }
.copy-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.copy-btn.done { color: var(--accent); border-color: var(--accent); }
.copy-block { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 6px 10px; }
.copy-inline { padding: 3px; margin: 0 2px 0 3px; vertical-align: -3px; border-color: transparent; background: transparent; }
.copy-inline:hover { background: var(--bg-alt); }
.copy-inline svg { width: 14px; height: 14px; }
.copy-inline .copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guide table.fields th { width: 30%; }

/* Anleitung */
.manual h2 { padding-top: 8px; border-top: 1px solid var(--line); margin-top: 48px; }
.manual h3 { scroll-margin-top: 80px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 32px; }
.toc p { margin: 0 0 8px; color: var(--text); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; color: var(--muted); }
.manual-shot { margin: 8px 0 20px; }
.manual-shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }
.manual table.fields th { width: 32%; }

/* Einwilligungshinweis Google Analytics (analytics.js) */
[data-consent-open][hidden] { display: none !important; }
.consent {
  position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px;
  max-width: 720px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 15px;
}
.consent p { flex: 1 1 340px; margin: 0; color: var(--muted); }
.consent p b { color: var(--text); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { cursor: pointer; font: inherit; font-weight: 600; }

/* Mobil */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a[href="#discogs"], .nav a[href="#faq"] { display: none; }
}
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 36px; }
  section { padding: 52px 0; }
  .grid3, .steps, .downloads, .pricing { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .site-footer nav { margin-left: 0; }
  .page h1 { font-size: 32px; }
  .guide table.fields th, .guide table.fields td { display: block; width: auto; }
  .guide table.fields td { border-top: 0; padding-top: 0; }
  .copy-wrap pre.cmd { padding-right: 52px; }
  .toc ol { columns: 1; }
  .manual table.fields th, .manual table.fields td { display: block; width: auto; }
  .manual table.fields td { border-top: 0; padding-top: 0; }
  .copy-block .copy-label { display: none; }
}
/* =====================================================================
   LP-Look für die Unterseiten (Anleitung, ffmpeg, Impressum, Datenschutz)
   – passend zur Startseite (lp.css). Schriften lokal, keine externen Abrufe.
   ===================================================================== */
@font-face { font-family: "Big Shoulders"; src: url(fonts/bigshoulders-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url(fonts/bigshoulders-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/sourceserif-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/sourceserif-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(fonts/sourceserif-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plexmono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plexmono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
:root { --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif; --serif: "Source Serif", Georgia, serif; --mono: "Plex Mono", ui-monospace, Consolas, monospace; --radius: 0; --shadow: none; }

body { font: 18px/1.6 var(--serif); }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
h1 { line-height: .92; }
.page h1 { font-size: clamp(44px, 6vw, 72px); }
.page h2 { font-size: 30px; line-height: 1; margin-top: 44px; }
h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; font-size: 22px; }
.guide h3 { font-size: 22px; }
code, pre.cmd code { font-family: var(--mono); }
code { border-radius: 0; }

/* Kopfleiste wie auf der Startseite */
.site-header { background: var(--bg); backdrop-filter: none; border-bottom: 2px solid var(--text); }
.site-header .wrap { height: 52px; }
.brand { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .01em; }
.brand svg { width: 26px; height: 26px; }
.nav a, .nav .btn { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.btn { border-radius: 0; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 10px 16px; background: var(--text); color: var(--bg); border: 2px solid var(--text); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); filter: none; }
.nav .btn { background: transparent; color: var(--accent); border: 0; padding: 0; }
.nav .btn:hover { background: transparent; color: var(--text); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--text); }

/* Kästen ohne Rundungen, mit Linien statt Schatten */
.card, .toc, details, table.fields, pre.cmd, .callout, .manual-shot img, .shot img, .consent, .copy-btn { border-radius: 0; box-shadow: none; }
.toc { border: 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); padding: 16px 0; background: transparent; }
.toc p { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.manual h2 { border-top: 2px solid var(--text); padding-top: 18px; }
.manual-shot img, .shot img { border: 2px solid var(--text); }
table.fields { border: 0; border-top: 2px solid var(--text); background: transparent; }
table.fields th { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 18px; letter-spacing: .01em; }
.callout { border-left: 6px solid var(--accent); background: var(--accent-soft); }
pre.cmd { border: 2px solid var(--text); background: var(--bg); }
details { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0; }
summary { font-size: 19px; }
summary::after { font-family: var(--mono); }
.copy-btn { font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }

/* Einwilligungshinweis wie auf der Startseite */
.consent { border: 2px solid var(--text); background: var(--bg); box-shadow: 8px 8px 0 var(--accent); }
.consent .btn { font: 500 13px var(--mono); }

/* Fußzeile als Credits-Leiste */
.site-footer { background: var(--vinyl); color: #a9a29a; border-top: 0; padding: 40px 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.site-footer a { color: #efe9e1; text-transform: uppercase; }
.site-footer a:hover { color: #ff8a6e; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; }
