/* =========================================
   AGB Seite – Matmoe Modern
   ========================================= */

.agb-page {
    background:
        radial-gradient(circle at top right, rgba(144, 192, 39, 0.12), transparent 30%),
        linear-gradient(180deg, #f7faf5 0%, #ffffff 100%);
    color: #111827;
}

.agb-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* Hero */

.agb-hero {
    padding: 120px 0 64px;
}

.agb-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(144, 192, 39, 0.14);
    color: #4d6f00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.agb-hero h1 {
    max-width: 820px;
    margin: 0 0 22px;
    color: #111827;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.agb-hero p {
    max-width: 760px;
    margin: 0;
    color: #4b5563;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

/* Layout */

.agb-content {
    padding: 0 0 110px;
}

.agb-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.agb-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

.agb-sidebar strong {
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.agb-sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.agb-sidebar a:hover,
.agb-sidebar a:focus-visible {
    background: rgba(144, 192, 39, 0.13);
    color: #111827;
    transform: translateX(3px);
}

.agb-card {
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.10);
}

.agb-note {
    margin: 0 0 34px;
    padding: 18px 20px;
    border-left: 5px solid #90C027;
    border-radius: 18px;
    background: #f6faef;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.agb-card h2 {
    margin: 44px 0 16px;
    color: #111827;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.agb-card h2:first-of-type {
    margin-top: 0;
}

.agb-card p {
    margin: 0 0 18px;
    color: #374151;
    font-size: 18px;
    line-height: 1.8;
}

.agb-card a {
    color: #4d6f00;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.agb-card a:hover,
.agb-card a:focus-visible {
    color: #111827;
}

/* Mobile */

@media (max-width: 900px) {
    .agb-hero {
        padding: 92px 0 44px;
    }

    .agb-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .agb-sidebar {
        position: relative;
        top: auto;
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .agb-container {
        width: min(100% - 28px, 1120px);
    }

    .agb-hero {
        padding: 78px 0 34px;
    }

    .agb-kicker {
        font-size: 12px;
    }

    .agb-card {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .agb-card p {
        font-size: 16px;
        line-height: 1.75;
    }

    .agb-card h2 {
        margin-top: 36px;
        font-size: 25px;
    }

    .agb-content {
        padding-bottom: 72px;
    }
}