:root {
  /* Farben aus dem Linvio-Logo: Dunkelblau #111d35, Grün #2bc28b (für Text abgedunkelt, damit es lesbar bleibt) */
  --bg: #f6f7f9; --card: #ffffff; --ink: #111d35; --muted: #5a6478; --line: #e2e6ec;
  --accent: #15805a; --accent-ink: #ffffff; --accent-soft: #e2f6ee; --brand-green: #2bc28b; --err: #b3261e; --ok: #15805a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; }
a { color: var(--accent); }
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .in { max-width: 1040px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { height: 36px; width: auto; border-radius: 0; }
.top nav a { color: var(--ink); text-decoration: none; margin-left: 16px; }
.top nav a:hover { color: var(--accent); }
main { max-width: 1040px; margin: 0 auto; padding: 32px 16px 64px; }
main.narrow { max-width: 720px; }
h1 { font-size: 28px; margin: 0 0 16px; }
h2 { font-size: 20px; margin: 32px 0 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
label { display: block; margin-top: 12px; font-weight: 500; }
input, select { width: 100%; padding: 10px; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin-top: 16px; }
button, .btn { display: inline-block; margin-top: 16px; padding: 10px 18px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
td button { margin: 0; padding: 6px 12px; font-weight: 500; }
.err { color: var(--err); } .ok { color: var(--ok); } .muted { color: var(--muted); }
table { border-collapse: collapse; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th { background: #f0f1ec; font-weight: 600; font-size: 14px; }
td, th { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
code { background: var(--accent-soft); padding: 2px 6px; border-radius: 4px; }
img { max-width: 100%; border-radius: 8px; }
.wrap { overflow-x: auto; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; }
/* Startseite */
.hero { padding: 56px 0 24px; max-width: 720px; }
.hero h1 { font-size: 40px; line-height: 1.15; }
.hero p { font-size: 19px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.card ul { padding-left: 20px; margin: 8px 0 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 8px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .in { max-width: 1040px; margin: 0 auto; padding: 20px 16px; }
@media (max-width: 600px) { .hero h1 { font-size: 30px; } .top nav a { margin: 0 12px 0 0; } }
textarea { width: 100%; padding: 10px; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; font: inherit; resize: vertical; }
/* Empfehlungsseite des YouTubers */
.chero { display: flex; align-items: center; gap: 20px; padding: 24px 0 8px; }
.chero h1 { font-size: 34px; margin: 0; line-height: 1.15; }
.chero .muted { margin: 4px 0 0; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 28px; font-weight: 700; }
.adnote { font-size: 14px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 16px 0 24px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pcard:hover, .pcard:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(29, 35, 32, .10); border-color: var(--accent); }
.pimg { position: relative; aspect-ratio: 1 / 1; background: #eef0ea; display: grid; place-items: center; }
.pimg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pimg span { font-size: 56px; font-weight: 700; color: var(--muted); }
.pimg em { position: absolute; top: 12px; left: 12px; font-style: normal; font-weight: 700; font-size: 14px; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; }
.pbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pbody small { color: var(--muted); font-size: 13px; }
.pbody h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.3; }
.pbody p { margin: 0 0 12px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pfoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.go { font-weight: 600; color: var(--accent); white-space: nowrap; }
.pcode { margin-top: 10px; font-size: 12px; color: var(--muted); }
.pcode code { font-size: 12px; }
@media (max-width: 600px) { .chero { gap: 14px; } .chero h1 { font-size: 26px; } .avatar { width: 60px; height: 60px; font-size: 22px; } .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .pbody { padding: 10px 12px 12px; } .pbody p { display: none; } .pcode { display: none; } .price { font-size: 16px; } .go { display: none; } }
@media (prefers-reduced-motion: reduce) { .pcard { transition: none; } .pcard:hover { transform: none; } }
/* Layout-Auswahl im YouTuber-Bereich */
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.lopt { margin: 0; display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; font-weight: 400; }
.lopt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lopt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.lprev { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--line); pointer-events: none; }
.lprev iframe { position: absolute; top: 0; left: 0; width: 390px; height: 920px; border: 0; transform: scale(.5); transform-origin: 0 0; }
.ltext { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.ltext small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.ltext a { font-size: 13px; margin-top: 4px; }
.logo-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.logo-prev { flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft); color: var(--muted); font-size: 13px; text-align: center; }
.logo-prev img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.logo-row > div:last-child { flex: 1; min-width: 220px; }
/* Admin: Reiter, Filter, Status */
.tabs, .filter { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 20px; }
.tabs a, .filter a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.tabs a[aria-current], .filter a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero h1 span { color: var(--accent); }
.filter a { font-size: 14px; padding: 6px 12px; }
.stat small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.todo ul { margin: 0; padding-left: 20px; } .todo li { margin: 6px 0; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag-open { background: #fff4d6; color: #7a5600; } .tag-released { background: var(--accent-soft); color: var(--accent); } .tag-cancelled { background: #fde7e5; color: var(--err); }
.num { white-space: nowrap; }
