/* =========================================================
   DATENSCHUTZ / IMPRESSUM
   MOMENTI PER TE
   ========================================================= */


/* =========================================================
   SEITE
   ========================================================= */

.legal-page {
    width: 100%;
    min-height: 100vh;

    box-sizing: border-box;

    padding: 160px 20px 100px;

    background: #fffaf8;

    overflow-x: hidden;
}


/* =========================================================
   HAUPTCONTAINER
   ========================================================= */

.legal-section {
    width: min(1050px, 94%);

    margin: 0 auto;

    padding: 85px clamp(30px, 7vw, 100px) 100px;

    box-sizing: border-box;

    background: rgba(255, 255, 255, .97);

    border-radius: 30px;

    box-shadow: var(--shadow-large);

    border: 1px solid rgba(212, 175, 55, .10);
}


/* =========================================================
   HEADER
   ========================================================= */

.legal-header {
    width: 100%;

    text-align: center;

    margin-bottom: 80px;
}


/* RECHTLICHES */

.legal-header .subtitle {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-bottom: 30px;

    color: var(--gold);

    font-family: 'Montserrat', sans-serif;

    font-size: .7rem;
    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* Goldene Linien */

.legal-header .subtitle::before,
.legal-header .subtitle::after {
    content: "";

    width: 55px;
    height: 1px;

    background: var(--gold);

    flex-shrink: 0;
}


/* Haupttitel */

.legal-header h1 {
    margin: 0;

    color: #292929;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(3rem, 5vw, 4.8rem);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -.5px;

    white-space: normal;
}


/* Goldene Linie unter Titel */

.legal-line {
    width: 65px;
    height: 2px;

    margin: 30px auto 0;

    background: var(--gold);
}


/* =========================================================
   TEXTBEREICH
   ========================================================= */

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

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   EINLEITUNG
   ========================================================= */

.legal-content > p:first-child {
    margin: 0 0 65px;

    color: #555;

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.35rem;

    line-height: 1.75;

    white-space: normal;

    overflow-wrap: break-word;
}


/* =========================================================
   ÜBERSCHRIFTEN
   ========================================================= */

.legal-content h2 {
    position: relative;

    width: 100%;

    margin: 75px 0 30px;

    padding-top: 30px;

    color: #292929;

    font-family: 'Cormorant Garamond', serif;

    font-size: 2rem;

    font-weight: 600;

    line-height: 1.25;

    white-space: normal;

    overflow-wrap: normal;
}


/* Erste Überschrift etwas näher an Einleitung */

.legal-content h2:first-of-type {
    margin-top: 0;
}


/* Goldene Linie vor jedem Kapitel */

.legal-content h2::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 40px;
    height: 1px;

    background: var(--gold);
}


/* =========================================================
   NORMALER TEXT
   ========================================================= */

.legal-content p {
    width: 100%;
    max-width: 100%;

    margin: 0 0 30px;

    padding: 0;

    box-sizing: border-box;

    color: #666;

    font-family: 'Montserrat', sans-serif;

    font-size: .92rem;

    line-height: 1.95;

    white-space: normal;

    overflow-wrap: break-word;

    word-break: normal;
}


/* =========================================================
   LISTEN
   ========================================================= */

.legal-content ul {
    width: 100%;

    margin: 25px 0 40px;

    padding: 0;

    list-style: none;
}


.legal-content li {
    position: relative;

    margin-bottom: 17px;

    padding-left: 28px;

    color: #666;

    font-family: 'Montserrat', sans-serif;

    font-size: .92rem;

    line-height: 1.85;

    overflow-wrap: break-word;

    word-break: normal;
}


/* Goldener Gedankenstrich */

.legal-content li::before {
    content: "—";

    position: absolute;

    left: 0;

    color: var(--gold);
}


/* =========================================================
   HERVORHEBUNGEN
   ========================================================= */

.legal-content strong {
    color: #3a3a3a;

    font-weight: 600;
}


/* =========================================================
   LINKS
   ========================================================= */

.legal-content a {
    color: #555;

    text-decoration: none;

    border-bottom: 1px solid rgba(212, 175, 55, .55);

    overflow-wrap: anywhere;

    transition:
        color .25s ease,
        border-color .25s ease;
}


.legal-content a:hover {
    color: var(--gold);

    border-color: var(--gold);
}


