@font-face {
    font-family: "Unbounded";
    src: url("../fonts/unbounded-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Unbounded";
    src: url("../fonts/unbounded-800.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans-500.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --night: #0b0f2e;
    --surface: #131a45;
    --surface-2: #1a2257;
    --line: #262f6b;
    --text: #eef0ff;
    --muted: #b6bbdc;
    --yellow: #ffb938;
    --blue: #5b82e0;
    --blue-light: #a9c3ff;
    --light: #d6e6ff;
    --pink: #ff4f8b;
    --green: #3ddc84;
    --display: "Unbounded", "Arial Black", sans-serif;
    --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
    --radius: 18px;
    /* Harte, versetzte Schatten wie im Mockup. */
    --offset: 6px 6px 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--night);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    line-height: 1.1;
}

h2 {
    max-width: 22ch;
    font-size: clamp(1.75rem, 6vw, 2.6rem);
    font-weight: 800;
}

h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

.sprite {
    position: absolute;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.container {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue); }
.text-light { color: var(--light); }
.text-pink { color: var(--pink); }

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--night);
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--pink);
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.button-small {
    padding: 9px 16px;
}

.button-outline {
    border-color: var(--line);
    color: var(--text);
    background: transparent;
    box-shadow: none;
}

.button-dark {
    color: var(--text);
    background: var(--night);
    box-shadow: 4px 4px 0 var(--yellow);
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgb(11 15 46 / .92);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    color: var(--text);
    background: var(--blue);
    box-shadow: 3px 3px 0 var(--yellow);
}

.brand-text {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: transparent;
    cursor: pointer;
}

.js .menu-toggle {
    display: inline-flex;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding-bottom: 16px;
}

.js .navigation {
    display: none;
}

.js .navigation.is-open {
    display: flex;
}

.navigation a:not(.button) {
    padding: 8px 0;
    font-size: .95rem;
    text-decoration: none;
}

.navigation .button {
    align-self: flex-start;
    margin-top: 8px;
}

/* Hero */

.hero {
    padding: 56px 0 72px;
}

.hero-grid {
    display: grid;
    gap: 56px;
    align-items: center;
}

