/* =========================================================
   1CC - IMPRESSUM
   Umsetzung der abgestimmten visuellen Darstellung
========================================================= */

.legal-container{
    width:min(1220px,calc(100% - 80px));
    margin:0 auto;
}


/* =========================================================
   HERO
========================================================= */

.legal-hero{
    position:relative;
    overflow:hidden;

    padding:58px 0 56px;

    border-bottom:1px solid #e5e9ec;

    background:
        linear-gradient(
            135deg,
            #f8f8f6 0%,
            #fafafa 100%
        );
}

.legal-hero::after{
    content:"";

    position:absolute;

    top:-235px;
    right:-95px;

    width:530px;
    height:530px;

    border:78px solid rgba(243,198,35,.075);
    border-radius:50%;

    pointer-events:none;
}

.legal-kicker{
    position:relative;

    z-index:1;

    display:block;

    width:max-content;

    padding-top:16px;

    color:#202c3c;

    font-size:10px;
    font-weight:700;

    letter-spacing:3px;
}

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

    position:absolute;

    top:0;
    left:0;

    width:44px;
    height:2px;

    background:#f3c623;
}

.legal-hero h1{
    position:relative;
    z-index:1;

    margin:19px 0 13px;

    color:#202c3c;

    font-size:52px;
    line-height:1;

    letter-spacing:-2px;
}

.legal-hero p{
    position:relative;
    z-index:1;

    max-width:650px;

    margin:0;

    color:#68737e;

    font-size:16px;
    line-height:1.65;
}


/* =========================================================
   PAGE
========================================================= */

.legal-page{
    padding:34px 0 74px;

    background:#fff;
}

.legal-section-label{
    display:block;

    margin-bottom:12px;

    color:#b88900;

    font-size:10px;
    font-weight:700;

    letter-spacing:2.4px;
}


/* =========================================================
   PUBLISHER
========================================================= */

.legal-publisher-card{
    padding:32px 38px 34px;

    margin-bottom:22px;

    border:1px solid #d9dfe4;
    border-radius:17px;

    background:#fff;
}

.legal-publisher-card h2{
    margin:0 0 21px;

    color:#202c3c;

    font-size:30px;
    line-height:1.12;

    letter-spacing:-.9px;
}


/* =========================================================
   ADDRESS
========================================================= */

.legal-address{
    display:flex;

    align-items:center;

    gap:18px;
}

.legal-address-icon{
    display:flex;

    flex:0 0 auto;

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

    width:50px;
    height:50px;

    border-radius:50%;

    color:#202c3c;

    background:#f3c623;
}

.legal-address-icon svg{
    width:22px;
    height:22px;

    fill:none;

    stroke:currentColor;
    stroke-width:1.8;

    stroke-linecap:round;
    stroke-linejoin:round;
}

.legal-address-divider{
    width:1px;
    height:64px;

    background:#d3d9de;
}

.legal-address p{
    margin:0;

    color:#596775;

    font-size:15px;
    line-height:1.65;
}


/* =========================================================
   MAIN GRID
========================================================= */

.legal-grid{
    display:grid;

    grid-template-columns:minmax(0,1.15fr) minmax(400px,.9fr);

    gap:18px;

    align-items:stretch;
}


/* =========================================================
   CARDS
========================================================= */

.legal-card{
    padding:29px 34px 31px;

    border:1px solid #d9dfe4;
    border-radius:17px;

    background:#fff;
}

.legal-contact-card{
    background:
        linear-gradient(
            135deg,
            rgba(247,247,245,.97) 0%,
            #fff 70%
        );
}

.legal-card h2{
    margin:0 0 8px;

    color:#202c3c;

    font-size:29px;
    line-height:1.12;

    letter-spacing:-.8px;
}

.legal-card-intro{
    max-width:515px;

    margin:0 0 22px;

    color:#68737e;

    font-size:15px;
    line-height:1.65;
}


/* =========================================================
   CONTACT LIST
========================================================= */

.legal-contact-list{
    border-top:1px solid #dde2e6;
}

.legal-contact-row{
    display:grid;

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

    gap:17px;

    align-items:center;

    min-height:103px;

    padding:14px 0;

    border-bottom:1px solid #dde2e6;

    transition:
        transform .22s ease,
        opacity .22s ease;
}

