/* AGB Screen – Legal-Page-Layout (screen-agb, mobile-first) */

.base-section-agb-hero {
    --agb-text-primary: var(--color-text-white);
    --agb-text-secondary: var(--color-border-light-mode-lighter);
    --agb-accent-primary: var(--color-accent);
    --agb-accent-secondary: var(--color-teal);
    --agb-background-dark: var(--color-dark-bg);
    --agb-background-card: rgba(26, 26, 26, 0.95);
    --agb-border-color: rgba(243, 147, 36, 0.2);
    font-family: var(--font-family-primary);
    background: linear-gradient(135deg, var(--agb-background-dark) 0%, var(--color-secondary) 100%);
    color: var(--agb-text-primary);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.base-section-agb-content {
    --agb-text-primary: var(--color-text-white);
    --agb-text-secondary: var(--color-border-light-mode-lighter);
    --agb-accent-primary: var(--color-accent);
    --agb-accent-secondary: var(--color-teal);
    --agb-background-dark: var(--color-dark-bg);
    --agb-background-card: rgba(26, 26, 26, 0.95);
    --agb-border-color: rgba(243, 147, 36, 0.2);
    font-family: var(--font-family-primary);
    padding: 2rem 0;
    background: var(--agb-background-dark);
    position: relative;
}

.agb-intro-text {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    margin: 0 auto 20px auto;
    color: var(--agb-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 100%;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.agb-content {
    font-family: var(--font-family-primary);
    max-width: 100%;
    margin: 0 auto;
}

.agb-section {
    font-family: var(--font-family-primary);
    background: var(--agb-background-card);
    border: 1px solid var(--agb-border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: agb-blur-fade-in 0.6s ease forwards;
}

.agb-section:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(243, 147, 36, 0.4);
}

@keyframes agb-blur-fade-in {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.agb-section-header {
    font-family: var(--font-family-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agb-section-number {
    font-family: var(--font-family-primary);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--agb-accent-primary);
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(243, 147, 36, 0.15) 0%, rgba(28, 122, 126, 0.1) 100%);
    border: 2px solid var(--agb-accent-primary);
    border-radius: 50%;
}

.agb-section-content {
    font-family: var(--font-family-primary);
    color: var(--agb-text-secondary);
    line-height: 1.8;
}

.agb-content-list {
    font-family: var(--font-family-primary);
    list-style: none;
    padding: 0;
    margin: 0;
}

.agb-content-item {
    font-family: var(--font-family-primary);
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-base);
    color: var(--agb-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.agb-content-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--agb-accent-primary);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
}

.agb-content-paragraph {
    font-family: var(--font-family-primary);
    margin: 0 0 20px 0;
    font-size: var(--font-size-base);
    color: var(--agb-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

.agb-contact-highlight {
    font-family: var(--font-family-primary);
    background: linear-gradient(135deg, rgba(243, 147, 36, 0.15) 0%, rgba(28, 122, 126, 0.15) 100%);
    border: 2px solid var(--agb-accent-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.agb-contact-icon {
    font-family: var(--font-family-primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--agb-accent-primary);
    border-radius: 50%;
    color: var(--agb-background-dark);
    flex-shrink: 0;
}

.agb-contact-text {
    font-family: var(--font-family-primary);
    color: var(--agb-text-primary);
    font-size: 1.125rem;
    line-height: 1.6;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.screen-agb-email-link {
    color: var(--agb-accent-primary);
    font-weight: var(--font-weight-bold);
}

.agb-back-button-container {
    font-family: var(--font-family-primary);
    text-align: center;
    margin-top: 3rem;
}

.screen-agb-back-button {
    gap: 0.75rem;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .base-section-agb-hero {
        padding: 4rem 0;
    }

    .agb-intro-text {
        font-size: 1.125rem;
        max-width: 700px;
    }

    .base-section-agb-content {
        padding: 4rem 0;
    }

    .agb-content {
        max-width: 1000px;
    }

    .agb-section {
        padding: 2rem;
    }

    .agb-section:hover {
        transform: translateX(8px);
    }

    .agb-section-header {
        flex-direction: row;
        align-items: center;
    }

    .agb-section-number {
        min-width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .agb-contact-highlight {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
    }

    .agb-section:nth-child(1) { animation-delay: 0.1s; }
    .agb-section:nth-child(2) { animation-delay: 0.15s; }
    .agb-section:nth-child(3) { animation-delay: 0.2s; }
    .agb-section:nth-child(4) { animation-delay: 0.25s; }
    .agb-section:nth-child(5) { animation-delay: 0.3s; }
    .agb-section:nth-child(6) { animation-delay: 0.35s; }
    .agb-section:nth-child(7) { animation-delay: 0.4s; }
    .agb-section:nth-child(8) { animation-delay: 0.45s; }
    .agb-section:nth-child(9) { animation-delay: 0.5s; }
    .agb-section:nth-child(10) { animation-delay: 0.55s; }
    .agb-section:nth-child(11) { animation-delay: 0.6s; }
    .agb-section:nth-child(12) { animation-delay: 0.65s; }
    .agb-section:nth-child(13) { animation-delay: 0.7s; }
    .agb-section:nth-child(14) { animation-delay: 0.75s; }
}