.hero-grid > * {
    min-width: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tag-blue {
    color: var(--light);
    background: #1c2463;
}

.tag-pink {
    color: var(--pink);
    background: #3a1a45;
}

.hero-title {
    font-size: clamp(2.1rem, 10vw, 4.2rem);
    font-weight: 800;
    line-height: 1.02;
}

.hero-title span {
    display: block;
}

.hero-description {
    max-width: 46ch;
    margin: 28px 0 32px;
    color: var(--muted);
    font-size: 1.05rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-live {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.hero-live::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    margin: -2px 8px 0 0;
    border-radius: 50%;
    background: var(--green);
}

.hero-live strong {
    color: var(--text);
}

.hero-visual {
    padding: 24px 12px 12px 0;
}

.hero-card {
    position: relative;
    padding: 40px 24px 28px;
    border: 3px solid #fff;
    border-radius: var(--radius);
    background: var(--blue);
    box-shadow: 12px 12px 0 var(--yellow);
}

.hero-sticker {
    position: absolute;
    top: -18px;
    right: -10px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #fff;
    background: var(--pink);
    box-shadow: 3px 3px 0 #fff;
    font-size: .85rem;
    font-weight: 700;
    transform: rotate(4deg);
}

.hero-logo {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(3rem, 16vw, 5.6rem);
    font-weight: 800;
    line-height: 1;
    text-shadow: 5px 5px 0 #3955a6;
}

.hero-sun {
    width: .6em;
    height: .45em;
    margin-bottom: .05em;
    flex: none;
}

.hero-claim {
    margin: 18px 0 0;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Kennzahlen */

.stats {
    padding: 36px 0;
    background: var(--blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    margin-block: 0;
}

.stats dt {
    font-family: var(--display);
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.2;
}

.stats dd {
    margin: 4px 0 0;
    font-size: .82rem;
    font-weight: 700;
}

/* Abschnitte */

.section {
    padding: 72px 0;
}

.eyebrow {
    margin-bottom: 12px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-lead {
    max-width: 40ch;
    margin: 16px 0 0;
    color: var(--muted);
}

.about-grid {
    display: grid;
    gap: 28px;
}

.about-text {
    color: var(--muted);
}

.about-text strong {
    font-weight: 700;
}

/* Angebot */

.offer-main,
.offer-extra {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.offer-main {
    margin-top: 40px;
}

.card {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--offset) var(--accent, var(--line));
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.card h3 {
    margin: 18px 0 10px;
}

.accent-yellow { --accent: var(--yellow); }
.accent-blue { --accent: var(--blue); }
.accent-light { --accent: var(--light); }
.accent-pink { --accent: var(--pink); }

.card-large .card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex: none;
}

.bg-yellow { color: var(--night); background: var(--yellow); }
.bg-blue { color: #fff; background: var(--blue); }
.bg-light { color: var(--night); background: var(--light); }
.bg-pink { color: #fff; background: var(--pink); }
.bg-dark { color: var(--yellow); background: var(--night); }
.bg-navy { color: var(--yellow); background: var(--surface-2); }

.checklist {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: .95rem;
}

.card-feature {
    display: grid;
    gap: 16px;
    align-content: start;
    border-color: transparent;
    color: var(--night);
    background: var(--yellow);
    --accent: var(--blue);
}

.card-feature h3 {
    margin: 0 0 8px;
}

.card-feature p {
    color: var(--night);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--yellow);
    background: var(--night);
    font-size: .8rem;
    font-weight: 700;
}

/* Projekte */

.projects {
    display: grid;
    gap: 22px;
    margin-top: 36px;
}

.project {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.project-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
    text-align: center;
}

.project-media:has(img) {
    padding: 0;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}


.project-body {
    padding: 20px;
}

.project h3 {
    margin: 14px 0 8px;
}

.project p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: .92rem;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

.badge-blue { color: var(--light); background: #26328a; }
.badge-orange { color: var(--yellow); background: #4a2a1c; }

.text-link {
    color: var(--yellow);
    font-weight: 700;
    text-decoration: none;
}

.project-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 24px;
    border: 2px dashed #34408a;
    background: transparent;
}

.project-cta h3 {
    margin-top: 16px;
    font-size: 1.15rem;
}

/* Ablauf */

.steps {
    display: grid;
    gap: 16px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.step {
    padding: 22px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: #10163f;
}

.step-number {
    display: block;
    margin-bottom: 10px;
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.step h3 {
    margin-bottom: 8px;
    font-family: var(--sans);
    font-size: 1rem;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

/* Community */

.community {
    display: grid;
    gap: 36px;
    margin-right: 10px;
    padding: 36px 22px;
    border: 3px solid #fff;
    border-radius: 24px;
    color: var(--night);
    background: var(--blue);
    box-shadow: 10px 10px 0 var(--yellow);
}

.community h2 {
    max-width: 14ch;
    color: #fff;
}

.community-copy p {
    max-width: 44ch;
    margin: 22px 0 28px;
}

.discord-panel {
    padding: 18px;
    border-radius: 16px;
    color: var(--text);
    background: var(--night);
}

.discord-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: .9rem;
}

.discord-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 700;
}

.discord-online::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.hero-live[hidden],
.discord-online[hidden],
.discord-note[hidden] {
    display: none;
}

.channels {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.channels li {
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--surface);
    font-size: .92rem;
}

.channels li span {
    margin-right: 6px;
    font-weight: 700;
}

.discord-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .75rem;
}

/* Footer */

.footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.footer-copy {
    margin: 0;
}

.footer-brand {
    color: var(--text);
    font-family: var(--display);
    font-weight: 800;
    text-decoration: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: var(--text);
    text-decoration: none;
}

.footer-nav a[aria-current="page"] {
    color: var(--yellow);
}

/* Rechtliche Seiten */

.legal {
    padding: 56px 0 80px;
}

.legal-inner {
    max-width: 780px;
}

.legal h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
}

.legal h2 {
    max-width: none;
    margin: 40px 0 12px;
    font-size: 1.15rem;
}

.legal p,
.legal li,
.legal dd {
    color: var(--muted);
}

.legal a {
    color: var(--yellow);
}

.legal ul {
    padding-left: 1.2em;
}

.legal-lead {
    font-size: 1.05rem;
}

.legal-data {
    display: grid;
    gap: 12px;
    margin: 0;
}

.legal-data div {
    display: grid;
    gap: 2px;
}

.legal-data dt {
    font-weight: 700;
}

.legal-data dd {
    margin: 0;
}

.legal-back {
    margin-top: 48px;
}

.legal-back .button {
    color: var(--text);
}

/* Tablet */

@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .legal-data div {
        grid-template-columns: 200px 1fr;
        gap: 16px;
    }
}

@media (min-width: 761px) {
    .about-grid,
    .offer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .offer-extra {
        grid-template-columns: 1fr 1fr;
    }

    .card-feature {
        grid-column: 1 / -1;
        grid-template-columns: auto 1fr;
    }

    .projects,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .project-cta {
        grid-column: 1 / -1;
    }

    .community {
        padding: 48px 44px;
    }

    .section {
        padding: 96px 0;
    }
}

/* Desktop */

@media (min-width: 1081px) {
    .js .menu-toggle {
        display: none;
    }

    .navigation,
    .js .navigation {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 28px;
        width: auto;
        padding: 0;
    }

    .navigation .button {
        align-self: auto;
        margin: 0 0 0 6px;
    }

    .hero {
        padding: 72px 0 96px;
    }

    .hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 64px;
    }

    .offer-extra {
        grid-template-columns: 1fr 1fr 1.45fr;
    }

    .card-feature {
        grid-column: auto;
    }

    .projects {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-cta {
        grid-column: auto;
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-wide {
        grid-column: 1 / -1;
    }

    .community {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
        padding: 56px 44px;
    }
}

@media (hover: hover) {
    .button:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0 var(--pink);
    }

    .button-outline:hover {
        border-color: var(--blue-light);
        box-shadow: none;
    }

    .button-dark:hover {
        box-shadow: 6px 6px 0 var(--yellow);
    }

    .navigation a:not(.button):hover,
    .footer-nav a:hover,
    .text-link:hover {
        color: var(--yellow);
    }

    .project {
        transition: transform .15s ease, border-color .15s ease;
    }

    .project:hover {
        border-color: var(--blue);
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
