/* Vice City Update – eigenes Design, mobil zuerst */
:root {
  --bg: #0b0716;
  --bg2: #140b26;
  --karte: #1a1030;
  --linie: #2c1f4a;
  --text: #f3efff;
  --muted: #a89dc8;
  --pink: #ff3d8b;
  --orange: #ffb347;
  --cyan: #22d3ee;
  --lila: #8b5cf6;
  --gelb: #fde047;
  --radius: 16px;
  --grad: linear-gradient(120deg, var(--orange), var(--pink) 55%, var(--lila));
  --schatten: 0 10px 30px -12px rgba(255, 61, 139, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #67e8f9; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 850; }
h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* Icons */
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex: none; }
.ic-xs { width: .9em; height: .9em; }
.ic-lg { width: 44px; height: 44px; color: var(--pink); }

/* Kopf + Navigation */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 7, 22, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linie); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 36px; height: 36px; }
.nav { border-top: 1px solid var(--linie); }
.nav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.nav-in::-webkit-scrollbar { display: none; }
.nav a { flex: none; color: var(--muted); text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; border: 1px solid transparent; }
.nav a:hover { color: var(--text); border-color: var(--linie); }
.nav a[aria-current="page"] { color: #fff; background: var(--karte); border-color: var(--pink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: var(--schatten); transition: transform .15s, filter .15s; }
.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; border: 1.5px solid var(--linie); box-shadow: none; color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-premium { background: var(--karte); border: 1.5px solid var(--pink); box-shadow: none; }
.btn-premium.ist-mitglied { border-color: var(--cyan); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 40px; border-bottom: 1px solid var(--linie);
  background: radial-gradient(800px 400px at 80% 0%, rgba(139, 92, 246, .25), transparent 60%), linear-gradient(180deg, var(--bg2), var(--bg)); }
.hero-sonne { position: absolute; right: -120px; top: 20px; width: 380px; height: 380px; border-radius: 50%; background: var(--grad); opacity: .35; filter: blur(2px);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 30px); mask: repeating-linear-gradient(180deg, #000 0 22px, transparent 22px 30px); }
.hero-in { position: relative; }
.hero h1 { max-width: 14ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: #d9d1f5; max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.countdown { display: inline-flex; flex-direction: column; padding: 12px 18px; border-radius: var(--radius); background: rgba(26, 16, 48, .8); border: 1px solid var(--linie); }
.cd-label { font-size: .8rem; color: var(--muted); }
.cd-wert { font-size: 1.25rem; color: var(--gelb); font-variant-numeric: tabular-nums; }

/* Blöcke */
.block { padding-top: 32px; }
.block-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.seitenkopf { padding-top: 32px; padding-bottom: 8px; }
.schmal { max-width: 680px; }

.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kachel { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--karte); border: 1px solid var(--linie); color: var(--text); text-decoration: none; font-weight: 700; }
.kachel .ic { width: 26px; height: 26px; }
.kachel:hover { border-color: var(--pink); color: var(--text); }
.cat-news { --akzent: var(--pink); }
.cat-hacks { --akzent: var(--gelb); }
.cat-tipps { --akzent: var(--cyan); }
.cat-missionen { --akzent: var(--orange); }
.cat-karte { --akzent: #4ade80; }
.kachel .ic { color: var(--akzent); }

/* Karten */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--karte); border: 1px solid var(--linie); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.card:hover { color: var(--text); border-color: var(--pink); transform: translateY(-2px); }
.card-body { padding: 14px 16px 16px; }
.card h3 { margin: 6px 0; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 650; margin: 0; }
.cover { position: relative; aspect-ratio: 16 / 7; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 75% 120%, var(--akzent) 0 22%, transparent 23%), repeating-linear-gradient(180deg, transparent 0 14px, rgba(255, 255, 255, .03) 14px 15px), linear-gradient(135deg, #24164a, #120a24); }
.cover::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: repeating-linear-gradient(90deg, rgba(34, 211, 238, .18) 0 1px, transparent 1px 36px); -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000); }
.cover-ic { width: 54px; height: 54px; fill: none; stroke: var(--akzent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px var(--akzent)); position: relative; z-index: 1; }
.cover-wide { aspect-ratio: 16 / 6; border-radius: var(--radius); margin-bottom: 20px; }
.badges { display: flex; gap: 6px; margin-top: 10px; }
.badges:empty { display: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.badge-premium { background: rgba(255, 61, 139, .15); color: #ff8fbd; border: 1px solid rgba(255, 61, 139, .4); }
.badge-warn { background: rgba(253, 224, 71, .12); color: var(--gelb); border: 1px solid rgba(253, 224, 71, .4); }

.premium-teaser { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; border: 1px solid var(--pink);
  background: radial-gradient(500px 200px at 100% 0, rgba(255, 61, 139, .25), transparent), var(--karte); }
.leer { text-align: center; padding: 40px 20px; border: 1px dashed var(--linie); border-radius: var(--radius); }
.leer .ic-lg { color: var(--akzent, var(--pink)); }

/* Artikel */
.artikel { max-width: 760px; padding-top: 20px; padding-bottom: 20px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.artikel-kopf h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-top: 4px; }
.artikel-kopf .card-meta { margin-bottom: 14px; }
.prosa { font-size: 1.05rem; }
.prosa h2 { margin-top: 1.6em; }
.prosa h3 { margin-top: 1.3em; }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li { margin: .3em 0; }
.prosa code { background: var(--karte); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prosa hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.hinweis { margin: 1.2em 0; padding: 14px 16px; border-radius: 12px; background: rgba(34, 211, 238, .08); border-left: 4px solid var(--cyan); }
.hinweis p:last-child { margin: 0; }
.hinweis.geruecht { background: rgba(253, 224, 71, .08); border-left-color: var(--gelb); }
.checkliste { list-style: none; padding: 0 !important; }
.checkliste li { margin: 6px 0; }
.checkliste label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--karte); border: 1px solid var(--linie); cursor: pointer; }
.checkliste input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--pink); flex: none; }
.checkliste input:checked + span { color: var(--muted); text-decoration: line-through; }
.check-fortschritt { font-weight: 700; color: var(--cyan); }
.quellen { margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--linie); font-size: .92rem; }
.quellen h2 { font-size: 1.1rem; }
.quellen a { word-break: break-word; }
.fehler { margin-top: 2em; }

