/* ============================================
   IMPRESSUM & LEGAL PAGES STYLES
   FensterEinbau
   ============================================ */

/* Container */
.fe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   LEGAL HERO SECTION
   ============================================ */
.legal-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0c1929 0%, #1a365d 50%, #0f2847 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: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    top: -150px;
    right: -100px;
}

.legal-hero__shape--2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    bottom: -100px;
    left: -80px;
}

/* Breadcrumb */
.legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

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

.legal-hero__breadcrumb-current {
    color: #fbbf24;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Content */
.legal-hero__content {
    position: relative;
    z-index: 1;
}

.legal-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.legal-hero__desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   LEGAL MAIN CONTENT
   ============================================ */
.legal-main {
    padding: 60px 0 80px;
    background: #f8fafc;
}

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

/* Legal Section */
.legal-section {
    margin-bottom: 3rem;
}

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

.legal-section__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section__title img {
    filter: brightness(0) saturate(100%) invert(54%) sepia(69%) saturate(2328%) hue-rotate(176deg) brightness(99%) contrast(92%);
}

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

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

.legal-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.legal-card__content p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 1rem;
}

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

.legal-card__content strong {
    color: #1e293b;
}

.legal-card__content em {
    color: #64748b;
    font-style: italic;
}

/* Legal Contact */
.legal-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legal-contact__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-contact__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    min-width: 80px;
}

.legal-contact__value {
    font-size: 0.9375rem;
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-contact__value:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Legal Note */
.legal-note {
    font-size: 0.8125rem !important;
    color: #94a3b8 !important;
    font-style: italic;
}

/* Legal Highlight Box */
.legal-highlight {
    display: flex;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.legal-highlight--info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.08));
    border-color: rgba(14, 165, 233, 0.3);
}

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

.legal-highlight--info .legal-highlight__icon {
    background: rgba(14, 165, 233, 0.2);
}

.legal-highlight__icon img {
    filter: brightness(0) saturate(100%) invert(78%) sepia(60%) saturate(600%) hue-rotate(360deg) brightness(103%) contrast(97%);
}

.legal-highlight--info .legal-highlight__icon img {
    filter: brightness(0) saturate(100%) invert(54%) sepia(69%) saturate(2328%) hue-rotate(176deg) brightness(99%) contrast(92%);
}

.legal-highlight__content {
    flex: 1;
}

.legal-highlight__title {
    font-size: 1rem;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 0.5rem;
}

.legal-highlight--info .legal-highlight__title {
    color: #0369a1;
}

.legal-highlight__content p {
    font-size: 0.9375rem;
    color: #78350f;
    line-height: 1.6;
    margin: 0;
}

.legal-highlight--info .legal-highlight__content p {
    color: #0c4a6e;
}

/* Legal List */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
}

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

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: #0ea5e9;
    border-radius: 50%;
}

.legal-list--check li::before {
    content: "✓";
    width: auto;
    height: auto;
    background: none;
    color: #10b981;
    font-weight: 700;
    font-size: 0.875rem;
    top: 0.15rem;
}

/* Legal Link */
.legal-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.legal-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Legal Footer Note */
.legal-footer-note {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.legal-footer-note p:first-child {
    margin-bottom: 0.25rem;
}

.legal-footer-note strong {
    color: #475569;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .legal-hero {
        padding: 120px 0 50px;
    }

    .legal-hero__title {
        font-size: 2.25rem;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .fe-container {
        padding: 0 1rem;
    }

    .legal-hero {
        padding: 100px 0 40px;
    }

    .legal-hero__title {
        font-size: 1.75rem;
    }

    .legal-hero__desc {
        font-size: 1rem;
    }

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

    .legal-section {
        margin-bottom: 2rem;
    }

    .legal-section__title {
        font-size: 1.125rem;
        gap: 0.5rem;
    }

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

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

    .legal-card__title {
        font-size: 1rem;
    }

    .legal-card__content p {
        font-size: 0.875rem;
    }

    .legal-highlight {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

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

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

    .legal-highlight__title {
        font-size: 0.9375rem;
    }

    .legal-highlight__content p {
        font-size: 0.875rem;
    }

    .legal-list li {
        font-size: 0.875rem;
        padding-left: 1.5rem;
    }

    .legal-contact__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

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

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .legal-hero {
        padding: 90px 0 35px;
    }

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

    .legal-hero__desc {
        font-size: 0.9375rem;
    }

    .legal-section__title {
        font-size: 1rem;
    }

    .legal-card {
        padding: 1rem;
    }

    .legal-card__title {
        font-size: 0.9375rem;
    }

    .legal-footer-note {
        padding: 1rem;
    }

    .legal-footer-note p {
        font-size: 0.8125rem;
    }
}

/* Extra Small - 375px */
@media (max-width: 375px) {
    .fe-container {
        padding: 0 0.875rem;
    }

    .legal-hero {
        padding: 85px 0 30px;
    }

    .legal-hero__title {
        font-size: 1.375rem;
    }

    .legal-hero__desc {
        font-size: 0.875rem;
    }

    .legal-section__title {
        font-size: 0.9375rem;
        flex-wrap: wrap;
    }

    .legal-card {
        padding: 0.875rem;
    }

    .legal-card__content p,
    .legal-list li {
        font-size: 0.8125rem;
    }

    .legal-highlight {
        padding: 1rem;
    }

    .legal-highlight__title {
        font-size: 0.875rem;
    }

    .legal-highlight__content p {
        font-size: 0.8125rem;
    }
}
