
/* =========================================================
   CHATEAU ARNAUT
   Legal Pages

   Impressum
   Datenschutz
   AGB
   ========================================================= */


/* =========================================================
   01. LEGAL CONTENT
   ========================================================= */

   .legal-content {
    width: 100%;
    max-width: 860px;

    margin-inline: auto;

    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(3rem, 6vw, 6rem);

    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);

    line-height: 1.7;

    overflow-wrap: break-word;
}


/* =========================================================
   02. LEGAL SECTIONS
   ========================================================= */

.legal-section {
    padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.legal-section:first-child {
    padding-top: 0;
}

.legal-section + .legal-section {
    border-top: 1px solid var(--color-border, #c4b49a);
}

.legal-section-title {
    margin-top: 0;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);

    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--font-weight-semibold, 600);

    line-height: 1.25;
    letter-spacing: 0.04em;
}

.legal-section h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;

    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-semibold, 600);

    line-height: 1.35;
}

.legal-section p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.legal-section strong {
    font-weight: var(--font-weight-semibold, 600);
}


/* =========================================================
   03. BRAND
   ========================================================= */

.legal-brand {
    margin-bottom: 1.75rem;
}

.legal-brand-name {
    display: block;

    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: var(--font-weight-semibold, 600);

    line-height: 1.3;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.legal-brand-slogan {
    margin-top: 0.35rem;
    margin-bottom: 0;

    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-style: italic;

    line-height: 1.5;
}


/* =========================================================
   04. ADDRESS
   ========================================================= */

.legal-address {
    display: flex;
    flex-direction: column;

    gap: 0.1rem;

    margin-bottom: 1.5rem;

    font-style: normal;

    line-height: 1.55;
}

.legal-address strong {
    margin-bottom: 0.25rem;
}


/* =========================================================
   05. CONTACT INFORMATION
   ========================================================= */

.legal-contact p {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.legal-content a {
    color: inherit;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    overflow-wrap: anywhere;

    transition: color 180ms ease;
}

.legal-content a:hover {
    color: var(--color-red, #c71b29);
}

.legal-content a:focus-visible {
    outline: 2px solid var(--color-red, #c71b29);
    outline-offset: 4px;
}


/* =========================================================
   06. COMPANY DATA
   ========================================================= */

.legal-data {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    margin: 0;
    padding: 0;
}

.legal-data-row {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    gap: 0.2rem;
}

.legal-data dt {
    margin: 0;

    font-weight: var(--font-weight-semibold, 600);

    line-height: 1.5;
}

.legal-data dd {
    min-width: 0;

    margin: 0;

    line-height: 1.6;
}


/* =========================================================
   07. LEGAL LISTS
   ========================================================= */

.legal-section ul,
.legal-section ol {
    margin-block: 1rem 1.5rem;

    padding-inline-start: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.4rem;

    padding-inline-start: 0.25rem;
}

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

.legal-section ul li::marker {
    color: var(--color-red, #c71b29);
}


/* =========================================================
   08. COPYRIGHT & CLOSING
   ========================================================= */

.legal-section .legal-copyright {
    margin-top: 1.75rem;

    font-size: 1rem;
    font-style: italic;
}

.legal-closing {
    margin-top: clamp(1.5rem, 3vw, 3rem);
    margin-inline: auto;
}


/* =========================================================
   09. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .legal-content {
        padding-top: 2rem;
        padding-bottom: 3rem;

        font-size: 1.125rem;
        line-height: 1.65;
    }

    .legal-section {
        padding-block: 1.75rem;
    }

    .legal-section:first-child {
        padding-top: 0;
    }

    .legal-section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .legal-data {
        gap: 1.25rem;
    }

}


/* =========================================================
   10. TABLET & DESKTOP
   ========================================================= */

@media (min-width: 768px) {

    .legal-data {
        gap: 1rem;
    }

    .legal-data-row {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        column-gap: 2rem;

        align-items: start;
    }

}


/* =========================================================
   11. LARGE DESKTOP
   ========================================================= */

@media (min-width: 1100px) {

    .legal-content {
        max-width: 860px;
    }

    .legal-data-row {
        column-gap: 3rem;
    }

}