/* Paywall */
.paywall { position: relative; margin-top: -40px; }
.paywall-fade { height: 60px; background: linear-gradient(transparent, var(--bg)); }
.paywall-box { text-align: center; padding: 28px 20px; border-radius: 22px; border: 1px solid var(--pink); background: radial-gradient(400px 200px at 50% 0, rgba(255, 61, 139, .2), transparent), var(--karte); }
.premium-inhalt { margin-top: 1.5em; padding-top: 1em; border-top: 2px solid var(--pink); }

/* Premium-Seite */
.premium-grid { display: grid; gap: 16px; padding-top: 12px; }
.preis-karte, .login-karte, .mitglied-karte { padding: 22px; border-radius: 22px; background: var(--karte); border: 1px solid var(--linie); }
.preis-karte { border-color: var(--pink); box-shadow: var(--schatten); }
.preis { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.preis strong { font-size: 2.6rem; font-weight: 850; }
.vorteile { padding-left: 1.2em; margin: 0 0 16px; }
.vorteile li { margin: 6px 0; }
.zustimmung { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #d9d1f5; margin-bottom: 14px; }
.zustimmung input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--pink); }
.form { display: grid; gap: 8px; margin-top: 16px; }
.form label { font-weight: 650; font-size: .92rem; margin-top: 6px; }
.form input, .form select, .kopierfeld input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--bg2); color: var(--text); font: inherit; }
.form input:focus, .form select:focus { border-color: var(--cyan); outline: none; }
.form .btn { margin-top: 10px; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #4ade80; }
.form-msg.fehler { color: #fca5a5; }
.kopierfeld { display: flex; gap: 8px; margin: 12px 0 16px; }
.faq { padding-top: 24px; max-width: 760px; }

/* Karte */
.karte-wrap { display: grid; gap: 12px; padding-bottom: 24px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); color: var(--text); font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.filter button[aria-pressed="false"] { opacity: .45; }
.filter i { width: 10px; height: 10px; border-radius: 50%; }
.karte-box { border-radius: 22px; overflow: hidden; border: 1px solid var(--linie); background: #0d1428; touch-action: manipulation; }
.karte-svg { display: block; width: 100%; height: auto; }
.marker { cursor: pointer; }
.marker circle.punkt { stroke: #0b0716; stroke-width: 4; transition: r .15s; }
.marker:hover circle.punkt, .marker.aktiv circle.punkt { r: 24; }
.marker text { font: 700 34px system-ui, sans-serif; fill: #f3efff; paint-order: stroke; stroke: #0b0716; stroke-width: 6px; pointer-events: none; }
.karte-info { padding: 16px; border-radius: var(--radius); background: var(--karte); border: 1px solid var(--linie); min-height: 80px; }
.karte-info h2 { font-size: 1.2rem; margin-bottom: .3em; }

/* Fuß */
.foot { margin-top: 56px; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); background: var(--bg2); }
.foot-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.kuendigen-link { font-weight: 700; color: var(--text) !important; }

@media (min-width: 640px) {
  .kacheln { grid-template-columns: repeat(5, 1fr); }
  .kachel { flex-direction: column; text-align: center; padding: 20px 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .premium-teaser { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; }
}
@media (min-width: 960px) {
  .hero { padding: 80px 0 64px; }
  .hero-sonne { right: 4%; top: 40px; width: 460px; height: 460px; opacity: .55; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-news .card-lg { grid-column: span 2; }
  .grid-news .card-lg .cover { aspect-ratio: 16 / 6; }
  .premium-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .karte-wrap { grid-template-columns: 1fr 320px; }
  .filter, #karte-hinweis { grid-column: 1 / -1; }
  .karte-info { position: sticky; top: 130px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