.legal-contact-row:hover{
    transform:translateX(4px);
}


/* =========================================================
   CONTACT ICON
========================================================= */

.legal-contact-icon{
    display:flex;

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

    width:48px;
    height:48px;

    border-radius:50%;

    color:#202c3c;

    background:rgba(243,198,35,.28);
}

.legal-contact-icon svg{
    width:21px;
    height:21px;

    fill:none;

    stroke:currentColor;
    stroke-width:1.7;

    stroke-linecap:round;
    stroke-linejoin:round;
}

.legal-contact-divider{
    width:1px;
    height:56px;

    background:#d4d9dd;
}


/* =========================================================
   CONTACT NAME
========================================================= */

.legal-contact-name{
    display:grid;

    gap:4px;
}

.legal-contact-name>span{
    color:#b88900;

    font-size:10px;
    font-weight:700;

    letter-spacing:1.8px;
}

.legal-contact-name strong{
    color:#202c3c;

    font-size:16px;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.legal-contact-details{
    display:grid;

    gap:7px;
}

.legal-contact-details a,
.legal-phone-placeholder{
    display:flex;

    align-items:center;

    gap:9px;

    width:max-content;
    max-width:100%;

    color:#536172;

    font-size:14px;
    line-height:1.4;

    font-weight:600;
}

.legal-contact-details a:hover{
    color:#b88900;
}

.legal-phone-placeholder{
    color:#a47700;
}

.legal-detail-icon{
    display:flex;

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

    flex:0 0 auto;

    width:17px;
    height:17px;

    color:#d4a900;
}

.legal-detail-icon svg{
    width:15px;
    height:15px;

    fill:none;

    stroke:currentColor;
    stroke-width:1.8;

    stroke-linecap:round;
    stroke-linejoin:round;
}


/* =========================================================
   COMPANY DATA
========================================================= */

.legal-data-list{
    margin-top:22px;

    border-top:1px solid #dde2e6;
}

.legal-data-row{
    display:grid;

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

    gap:18px;

    align-items:center;

    min-height:56px;

    border-bottom:1px solid #dde2e6;
}

.legal-data-row>span{
    color:#75808b;

    font-size:10px;
    font-weight:700;

    letter-spacing:.75px;

    text-transform:uppercase;
}

.legal-data-row p{
    margin:0;

    color:#202c3c;

    font-size:14px;
    line-height:1.5;
}


/* =========================================================
   SUBTLE MOTION
========================================================= */

.legal-publisher-card,
.legal-card{
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.legal-publisher-card:hover,
.legal-card:hover{
    transform:translateY(-3px);

    border-color:rgba(243,198,35,.34);

    box-shadow:
        0 13px 28px rgba(25,35,48,.045);
}


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

@media(max-width:1050px){

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

    .legal-contact-row{
        grid-template-columns:52px 1px 180px minmax(0,1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

    .legal-container{
        width:calc(100% - 32px);
    }

    .legal-hero{
        padding:46px 0 42px;
    }

    .legal-hero::after{
        right:-340px;
    }

    .legal-hero h1{
        font-size:40px;
    }

    .legal-hero p{
        font-size:14px;
    }

    .legal-page{
        padding:26px 0 54px;
    }

    .legal-publisher-card,
    .legal-card{
        padding:24px 21px;
    }

    .legal-publisher-card h2,
    .legal-card h2{
        font-size:25px;
    }

    .legal-address{
        align-items:flex-start;
    }

    .legal-address-divider{
        height:72px;
    }

    .legal-address p{
        font-size:14px;
    }

    .legal-contact-row{
        grid-template-columns:48px minmax(0,1fr);

        gap:12px;

        min-height:135px;

        padding:19px 0;
    }

    .legal-contact-divider{
        display:none;
    }

    .legal-contact-details{
        grid-column:2;
    }

    .legal-data-row{
        grid-template-columns:1fr;

        gap:4px;

        padding:12px 0;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    .legal-publisher-card,
    .legal-card,
    .legal-contact-row{
        transition:none;
    }

    .legal-publisher-card:hover,
    .legal-card:hover,
    .legal-contact-row:hover{
        transform:none;
    }
}