/* =========================================================
   LETZTER ABSCHNITT
   ========================================================= */

.legal-content h2:last-of-type {
    margin-top: 80px;
}


.legal-content p:last-child {
    margin-top: 30px;

    color: #888;

    font-size: .75rem;

    letter-spacing: .5px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .legal-page {
        padding: 125px 15px 80px;
    }


    .legal-section {
        width: 100%;

        padding: 65px 50px 80px;
    }


    .legal-header {
        margin-bottom: 65px;
    }


    .legal-header h1 {
        font-size: 3.5rem;
    }


    .legal-content {
        max-width: 100%;
    }


    .legal-content > p:first-child {
        font-size: 1.2rem;

        line-height: 1.7;

        margin-bottom: 55px;
    }


    .legal-content h2 {
        margin-top: 65px;

        font-size: 1.9rem;
    }


    .legal-content p,
    .legal-content li {
        font-size: .9rem;

        line-height: 1.85;
    }
}

/* =========================================================
   IMPRESSUM – KOMPAKTER
   ========================================================= */

.legal-impressum .legal-header {
    margin-bottom: 55px;
}

.legal-impressum .legal-content h2 {
    margin-top: 40px;
    margin-bottom: 18px;
}

.legal-impressum .legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-impressum .legal-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* =========================================================
   HANDY
   ========================================================= */

@media (max-width: 700px) {

    .legal-page {
        padding: 105px 10px 60px;
    }


    .legal-section {
        width: 100%;

        padding: 50px 25px 65px;

        border-radius: 22px;
    }


    /* -----------------------------------------
       HEADER
       ----------------------------------------- */

    .legal-header {
        margin-bottom: 55px;
    }


    .legal-header .subtitle {
        gap: 12px;

        margin-bottom: 25px;

        font-size: .6rem;

        letter-spacing: 3px;
    }


    .legal-header .subtitle::before,
    .legal-header .subtitle::after {
        width: 30px;
    }


    .legal-header h1 {
        font-size: 2.8rem;

        line-height: 1.1;
    }


    .legal-line {
        width: 55px;

        margin-top: 25px;
    }


    /* -----------------------------------------
       EINLEITUNG
       ----------------------------------------- */

    .legal-content > p:first-child {
        margin-bottom: 50px;

        font-size: 1.15rem;

        line-height: 1.65;
    }


    /* -----------------------------------------
       ÜBERSCHRIFTEN
       ----------------------------------------- */

    .legal-content h2 {
        margin-top: 60px;

        margin-bottom: 25px;

        padding-top: 25px;

        font-size: 1.7rem;

        line-height: 1.3;
    }


    .legal-content h2:first-of-type {
        margin-top: 0;
    }


    /* -----------------------------------------
       TEXT
       ----------------------------------------- */

    .legal-content p {
        margin-bottom: 27px;

        font-size: .88rem;

        line-height: 1.85;
    }


    /* -----------------------------------------
       LISTEN
       ----------------------------------------- */

    .legal-content ul {
        margin: 20px 0 35px;
    }


    .legal-content li {
        margin-bottom: 14px;

        padding-left: 24px;

        font-size: .88rem;

        line-height: 1.8;
    }
    
    .legal-impressum .legal-header {
        margin-bottom: 40px;
    }

    .legal-impressum .legal-content h2 {
        margin-top: 32px;
        margin-bottom: 15px;
    }

    .legal-impressum .legal-content p {
        margin-bottom: 17px;
        line-height: 1.7;
    }
}


/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 400px) {

    .legal-page {
        padding-left: 8px;
        padding-right: 8px;
    }


    .legal-section {
        padding: 40px 20px 55px;
    }


    .legal-header h1 {
        font-size: 2.4rem;
    }


    .legal-header .subtitle {
        gap: 8px;

        font-size: .55rem;

        letter-spacing: 2.5px;
    }


    .legal-header .subtitle::before,
    .legal-header .subtitle::after {
        width: 25px;
    }


    .legal-content > p:first-child {
        font-size: 1.05rem;

        line-height: 1.65;
    }


    .legal-content h2 {
        margin-top: 50px;

        font-size: 1.45rem;
    }


    .legal-content p,
    .legal-content li {
        font-size: .84rem;

        line-height: 1.75;
    }
}