/* iLoveClipping Landingpage. Tokens zuerst, keine Hardcodes im Rest. Marke: Navy/Slate/Orange (docs/marketing/MARKETING_BRIEF.md), kein Pink/Violett. */
:root {
  --navy: #1c2e4a;
  --slate: #3a4556;
  --orange: #e67e22;
  --orange-press: #cf6f17;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #1a2230;
  --text-2: #4a5565;
  --line: #d9dee6;
  --ok: #1f7a4d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 46, 74, 0.06), 0 8px 28px rgba(28, 46, 74, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1722;
    --surface: #17212f;
    --surface-2: #1d2a3b;
    --text: #eef2f7;
    --text-2: #aeb8c6;
    --line: #2a3a50;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px rgba(0, 0, 0, 0.35);
    --ok: #4cc58a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: flex; min-height: 44px; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a { text-decoration: none; color: var(--text-2); padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--radius-sm); font-size: 15px; }
nav.main a:hover { color: var(--text); background: var(--surface-2); }
/* Small screens: the nav moves to its own wrapping row below the logo instead of hiding links;
   the header stops being sticky there so the two rows do not cover the content. */
@media (max-width: 720px) {
  header.top { position: static; }
  header.top .wrap { flex-wrap: wrap; row-gap: 0; padding-bottom: 6px; }
  nav.main { order: 3; width: 100%; flex-wrap: wrap; gap: 2px 4px; }
  nav.main a { padding: 10px 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-press); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--slate); background: var(--surface-2); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--text-2); } }
h1 { font-size: clamp(34px, 5.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h1, :root:not([data-theme="light"]) h2 { color: #fff; } }
.lead { font-size: 19px; color: var(--text-2); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--text-2); margin-top: 14px; }

/* Prepared AI illustrations: keep the complete image and disclosure visible, never crop into fake UI. */
.product-figure { margin: 0; min-width: 0; }
.product-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-figure figcaption { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.figure-label { display: block; margin-bottom: 6px; color: var(--text); font-weight: 600; }
.sync-figure { max-width: 800px; margin: 28px auto; }
/* Legacy illustration styles retained for unaffected pages. */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock-search { margin-left: 8px; flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 14px; color: var(--text-2); }
.clip { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.clip:last-child { border-bottom: 0; }
.chip { font-size: 12px; font-weight: 700; text-align: center; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--slate); letter-spacing: .02em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip { color: var(--text-2); } }
.clip code { font-family: var(--mono); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.clip small { color: var(--text-2); font-size: 12.5px; white-space: nowrap; }
.clip.pinned .chip { background: var(--orange); color: var(--navy); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #e67e22; vertical-align: -2px; margin-right: 6px; }
.review { background: color-mix(in srgb, var(--orange) 12%, var(--surface)); }

/* Sektionen */
section { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.8vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--navy); }
.sub { font-size: 18px; color: var(--text-2); max-width: 38em; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-2); }
.pain { display: flex; gap: 14px; align-items: flex-start; }
.pain b { color: var(--orange); font-size: 22px; line-height: 1.2; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 14px; font-size: 20px; }

/* Vergleich */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: 14px; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td.y { color: var(--ok); font-weight: 700; }
td.n { color: var(--text-2); }
td.c, th.c { text-align: center; }
@media (max-width: 640px) { table { min-width: 0; font-size: 14px; } th, td { padding: 10px 8px; } th[scope="row"] { font-weight: 600; } }

/* Preise */
.price { display: flex; flex-direction: column; gap: 6px; }
.price.rec { border: 2px solid var(--orange); position: relative; }
.badge { position: absolute; top: -13px; left: 20px; background: var(--orange); color: var(--navy); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .amount { color: #fff; } }
.amount small { font-size: 15px; font-weight: 500; color: var(--text-2); }
.price ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.price li { padding-left: 24px; position: relative; color: var(--text-2); font-size: 16px; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 0; min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; color: var(--orange); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--text-2); max-width: 44em; }

/* Download-Box */
.dl { text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 48px 24px; }
.dl h2 { color: #fff; }
.dl p { color: #cfd8e6; max-width: 34em; margin: 0 auto 24px; }
.dl .btn-ghost { background: transparent; color: #fff; border-color: #5a6c88; }

/* Footer + Kleingedrucktes */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
footer h2 { font-size: 16px; color: var(--text); margin: 0 0 10px; letter-spacing: 0; }
footer ul { margin: 0 0 24px; padding-left: 18px; display: grid; gap: 6px; }
.links { display: flex; gap: 18px; flex-wrap: wrap; }
.links a { min-height: 44px; display: inline-flex; align-items: center; }

/* Unterseiten: Rechtstexte, Changelog, Vergleich, Presse */
.doc { padding-top: 40px; padding-bottom: 48px; max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4.6vw, 42px); }
.doc h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 36px; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.doc .table-wrap { margin: 16px 0; }
.doc table { min-width: 560px; font-size: 15px; }
.doc .meta { font-size: 14px; }
.doc.wide { max-width: var(--max); }
.note { border-left: 4px solid var(--orange); background: var(--surface); padding: 14px 18px; border-radius: var(--radius-sm); margin: 18px 0; }
.lang { font-weight: 600; }
.icon svg { width: 22px; height: 22px; }
.mail { font-family: var(--mono); font-size: 16px; overflow-wrap: anywhere; }
.placeholder { display: grid; place-items: center; min-height: 160px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--text-2); font-size: 14px; text-align: center; padding: 12px; }
@media (max-width: 640px) { .doc table { min-width: 0; } }

/* Rechtshinweise: Demo-Banner (alle Seiten) und Entwurfs-Kopfhinweis (AGB, Terms, DPA, App-Datenschutz); statisch, nicht sticky */
.demo-banner, .draft-note { margin: 0; padding: 10px var(--gutter); font-size: 14px; line-height: 1.5; text-align: center; background: #fff1de; color: #4a2a00; border-bottom: 1px solid #f0c78f; }
.draft-note { margin: 0 0 24px; padding: 14px 16px; text-align: left; font-size: 16px; font-weight: 600; border: 2px solid #c25e00; border-radius: var(--radius-sm); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .demo-banner, :root:not([data-theme="light"]) .draft-note { background: #2b1f0e; color: #fbe6c6; border-color: #7a4a14; }
}
:root[data-theme="dark"] .demo-banner, :root[data-theme="dark"] .draft-note { background: #2b1f0e; color: #fbe6c6; border-color: #7a4a14; }

/* Homepage 2026-11 */
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.fw { display: grid; gap: 12px; margin-top: 24px; }
.fw-row { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--slate); border-radius: var(--radius); padding: 18px; }
.fw-row p { margin: 0; color: var(--text-2); }
.fw-row strong { color: var(--text); }
.fw-row .icon { margin: 0; }
.fw-ok { border-left-color: var(--ok); }
.fw-review { border-left-color: var(--orange); }
.minus { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.dl .fine { color: #cfd8e6; }
.dl .cta-row { justify-content: center; }
.faq-list { margin-top: 24px; }
.sec-link { margin-top: 18px; }

/* Long tokens (paths, code, URLs) must wrap instead of widening the page on phones. */
main { overflow-wrap: break-word; }
main code { overflow-wrap: anywhere; }

/* Stand-alone text links in paragraphs: 44px touch target without changing running text. */
a.tap { display: inline-block; min-height: 44px; line-height: 44px; }
