/* ============================================
   RENOVIO WIEN - Legal Pages Styles
   (Impressum & Datenschutz)
   ============================================ */

/* === LEGAL HERO === */
.leg-hero {
    padding: 7rem 0 1.5rem;
    background: var(--color-dark);
    color: var(--color-white);
}

.leg-hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.leg-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.leg-hero__breadcrumb a {
    color: var(--color-copper);
    text-decoration: none;
    transition: var(--transition-fast);
}

.leg-hero__breadcrumb a:hover {
    color: var(--color-copper-light);
}

.leg-hero__breadcrumb-sep {
    color: var(--color-gray);
}

.leg-hero__breadcrumb span:last-child {
    color: var(--color-gray-light);
}

.leg-hero__title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.leg-hero__subtitle {
    font-size: 1rem;
    color: var(--color-gray-light);
    line-height: 1.5;
}

/* === LEGAL MAIN === */
.leg-main {
    padding: 2.5rem 0 4rem;
    background: var(--color-light);
}

.leg-main__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === LEGAL CONTENT === */
.leg-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* === SECTIONS === */
.leg-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.leg-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.leg-section__title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* === CARDS === */
.leg-card {
    background: var(--color-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.leg-card:last-child {
    margin-bottom: 0;
}

.leg-card__title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.leg-card__body {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-dark-light);
}

.leg-card__body p {
    margin: 0 0 0.75rem;
}

.leg-card__body p:last-child {
    margin-bottom: 0;
}

/* === CONTACT INFO === */
.leg-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leg-contact__item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.leg-contact__label {
    font-weight: 600;
    color: var(--color-dark);
    min-width: 100px;
    flex-shrink: 0;
}

.leg-contact__value {
    color: var(--color-dark-light);
}

a.leg-contact__value {
    color: var(--color-copper-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.leg-contact__value:hover {
    color: var(--color-copper);
}

/* === LISTS === */
.leg-list {
    padding-left: 1.25rem;
    margin: 0;
}

.leg-list li {
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.leg-list li:last-child {
    margin-bottom: 0;
}

.leg-list--check {
    list-style: none;
    padding-left: 0;
}

.leg-list--check li {
    position: relative;
    padding-left: 1.5rem;
}

.leg-list--check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-copper);
    font-weight: 700;
}

.leg-list--numbered {
    list-style: none;
    padding-left: 0;
    counter-reset: leg-counter;
}

.leg-list--numbered li {
    counter-increment: leg-counter;
    position: relative;
    padding-left: 1.75rem;
}

.leg-list--numbered li::before {
    content: counter(leg-counter) ".";
    position: absolute;
    left: 0;
    color: var(--color-copper);
    font-weight: 700;
}

/* === HIGHLIGHT BOXES === */
.leg-highlight {
    background: rgba(233, 179, 135, 0.1);
    border-left: 3px solid var(--color-copper);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-dark-light);
}

.leg-highlight p {
    margin: 0 0 0.5rem;
}

.leg-highlight p:last-child {
    margin-bottom: 0;
}

.leg-highlight__title {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1rem;
}

.leg-highlight--info {
    background: rgba(59, 130, 246, 0.06);
    border-left-color: #3b82f6;
}

/* === TABLE OF CONTENTS === */
.leg-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leg-toc li {
    margin-bottom: 0.4rem;
}

.leg-toc li:last-child {
    margin-bottom: 0;
}

/* === LINKS === */
.leg-link {
    color: var(--color-copper-dark);
    text-decoration: underline;
    text-decoration-color: rgba(233, 179, 135, 0.4);
    text-underline-offset: 2px;
    transition: var(--transition-fast);
}

.leg-link:hover {
    color: var(--color-copper);
    text-decoration-color: var(--color-copper);
}

/* === NOTES === */
.leg-note {
    font-size: 0.85rem;
    color: var(--color-gray);
    font-style: italic;
    margin-top: 0.75rem;
}

/* === FOOTER NOTE === */
.leg-footer-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    color: var(--color-gray);
}

.leg-footer-note p {
    margin: 0 0 0.25rem;
}

.leg-footer-note p:last-child {
    margin-bottom: 0;
}

/* === RESPONSIVE === */

/* 1200px */
@media (max-width: 1200px) {
    .leg-main__container {
        max-width: 780px;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .leg-hero__title {
        font-size: 1.8rem;
    }
}

/* 768px */
@media (max-width: 768px) {
    .leg-hero {
        padding: 6.5rem 0 1.25rem;
    }

    .leg-hero__title {
        font-size: 1.5rem;
    }

    .leg-content {
        padding: 1.5rem;
    }

    .leg-section__title {
        font-size: 1.2rem;
    }

    .leg-card {
        padding: 1rem;
    }

    .leg-highlight {
        padding: 1rem;
    }

    .leg-contact__item {
        flex-direction: column;
        gap: 0.15rem;
    }

    .leg-contact__label {
        min-width: auto;
    }
}

/* 480px */
@media (max-width: 480px) {
    .leg-hero {
        padding: 6rem 0 1rem;
    }

    .leg-hero__title {
        font-size: 1.3rem;
    }

    .leg-hero__subtitle {
        font-size: 0.9rem;
    }

    .leg-content {
        padding: 1.25rem 1rem;
    }

    .leg-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .leg-section__title {
        font-size: 1.1rem;
    }

    .leg-card {
        padding: 0.85rem;
    }

    .leg-card__title {
        font-size: 0.95rem;
    }

    .leg-card__body {
        font-size: 0.88rem;
    }

    .leg-highlight {
        padding: 0.85rem;
        font-size: 0.88rem;
    }
}

/* 375px */
@media (max-width: 375px) {
    .leg-hero__title {
        font-size: 1.15rem;
    }

    .leg-content {
        padding: 1rem 0.75rem;
    }

    .leg-card {
        padding: 0.75rem;
    }

    .leg-card__body {
        font-size: 0.85rem;
    }
}
