/* =========================================
   AGB HERO
========================================= */

.agb-hero {
    position: relative;

    min-height: 420px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;
    background: #080d14;
}


.agb-hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 78% 40%,
            rgba(38, 80, 159, 0.56),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 0%,
            rgba(38, 80, 159, 0.30),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #060a10 0%,
            #101a2a 58%,
            #173d7f 100%
        );
}


.agb-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 15, 0.88),
            rgba(3, 8, 15, 0.22)
        );
}


.agb-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 75px;
    padding-bottom: 75px;
}


.agb-eyebrow {
    margin: 0 0 9px;

    color: var(--brand-blue);

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


.agb-hero .agb-eyebrow {
    color: #ffffff;
}


.agb-hero h1 {
    margin: 0;

    max-width: 900px;

    font-size:
        clamp(
            48px,
            6vw,
            76px
        );

    line-height: 0.97;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


.agb-hero h1 span {
    color: var(--brand-blue);
}


.agb-hero-description {
    max-width: 680px;

    margin: 24px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            0.87
        );

    font-size: 17px;
    line-height: 1.65;
}


.agb-version {
    width: max-content;

    margin-top: 25px;

    padding: 8px 13px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.28
        );

    border-radius: 7px;

    color:
        rgba(
            255,
            255,
            255,
            0.86
        );

    background:
        rgba(
            0,
            0,
            0,
            0.18
        );

    font-size: 12px;
    font-weight: 700;
}



/* =========================================
   NAVIGATION
========================================= */

.agb-navigation-section {
    position: relative;
    z-index: 5;

    margin-top: -35px;
}


.agb-navigation-box {
    padding: 30px;

    border-radius:
        var(--radius-medium);

    background: #ffffff;

    box-shadow:
        var(--shadow-medium);
}


.agb-navigation-heading {
    margin-bottom: 24px;
}


.agb-navigation-heading h2 {
    margin: 0;

    font-size:
        clamp(
            27px,
            3vw,
            38px
        );

    letter-spacing: -0.03em;
}


.agb-navigation {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;
}


.agb-navigation a {
    min-height: 57px;

    padding: 10px 15px;

    display: flex;
    align-items: center;

    gap: 13px;

    border:
        1px solid
        var(--border-color);

    border-radius: 9px;

    color:
        var(--text-color);

    background:
        #f8f9fb;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


.agb-navigation a:hover {
    border-color:
        var(--brand-blue);

    background:
        var(--brand-blue-light);

    transform:
        translateY(-1px);
}


.agb-nav-letter {
    flex: 0 0 auto;

    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background:
        var(--brand-blue);

    font-size: 13px;
    font-weight: 900;
}



/* =========================================
   AGB CONTENT
========================================= */

.agb-content-section {
    padding-top: 22px;
    padding-bottom: 50px;
}


.agb-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 24px;

    align-items: start;
}


.agb-content {
    display: grid;

    gap: 18px;
}


.agb-content > p:first-child,
.agb-content > p:nth-child(2),
.agb-content > p:nth-child(3) {
    display: none;
}


.agb-section-block {
    padding: 38px;

    border:
        1px solid
        var(--border-color);

    border-radius:
        var(--radius-medium);

    background: #ffffff;

    box-shadow:
        var(--shadow-small);
}


.agb-main-heading {
    margin:
        0
        0
        28px;

    padding-bottom: 20px;

    border-bottom:
        2px solid
        var(--brand-blue);

    font-size:
        clamp(
            27px,
            3vw,
            38px
        );

    line-height: 1.15;

    letter-spacing:
        -0.03em;
}


.agb-sub-heading {
    margin:
        31px
        0
        12px;

    color:
        var(--text-color);

    font-size: 21px;

    letter-spacing:
        -0.015em;
}


.agb-section-block
.agb-sub-heading:first-of-type {
    margin-top: 0;
}


.agb-section-block p {
    margin:
        10px
        0;

    color:
        var(--text-muted);

    font-size: 15px;

    line-height: 1.75;
}


.agb-section-block strong {
    color:
        var(--text-color);
}



/* =========================================
   LISTEN
========================================= */

.agb-list {
    margin:
        17px
        0
        22px;

    padding: 0;

    list-style: none;
}


.agb-list li {
    position: relative;

    margin:
        9px
        0;

    padding-left: 28px;

    color:
        var(--text-muted);

    font-size: 15px;

    line-height: 1.65;
}


.agb-list li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color:
        var(--brand-blue);

    font-weight: 900;
}



/* =========================================
   SIDEBAR
========================================= */

.agb-sidebar {
    position: sticky;

    top: 100px;

    display: grid;

    gap: 17px;
}


.agb-sidebar-card {
    padding: 27px;

    border:
        1px solid
        var(--border-color);

    border-radius:
        var(--radius-medium);

    background:
        #ffffff;

    box-shadow:
        var(--shadow-small);
}


.agb-sidebar-card h3 {
    margin: 0;

    font-size: 19px;
}


.agb-sidebar-card address {
    margin-top: 13px;

    color:
        var(--text-muted);

    font-size: 14px;

    font-style: normal;

    line-height: 1.7;
}



/* BLAUE KARTE */

.agb-sidebar-blue {
    color: #ffffff;

    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--brand-blue-dark),
            var(--brand-blue)
        );
}


.agb-sidebar-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        var(--brand-blue);

    background: #ffffff;

    font-size: 24px;
    font-weight: 900;
}


.agb-sidebar-blue h2 {
    margin: 0;

    color: #ffffff;

    font-size: 24px;
}


.agb-sidebar-blue p {
    margin:
        12px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.83
        );

    font-size: 14px;

    line-height: 1.65;
}



/* =========================================
   RECHTLICHE LINKS
========================================= */

.agb-legal-links {
    margin-top: 15px;

    display: grid;

    gap: 8px;
}


.agb-legal-links a {
    padding:
        13px
        14px;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    border-radius: 8px;

    color:
        var(--text-color);

    background:
        #f4f6f9;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


.agb-legal-links a:hover,
.agb-legal-links a.active {
    color: #ffffff;

    background:
        var(--brand-blue);
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 960px) {

    .agb-layout {
        grid-template-columns:
            1fr;
    }


    .agb-sidebar {
        position: static;

        grid-template-columns:
            repeat(2, 1fr);
    }


    .agb-sidebar-blue {
        grid-column:
            1 / -1;
    }

}



/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 640px) {

    .agb-hero {
        min-height: 400px;
    }


    .agb-hero h1 {
        font-size: 42px;
    }


    .agb-navigation-section {
        margin-top: -22px;
    }


    .agb-navigation-box {
        padding: 20px;
    }


    .agb-navigation {
        grid-template-columns: 1fr;
    }


    .agb-section-block {
        padding:
            27px
            21px;
    }


    .agb-main-heading {
        font-size: 27px;
    }


    .agb-sub-heading {
        font-size: 19px;
    }


    .agb-section-block p,
    .agb-list li {
        font-size: 14px;
    }


    .agb-sidebar {
        grid-template-columns:
            1fr;
    }


    .agb-sidebar-blue {
        grid-column: auto;
    }

}