/* Landingpage gridfire.de (resources/views/landing.blade.php). */
/* Schriften und Farben wie im Spiel (client/assets/ui/fonts, client/scripts/palette.gd), alles lokal ausgeliefert. */
@font-face { font-family: "Lilita One"; src: url("fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Variable.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
    --blue: #2169e0;
    --blue-hud: #1754be;
    --blue-deep: #12408f;
    --blue-darker: #0b2d66;
    --blue-light: #4d8ff7;
    --yellow: #ffc628;
    --yellow-shadow: #d49500;
    --yellow-ink: #2a1f00;
    --red: #ff4b5c;
    --red-shadow: #b81e2e;
    --cyan: #22d3ee;
    --cyan-shadow: #0e95a8;
    --orange: #ff8a1f;
    --purple: #b36bff;
    --green: #3fd15e;
    --ink: #0f2a52;
    --muted: #4a5f86;
    --white: #ffffff;
    --pale: #dce6f7;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    color: var(--white);
    background: var(--blue);
}
a { color: inherit; }
h1, h2, h3, .step-no {
    font-family: "Lilita One", "Nunito", system-ui, sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: 1.1;
    margin: 0;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Kopf und Hero auf dem Raster des Key-Visuals */
.hero {
    background:
        linear-gradient(180deg, rgba(23, 84, 190, 0) 60%, var(--blue) 100%),
        linear-gradient(var(--blue-light) 2px, transparent 2px) 0 0 / 56px 56px,
        linear-gradient(90deg, var(--blue-light) 2px, transparent 2px) 0 0 / 56px 56px,
        var(--blue);
    padding-bottom: 72px;
}
/* Key-Art oben: volle Breite, unten weich ins Blau; auf schmalen Schirmen seitlich beschnitten, das Logo bleibt in der Mitte. */
.banner { position: relative; background: var(--blue-darker); }
.banner img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: cover; object-position: center top; }
.banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(180deg, rgba(33, 105, 224, 0), var(--blue)); pointer-events: none; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 32px; }
.badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--yellow-ink);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 3px 0 var(--yellow-shadow);
}
h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 20px 0 18px; text-shadow: 0 5px 0 var(--blue-darker); }
h1 .hl { color: var(--yellow); }
.lead { font-size: 21px; max-width: 34em; margin: 0 0 30px; color: #eaf1ff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store {
    display: inline-flex;
    flex-direction: column;
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 10px 20px;
    box-shadow: 0 5px 0 var(--blue-darker);
    min-width: 168px;
}
.store small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.store strong { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: 22px; }

/* Basis: das 3x3-Raster wie im Spiel */
.base {
    background: var(--blue-deep);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 10px 0 var(--blue-darker);
    max-width: 420px;
    justify-self: center;
    width: 100%;
}
.base-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 800; }
.base-head .lvl { background: var(--yellow); color: var(--yellow-ink); border-radius: 999px; padding: 2px 12px; font-size: 14px; box-shadow: 0 3px 0 var(--yellow-shadow); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.slot {
    aspect-ratio: 1;
    border-radius: 18px;
    background: var(--white);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 5px 0 var(--pale);
    text-align: center;
    padding: 6px;
}
.slot i { width: 40%; aspect-ratio: 1; border-radius: 50%; display: block; }
.slot.radar i { background: var(--cyan); box-shadow: 0 4px 0 var(--cyan-shadow); }
.slot.cannon i { background: var(--red); box-shadow: 0 4px 0 var(--red-shadow); }
.slot.launcher i { background: var(--yellow); box-shadow: 0 4px 0 var(--yellow-shadow); }
.slot.gen i { background: var(--orange); box-shadow: 0 4px 0 #c45f00; }
.slot.shield i { background: var(--purple); box-shadow: 0 4px 0 #7b2fd6; }
.slot.bunker i { background: #6b7a99; box-shadow: 0 4px 0 #46526b; }
.slot.storage i { background: var(--green); box-shadow: 0 4px 0 #1e9e3a; }
.slot.empty { background: rgba(255, 255, 255, .12); box-shadow: none; border: 3px dashed rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .8); font-size: 28px; }

/* Abschnitte auf Weiß */
.light { background: var(--white); color: var(--ink); padding: 84px 0; }
.light.alt { background: #eef3fc; }
h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; color: var(--blue-deep); }
.section-lead { color: var(--muted); max-width: 40em; margin: 0 0 40px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.card {
    background: var(--white);
    border: 3px solid var(--pale);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 6px 0 var(--pale);
}
.light.alt .card { border-color: #c9d7f0; box-shadow: 0 6px 0 #c9d7f0; }
.step-no {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--blue);
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 0 var(--blue-deep);
    margin-bottom: 16px;
}
h3 { font-size: 24px; color: var(--blue-deep); margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.dot { flex: 0 0 18px; height: 18px; border-radius: 50%; margin-top: 6px; }

/* Abschluss */
.closing { background: var(--blue-hud); padding: 84px 0; text-align: center; }
.closing h2 { color: var(--white); text-shadow: 0 4px 0 var(--blue-darker); }
.closing p { color: #eaf1ff; max-width: 36em; margin: 0 auto 28px; }
.closing .cta-row { justify-content: center; }
.mail {
    display: inline-block;
    margin-top: 30px;
    background: var(--yellow);
    color: var(--yellow-ink);
    text-decoration: none;
    font-weight: 800;
    padding: 14px 26px;
    border-radius: 16px;
    box-shadow: 0 5px 0 var(--yellow-shadow);
}
.mail:hover, .mail:focus-visible { transform: translateY(2px); box-shadow: 0 3px 0 var(--yellow-shadow); }

footer { background: var(--blue-darker); color: #b9c9e6; font-size: 15px; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--white); text-decoration: underline; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    body { font-size: 17px; }
    .wrap { padding: 0 16px; }
    .banner img { height: 240px; }
    .lead { font-size: 19px; }
    .steps, .features { grid-template-columns: 1fr; }
    .light, .closing { padding: 60px 0; }
    .store { flex: 1 1 140px; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
    .mail { transition: transform .08s, box-shadow .08s; }
}
