/* MOD4EVER – gemeinsame Styles für Landingpage, Impressum und Datenschutz */
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("/static/landing/fonts/OpenSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("/static/landing/fonts/OpenSans-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("/static/landing/fonts/OpenSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 800; font-display: swap; src: url("/static/landing/fonts/OpenSans-ExtraBold.woff2") format("woff2"); }

:root {
    --navy-950: #00060d;
    --navy-900: #000f1f;
    --navy-800: #001b39;
    --navy-700: #002852;
    --line: rgba(168, 212, 240, 0.12);
    --ice: #43afff;
    --ice-soft: #a8d4f0;
    --fire: #ff6a2b;
    --fire-2: #ffb02e;
    --discord: #5865f2;
    --text: #eaf2f8;
    --muted: #8fa6b8;
    --radius: 16px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--navy-900);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--ice-soft); }
:focus-visible { outline: 3px solid var(--fire-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
    padding: 18px 0;
}
.nav.scrolled { background: rgba(0, 15, 31, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav .container { display: flex; align-items: center; gap: 28px; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 0.08em; }
.nav-brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; border-radius: 999px; padding: 14px 28px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 0; cursor: pointer; font-size: 16px;
}
.btn:hover { transform: translateY(-2px); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px rgba(88, 101, 242, 0.45); }
.btn-discord:hover { color: #fff; background: #6773ff; box-shadow: 0 14px 40px rgba(88, 101, 242, 0.6); }
.btn-ghost { color: var(--text); border: 1px solid rgba(234, 242, 248, 0.35); }
.btn-ghost:hover { color: var(--text); border-color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: grid; align-items: center; isolation: isolate; overflow: hidden;
    padding: 120px 0 80px;
}
.hero-bg {
    position: absolute; inset: -4%; z-index: -2;
    background: url("/static/landing/hero.webp") center / cover no-repeat;
    animation: kenburns 30s ease-in-out infinite alternate;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 100% 100%, rgba(0, 15, 31, 0.95) 0%, rgba(0, 15, 31, 0.6) 25%, transparent 45%),
        radial-gradient(ellipse at 75% 40%, transparent 0%, rgba(0, 15, 31, 0.35) 45%, rgba(0, 15, 31, 0.92) 80%),
        linear-gradient(90deg, rgba(0, 6, 13, 0.92) 0%, rgba(0, 15, 31, 0.55) 55%, rgba(0, 15, 31, 0.25) 100%),
        linear-gradient(0deg, var(--navy-900) 0%, rgba(0, 15, 31, 0.85) 18%, transparent 45%);
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-content { max-width: 680px; }
.hero-logo { width: clamp(110px, 14vw, 170px); margin-bottom: 26px; filter: drop-shadow(0 10px 30px rgba(67, 175, 255, 0.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--fire-2); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 14px; }
.hero h1 {
    font-size: clamp(3.4rem, 10vw, 7.5rem); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 18px;
    background: linear-gradient(100deg, #fff 0%, var(--ice-soft) 45%, var(--ice) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #d3e2ee; margin: 0 0 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.live-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; min-height: 40px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
    background: rgba(0, 15, 31, 0.6); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.chip b { color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 0 0 rgba(59, 165, 93, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59, 165, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; color: var(--muted); font-size: 22px; animation: bounce 2.4s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Zitate-Ticker ---------- */
.ticker {
    position: relative; overflow: hidden; padding: 22px 0;
    background: linear-gradient(90deg, rgba(255, 106, 43, 0.08), rgba(0, 27, 57, 0.9) 30%, rgba(0, 27, 57, 0.9) 70%, rgba(67, 175, 255, 0.08));
    border-block: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: flex; align-items: center; gap: 30px; padding-right: 30px;
    white-space: nowrap; font-size: 17px; font-style: italic; font-weight: 600; color: #d3e2ee;
}
.ticker-item q { quotes: "„" "“"; }
.ticker-item q::before, .ticker-item q::after { color: var(--fire-2); font-weight: 800; }
.ticker-item img { width: 20px; height: 20px; opacity: 0.85; flex: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* Bewegung reduziert: ein einzelner Spruch, sanft überblendet statt Laufband */
.ticker.static .ticker-track { width: auto; justify-content: center; animation: none; }
.ticker.static .ticker-item { padding: 0 20px; white-space: normal; text-align: center; transition: opacity 0.6s ease; }
.ticker.static .ticker-item img { display: none; }
.ticker.static .ticker-item.fade { opacity: 0; }

/* ---------- Sektionen ---------- */
section.block { padding: 100px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-top: 8px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 16px 0 0; }
.accent { color: var(--ice); }
.accent-fire { background: linear-gradient(90deg, var(--fire), var(--fire-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.welcome { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.welcome p { color: #c9d8e4; margin: 0 0 18px; }
.welcome-img { position: relative; }
.welcome-img img { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 80px rgba(67, 175, 255, 0.18); transform: rotate(1.5deg); transition: transform 0.4s; }
.welcome-img:hover img { transform: rotate(0) scale(1.02); }
.age-badge {
    position: absolute; left: -22px; bottom: -22px; background: var(--navy-800); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
}
.age-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.age-badge span { color: var(--muted); font-size: 14px; }

/* Spiele */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    position: relative; background: linear-gradient(180deg, var(--navy-800), rgba(0, 27, 57, 0.4));
    border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(67, 175, 255, 0.4); box-shadow: var(--shadow); }
.card h3 { font-size: 1.35rem; font-weight: 800; margin: 18px 0 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-icon {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: #fff;
    background: linear-gradient(135deg, var(--ice), #1f6fd1);
}
.card-icon.fire { background: linear-gradient(135deg, var(--fire-2), var(--fire)); }
.card-icon.violet { background: linear-gradient(135deg, #b77bff, #6b46e5); }
.card-icon.green { background: linear-gradient(135deg, #5ee0a0, #1e9e6a); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(168, 212, 240, 0.1); color: var(--ice-soft); }
.card-main {
    grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px;
    background:
        linear-gradient(90deg, #020814 0%, #020814 77%, rgba(2, 8, 20, 0.5) 84%, rgba(2, 8, 20, 0) 93%),
        url("/static/landing/arena.webp") right center / auto 100% no-repeat, #020814;
    min-height: 340px;
}
.card-main h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.badge-main { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-900); background: var(--fire-2); padding: 5px 12px; border-radius: 6px; }
.installer { background: rgba(0, 15, 31, 0.7); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 22px; display: flex; gap: 16px; align-items: center; }
.installer i { font-size: 26px; color: var(--fire-2); }
.installer strong { display: block; }
.installer span { color: var(--muted); font-size: 15px; }

/* Besonders */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: left; }
.feature .big { font-size: clamp(1.7rem, 2.4vw, 2.3rem); hyphens: auto; font-weight: 800; line-height: 1; margin: 18px 0 8px; }
.feature h3 { font-size: 1.15rem; }

/* Live */
.live {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(88, 101, 242, 0.25), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(255, 106, 43, 0.15), transparent 50%),
        var(--navy-950);
    border-block: 1px solid var(--line);
}
.live-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.stat.online strong { color: #3ba55d; }
.panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 16px; }
.panel h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.playing li { list-style: none; margin-bottom: 12px; }
.playing ul { padding: 0; margin: 0; }
.playing .row { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.bar { height: 6px; border-radius: 99px; background: rgba(168, 212, 240, 0.1); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--fire), var(--fire-2)); width: 0; transition: width 1.2s ease; }
.avatars { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar { position: relative; width: 52px; height: 52px; }
.avatar img, .avatar .initial {
    width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--navy-700);
    display: grid; place-items: center; font-weight: 800; color: var(--ice-soft);
    transition: transform 0.2s;
}
.avatar:hover img, .avatar:hover .initial { transform: scale(1.12); }
.avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--navy-800); background: #3ba55d; }
.avatar.idle::after { background: #faa61a; }
.avatar.dnd::after { background: #ed4245; }
.avatar .tip {
    position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0; white-space: nowrap;
    background: #000; color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; pointer-events: none;
    opacity: 0; transition: opacity 0.15s; z-index: 5;
}
.avatar .tip small { display: block; color: var(--fire-2); }
.avatar:hover .tip, .avatar:focus-within .tip { opacity: 1; }
.voice-channel { margin-bottom: 14px; }
.voice-channel strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.voice-channel ul { list-style: none; margin: 8px 0 0 26px; padding: 0; color: var(--muted); font-size: 15px; }
.updated { color: var(--muted); font-size: 13px; margin-top: 14px; }
.muted { color: var(--muted); }

/* Rollen */
.roles { display: grid; grid-template-columns: 1fr 2fr; gap: 22px; }
.role-list { display: grid; gap: 14px; }
.roles .special { grid-template-columns: 1fr 1fr; }
.role { display: flex; gap: 14px; align-items: flex-start; background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.role-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.role-pill::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--ice)); box-shadow: 0 0 12px var(--c, var(--ice)); }
.role p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.role > div { min-width: 0; }
.group-title { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* Links */
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.link-card {
    display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px;
    background: var(--navy-800); border: 1px solid var(--line); color: var(--text);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.link-card:hover { transform: translateY(-4px); color: #fff; background: var(--c); border-color: transparent; }
.link-card i { font-size: 26px; width: 30px; text-align: center; color: var(--c); transition: color 0.2s; }
.link-card:hover i { color: #fff; }
.link-card strong { display: block; }
.link-card span { color: var(--muted); font-size: 14px; }
.link-card:hover span { color: rgba(255, 255, 255, 0.85); }

/* CTA + Footer */
.cta {
    text-align: center; padding: 110px 0;
    background:
        linear-gradient(180deg, var(--navy-900), rgba(0, 15, 31, 0.75) 40%, var(--navy-900)),
        url("/static/landing/ice-vs-fire.webp") center / cover no-repeat;
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.cta p { color: #c9d8e4; max-width: 560px; margin: 0 auto 32px; }
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .welcome, .live-grid, .roles { grid-template-columns: 1fr; }
    .games { grid-template-columns: 1fr 1fr; }
    .card-main { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
    .features, .links { grid-template-columns: 1fr 1fr; }
    .age-badge { left: 12px; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .nav-links { display: none; }
    .nav .btn { margin-left: auto; }
    .games, .features, .links, .roles .special { grid-template-columns: 1fr; }
    .card-main { grid-column: span 1; }
    section.block { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.page-head {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 150px 0 70px; border-bottom: 1px solid var(--line);
}
.page-head::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: url("/static/landing/hero.webp") 70% 35% / cover no-repeat;
}
.page-head::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(0, 6, 13, 0.96) 0%, rgba(0, 15, 31, 0.8) 60%, rgba(0, 15, 31, 0.6) 100%),
                linear-gradient(0deg, var(--navy-900) 0%, transparent 60%);
}
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-top: 10px; }
.page-head p { color: #c9d8e4; margin: 14px 0 0; max-width: 640px; }

.legal { padding: 60px 0 100px; }
.legal .container { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; align-items: start; }
.legal .container.single { grid-template-columns: minmax(0, 820px); }
.toc { position: sticky; top: 100px; font-size: 15px; }
.toc p { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 16px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; }
.toc li a:hover { color: var(--text); border-left-color: var(--ice); }
.prose { max-width: 820px; color: #c9d8e4; }
.prose h2 { color: var(--text); font-size: 1.6rem; font-weight: 800; margin: 56px 0 16px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 1.15rem; font-weight: 700; margin: 30px 0 10px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ice); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.info-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 18px; }
.info-card address { font-style: normal; color: var(--text); line-height: 1.8; }
.info-card .label { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 18px; }
.fact-grid .info-card { margin: 0; }
.stand { color: var(--muted); font-size: 14px; margin-top: 50px; }
@media (max-width: 980px) {
    .legal .container { grid-template-columns: 1fr; gap: 30px; }
    .toc { position: static; }
}
@media (max-width: 720px) {
    .fact-grid { grid-template-columns: 1fr; }
    .page-head { padding: 120px 0 50px; }
}
