/* Lutz Rahn */
:root {
    --bs-body-font-family: 'Roboto';
    --bs-body-bg: #f5f5f5;
    --bs-body-color: #46484F;
    --lutz-white: #fff;
    --lutz-lightgrey: #999;
    --lutz-headline-font-family: 'Playfair Display';
    --lutz-button-bg-color: #003953;
}

* {
    color: var(--lutz-white);
}

html {
    scroll-behavior: smooth;
}

body {
    background: url(../img/background.webp) no-repeat;
    background-attachment: fixed;
    background-size: cover;
    __padding-top: 320px;
}

h2 {
    font-family: var(--lutz-headline-font-family), serif;
    font-weight: 500;
    font-size: 70px;
    line-height: 80px;
}

h2.large {
    font-size: 90px;
    line-height: 100px;
}

p, li {
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
}

p.intro {
    font-weight: 400;
    font-size: 22px;
    line-height: 30px;
}

header {
    min-height: 260px;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 0 26px 0;
    position: relative;
}

header .logo {
    margin: 0 auto;
    display: block;
    background: url(../img/logo-lutz-rahn-consulting.png) no-repeat;
    background-size: 100%;
    aspect-ratio: calc(439 / 118);
    max-width: 439px;
}

a {
    text-decoration: none;
    color: var(--lutz-white);
}

a:hover, a:hover span {
    color: var(--lutz-lightgrey);
}

header nav {
    font-size: 28px;
    margin: 0 auto;
    text-align: center;
    margin-top: 30px;
}

header nav a {
    padding: 0 30px;
    white-space: nowrap;
}

header nav a:last-child {
    padding-left: 80px;
}

header .toggle_left {
    background: url(../img/toggle_li.svg) no-repeat;
    width: 53px;
    height: 16px;
    display: inline-block;
    background-size: 100%;
    margin: 0 1px 0 4px;
    cursor: pointer;
}

header .toggle_right {
    background: url(../img/toggle_re.svg) no-repeat;
    width: 53px;
    height: 16px;
    display: inline-block;
    background-size: 100%;
    margin: 0 1px 0 4px;
    cursor: pointer;
}

header nav span.lng {
    vertical-align: 0;
    color: #999;
}

header nav span.lng.active {
    color: #fff;
}

#desktop_lng { display: inline-block; }
#mobile_lng { display: none; }

.w100 {
    width: 100%;
    max-width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button {
    background: var(--lutz-button-bg-color);
    color: var(--lutz-white);
    padding: 18px 24px;
    border: 0;
    font-size: 22px;
}

button:hover, button.active {
    background: rgba(0, 57, 83, 0.75);
}

.mb-container {
    margin-bottom: 18rem;
}

.mt-hd {
    margin-top: 6rem;
}

.subheadline {
    background: var(--lutz-button-bg-color);
    color: var(--lutz-white);
    font-size: 26px;
    padding: 10px;
    display: block;
    text-align: center;
}

.subheadline.smaller {
    font-size: 24px;
    white-space: nowrap;
}

h3.step {
    text-align: center;
    font-size: 34px;
    line-height: 38px;
    text-transform: uppercase;
    margin: 1rem 0;
    min-height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.box_holder {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 0 8rem;
}

.box_holder .box {
    margin-top: 3rem;
}

@media (max-width: 1200px) {
    .box_holder {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 600px) {
    .box_holder {
        grid-template-columns: 1fr;
    }
}

.mw-900 {
    max-width: 900px;
    margin: 0 auto;
}

.imprintbox {
    background-color: var(--lutz-button-bg-color);
}

.imprintbox .imprint_info {
    color: var(--lutz-white);
}

.imprintbox .imprint_info b,
.imprintbox h2,
.imprintbox h3 {
    color: var(--bs-body-bg);
}

.imprintbox .textbox {
    font-size: 14px;
    color: var(--lutz-white);
}

.imprintbox .textbox b {
    color: var(--bs-body-bg);
}

.imprintbox .modal-header {
    border: 0;
}

.close_button {
    width: 30px;
    height: 30px;
    display: inline-block;
    background: transparent url(../img/close.svg) no-repeat;
    background-size: 100%;
    cursor: pointer;
}

p.small {
    font-size: 18px;
}

.cursor-pointer {
    cursor: pointer;
}

.gfx_partner_1, .gfx_partner_4 {
    background: transparent url(../img/gfx_partner_1.png) no-repeat;
    background-size: 100% !important;
    aspect-ratio: calc(20 / 17);
}
.gfx_partner_4 { background: transparent url(../img/gfx_partner_4.jpg) no-repeat; }

h2 span.large { font-size: 120px;}
h2 span.small { font-size: 50px; vertical-align: 32px; padding-left: 5px; padding-right: 5px; }

h2 span.small.alt { vertical-align: 12px;}

@media screen and (max-width: 1600px) {
    .box_holder {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 1460px) {
    body {
        __padding-top: 220px;
    }

    header .logo {
        max-width: 250px;
    }

    header {
        min-height: auto;
        padding: 20px 0 26px 0;
    }
    header nav {
        font-size: 22px;
        margin: 0 auto;
        text-align: center;
        margin-top: 25px;
    }

    header nav a {
        padding: 0 16px;
    }

    header nav a:last-child {
        padding-left: 48px;
    }

    h2 {
        font-size: 60px;
        line-height: 70px;
    }

    h2.large {
        font-size: 80px;
        line-height: 90px;
    }

/*
    p, li {
        font-size: 22px;
        line-height: 28px;
    }

    p.intro {
        font-size: 26px;
        line-height: 34px;
    }
*/
}

/* ------------------------------------------------------------------------------------------
col-sm for phones (<577px); and .col-md for tablets (≥768px);
-------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) and (min-width: 0px) {
    body            { __padding-top: 60px; }
    nav             { display: none; }
    #desktop_lng    { display: none; }
    #mobile_lng     { display: inline-block; position: absolute; bottom: 4px; left: 6px; }
    header          { min-height: auto; padding: 8px 0 0 0; }
    .mb-container   { margin-bottom: 6rem; }
    .p-4            { padding:0 !important;}
    h2.large        { font-size: 70px; line-height: 80px; }
    h2              { font-size: 50px; line-height: 60px; }
    /*
    p, li           { font-size: 20px; line-height: 26px; }
    p.intro         { font-size: 24px; line-height: 32px; }
    */
    .box_holder .box{ margin-top: 5rem; }
    .hide-on-mobile { display: none; }

    p.small  { text-align: center !important; }
    p.small span { float: none !important; display: block; text-align: center; margin-top: 1rem; }


    h2 span.large { font-size: 180px !important; }
    h2 span.small { font-size: 90px !important; }


}