@font-face { font-family: Outfit; src: url(../fonts/outfit-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Outfit; src: url(../fonts/outfit-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 1 Minute Minecraft: die Welt aus dem Kanal-Banner.
   Oben Himmel mit Pixel-Wolken, Steve links, der Profi rechts, Schrift gelb/weiss mit lila Rand.
   Inhalt auf hellem Himmelblau in Karten mit lila Rand und hartem Schatten (wie die Einblendungen im Video).
   Unten endet jede Seite im Boden: Grasblock-Reihe und Erde. */
:root {
  --ink: #2b1650; --ink-2: #4b3a72; --muted: #625a7c;
  --yellow: #ffd21f; --yellow-d: #c79f00; --white: #ffffff;
  --sky-1: #4b6fd0; --sky-2: #86b4ff; --sky-3: #cfe5ff;
  --paper: #f3f7ff; --paper-2: #e2ebfb; --card: #ffffff; --line: #d6d0e6; --edge: #d3cbe6;
  --ender: #b52ff0; --ender-l: #e3a6ff; --grass: #5fae3a; --grass-d: #3c7f22; --red: #d93a2b;
  --font: Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px; --hard: 0 6px 0 var(--ink); --hard-s: 0 4px 0 var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hh: 64px; color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); background: var(--paper); -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ender); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 900; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.px { image-rendering: pixelated; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Schrift wie im Banner: dicker lila Rand + Schatten */
.outline { color: var(--white); paint-order: stroke fill; -webkit-text-stroke: .16em var(--ink); text-shadow: 0 .1em 0 var(--ink); letter-spacing: .01em; }
.outline.y { color: var(--yellow); }

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--hh); background: var(--ink); box-shadow: 0 3px 0 rgba(43,22,80,.25); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; border: 2px solid rgba(255,255,255,.25); transition: transform .3s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { display: flex; flex-direction: column; line-height: .92; font-weight: 900; font-size: 15px; letter-spacing: .02em; }
.brand b { color: var(--yellow); font-size: 17px; }
.brand i { font-style: normal; color: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: #e9e2ff; text-decoration: none; font-weight: 800; font-size: 16px; padding: 9px 13px; border-radius: 11px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.menu { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; place-items: center; }
.menu span, .menu span::before, .menu span::after { display: block; width: 22px; height: 3px; border-radius: 3px; background: #fff; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu span::before, .menu span::after { content: ""; position: absolute; left: 0; }
.menu span::before { top: -7px; } .menu span::after { top: 7px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Himmel (Hero) ---------- */
.sky { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 62%, var(--sky-3) 100%); }
.clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; left: 0; width: calc(var(--s, 1) * 150px); aspect-ratio: 9 / 3; background: url(../img/wolke.png) center / contain no-repeat; image-rendering: pixelated; opacity: .95;
  animation: drift var(--d, 70s) linear infinite; animation-delay: var(--dl, 0s); }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.tree { position: absolute; bottom: 0; z-index: -1; width: clamp(110px, 13vw, 200px); image-rendering: pixelated; pointer-events: none; }
.tree.l { left: max(-30px, calc(50% - 760px)); } .tree.r { right: max(-30px, calc(50% - 760px)); transform: scaleX(-1); }
.ground { height: 72px; background: url(../img/tex/grass_block_side.png) 0 0 / 48px 48px repeat-x, url(../img/tex/dirt.png) 0 0 / 48px 48px; image-rendering: pixelated; position: relative; }
.ground::after { content: ""; position: absolute; inset: 48px 0 0; background: rgba(0,0,0,.18); }
.ground.thin { height: 48px; }
.ground.thin::after { display: none; }

.hero { padding-block: clamp(26px, 5vw, 56px) clamp(30px, 5vw, 60px); text-align: center; }
.stagehead { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2.6vw, 34px); padding-top: 70px; }
.head { position: relative; width: clamp(92px, 15vw, 190px); flex: none; animation: bob 3.6s ease-in-out infinite; }
.head.pro { animation-delay: -1.8s; }
.head img { width: 100%; filter: drop-shadow(0 16px 18px rgba(30,10,60,.35)); transition: transform .4s var(--spring); }
.head:hover img { transform: rotate(-6deg) scale(1.06); }
.head.pro::after { content: ""; position: absolute; inset: 20% 10% 25%; background: radial-gradient(closest-side, rgba(200,90,255,.45), transparent); z-index: -1; filter: blur(8px); animation: glow 2.6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes glow { 50% { opacity: .45; } }
.word { display: flex; flex-direction: column; align-items: center; font-weight: 900; line-height: .9; }
.word .y { font-size: clamp(42px, 8.6vw, 112px); }
.word .w { font-size: clamp(46px, 9.4vw, 124px); }
.word span { display: block; animation: pop .7s var(--spring) backwards; }
.word .w { animation-delay: .12s; }
@keyframes pop { from { transform: scale(.6) translateY(20px); } }
.pill { display: inline-block; margin-top: 18px; padding: 8px 20px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; font-size: clamp(15px, 2vw, 20px); box-shadow: 0 4px 0 rgba(43,22,80,.35); }
.bubble { position: absolute; z-index: 2; width: max-content; max-width: 210px; padding: 9px 14px; border-radius: 16px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--hard-s); font-weight: 800; font-size: 15px; line-height: 1.25; text-align: left; animation: bubblein .5s var(--spring) backwards; }
.bubble::after { content: ""; position: absolute; bottom: -12px; width: 16px; height: 16px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.bubble small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.bubble.s { bottom: calc(100% + 6px); left: -10px; animation-delay: .6s; }
.bubble.s::after { left: 34px; }
.bubble.p { bottom: calc(100% + 6px); right: -10px; animation-delay: 1.4s; }
.bubble.p::after { right: 34px; transform: rotate(45deg); }
.bubble.p small { color: var(--ender); }
@keyframes bubblein { from { transform: scale(.4) translateY(12px); } }
.hero .ctas { justify-content: center; margin-top: 26px; }
.float-item { position: absolute; width: 44px; image-rendering: pixelated; filter: drop-shadow(0 8px 8px rgba(30,10,60,.25)); animation: spin 5s ease-in-out infinite; pointer-events: none; }
@keyframes spin { 50% { transform: translateY(-14px); } }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 3px solid var(--ink); border-radius: 14px; padding: 12px 22px; font-weight: 900; font-size: 17px; line-height: 1.1; text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); box-shadow: var(--hard-s); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.y { background: var(--yellow); }
.btn.p { background: var(--ink); color: #fff; }
.btn.big { padding: 15px 26px; font-size: 19px; }
.btn.sm { padding: 8px 14px; font-size: 15px; border-width: 2px; box-shadow: 0 3px 0 var(--ink); }
.btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: var(--hard-s); }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn.tt { background: #111; color: #fff; } .btn.ig { background: linear-gradient(45deg, #f9a23a, #e1306c 50%, #833ab4); color: #fff; } .btn.yt { background: #ff2a2a; color: #fff; } .btn.tw { background: #9146ff; color: #fff; }

/* ---------- Abschnitte ---------- */
.sec { padding-block: clamp(60px, 8vw, 108px) 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--ender); margin-bottom: 8px; }
.eyebrow img { width: 22px; height: 22px; image-rendering: pixelated; }
.sec h2 { font-size: clamp(30px, 4.6vw, 46px); }
.sec h2 mark, .mk { background: linear-gradient(transparent 58%, var(--yellow) 58% 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 62ch; margin-top: 8px; }
.more { font-weight: 900; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--yellow); padding-bottom: 1px; white-space: nowrap; }
.more:hover { border-color: var(--ender); }

.card { background: var(--card); border: 2px solid var(--edge); border-radius: var(--r); box-shadow: 0 3px 0 var(--edge); }
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.lift { transition: transform .25s var(--spring), box-shadow .25s var(--ease), border-color .2s; }
.lift:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 7px 0 var(--ink); }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; padding: 4px 10px; border-radius: 99px; border: 2px solid var(--ink); background: #fff; white-space: nowrap; }
.tag.y { background: var(--yellow); } .tag.g { background: var(--grass); color: #fff; } .tag.p { background: var(--ink); color: #fff; } .tag.e { background: var(--ender-l); }
.tag.live::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Demnaechst */
.upc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ucard { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.date { flex: none; width: 66px; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; text-align: center; background: #fff; box-shadow: var(--hard-s); }
.date b { display: block; font-size: 28px; line-height: 1.2; }
.date span { display: block; background: var(--red); color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; padding: 2px 0; }
.date.lbl { display: grid; place-items: center; min-height: 66px; padding: 6px; background: var(--yellow); }
.date.lbl b { font-size: 13px; line-height: 1.15; }
.ucard h3 { font-size: 19px; margin: 6px 0 4px; }
.ucard p { color: var(--ink-2); font-size: 15.5px; }
.cd { display: inline-block; margin-top: 8px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--ender); }

/* Videos */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vcard { overflow: hidden; display: flex; flex-direction: column; }
.vcard .cv { position: relative; aspect-ratio: 9 / 13; overflow: hidden; background: var(--sky-2); }
.vcard .cv img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.vcard:hover .cv img { transform: scale(1.05); }
.vcard .cv .tag { position: absolute; top: 12px; left: 12px; }
.vcard .num { position: absolute; right: 12px; top: 10px; }
.vcard .bd { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard h3 { font-size: 21px; }
.vcard p { color: var(--muted); font-size: 15px; font-weight: 600; }
.vcard .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.playbadge { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); display: grid; place-items: center; font-size: 24px; padding-left: 4px; box-shadow: var(--hard-s); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--spring); }
.vcard:hover .playbadge { opacity: 1; transform: scale(1); }

/* Bauanleitungs-Karten */
.gcard { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink); }
.gcard .th { position: relative; aspect-ratio: 1; background: #8fc0ff; overflow: hidden; }
.gcard .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gcard:hover .th img { transform: scale(1.06); }
.gcard .th .tag { position: absolute; left: 12px; top: 12px; }
.gcard .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.gcard h3 { font-size: 23px; }
.gcard p { color: var(--ink-2); font-size: 15.5px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.soon { display: grid; place-items: center; text-align: center; padding: 26px; min-height: 260px; border-style: dashed; box-shadow: none; background: rgba(255,255,255,.6); }
.soon img { width: 74px; margin: 0 auto 10px; }
.soon h3 { font-size: 20px; margin-bottom: 6px; }
.soon p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }

/* Events */
.ecard { display: grid; grid-template-columns: 150px minmax(0, 1fr); overflow: hidden; text-decoration: none; color: var(--ink); }
.ecard .art { display: grid; place-items: center; background: linear-gradient(160deg, var(--ender), #5b1a99); }
.ecard .art img { width: 92px; animation: bob 3.4s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(0,0,0,.35)); }
.ecard .bd { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.ecard h3 { font-size: 24px; }
.ecard p { color: var(--ink-2); }
.empty { padding: 26px; display: flex; gap: 18px; align-items: center; }
.empty img { width: 70px; flex: none; }
.empty h3 { font-size: 21px; margin-bottom: 4px; }
.empty p { color: var(--ink-2); }
.note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--ender-l); border: 2px solid var(--ink); font-weight: 700; font-size: 15px; }

/* Community / Ideen */
.community { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }

.stat img { width: 88px; flex: none; }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.05; }
.stat p { font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ilist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.ilist h3 { font-size: 18px; margin-bottom: 3px; }
.ilist p { color: var(--ink-2); font-size: 15px; }
.ilist .tag { margin-left: auto; flex: none; }
.st-Umgesetzt { background: var(--grass); color: #fff; } .st-Abstimmung { background: var(--yellow); } .st-Geplant { background: var(--ender-l); } .st-In.Arbeit, .st-InArbeit { background: #ffb36b; }

/* Formulare */
.form { padding: 22px; display: grid; gap: 14px; }
.form h3 { font-size: 22px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 15px; }
.field small { color: var(--muted); font-size: 13px; }
.form input[type=text], .form textarea, .form select { width: 100%; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; font-size: 16px; transition: box-shadow .2s; }
.form input[type=text]:focus, .form textarea:focus, .form select:focus { outline: none; box-shadow: 0 0 0 4px rgba(181,47,240,.3); }
.form textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ender); flex: none; margin: 1px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { padding: 12px 14px; border-radius: 12px; border: 2px solid var(--ink); font-weight: 700; }
.msg.ok { background: #c8f2b4; } .msg.err { background: #ffd0c9; } .msg.info { background: var(--ender-l); }
.msg[hidden] { display: none; }

/* ---------- Unterseiten ---------- */
.phead { padding-block: 34px 40px; }
.phead .wrap { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.phead .head { width: clamp(70px, 10vw, 120px); }
.phead h1 { font-size: clamp(38px, 6.4vw, 72px); }
.phead p { margin-top: 10px; font-size: 19px; font-weight: 700; color: var(--ink); max-width: 56ch; }
.crumb { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--ink-2); }
.crumb a { color: var(--ink); }

.post { padding: 22px 24px; display: grid; gap: 10px; }
.post time { font-weight: 800; color: var(--muted); font-size: 14px; }
.post h2 { font-size: 26px; }
.post p { color: var(--ink-2); max-width: 70ch; }
.posts { display: grid; gap: 20px; max-width: 820px; }

.prose { padding: clamp(20px, 4vw, 34px); max-width: 860px; }
.prose h2 { font-size: 23px; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); max-width: 72ch; }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }

.edetail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 14px 16px; border: 3px solid var(--ink); border-radius: 14px; background: #fff; }
.fact small { display: block; font-weight: 800; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.fact b { font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grass); color: #fff; font-weight: 900; border: 2px solid var(--ink); }
details.tc { padding: 16px 20px; }
details.tc summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details.tc[open] summary { margin-bottom: 12px; }

/* ---------- Bauanleitung ---------- */
.ghero { padding-block: 30px 46px; }
.ghero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.ghero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: .98; }
.ghero .intro { font-size: 19px; font-weight: 600; max-width: 46ch; margin: 18px 0 20px; }
.nums { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.nums div { padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.85); border: 3px solid var(--ink); box-shadow: var(--hard-s); }
.nums b { font-size: 24px; font-variant-numeric: tabular-nums; }
.nums small { display: block; font-weight: 800; font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.diorama { perspective: 1100px; position: relative; }
.card3d { position: relative; padding: 12px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink), 0 30px 60px rgba(30,10,60,.25); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.tl { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 14px; overflow: hidden; background: #8fc0ff; }
.tl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .28s linear; }
.tl img.on { opacity: 1; }
.tlbar { display: flex; align-items: center; gap: 12px; padding: 12px 6px 2px; font-weight: 900; }
.tlbar .n { color: var(--ender); min-width: 62px; font-variant-numeric: tabular-nums; }
.tlbar .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tltrack { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(43,22,80,.35); }
.tltrack i { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .3s linear; }
.live { position: absolute; top: 12px; left: 12px; }
.diorama .head { position: absolute; width: clamp(70px, 9vw, 112px); z-index: 2; }
.diorama .head.st { left: -26px; bottom: 40px; }
.diorama .head.pro { right: -22px; top: -24px; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: f; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-right: 24px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: 82px; right: 12px; height: 5px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px); background-size: 20px 5px; animation: flowx .8s linear infinite; opacity: .55; }
@keyframes flowx { to { background-position: 20px 0; } }
.slot { width: 70px; height: 70px; border-radius: 14px; display: grid; place-items: center; background: #c6c6c6; border: 3px solid var(--ink); box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #8b8b8b; flex: none; }
.slot img { width: 44px; height: 44px; image-rendering: pixelated; }
.flow b { font-size: 18px; }
.flow span { color: var(--ink-2); font-size: 15.5px; max-width: 26ch; }

.tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hh) + 10px); z-index: 30; display: flex; margin-bottom: 20px; padding: 5px; border-radius: 16px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--hard-s); }
.tabs .ind { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 10px; background: var(--yellow); transition: transform .35s var(--ease), width .35s var(--ease); }
.tabs button { position: relative; flex: 1; border: 0; background: none; padding: 10px 6px; border-radius: 10px; font-weight: 900; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs small { font-weight: 900; color: var(--ender); margin-left: 3px; }
.panel[hidden] { display: none; }
.panel { animation: panelin .4s var(--ease); }
@keyframes panelin { from { opacity: .3; transform: translateY(8px); } }

.build { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.segs { grid-column: 1 / -1; display: flex; gap: 4px; }
.segs button { position: relative; flex: 1; height: 12px; padding: 0; border: 2px solid var(--ink); border-radius: 99px; background: #fff; cursor: pointer; overflow: hidden; }
.segs button.done { background: var(--grass); }
.segs button.cur { background: #fff1a8; }
.segs button.cur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--yellow) 0 60%, #fff8c9 75%, var(--yellow) 90%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.segs button.pop { animation: segpop .45s var(--ease); }
@keyframes segpop { 40% { transform: scaleY(1.9); background: #b6ff4a; } }
.stage { position: relative; border-radius: var(--r); overflow: hidden; background: #8fc0ff; aspect-ratio: 1; max-width: 100%; touch-action: pan-y; user-select: none; border: 3px solid var(--ink); box-shadow: var(--hard); }
.stage img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.stage img.in { animation: slidein .4s var(--ease), kb 9s ease-out .4s forwards; }
.stage img.back { animation: slideback .4s var(--ease), kb 9s ease-out .4s forwards; }
@keyframes slidein { from { opacity: .15; transform: translateX(32px) scale(1.03); } }
@keyframes slideback { from { opacity: .15; transform: translateX(-32px) scale(1.03); } }
@keyframes kb { to { transform: scale(1.05); } }
.snum { position: absolute; top: 12px; left: 12px; font-weight: 900; font-size: 19px; padding: 4px 12px; border-radius: 11px; background: var(--ink); color: #fff; }
.snum b { color: var(--yellow); }
.legend { position: absolute; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.92); border: 2px solid var(--ink); }
.legend i { width: 13px; height: 13px; border: 3px solid #e6b800; border-radius: 3px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(255,210,31,.45); } }
.zone { position: absolute; top: 0; bottom: 0; width: 36%; border: 0; background: none; cursor: pointer; display: flex; align-items: center; padding: 0 12px; }
.zone.l { left: 0; } .zone.r { right: 0; justify-content: flex-end; }
.zone span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 900; background: #fff; border: 3px solid var(--ink); box-shadow: var(--hard-s); opacity: .85; transform: scale(.92); transition: opacity .2s, transform .2s var(--spring); }
.zone:hover span { opacity: 1; transform: scale(1); }
.zone:disabled { visibility: hidden; }
.info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.info h3 { font-size: clamp(28px, 3.4vw, 38px); }
.info h3.in { animation: textin .4s var(--ease); }
@keyframes textin { from { opacity: .2; transform: translateY(10px); } }
.info p { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.need { padding: 14px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; }
.need h4 { margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.parts { display: flex; flex-wrap: wrap; gap: 8px; }
.part { display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 12px; background: var(--paper); border: 2px solid var(--line); font-weight: 800; animation: partin .35s var(--spring) backwards; }
@keyframes partin { from { opacity: 0; transform: scale(.7); } }
.part img { width: 36px; height: 36px; image-rendering: pixelated; }
.part b { color: var(--ender); font-size: 19px; }
.none { color: var(--muted); }
.navrow { display: flex; gap: 10px; }
.navrow .y { flex: 1; }
.hint { color: var(--muted); font-size: 14px; font-weight: 600; }
.tip { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #f4e6ff; border: 3px solid var(--ink); }
.tip img { width: 54px; flex: none; }
.tip b { color: var(--ender); }
.donebox { display: none; text-align: center; padding: 26px 18px; border-radius: var(--r); background: #c8f2b4; border: 3px solid var(--ink); box-shadow: var(--hard); }
.donebox.show { display: block; animation: textin .5s var(--ease); }
.donebox h3 { font-size: 32px; margin-bottom: 6px; }
.donebox p { margin: 0 auto 16px; max-width: 40ch; color: var(--ink-2); }
.orb { position: fixed; z-index: 90; left: 0; top: 0; width: 13px; height: 13px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 35%, #f6ffd0, #b6ff3a 45%, #4f8f00 100%); box-shadow: 0 0 12px rgba(160,255,40,.9); }
.plus { position: fixed; z-index: 91; left: 0; top: 0; pointer-events: none; font-weight: 900; font-size: 24px; color: #7ad61a; paint-order: stroke fill; -webkit-text-stroke: 5px var(--ink); }

.inv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.inv li { animation: partin .4s var(--spring) backwards; animation-delay: calc(var(--i) * 35ms); }
.inv label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 12px; border-radius: 14px; background: #c6c6c6; border: 3px solid var(--ink); box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #8b8b8b; cursor: pointer; text-align: center; font-weight: 800; font-size: 14px; transition: transform .15s var(--ease), background .25s; }
.inv label:hover { transform: translateY(-3px); }
.inv label:has(input:focus-visible) { outline: 3px solid var(--ender); outline-offset: 2px; }
.inv img { width: 52px; height: 52px; image-rendering: pixelated; transition: transform .3s var(--spring); }
.inv b { position: absolute; top: 50px; right: calc(50% - 40px); font-size: 22px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.inv input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.inv label::after { content: "✓"; position: absolute; top: 7px; right: 9px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; font-weight: 900; color: #fff; background: var(--grass); border: 2px solid var(--ink); transform: scale(0); transition: transform .3s var(--spring); }
.inv label:has(input:checked) { background: #a9dd8f; box-shadow: inset 3px 3px 0 #d6f5c6, inset -3px -3px 0 #6fa356; }
.inv label:has(input:checked)::after { transform: scale(1); }
.inv label:has(input:checked) img { transform: scale(.88); }
.mhead { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.mprog { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.mprog .bar { width: 160px; height: 14px; border-radius: 99px; background: #fff; border: 2px solid var(--ink); overflow: hidden; }
.mprog .bar i { display: block; height: 100%; width: 0; background: var(--grass); transition: width .4s var(--ease); }
.vid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: center; }
.vthumb { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%; border: 3px solid var(--ink); box-shadow: var(--hard); background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vthumb .playbadge { opacity: 1; transform: none; animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 4px 0 var(--ink), 0 0 0 0 rgba(255,210,31,.7); } 100% { box-shadow: 0 4px 0 var(--ink), 0 0 0 22px rgba(255,210,31,0); } }
.vid h3 { font-size: 32px; margin-bottom: 10px; }
.vid p { color: var(--ink-2); max-width: 46ch; margin-bottom: 16px; }
details.all { margin-top: 30px; padding: 16px 20px; }
details.all summary { cursor: pointer; font-weight: 900; font-size: 18px; }
details.all ol { margin: 14px 0 0; padding-left: 24px; display: grid; gap: 10px; }
details.all li b { display: block; }
details.all li span { color: var(--ink-2); }

/* ---------- Boden / Fusszeile ---------- */
.foot { margin-top: clamp(60px, 8vw, 100px); color: #f3ecff; }
.foot .soil { background: url(../img/tex/dirt.png) 0 0 / 48px 48px; image-rendering: pixelated; position: relative; }
.foot .soil::before { content: ""; position: absolute; inset: 0; background: rgba(28,14,8,.72); }
.foot .inner { position: relative; padding-block: 34px 40px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.foot h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { text-decoration: underline; }
.foot .fbrand { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.foot .fbrand img { width: 52px; border-radius: 14px; }
.foot .fbrand b { font-size: 20px; }
.foot .legal { position: relative; border-top: 1px solid rgba(255,255,255,.15); padding-block: 16px 24px; font-size: 13px; color: #cfc3e6; }
.foot .soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.foot .soc .btn { box-shadow: 0 3px 0 #000; border-color: #000; }

/* Einstieg beim Laden: nie unsichtbar, nur leicht versetzt */
.rise { animation: rise .7s var(--ease) backwards; }
@keyframes rise { from { opacity: .25; transform: translateY(18px); } }

@media (max-width: 960px) {
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .vcard .bd { padding: 12px; }
  .vcard h3 { font-size: 17px; }
  .vcard p { display: none; }
  .community, .edetail { grid-template-columns: 1fr; }
  .ghero .wrap { grid-template-columns: 1fr; }
  .diorama { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .flow { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .flow li::after { display: none; }
  .build { grid-template-columns: 1fr; gap: 16px; }
  .vid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .vthumb { width: min(100%, 280px); }
  .vid p { margin-inline: auto; }
  .foot .inner { grid-template-columns: 1fr 1fr; }
  .foot .inner > :first-child { grid-column: 1 / -1; }
  .tree { display: none; }
}
@media (max-width: 760px) {
  :root { --hh: 58px; }
  body { font-size: 16px; }
  .menu { display: grid; }
  .nav { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + var(--hh)); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)); background: var(--ink); box-shadow: 0 14px 30px rgba(20,8,40,.35); transform: translateY(-110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 19px; padding: 13px 14px; }
  .brand img { width: 38px; height: 38px; }
  .head { width: clamp(78px, 22vw, 110px); }
  .bubble { font-size: 13px; max-width: 150px; padding: 7px 10px; }
  .bubble small { font-size: 10.5px; }
  .bubble.s { left: -6px; } .bubble.p { right: -6px; }
  .stagehead { flex-wrap: wrap; column-gap: 96px; padding-top: 78px; }
  .stagehead .word { order: 3; flex-basis: 100%; margin-top: 12px; }
  .stagehead .head { width: 96px; }
  .float-item { display: none; }
  .diorama .head.st { left: -4px; bottom: 70px; } .diorama .head.pro { right: -4px; } .diorama .bubble.s { left: 0; }
  .stagehead .bubble.s { left: -24px; } .stagehead .bubble.p { right: -24px; }
  .vgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
  .vgrid::-webkit-scrollbar { display: none; }
  .vcard { flex: 0 0 72%; scroll-snap-align: center; }
  .vcard h3 { font-size: 19px; }
  .vcard p { display: block; }
  .ecard { grid-template-columns: 1fr; }
  .ecard .art { padding: 18px; }
  .phead .wrap { flex-direction: column; align-items: flex-start; }
  .ground { height: 60px; background-size: 40px 40px, 40px 40px; }
  .ground::after { top: 40px; }
  .ground.thin { height: 40px; }
  .facts { grid-template-columns: 1fr; }
  .foot .inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand span { font-size: 13px; } .brand b { font-size: 15px; }
  .btn.big { padding: 13px 20px; font-size: 17px; }
  .inv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .inv label { font-size: 12.5px; padding: 12px 4px 10px; }
  .inv img { width: 44px; height: 44px; }
  .inv b { top: 40px; right: calc(50% - 34px); font-size: 19px; }
  .info p { font-size: 17px; }
  .tabs button { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Ruhigere Startseite (v2) ---------- */
.hero .claim { margin-top: 18px; font-weight: 800; font-size: clamp(16px, 2.2vw, 21px); color: var(--ink); }
.hero .claim b { display: inline-block; padding: 7px 18px; border-radius: 99px; background: var(--ink); color: #fff; box-shadow: 0 4px 0 rgba(43,22,80,.3); }
.hero .sub { margin: 14px auto 0; max-width: 46ch; font-size: clamp(16px, 2vw, 19px); font-weight: 600; color: var(--ink); }
.sec h2 { letter-spacing: -.01em; }
.eyebrow { color: var(--muted); }

/* Bauanleitung als grosse Hauptkarte */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; text-decoration: none; color: var(--ink); }
.feature .th { position: relative; background: #8fc0ff; min-height: 100%; aspect-ratio: 1; overflow: hidden; }
.feature .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature:hover .th img { transform: scale(1.04); }
.feature .bd { padding: clamp(20px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature h3 { font-size: clamp(28px, 3.6vw, 40px); }
.feature p { color: var(--ink-2); font-size: 18px; max-width: 42ch; }
.strip6 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.strip6 img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; background: #8fc0ff; }
.feature .go { align-self: flex-start; margin-top: 4px; }

/* Ein Satz statt leerer Kasten */
.evline { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.evline img { width: 46px; flex: none; }
.evline p { color: var(--ink-2); font-weight: 600; }

/* Ideen-Streifen */
.istrip { margin-top: clamp(60px, 8vw, 108px); display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: var(--ink); color: #fff; border: 0; box-shadow: none; }
.istrip img { width: 62px; flex: none; }
.istrip b { display: block; font-size: 20px; }
.istrip p { color: #d9cdf5; font-weight: 600; }
.istrip .btn { margin-left: auto; flex: none; }

/* Alle Videos */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button { border: 2px solid var(--edge); background: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s; }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 16px; }
.vlist li[hidden] { display: none; }
.vmini { display: flex; flex-direction: column; overflow: hidden; height: 100%; color: var(--ink); text-decoration: none; }
.vmini .cv { position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: var(--sky-2); }
.vmini .cv img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.vmini:hover .cv img { transform: scale(1.05); }
.vmini .cv .tag { position: absolute; left: 8px; top: 8px; font-size: 12px; }
.vmini .bd { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vmini h3 { font-size: 16px; }
.vmini .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.vmini .btn.sm { padding: 6px 10px; font-size: 13px; }

/* Ueber uns */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.who { padding: 24px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; }
.who img { width: 110px; }
.who h3 { font-size: 26px; margin-bottom: 4px; }
.who small { display: block; font-weight: 800; color: var(--ender); text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; margin-bottom: 6px; }
.who p { color: var(--ink-2); }
.who q { display: block; margin-top: 10px; font-weight: 800; color: var(--ink); quotes: "„" "“"; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar { padding: 22px; }
.pillar .slot { margin-bottom: 12px; }
.pillar h3 { font-size: 20px; margin-bottom: 6px; }
.pillar p { color: var(--ink-2); }

@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .duo, .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .istrip { flex-wrap: wrap; }
  .bubble { font-size: 14px; }
  .hero .ctas { gap: 10px; flex-wrap: nowrap; }
  .hero .ctas .btn.big { padding: 12px 14px; font-size: 15.5px; flex: 1 1 auto; }
  .istrip .btn { margin-left: 0; width: 100%; }
  .who { grid-template-columns: 76px minmax(0, 1fr); padding: 18px; }
  .who img { width: 76px; }
  .strip6 { gap: 4px; }
}

/* Eigener Video-Player */
.playcv { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.playcv img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vmini .playcv .playbadge { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 20px; }
.player { padding: 0; border: 0; background: transparent; max-width: min(92vw, 420px); width: 100%; overflow: visible; }
.player::backdrop { background: rgba(20, 8, 40, .82); backdrop-filter: blur(4px); }
.player[open] { animation: textin .3s var(--ease); }
.pbox { position: relative; background: #000; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.pbox video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; background: #000; }
.pinfo { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; background: #fff; }
.pinfo b { font-size: 18px; }
.pinfo .links { display: flex; flex-wrap: wrap; gap: 8px; }
.pclose { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-weight: 900; font-size: 18px; cursor: pointer; }
.vthumb video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* lange Materialnamen umbrechen statt ueberstehen */
.inv label span { overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }

/* TikTok-Player erst nach Klick */
.vthumb.tt { cursor: pointer; }
.vthumb.tt .playbadge { opacity: 1; transform: none; }
.ttnote { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(43,22,80,.88); text-align: left; }
.ttnote a { color: var(--yellow); }
.vthumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

/* ---------- Startseite im Banner-Look (seit 03.11.2026): Weltall, Profi auf Endstein, Enderperlen zum Werfen ---------- */
.space { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(60% 75% at 72% 48%, rgba(170, 90, 255, .55) 0%, rgba(110, 50, 200, .28) 35%, transparent 70%),
              linear-gradient(180deg, #05030d 0%, #0d0724 55%, #1a0b3a 100%); }
.space .stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.shero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(10px, 3vw, 40px);
  padding-block: clamp(28px, 5vw, 64px) clamp(20px, 3vw, 36px); min-height: min(640px, 82vh); }
.stxt { min-width: 0; text-align: center; }
.stxt .word { align-items: center; }
.space .word .y { font-size: clamp(42px, 6.4vw, 92px); }
.space .word .w { font-size: clamp(44px, 6.9vw, 100px); }
.pearlhud[hidden], .pearltip[hidden] { display: none; }
.tagline { margin-top: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: clamp(13px, 1.6vw, 17px); color: #f1e8ff;
  text-shadow: 0 2px 0 var(--ink), 0 0 18px rgba(170, 90, 255, .6); }
.space .claim { margin-top: 18px; font-weight: 800; font-size: clamp(16px, 2vw, 20px); }
.space .claim b { display: inline-block; padding: 7px 18px; border-radius: 99px; background: rgba(255,255,255,.12); border: 2px solid rgba(227,166,255,.55); color: #fff; backdrop-filter: blur(4px); }
.space .sub { margin: 14px auto 0; max-width: 44ch; font-size: clamp(15.5px, 1.8vw, 18px); font-weight: 600; color: #e6dcff; }
.space .ctas { justify-content: center; margin-top: 24px; }
.space .socials { margin-top: 16px; }
.sart { position: relative; min-width: 0; display: flex; justify-content: center; }
.profi-insel { width: min(100%, 520px); aspect-ratio: 660 / 800; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
  animation: inselbob 6s ease-in-out infinite; transition: filter .2s; }
@keyframes inselbob { 50% { transform: translateY(-10px); } }
.profi-insel.tp { animation: tpblink .55s steps(2, jump-none) 1, inselbob 6s ease-in-out infinite; filter: brightness(1.6) saturate(1.4) drop-shadow(0 0 30px rgba(200,120,255,.9)); }
@keyframes tpblink { 0%, 100% { opacity: 1; } 40% { opacity: .15; } }
/* Enderperlen */
.pearl { position: absolute; z-index: 3; width: clamp(34px, 4vw, 48px); height: auto; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: grab;
  image-rendering: pixelated; filter: drop-shadow(0 0 10px rgba(80, 230, 190, .75)); animation: pearlfloat var(--d, 4.5s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
.pearl img { width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; transition: transform .2s var(--spring); }
.pearl:hover img, .pearl:focus-visible img { transform: scale(1.25) rotate(-8deg); }
@keyframes pearlfloat { 50% { transform: translateY(-16px) rotate(6deg); } }
.pearl.fly { animation: none; cursor: default; pointer-events: none; }
.spark { position: absolute; z-index: 4; width: 8px; height: 8px; pointer-events: none; image-rendering: pixelated; }
.pearlhud { position: absolute; z-index: 5; right: max(16px, env(safe-area-inset-right, 0px)); top: 14px; display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px; background: rgba(10, 6, 30, .72); border: 2px solid rgba(80, 230, 190, .6); color: #c8fff0; font-weight: 800; font-size: 14px; }
.pearlhud.done { border-color: var(--yellow); color: var(--yellow); }
.pearltip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: rgba(230, 220, 255, .7); pointer-events: none; white-space: nowrap; }
.pearltoast { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; padding: 18px 26px; border-radius: 20px;
  background: #fff; color: var(--ink); border: 4px solid var(--ink); box-shadow: var(--hard); font-weight: 900; font-size: clamp(17px, 2.2vw, 22px); text-align: center;
  transition: transform .45s var(--spring), opacity .3s; pointer-events: none; max-width: min(90%, 420px); }
.pearltoast.show { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.pearltoast small { display: block; font-size: 15px; font-weight: 700; color: var(--muted); margin-top: 4px; }
/* Boden unter dem Weltall: Endstein */
.ground.end { height: 56px; background: url(../img/tex/end_stone.png) 0 0 / 48px 48px; }
.ground.end::after { inset: 0; background: linear-gradient(180deg, rgba(40, 10, 70, .55), rgba(0, 0, 0, .1) 60%, rgba(0, 0, 0, .25)); }
@media (max-width: 860px) {
  .shero { grid-template-columns: 1fr; min-height: 0; padding-top: 12px; gap: 0; }
  .sart { order: -1; margin-bottom: -40px; }
  .profi-insel { width: min(78%, 340px); }
  .space .word .y { font-size: clamp(40px, 12vw, 80px); }
  .space .word .w { font-size: clamp(42px, 12.6vw, 86px); }
  .pearltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profi-insel, .pearl { animation: none; }
}

/* Discord-Knopf, Serverpartner (Werbung), langes YouTube-Video in den Bauanleitungen (04.11.2026) */
.btn.dc { background: #5865f2; color: #fff; }
.card.partner { position: relative; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 26px 28px;
  background: #22233a; color: #fff; border-color: var(--ink); }
.card.partner h3 { color: #fff; } .card.partner p { color: #d6d8f0; margin-top: 6px; } .card.partner .eyebrow { color: #8fa2ff; margin: 0; }
.card.partner .plogo img { width: 100%; height: auto; display: block; }
.tag.ad { position: absolute; top: 10px; right: 12px; background: #fff; color: var(--ink); font-size: 12px; }
.vthumb.wide { aspect-ratio: 16 / 9; width: 100%; max-width: 640px; padding: 0; cursor: pointer; }
.vthumb.wide .ythint { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; background: rgba(20, 10, 40, .72); color: #fff; font-size: 13px; font-weight: 700; }
@media (max-width: 760px) {
  .card.partner { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 34px 18px 22px; }
  .card.partner .plogo { max-width: 240px; margin: 0 auto; }
  .vthumb.wide { width: 100%; }
}
.vid:has(.vthumb.wide) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 760px) { .vid:has(.vthumb.wide) { grid-template-columns: 1fr; } }

/* ---------- Startbereich im Stil des Reise-Banners (04.11.2026): Abendhimmel, Oberwelt-Insel links, Nether-Insel mit dem Profi rechts ---------- */
.space.reise { background: radial-gradient(40% 34% at 50% 78%, rgba(255, 200, 225, .55), transparent 70%),
  linear-gradient(180deg, #0b0730 0%, #241657 24%, #5a3290 46%, #a454a8 66%, #e48db5 84%, #ecb38f 100%); }
.rhero { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .8fr); align-items: center; gap: clamp(6px, 2vw, 26px); min-height: min(700px, 88vh); padding-block: clamp(24px, 4vw, 48px) clamp(26px, 4vw, 44px); }
.rhero .sart { display: flex; justify-content: center; }
.rhero .insel, .rhero .profi-insel { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; max-width: 330px;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  animation: inselbob 6s ease-in-out infinite; }
.rhero .sart.l .insel { animation-delay: -3s; max-width: 300px; }
.reise .tagline { color: #fff3fb; }
.reise .sub { color: #f6ecff; text-shadow: 0 1px 2px rgba(30, 10, 60, .5); }
@media (max-width: 860px) {
  .rhero { grid-template-columns: 1fr 1fr; grid-template-areas: "l r" "t t"; min-height: 0; padding-top: 14px; gap: 0 10px; align-items: end; }
  .rhero .sart.l { grid-area: l; } .rhero .sart.r { grid-area: r; } .rhero .stxt { grid-area: t; margin-top: 6px; }
  .rhero .sart { order: 0; margin-bottom: 0; }
  .rhero .insel, .rhero .profi-insel { width: min(100%, 190px); }
}

/* Startbereich = ganzes Reise-Banner, darunter Text im Abendrot (04.11.2026, ersetzt die Insel-Ausschnitte) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.space.reise { background: linear-gradient(180deg, #d79e84 0%, #e6b293 45%, #f1c8a8 100%); color: var(--ink); }
.reise .stars { display: none; }
.rbanner { position: relative; }
.rbanner .banner { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.rbanner .profi-insel { position: absolute; left: 72.8%; top: 60%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.rbanner .profi-insel.tp { animation: profiglow .6s ease-out 1; }
@keyframes profiglow { 0% { box-shadow: 0 0 0 0 rgba(120, 255, 210, .9); background: rgba(160, 255, 220, .55); } 100% { box-shadow: 0 0 60px 40px rgba(170, 90, 255, 0); background: transparent; } }
.rtext { text-align: center; padding-block: 4px clamp(30px, 4vw, 48px); }
.reise .claim { margin-top: 0; }
.reise .claim b { background: rgba(255, 255, 255, .55); border-color: rgba(43, 22, 80, .25); color: var(--ink); }
.reise .sub { margin: 14px auto 0; max-width: 52ch; color: #3a2452; text-shadow: none; font-weight: 700; }
.reise .pearltip { color: rgba(43, 22, 80, .7); }
.reise .pearlhud { top: 12px; }

/* =====================================================================================================
   NACHTHIMMEL-LOOK (04.11.2026, Erik): ganze Seite wie das Reise-Banner. Dunkler Sternenhimmel als Hintergrund,
   Lila und Abendrot als Akzente, keine Gras-/Erdstreifen mehr. Karten bleiben hell, damit alles lesbar ist.
   ===================================================================================================== */
:root { --night-0: #07051f; --night-1: #0d0833; --night-2: #1b1049; --night-3: #2c1866; --dusk: #e48db5; --peach: #ecb38f; --lav: #e3d3ff; }
html { background: var(--night-0); }
body { background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 45%, var(--night-3) 100%) fixed; color: #f3ecff; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.6px 1.6px at 23px 41px, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 137px 112px, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 211px 19px, #e3a6ff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 77px 183px, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 251px 221px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 169px 263px, #fff 50%, transparent 52%);
  background-size: 290px 290px; }
main, .sec { position: relative; }
.card, .card a:not(.btn) { color: var(--ink); }
.ground { display: none; }
/* Ueberschriften und Text direkt auf dem Himmel */
.sec-head h2 { color: #fff; }
.eyebrow { color: #e3a6ff; }
.more { color: #fff; }
.more:hover { border-color: var(--dusk); }
/* Startbereich: Banner laeuft unten in den Nachthimmel aus, Text hell */
.space.reise { background: transparent; color: #fff; }
.rbanner .banner { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.reise .claim b { background: rgba(255, 255, 255, .12); border-color: rgba(227, 166, 255, .55); color: #fff; }
.reise .sub { color: #efe6ff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.reise .pearltip { color: rgba(239, 230, 255, .7); }
.rtext { margin-top: clamp(-90px, -6vw, -30px); position: relative; }
/* Unterseiten-Koepfe: Abendhimmel wie im Banner statt Tageshimmel */
.sky { background: radial-gradient(50% 60% at 50% 100%, rgba(255, 190, 225, .45), transparent 70%), linear-gradient(180deg, #0b0730 0%, #2c1a64 34%, #7a3f9e 66%, #d982b4 92%, #ecb38f 100%); }
.sky .clouds { opacity: .18; }
.phead p, .ghero .intro, .sky .crumb, .sky .crumb a { color: #fff; text-shadow: 0 1px 2px rgba(20, 8, 50, .55); }
/* Bauanleitung: Ablauf-Leiste auf dem Himmel */
.flow li b { color: #fff; } .flow li span { color: #d9ccf3; }
.flow li:not(:last-child)::after { background: repeating-linear-gradient(90deg, var(--lav) 0 10px, transparent 10px 18px); }
/* Fusszeile: tiefer Nachthimmel statt Erde */
.foot .soil { background: var(--night-0); border-top: 2px solid rgba(227, 166, 255, .25); }
.foot .soil::before { background: radial-gradient(60% 120% at 50% 0%, rgba(122, 63, 158, .35), transparent 70%); }
/* Nachthimmel: Texte, die direkt auf dem dunklen Hintergrund stehen */
.info p, .vid p { color: #e9defc; }
.need h4, .hint { color: #cbbdea; }
.bubble { color: var(--ink); }
.filter button { color: var(--ink); }
.filter button[aria-pressed="true"] { color: var(--ink); }
.mhead p, .mprog { color: #f3ecff; }
.inv, .inv * { color: var(--ink); }
.filter button[aria-pressed="true"] { color: #fff; }
.need .parts, .need .parts * { color: var(--ink); }
.card.istrip b, .card.istrip p, .card.istrip div { color: #fff; }

/* Steves Reise (Story-Stand), Edition-Filter, Handy-Banner (04.11.2026) */
.reisebar { margin-top: clamp(10px, 2vw, 20px); }
.reise-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 20px 24px; }
.reise-card .rk .eyebrow { color: var(--ender); margin: 0 0 4px; }
.reise-card h3 { font-size: 22px; }
.stages { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.stages li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; background: var(--paper-2); text-align: center; }
.stages li img { width: 40px; height: 40px; border-radius: 6px; }
.stages li b { font-size: 15px; }
.stages li small { font-size: 12px; color: var(--muted); font-weight: 700; }
.stages li i { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: #2fb35f; color: #fff; font-style: normal; font-weight: 900; display: grid; place-items: center; border: 2px solid #fff; }
.stages li.now { background: #efe0ff; outline: 3px solid var(--ender); }
.pflicht { display: grid; gap: 6px; }
.pflicht b { font-size: 16px; }
.pflicht span { font-size: 14px; color: var(--muted); font-weight: 700; }
.pbar { height: 14px; border-radius: 99px; background: var(--paper-2); border: 2px solid var(--ink); overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, #8a3fd0, var(--ender)); }
.efsec { padding-top: clamp(28px, 4vw, 44px); }
.efilter { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .reise-card { grid-template-columns: 1fr 1fr; }
  .reise-card .stages { grid-column: 1 / -1; order: 3; }
  .reise-card .pflicht { grid-column: 1 / -1; order: 4; }
}
@media (max-width: 700px) {
  .reise-card { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .reise-card .btn { justify-self: start; order: 5; }
  .rbanner .profi-insel { left: 80.5%; top: 51%; width: 9%; }
}
.neuhier { display: grid; justify-items: center; gap: 6px; text-align: center; }
.neuhier b { font-size: 14px; color: var(--ender); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 700px) { .neuhier { justify-items: start; text-align: left; order: 5; grid-auto-flow: column; align-items: center; gap: 12px; } }

/* Server-Seite (10.11.2026) */
.srvteaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 26px; text-decoration: none; color: inherit; }
.srvteaser h3 { font-size: 22px; margin: 2px 0 4px; color: var(--ink); } .srvteaser p { color: var(--ink-2); } .srvteaser .eyebrow { margin: 0; }
.srvstart { display: flex; align-items: center; gap: 20px; padding: 22px 26px; } .srvstart h2 { margin: 2px 0 4px; } .srvstart .eyebrow { margin: 0; } .srvstart p { color: var(--ink-2); }
.join .pillar ol { margin: 10px 0 12px 20px; color: var(--ink-2); display: grid; gap: 4px; }
.join .pillar h3 { margin-top: 10px; }
.addr { margin-top: 6px; color: var(--ink-2); }
.addr code, .srvcmds code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; background: var(--paper-2, #f1ecdf); border-radius: 8px; padding: 4px 10px; color: var(--ink); user-select: all; word-break: break-all; }
.srvcmds { padding: 18px 24px; } .srvcmds ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.srvcmds li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; } .srvcmds li span { color: var(--ink-2); }
.srvwichtig { padding: 18px 24px; } .srvwichtig ul { margin-left: 20px; display: grid; gap: 8px; }
@media (max-width: 760px) { .srvteaser { grid-template-columns: auto minmax(0, 1fr); } .srvteaser .btn { grid-column: 1 / -1; justify-self: start; } .srvcmds ul { grid-template-columns: 1fr; } }
