/**
 * Legal Pages Styles (Impressum & Datenschutz) - SchlossProfi24
 */

/* =====================
   Legal Hero
   ===================== */
.legal-hero {
    position: relative;
    padding: 140px 20px 50px;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2540 100%);
    overflow: hidden;
}

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

.legal-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.legal-hero__shape--1 {
    width: 350px;
    height: 350px;
    background: #00d4ff;
    top: -80px;
    right: -80px;
}

.legal-hero__shape--2 {
    width: 250px;
    height: 250px;
    background: #ffc107;
    bottom: -40px;
    left: -40px;
}

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

/* Breadcrumb */
.legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

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

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

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

.legal-hero__breadcrumb-sep {
    opacity: 0.5;
    filter: brightness(0) invert(1);
}

.legal-hero__breadcrumb-current {
    color: #00d4ff;
}

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

.legal-hero__title {
    font-size: 42px;
    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.7);
    line-height: 1.6;
    margin: 0;
}

/* =====================
   Legal Main
   ===================== */
.legal-main {
    background: #f8fafc;
    padding: 60px 20px 80px;
}

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

/* =====================
   Legal Section
   ===================== */
.legal-section {
    margin-bottom: 50px;
}

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

.legal-section__title img {
    width: 20px;
    height: 20px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(160deg);
}

/* =====================
   Legal Card
   ===================== */
.legal-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

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

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

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

/* =====================
   Legal List
   ===================== */
.legal-list {
    margin: 0 0 16px;
    padding-left: 24px;
}

.legal-list li {
    margin-bottom: 10px;
    color: #374151;
}

.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;
    color: #00d4ff;
    font-weight: 700;
}

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

/* =====================
   Legal Contact
   ===================== */
.legal-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.legal-contact__label {
    font-weight: 600;
    color: #64748b;
    min-width: 100px;
}

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

a.legal-contact__value:hover {
    color: #00d4ff;
}

/* =====================
   Legal Highlight
   ===================== */
.legal-highlight {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-left: 4px solid #00d4ff;
    border-radius: 0 16px 16px 0;
    margin-bottom: 20px;
}

.legal-highlight--info {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-left-color: #ffc107;
}

.legal-highlight__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 12px;
}

.legal-highlight--info .legal-highlight__icon {
    background: rgba(255, 193, 7, 0.15);
}

.legal-highlight__icon img {
    width: 24px;
    height: 24px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(160deg);
}

.legal-highlight--info .legal-highlight__icon img {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(0deg);
}

.legal-highlight__content {
    flex: 1;
}

.legal-highlight__title {
    font-size: 18px;
    font-weight: 600;
    color: #0a0f1a;
    margin: 0 0 8px;
}

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

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

/* =====================
   Legal Link
   ===================== */
.legal-link {
    color: #00d4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-link:hover {
    color: #0099cc;
}

/* =====================
   Legal TOC
   ===================== */
.legal-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.legal-toc li {
    margin: 0;
}

.legal-toc a {
    display: block;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.legal-toc a:hover {
    background: #00d4ff;
    color: #fff;
}

/* =====================
   Legal Note
   ===================== */
.legal-note {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin-top: 16px;
}

/* =====================
   Legal Footer Note
   ===================== */
.legal-footer-note {
    margin-top: 30px;
    padding: 20px 24px;
    background: #f1f5f9;
    border-radius: 12px;
    text-align: center;
}

.legal-footer-note p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px;
}

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

/* =====================
   Responsive - 1024px
   ===================== */
@media (max-width: 1024px) {
    .legal-hero {
        padding: 120px 20px 45px;
    }

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

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

/* =====================
   Responsive - 768px
   ===================== */
@media (max-width: 768px) {
    .legal-hero {
        padding: 110px 15px 40px;
    }

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

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

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

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

    .legal-card {
        padding: 24px;
    }

    .legal-highlight {
        flex-direction: column;
        gap: 16px;
    }

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

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

/* =====================
   Responsive - 480px
   ===================== */
@media (max-width: 480px) {
    .legal-hero {
        padding: 100px 12px 35px;
    }

    .fe-container {
        padding: 0 12px;
    }

    .legal-hero__breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

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

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

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

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

    .legal-card {
        padding: 20px;
        border-radius: 14px;
    }

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

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

    .legal-highlight {
        padding: 20px;
    }

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

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

    .legal-toc a {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* =====================
   Responsive - 375px
   ===================== */
@media (max-width: 375px) {
    .legal-hero {
        padding: 95px 10px 30px;
    }

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

    .legal-card {
        padding: 18px;
        border-radius: 12px;
    }

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