/* =====================================================
   LEGAL PAGES STYLES - Impressum & Datenschutz
   Bodenverlegung Wien - BodenProfis
   ===================================================== */

/* =====================================================
   CONTAINER
   ===================================================== */

.fe-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   LEGAL HERO SECTION
   ===================================================== */

.legal-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a3a3a 0%, #0d4f4f 50%, #1a5f5f 100%);
    overflow: hidden;
}

.legal-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.legal-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.legal-hero__shape--1 {
    width: 400px;
    height: 400px;
    background: #fff;
    top: -100px;
    right: -100px;
}

.legal-hero__shape--2 {
    width: 300px;
    height: 300px;
    background: #fff;
    bottom: -80px;
    left: -80px;
}

.legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.legal-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.legal-hero__breadcrumb-link:hover {
    color: #fff;
}

.legal-hero__breadcrumb-link img {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.legal-hero__breadcrumb-sep {
    width: 10px;
    height: 10px;
    opacity: 0.4;
    filter: brightness(0) invert(1);
}

.legal-hero__breadcrumb-current {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.legal-hero__content {
    max-width: 700px;
}

.legal-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.legal-hero__desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

/* =====================================================
   LEGAL MAIN CONTENT
   ===================================================== */

.legal-main {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

/* =====================================================
   LEGAL SECTION
   ===================================================== */

.legal-section {
    margin-bottom: 40px;
}

.legal-section__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #1a3a3a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0d4f4f;
}

.legal-section__title img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

/* =====================================================
   LEGAL CARD
   ===================================================== */

.legal-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.legal-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a3a;
    margin: 0 0 16px;
}

.legal-card__content {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.legal-card__content p {
    margin: 0 0 12px;
}

.legal-card__content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   LEGAL LIST
   ===================================================== */

.legal-list {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.legal-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

.legal-list--numbered {
    list-style: decimal;
}

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

.legal-list--check li {
    position: relative;
    padding-left: 28px;
}

.legal-list--check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: url('../icons/check-circle.svg') no-repeat center;
    background-size: contain;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

/* =====================================================
   LEGAL TOC
   ===================================================== */

.legal-toc {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.legal-toc li {
    margin: 0;
}

.legal-toc a {
    display: block;
    padding: 10px 14px;
    background: #f5f7f7;
    border-radius: 8px;
    color: #1a3a3a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.legal-toc a:hover {
    background: #0d4f4f;
    color: #fff;
}

/* =====================================================
   LEGAL HIGHLIGHT
   ===================================================== */

.legal-highlight {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    border-left: 4px solid #0d4f4f;
}

.legal-highlight--info {
    background: linear-gradient(135deg, #fff8e6 0%, #fff0cc 100%);
    border-left-color: #b8860b;
}

.legal-highlight__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-highlight__icon img {
    width: 24px;
    height: 24px;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

.legal-highlight--info .legal-highlight__icon img {
    filter: invert(50%) sepia(80%) saturate(500%) hue-rotate(15deg);
}

.legal-highlight__content {
    flex: 1;
}

.legal-highlight__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a3a;
    margin: 0 0 8px;
}

.legal-highlight__content p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 8px;
}

.legal-highlight__content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   LEGAL CONTACT
   ===================================================== */

.legal-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-contact__item {
    display: flex;
    gap: 12px;
}

.legal-contact__label {
    flex-shrink: 0;
    width: 100px;
    font-weight: 600;
    color: #1a3a3a;
}

.legal-contact__value {
    color: #444;
    text-decoration: none;
}

a.legal-contact__value {
    color: #0d4f4f;
    transition: color 0.2s;
}

a.legal-contact__value:hover {
    color: #1a5f5f;
    text-decoration: underline;
}

/* =====================================================
   LEGAL LINK
   ===================================================== */

.legal-link {
    color: #0d4f4f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.legal-link:hover {
    color: #1a5f5f;
    text-decoration: underline;
}

/* =====================================================
   LEGAL NOTE
   ===================================================== */

.legal-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 12px;
}

/* =====================================================
   LEGAL FOOTER NOTE
   ===================================================== */

.legal-footer-note {
    background: #f5f7f7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
}

.legal-footer-note p {
    margin: 0 0 4px;
    font-size: 14px;
    color: #666;
}

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

/* =====================================================
   RESPONSIVE - 1200px
   ===================================================== */

@media (max-width: 1200px) {
    .legal-hero {
        padding: 130px 0 50px;
    }

    .legal-hero__title {
        font-size: 42px;
    }
}

/* =====================================================
   RESPONSIVE - 1024px
   ===================================================== */

@media (max-width: 1024px) {
    .legal-hero {
        padding: 120px 0 45px;
    }

    .legal-hero__title {
        font-size: 38px;
    }

    .legal-hero__desc {
        font-size: 16px;
    }

    .legal-main {
        padding: 50px 0 60px;
    }

    .legal-section__title {
        font-size: 22px;
    }
}

/* =====================================================
   RESPONSIVE - 768px
   ===================================================== */

@media (max-width: 768px) {
    .legal-hero {
        padding: 110px 0 40px;
    }

    .legal-hero__shape--1 {
        width: 250px;
        height: 250px;
        top: -60px;
        right: -60px;
    }

    .legal-hero__shape--2 {
        width: 200px;
        height: 200px;
        bottom: -50px;
        left: -50px;
    }

    .legal-hero__title {
        font-size: 32px;
    }

    .legal-hero__desc {
        font-size: 15px;
    }

    .legal-main {
        padding: 40px 0 50px;
    }

    .legal-section {
        margin-bottom: 30px;
    }

    .legal-section__title {
        font-size: 20px;
        gap: 10px;
    }

    .legal-card {
        padding: 20px;
    }

    .legal-card__title {
        font-size: 16px;
    }

    .legal-toc {
        grid-template-columns: 1fr;
    }

    .legal-highlight {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .legal-highlight__icon {
        width: 40px;
        height: 40px;
    }

    .legal-highlight__icon img {
        width: 20px;
        height: 20px;
    }

    .legal-contact__item {
        flex-direction: column;
        gap: 4px;
    }

    .legal-contact__label {
        width: auto;
    }
}

/* =====================================================
   RESPONSIVE - 480px
   ===================================================== */

@media (max-width: 480px) {
    .legal-hero {
        padding: 100px 0 35px;
    }

    .legal-hero__breadcrumb {
        gap: 8px;
        margin-bottom: 20px;
    }

    .legal-hero__breadcrumb-link {
        font-size: 13px;
    }

    .legal-hero__title {
        font-size: 28px;
    }

    .legal-hero__desc {
        font-size: 14px;
    }

    .legal-main {
        padding: 30px 0 40px;
    }

    .legal-section {
        margin-bottom: 24px;
    }

    .legal-section__title {
        font-size: 18px;
        padding-bottom: 10px;
    }

    .legal-section__title img {
        width: 18px;
        height: 18px;
    }

    .legal-card {
        padding: 16px;
        border-radius: 10px;
    }

    .legal-card__title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .legal-card__content {
        font-size: 14px;
    }

    .legal-list li {
        font-size: 14px;
    }

    .legal-highlight {
        padding: 16px;
        border-radius: 10px;
    }

    .legal-highlight__title {
        font-size: 15px;
    }

    .legal-highlight__content p {
        font-size: 14px;
    }

    .legal-toc a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .legal-footer-note {
        padding: 16px;
    }

    .legal-footer-note p {
        font-size: 13px;
    }
}

/* =====================================================
   RESPONSIVE - 375px
   ===================================================== */

@media (max-width: 375px) {
    .legal-hero {
        padding: 95px 0 30px;
    }

    .legal-hero__title {
        font-size: 24px;
    }

    .legal-hero__desc {
        font-size: 13px;
    }

    .legal-section__title {
        font-size: 16px;
    }

    .legal-card {
        padding: 14px;
    }

    .legal-card__content {
        font-size: 13px;
    }
}
