/* ==========================================================================
   Legal Pages Styles - Impressum & Datenschutz
   Professional legal document design with brown/beige color scheme
   ========================================================================== */

/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background: #FAFAF8;
    max-width: 1920px;
    min-width: 375px;
    margin: 0 auto;
}

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

/* ==========================================================================
   Legal Hero Section
   ========================================================================== */

.legal-hero {
    position: relative;
    padding: 140px 0 70px;
    overflow: hidden;
    background: linear-gradient(135deg, #F5F0E8 0%, #E8DFD0 50%, #F5F0E8 100%);
}

.legal-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.legal-hero__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(139, 94, 60, 0.06);
}

.legal-hero__shape--1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: 10%;
}

.legal-hero__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 5%;
}

.legal-hero__breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
}

.legal-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B4E2E;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.legal-hero__breadcrumb-link img {
    flex-shrink: 0;
}

.legal-hero__breadcrumb-sep {
    flex-shrink: 0;
    opacity: 0.5;
}

.legal-hero__breadcrumb-current {
    color: #8B5E3C;
    font-weight: 600;
}

.legal-hero__content {
    position: relative;
    max-width: 800px;
}

.legal-hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #8B5E3C;
    margin: 0 0 20px 0;
}

.legal-hero__desc {
    font-size: 18px;
    line-height: 1.7;
    color: #5A5A5A;
    margin: 0;
}

/* ==========================================================================
   Legal Main Content
   ========================================================================== */

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

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

/* ==========================================================================
   Legal Sections
   ========================================================================== */

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

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

.legal-section__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 3px solid #F5F0E8;
}

.legal-section__title img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   Legal Cards
   ========================================================================== */

.legal-card {
    background: #FAFAF8;
    border: 1px solid #E8DFD0;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

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

.legal-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #8B5E3C;
    margin: 0 0 20px 0;
}

.legal-card__content {
    font-size: 16px;
    line-height: 1.8;
    color: #3C3C3C;
}

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

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

.legal-card__content strong {
    color: #2C2C2C;
    font-weight: 600;
}

.legal-card__content em {
    color: #6B4E2E;
    font-style: normal;
}

/* ==========================================================================
   Legal Lists
   ========================================================================== */

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

.legal-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

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

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

.legal-list--check li::before {
    content: "✓";
    width: auto;
    height: auto;
    background: none;
    top: 0;
    color: #8B5E3C;
    font-weight: 700;
    font-size: 18px;
}

/* ==========================================================================
   Legal Highlight Boxes
   ========================================================================== */

.legal-highlight {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #F5F0E8 0%, #FAF7F3 100%);
    border-left: 4px solid #8B5E3C;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
}

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

.legal-highlight--info {
    background: linear-gradient(135deg, #E3F2FD 0%, #F0F7FF 100%);
    border-left-color: #1976D2;
}

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

.legal-highlight--info .legal-highlight__icon {
    background: #1976D2;
}

.legal-highlight__icon img {
    filter: brightness(0) invert(1);
}

.legal-highlight__content {
    flex: 1;
}

.legal-highlight__title {
    font-size: 18px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 12px 0;
}

.legal-highlight__content p {
    margin: 0 0 12px 0;
    line-height: 1.8;
}

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

/* ==========================================================================
   Legal Contact Info
   ========================================================================== */

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

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

.legal-contact__label {
    font-weight: 600;
    color: #6B4E2E;
    min-width: 80px;
}

.legal-contact__value {
    color: #8B5E3C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-contact__value:hover {
    color: #6B4E2E;
    text-decoration: underline;
}

/* ==========================================================================
   Legal Links
   ========================================================================== */

.legal-link {
    color: #8B5E3C;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #6B4E2E;
}

/* ==========================================================================
   Legal Notes
   ========================================================================== */

.legal-note {
    font-size: 14px;
    color: #6B6B6B;
    font-style: italic;
    margin-top: 12px;
}

.legal-footer-note {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #E8DFD0;
    font-size: 14px;
    color: #6B6B6B;
}

.legal-footer-note p {
    margin: 0 0 8px 0;
}

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

/* ==========================================================================
   Data Table (for Datenschutz page)
   ========================================================================== */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 0 0;
    background: #FFFFFF;
    border: 1px solid #E8DFD0;
    border-radius: 8px;
    overflow: hidden;
}

.data-table thead {
    background: linear-gradient(135deg, #8B5E3C 0%, #6B4E2E 100%);
    color: #FFFFFF;
}

.data-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid #E8DFD0;
    font-size: 15px;
    line-height: 1.6;
}

.data-table tbody tr:hover {
    background: #FAFAF8;
}

/* ==========================================================================
   Responsive Design - 1200px
   ========================================================================== */

@media (max-width: 1200px) {
    .fe-container {
        padding: 0 28px;
    }

    .legal-hero {
        padding: 130px 0 60px;
    }

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

    .legal-main {
        padding: 70px 0;
    }

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

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

/* ==========================================================================
   Responsive Design - 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .fe-container {
        padding: 0 24px;
    }

    .legal-hero {
        padding: 120px 0 50px;
    }

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

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

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

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

    .legal-section__title {
        font-size: 28px;
        gap: 12px;
    }

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

    .legal-card {
        padding: 28px;
    }

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

    .legal-highlight {
        padding: 24px;
    }
}

/* ==========================================================================
   Responsive Design - 768px
   ========================================================================== */

@media (max-width: 768px) {
    .fe-container {
        padding: 0 20px;
    }

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

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

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

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

    .legal-hero__shape--1 {
        width: 300px;
        height: 300px;
        top: -100px;
    }

    .legal-hero__shape--2 {
        width: 250px;
        height: 250px;
    }

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

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

    .legal-section__title {
        font-size: 26px;
        gap: 10px;
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

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

    .legal-card {
        padding: 24px;
        margin-bottom: 20px;
    }

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

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

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

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

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

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 12px;
    }
}

/* ==========================================================================
   Responsive Design - 480px
   ========================================================================== */

@media (max-width: 480px) {
    .fe-container {
        padding: 0 16px;
    }

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

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

    .legal-hero__breadcrumb-link img {
        width: 12px;
        height: 12px;
    }

    .legal-hero__breadcrumb-sep {
        width: 8px;
        height: 8px;
    }

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

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

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

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

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

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

    .legal-section__title {
        font-size: 24px;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

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

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

    .legal-card__title {
        font-size: 18px;
        margin-bottom: 14px;
    }

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

    .legal-card__content p {
        margin-bottom: 14px;
    }

    .legal-list li {
        padding-left: 24px;
        margin-bottom: 10px;
    }

    .legal-highlight {
        padding: 18px;
        gap: 14px;
    }

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

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

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

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

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

    .data-table {
        display: block;
        overflow-x: auto;
        font-size: 13px;
    }

    .data-table th,
    .data-table td {
        padding: 10px;
    }
}

/* ==========================================================================
   Responsive Design - 375px
   ========================================================================== */

@media (max-width: 375px) {
    .fe-container {
        padding: 0 16px;
    }

    .legal-hero {
        padding: 95px 0 32px;
    }

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

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

    .legal-main {
        padding: 36px 0;
    }

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

    .legal-section__title {
        font-size: 22px;
        gap: 8px;
        margin-bottom: 18px;
    }

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

    .legal-card {
        padding: 18px;
        margin-bottom: 14px;
    }

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

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

    .legal-highlight {
        padding: 16px;
        gap: 12px;
    }

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

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

    .legal-footer-note {
        margin-top: 24px;
        padding-top: 20px;
        font-size: 13px;
    }
}
