/* =========================================================
   AUT0LOTTO – GLOBAL
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 15% 12%,
            rgba(34, 83, 174, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 87% 35%,
            rgba(18, 125, 144, 0.09),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            var(--al-bg-deep),
            var(--al-bg)
        );

    color: var(--al-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;
    z-index: -2;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        );

    background-size: 64px 64px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4),
            transparent 70%
        );
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

main {
    display: block;
    min-height: 60vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    margin: 0;
}

button {
    border: 0;
    cursor: pointer;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--al-text);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

p {
    color: var(--al-text-soft);
}

::selection {
    background: rgba(47, 109, 246, 0.5);
    color: #ffffff;
}

:focus-visible {
    outline: 3px solid rgba(92, 141, 255, 0.72);
    outline-offset: 3px;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--al-container)
    );

    margin-inline: auto;
}

.container-small {
    width: min(
        calc(100% - 40px),
        var(--al-container-small)
    );

    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--al-space-11);
}

.section-header-new {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--al-space-7);

    margin-bottom: var(--al-space-8);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 31px;
    margin-bottom: 15px;
    padding: 7px 13px;

    border: 1px solid rgba(92, 141, 255, 0.18);
    border-radius: var(--al-radius-pill);

    background: rgba(47, 109, 246, 0.12);
    color: #8fb0ff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.section-title-new {
    max-width: 760px;
    margin-bottom: 14px;

    font-size: clamp(32px, 4vw, 50px);
}

.section-description-new {
    max-width: 700px;
    margin-bottom: 0;

    color: var(--al-text-muted);
    font-size: 17px;
    line-height: 1.75;
}

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;

    padding: 12px 18px;

    border-radius: var(--al-radius-sm);

    background: var(--al-primary);
    color: #ffffff;

    font-weight: 800;

    transform: translateY(-160%);
    transition: transform var(--al-transition);
}

.skip-link:focus {
    transform: translateY(0);
}

body:not(.page-ready) .site-header,
body:not(.page-ready) main,
body:not(.page-ready) .newsletter-section,
body:not(.page-ready) .site-footer {
    opacity: 0;
}

body.page-ready .site-header,
body.page-ready main,
body.page-ready .newsletter-section,
body.page-ready .site-footer {
    opacity: 1;

    transition:
        opacity 300ms ease;
}

body.no-js .site-header,
body.no-js main,
body.no-js .newsletter-section,
body.no-js .site-footer {
    opacity: 1;
}

/* Einheitliche moderne Schrift */

body,
button,
input,
select,
textarea {
    font-family:
        Inter,
        Arial,
        "Segoe UI",
        sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
strong {
    font-family:
        Inter,
        Arial,
        "Segoe UI",
        sans-serif;
}