/* Hochkant – der Abend-Stream auf dem Handy: Espresso-Schwarz, Mandarine, Creme */
:root {
  --bg: #100c0a; --bg-2: #15100d; --panel: #1a1412; --panel-2: #241b17;
  --line: #3a2b24; --line-2: #4a382f;
  --text: #f6efe8; --muted: #b8a99c; --dim: #7d6f64;
  --orange: #ff8a3d; --orange-2: #ffb37a; --orange-deep: #c9571a;
  --mint: #5fe0b0;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rund: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 17px/1.65 var(--body);
  background: var(--bg) radial-gradient(1100px 520px at 85% -120px, rgba(255, 138, 61, .13), transparent 70%) no-repeat;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-2); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--rund); line-height: 1.2; letter-spacing: -.01em; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kleine Bausteine */
.online { display: inline-flex; align-items: center; gap: 7px; font: 700 .78rem/1 var(--rund); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.online i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(95, 224, 176, .18); animation: puls 2.4s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 8px rgba(95, 224, 176, 0); } }
.ab18 { display: inline-block; padding: 5px 9px; border-radius: 999px; font: 800 .75rem/1 var(--rund); color: var(--bg); background: var(--text); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(16, 12, 10, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.kopf-in { width: min(1080px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; }
.site-logo img { display: block; max-height: 44px; width: auto; }
.site-logo a { display: inline-block; color: var(--text); text-decoration: none; font: 800 1.25rem/1.1 var(--rund); }
.kopf-status { margin: 0; display: flex; align-items: center; gap: 12px; }

/* Bühne */
.buehne { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.buehne-raum { position: absolute; inset: 0; }
.buehne-raum img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(1.1); }
.buehne-raum::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(16, 12, 10, .72) 55%, rgba(16, 12, 10, .35)), linear-gradient(0deg, var(--bg), transparent 45%); }
.buehne-in { position: relative; width: min(1080px, 100% - 32px); margin: 0 auto; padding: 46px 0 40px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.kicker { margin: 0 0 14px; }
.buehne h1 { margin: 0 0 18px; font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; }
.marken { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.marken li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(26, 20, 18, .8); color: var(--muted); font-size: .92rem; }
.marken b { color: var(--orange-2); }
.buehne-knopf { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* Handy mit Stream */
.handy { margin: 0; justify-self: end; width: 300px; padding: 10px; border-radius: 42px; background: linear-gradient(160deg, #3a2d26, #17110e); border: 1px solid #5a463b; box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 90px rgba(255, 138, 61, .22); transform: rotate(3deg); }
.handy-bild { position: relative; overflow: hidden; border-radius: 33px; aspect-ratio: 9 / 16; background: #000; }
.handy-bild > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.handy-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 38%), linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%); pointer-events: none; }
.handy-oben { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; margin: 0; display: flex; justify-content: space-between; align-items: center; }
.live { display: inline-block; padding: 5px 10px; border-radius: 7px; font: 800 .72rem/1 var(--rund); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--orange-deep); }
.handy-chat { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 7px; }
.handy-chat > i { display: block; height: 11px; border-radius: 6px; background: rgba(255, 255, 255, .26); }
.handy-eingabe { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; color: var(--orange); }
.handy-eingabe span { flex: 1; height: 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .3); }

/* Einleitung */
.intro { margin: 34px 0 8px; padding: 22px 24px; border-radius: 22px 22px 22px 6px; background: var(--panel); border: 1px solid var(--line); }
.intro h2 { margin: 0 0 10px; font-size: 1.45rem; color: #fff; }
.intro p { margin: 0 0 10px; color: #e6dcd2; }
.intro p:last-child { margin-bottom: 0; }

/* Werbeplätze */
.ad { position: relative; margin: 26px auto; padding: 30px 12px 12px; max-width: 790px; text-align: center; overflow: hidden; line-height: 0; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 18px; }
.ad-label { position: absolute; top: 9px; left: 14px; font: 700 .7rem/1.2 var(--rund); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ad a { display: inline-block; max-width: 100%; line-height: 0; }
.ad img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
.ad iframe, .ad > div, .ad > ins, .ad video { max-width: 100% !important; margin-left: auto; margin-right: auto; }
.ad > *:not(.ad-label) { max-width: 100%; }
.ad > :not(a):not(.ad-label) { line-height: normal; }

/* Rangliste */
.rang { margin: 34px 0; scroll-margin-top: 80px; }
.rang-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.rang-titel { margin: 0; font: 800 1.5rem/1.2 var(--rund); color: #fff; }
.rang-titel small { font: 500 .95rem/1 var(--body); color: var(--muted); margin-left: 6px; }
.rang-liste { display: grid; gap: 12px; }
.karte { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 230px; gap: 6px 20px; align-items: center; padding: 16px 20px 16px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; transition: border-color .2s, transform .2s; }
.karte:hover { border-color: var(--orange-deep); transform: translateY(-1px); }
.platz { text-align: center; }
.platz b { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font: 800 1.35rem/1 var(--rund); color: var(--muted); background: var(--bg); border: 2px solid var(--line-2); }
.karte-titel { margin: 0 0 4px; font: 800 1.2rem/1.3 var(--rund); }
.sitetitle { color: #fff; text-decoration: none; }
.sitetitle:hover { color: var(--orange-2); text-decoration: underline; }
.karte-titel > :not(a), .newsite { margin-left: 8px; padding: 3px 8px; border-radius: 999px; font: 800 .68rem/1 var(--rund); letter-spacing: .08em; text-transform: uppercase; color: var(--bg); background: var(--mint); vertical-align: middle; }
.banner { display: block; margin: 8px 0 6px; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-2); }
.karte-text a:has(> .banner) { display: inline-block; max-width: 100%; line-height: 0; }
.description { margin: 4px 0 0; color: #d9cdc2; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.zahlen { display: grid; gap: 8px; }
.zahlen p { margin: 0; }
.zu .online { font-size: .7rem; color: var(--muted); }
.zu .online i { animation: none; box-shadow: none; }
.balken { height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.balken i { display: block; height: 100%; width: 6%; border-radius: 999px; background: linear-gradient(90deg, var(--orange-deep), var(--orange), var(--orange-2)); transition: width .6s ease; }
.io { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; color: var(--text); }
.io b { font: 700 .7rem/1 var(--rund); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-right: 4px; }
.io small { color: var(--dim); }

/* Top 3 */
.karte.top1, .karte.top2, .karte.top3 { background: linear-gradient(120deg, #2a1c14, var(--panel) 60%); border-color: #6b4126; }
.karte.top1 { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(255, 138, 61, .35), 0 18px 50px rgba(255, 138, 61, .14); padding-top: 22px; padding-bottom: 22px; }
.karte.top1 .platz b { width: 64px; height: 64px; font-size: 1.6rem; color: var(--bg); background: linear-gradient(140deg, var(--orange-2), var(--orange)); border-color: #ffd0a8; box-shadow: 0 0 26px rgba(255, 138, 61, .5); }
.karte.top2 .platz b, .karte.top3 .platz b { color: var(--orange-2); border-color: var(--orange); }
.karte.top1 .karte-titel { font-size: 1.4rem; }

/* Seitenwahl */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0; font-family: var(--rund); }
.pagination:empty { display: none; }
.rang-kopf .pagination { margin: 0; }
.pagination a, .pagination strong { display: inline-block; min-width: 44px; padding: 9px 12px; text-align: center; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--text); font-size: .95rem; }
.pagination a:hover { border-color: var(--orange); color: var(--orange-2); }
.pagination strong { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* SEO-Text */
.seotext { margin: 38px auto; max-width: 820px; color: #e6dcd2; }
.seotext h2 { margin: 34px 0 12px; font-size: 1.6rem; color: #fff; }
.seotext h2:first-child { margin-top: 0; }
.seotext h3 { margin: 26px 0 8px; padding-left: 14px; border-left: 4px solid var(--orange); font-size: 1.2rem; color: var(--orange-2); }
.seotext p { margin: 0 0 14px; }
.seotext ul, .seotext ol { margin: 0 0 14px; padding-left: 1.3em; }
.seotext li { margin: 5px 0; }
.seotext li::marker { color: var(--orange); }
.seotext strong { color: #fff; }
.seotext a, .intro a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.seotext img, .intro img { border-radius: 12px; }

/* Statistik */
.stats { margin: 30px 0 44px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.stats-title { margin: 0 0 10px; font: 800 1rem/1.2 var(--rund); color: var(--muted); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px; font-size: .93rem; color: var(--muted); }
.stats strong { color: var(--orange-2); }

/* Fuß */
.site-footer { padding: 26px 0 34px; border-top: 1px solid var(--line); background: #0b0807; text-align: center; font-size: .95rem; color: var(--muted); }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--text); }
.license, .license a { font-size: .85rem; color: var(--dim); }
.tl-hinweis { max-width: 760px; margin: 0 auto 14px !important; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); color: #e6dcd2; font-size: .9rem; line-height: 1.5; }

/* Formulare / Unterseiten */
main.wrap > .kicker { margin: 30px 0 4px; font: 700 .78rem/1 var(--rund); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
main.wrap > h1 { margin: 8px 0 18px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
main.notfound h1 { margin-top: 24px; text-align: center; }
.form-card { margin: 18px 0; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.form-card h2 { margin: 0 0 12px; font-size: 1.25rem; color: #fff; }
.rules-text { color: #e6dcd2; }
.rules-text ul, .rules-text ol { margin: 0; padding-left: 1.25em; }
.rules-text li { margin: 4px 0; }
.rules-text li::marker { color: var(--orange); }
.form-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6px 16px; align-items: start; margin-bottom: 14px; }
.form-row > label, .form-row > .label { padding-top: 11px; font: 700 .9rem/1.3 var(--rund); color: var(--muted); }
.form-row .error { grid-column: 2; color: #ff9a8a; font-size: .9rem; }
.form-row .error:empty { display: none; }
.form-row.rules label { display: flex; gap: 10px; align-items: center; padding-top: 10px; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea { width: 100%; padding: 12px 14px; font: 16px/1.4 var(--body); color: var(--text); background: #0b0807; border: 1px solid var(--line-2); border-radius: 12px; }
input:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 138, 61, .2); }
input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--orange); }
.captcha img { vertical-align: middle; margin-right: 10px; background: #fff; border-radius: 6px; }
.captcha input { max-width: 160px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.btn, .form-actions input { display: inline-block; padding: 13px 24px; border-radius: 999px; cursor: pointer; text-decoration: none; font: 800 .95rem/1 var(--rund); color: var(--bg); background: linear-gradient(140deg, var(--orange-2), var(--orange)); border: 1px solid #ffd0a8; box-shadow: 0 8px 24px rgba(255, 138, 61, .28); }
.btn:hover, .form-actions input:hover { color: var(--bg); filter: brightness(1.08); }
.btn.secondary { background: transparent; border-color: var(--line-2); color: var(--text); box-shadow: none; }
.btn.secondary:hover { border-color: var(--orange); color: var(--orange-2); }
.message, .updatemessage { color: var(--orange-2); font-weight: 700; }
.message:empty { display: none; }
.stats-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.stats-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.stats-table td:nth-child(even) { color: var(--orange-2); text-align: right; }
.codebox { overflow-x: auto; }
.codebox textarea { min-height: 110px; font: .85rem/1.5 ui-monospace, Menlo, Consolas, monospace; }
.codebox img { max-width: 100%; }

/* 404 */
.offline { margin: 34px auto 0; display: grid; place-items: center; }
.offline-handy { display: grid; place-content: center; gap: 8px; text-align: center; width: 170px; aspect-ratio: 9 / 16; border-radius: 30px; background: #0b0807; border: 8px solid #2c221d; box-shadow: 0 0 60px rgba(255, 138, 61, .15); }
.offline-handy span { font: 700 .75rem/1 var(--rund); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.offline-handy b { font: 800 2.6rem/1 var(--rund); color: var(--orange); }
.notfound .intro { max-width: 720px; margin-left: auto; margin-right: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tablet */
@media (max-width: 900px) {
  .buehne-in { grid-template-columns: minmax(0, 1fr) 220px; gap: 26px; }
  .handy { width: 220px; border-radius: 34px; padding: 8px; }
  .handy-bild { border-radius: 27px; }
  .karte { grid-template-columns: 64px minmax(0, 1fr); }
  .zahlen { grid-column: 2; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; }
  .zahlen .io { grid-column: 1 / -1; justify-content: flex-start; gap: 18px; }
  .stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Handy */
@media (max-width: 620px) {
  body { font-size: 16px; }
  .kopf-in { min-height: 56px; }
  .site-logo img { max-height: 36px; }
  .buehne-in { grid-template-columns: 1fr; padding: 26px 0 30px; gap: 26px; }
  .handy { justify-self: center; width: min(250px, 72vw); transform: rotate(2deg); }
  .buehne-raum::after { background: linear-gradient(0deg, var(--bg) 10%, rgba(16, 12, 10, .7)); }
  .intro { padding: 18px; }
  .karte { grid-template-columns: 50px minmax(0, 1fr); gap: 6px 12px; padding: 14px 14px 14px 10px; border-radius: 18px; align-items: start; }
  .platz { padding-top: 2px; }
  .platz b { width: 44px; height: 44px; font-size: 1.1rem; }
  .karte.top1 .platz b { width: 48px; height: 48px; font-size: 1.3rem; }
  .karte-titel { font-size: 1.1rem; }
  .karte.top1 .karte-titel { font-size: 1.2rem; }
  .zahlen { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .form-row .error { grid-column: 1; }
  .stats ul { grid-template-columns: 1fr; }
  .btn, .form-actions input { padding: 13px 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.intro a.btn { color: var(--bg); text-decoration: none; }
.intro a.btn.secondary { color: var(--text); }
