:root {
    color-scheme: dark;
    --background: #111111;
    --text: #ffffff;
    --muted: #cccccc;
    --accent: #DD0B2F;
    --accent-hover: #C60929;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

    a:focus-visible {
        outline: 3px solid white;
        outline-offset: 6px;
    }

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 12px 20px;
    background: white;
    color: #111;
    transform: translateY(-200%);
    z-index: 1;
}

    .skip-link:focus {
        transform: translateY(0);
    }

.hero {
    padding: clamp(36px, 6vw, 70px) 24px 36px;
    text-align: center;
}

h1, h2, h3, h4, p {
    margin: 0;
}

h1 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 400;
    line-height: 1.2;
}

.group-logo {
    width: clamp(160px, 23vw, 260px);
    margin: 30px auto;
    object-fit: contain;
}

.intro {
    font-size: clamp(17px, 2vw, 21px);
}

.solutions {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 72px;
    scroll-margin-top: 24px;
}

h2 {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: clamp(19px, 2.3vw, 25px);
    font-weight: 400;
    line-height: 1.4;
}

.sectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.sector {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sector-image {
    width: 100%;
    aspect-ratio: 1024 / 572;
    object-fit: contain;
}

h3 {
    min-height: 72px;
    margin: 20px 0 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

.sports-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    flex: 1;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.electronics {
    flex: 1;
}

.button {
    width: 100%;
    max-width: 500px;
    margin: auto auto 0;
    display: block;
    margin-top: auto;
    padding: 15px 18px;
    border-radius: 20px;
    background: var(--accent);
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
}

    .button:hover {
        background: var(--accent-hover);
    }

@media (max-width: 760px) {
    .sectors {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sector + .sector {
        border-top: 1px solid #383838;
        padding-top: 36px;
    }

    h3 {
        min-height: 0;
    }

    .hero {
        padding-bottom: 24px;
    }

    .group-logo {
        width: 180px;
    }

    .desktop-break {
        display: none;
    }
}

@media (max-width: 420px) {
    .solutions {
        width: calc(100% - 32px);
    }

    .sports-options {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product p {
        margin-bottom: 16px;
    }
}

/* Footer mit Impressum und Datenschutz */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 36px;
    border-top: 1px solid #383838;
    color: var(--muted);
    font-size: 14px;
}

    .site-footer nav {
        display: flex;
        gap: 24px;
    }

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

        .site-footer a:hover,
        .site-footer a[aria-current="page"] {
            color: var(--text);
            text-decoration: underline;
            text-underline-offset: 4px;
        }

/* Rechtliche Seiten (Impressum, Datenschutz) */
.legal-header {
    padding: 32px 24px 0;
    text-align: center;
}

    .legal-header img {
        width: 72px;
        margin: 0 auto;
    }

.legal {
    width: min(760px, calc(100% - 48px));
    margin: 0 auto;
    padding: 32px 0 64px;
}

    .legal h1 {
        margin-bottom: 32px;
        text-align: center;
    }

    .legal h2 {
        max-width: none;
        margin: 32px 0 10px;
        text-align: left;
        font-size: 18px;
        font-weight: 700;
    }

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

    .legal p + p {
        margin-top: 12px;
    }

    .legal ul {
        margin: 8px 0 12px;
        padding-left: 1.4em;
    }

    .legal a {
        color: var(--text);
        text-underline-offset: 3px;
    }

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

.legal-date {
    margin-top: 32px;
    font-size: 14px;
}

@media (max-width: 420px) {
    .site-footer {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
    }

    .legal {
        width: calc(100% - 32px);
    }
}
