/* 

alexanderdesign.io

what the function
Design, das funktioniert.

*/

@charset "UTF-8";

:root {
    --farbe_granit: #4F4E4E;
    --farbe_kalkstein: #E7E5E4;
    --farbe_steinweiss: #F2F1F1;

    --barrierefreie_farbe_1: #006fd6; 
    --barrierefreie_farbe_2: #ffffff;
    --barrierefreie_schriftfarbe_1: #006fd6;

    --font_family_1: 'bonobo_regular', Georgia, 'Times New Roman', serif;
    --font_name_1: bonobo_regular;
    --font_weight_1: 400;

    --font_family_2: 'bonobo_bold', Georgia, 'Times New Roman', serif;
    --font_name_2: bonobo_bold;
    --font_weight_2: 700;
}




/* BASICS */

html {scroll-behavior: smooth;}

body {
    height: 100%;
    margin: 0 auto;
    padding: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: grayscale;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-x: hidden;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: transparent;
    background: var(--farbe_steinweiss);
    color: var(--farbe_granit);
}

img {width: 100%;}




/* BARRIEREFREIHEIT */

.skiplink {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skiplink:focus {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    z-index: 1000;
    font-weight: bold;
    text-decoration: none;
}

:focus {
    outline: 2px solid var(--barrierefreie_farbe_1);
    outline-offset: 10px;
    transition: none !important;
}

:focus-visible {
    outline: 2px solid var(--barrierefreie_farbe_1);
}

a:focus {
    color: var(--barrierefreie_schriftfarbe_1);
    outline: 2px solid var(--barrierefreie_schriftfarbe_1);
    outline-offset: 4px;
    border-radius: 5px;
}



/* TYPOGRAPHIE */

@font-face {
    font-family: "bonobo_regular";
    src: url("../fonts/bonobo-regular.woff") format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "bonobo_bold";
    src: url("../fonts/bonobo-bold.woff") format("woff");
    font-weight: 700;
}

.font_1 {
    font-family: var(--font_family_1);
    font-weight: var(--font_weight_1);
}

.font_2 {
    font-family: var(--font_family_2);
    font-weight: var(--font_weight_2);
}

body {
    font-family: var(--font_family_1);
    font-weight: var(--font_weight_1);
    font-size: 1rem;
    line-height: 1.5;
}

button, .btn {
    font-family: var(--font_family_1);
    font-weight: var(--font_weight_1);
    font-size: 1rem;
}

h1, .like_h1, h2, .like_h2, h3, .like_h3, h4, .like_h4, h5, .like_h5, h6, .like_h6 {
    font-family: var(--font_family_2);
    font-weight: var(--font_weight_2);
    line-height: 1.3;
    margin: 2.5em 0 1em 0;
    text-transform: uppercase;
}

section > :is(h1, .like_h1, h2, .like_h2, h3, .like_h3, h4, .like_h4, h5, .like_h5, h6, .like_h6):first-of-type {
    margin-top: 0;
}

h1, .like_h1 { font-size: 2rem; } 
h2, .like_h2 { font-size: 1.75rem; }  
h3, .like_h3 { font-size: 1.5rem; }
h4, .like_h4 { font-size: 1.25rem; }
h5, .like_h5 { font-size: 1.125rem; }
h6, .like_h6 { font-size: 1rem; }

a {
    color: var(--farbe_granit);
    transition: all 250ms ease;
    cursor: pointer;
}

a:focus, a:hover, a:active {
    color: var(--farbe_granit);
}

.lowercase {
    text-transform: lowercase;
}

.uppercase {
    text-transform: uppercase;
}

.muted {
    font-size: 0.8rem;
    opacity: 0.8;
}

.align_left {
    text-align: left;
}

.align_right {
    text-align: right;
}

.align_center {
    text-align: center;
}

.align_justify {
    text-align: justify;
}

.nohyph {
    -webkit-hyphens: none; 
    -ms-hyphens: none; 
    hyphens: none;
}

.no_marg_top {
    margin-top:0;
}

.no_marg_bot {
    margin-bottom: 0;
}

.dis_inl_blo {
    display: inline-block;
}



/* BUTTONS */

button, .btn {
    background: var(--farbe_granit);
    color: #fff;
    border: 1px solid var(--farbe_granit);
    padding: 10px 24px;
    margin: 10px 0;
    transition: all 150ms ease;
    cursor: pointer;
    border-radius: 30px !important;
    text-decoration: none;
    display: inline-block;
}

button:hover, button:focus, .btn:hover, .btn:focus {
    background: var(--farbe_kalkstein);
    color: var(--farbe_granit);
    transition: all 350ms ease;
}

button:active, .btn:active {
    background: transparent;
    border-color: transparent;
}

button:focus, .btn:focus {
    background: var(--barrierefreie_farbe_1);
    color: var(--barrierefreie_farbe_2);
    outline: 2px solid var(--barrierefreie_farbe_1);
    outline-offset: 2px;
    transition: all 0ms;
}



/* GRID, FLEX UND POSITION */

.grid_2, .grid_3, .grid_4 {
    display: grid;
    gap: 60px 60px;
}

.grid_2 {
    grid-template-columns: 1fr;
    grid-template-areas:
        "grid_2_box_1"
        "grid_2_box_2";
}

.grid_3 {
    grid-template-columns: 1fr;
    grid-template-areas:
        "grid_3_box_1"
        "grid_3_box_2"
        "grid_3_box_3";
}

.grid_4 {
    grid-template-columns: 1fr;
    grid-template-areas:
        "grid_4_box_1"
        "grid_4_box_2"
        "grid_4_box_3"
        "grid_4_box_4";
}

.grid_2_box_1, .grid_2_box_2,
.grid_3_box_1, .grid_3_box_2, .grid_3_box_3,
.grid_4_box_1, .grid_4_box_2, .grid_4_box_3, .grid_4_box_4 {
    /* STYLE FÜR DIE BOXEN HIER HINTERLEGEN */
}

.pos_rel {
    position: relative;
}

.clearer {
    clear: both;
}




/* SHOW UND HIDE */

.show_mobile {
    display: block;
}

.show_tablet {
    display: none;
}

.show_desk {
    display: none;
}

.show_mobile_2 {
    display: block;
}

.show_desk_2 {
    display: none;
}




/* CONTENT */

.logo {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.logo_link {
    margin: 70px auto 60px;
    display: inline-block;
    width: 165px; 
    height: auto;
}

.logo_link img {
    display: block;
}

.wrapper {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin: 0 auto;
}

.wrapper_big {
    width: calc(100% - 40px);
    max-width: 1600px;
    margin: 0 auto;
}

.section_regular {
    padding-top: 120px;
}

.section_regular_2 {
    padding-top: 120px;
}

img {
    border-radius: 20px;
    display: block;
    overflow: hidden;
}

.no_bor_rad {
    border-radius: 0 !important;
}

.h1_wrapper {
    position: absolute;
    text-align: right;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%);
    width: calc(100% - 40px);
    max-width: 1180px;
    z-index: 10;
    color: #fff;
}

.h1_wrapper h1 {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    font-size: 2rem;
    max-width: 390px;
}      

.galerie img {
    margin-bottom: 30px;
}

.leistungen_icons img {
    width: 70px;
    height: 70px;
    display: inline-block;
    border-radius: 0;
}

.leistungen_icons h3 {
    margin-top: 1rem;
}

.kontakt_list {
    margin: 0;
    padding: 0;
}

.kontakt_list li {
    list-style-type: none;
}

.kontakt_list a {
    text-decoration: none;
}

.kontakt_list a:hover, .kontakt_list a:active {
    text-decoration: underline;
}

.zitat_wrapper {
    position: absolute;
    text-align: left;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%);
    width: calc(100% - 40px);
    max-width: 1180px;
    z-index: 10;
    color: #fff;
}

.zitat_wrapper p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.5rem;
}

.credit {
    padding: 40px 0;
}

.credit a {
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 1.3rem;
}

.credit a:hover {
    text-decoration: underline;
}

.overlay_1 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    overflow: hidden;
}






@media (min-width: 500px) {

    /* CONTENT */



    .zitat_wrapper {
        position: absolute;
        text-align: left;
        left: 50%;
        bottom: 40px;
        transform: translate(-50%);
        width: calc(100% - 40px);
        max-width: 1180px;
        z-index: 10;
        color: #fff;
    }

    .zitat_wrapper p {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 2rem;
        max-width: 365px;
    }

}








/* TABLET */ @media (min-width: 768px) {

    /* BASICS */






    /* TYPOGRAPHIE */






    /* BUTTONS */






    /* GRID, FLEX UND POSITION */

    .grid_2, .grid_3, .grid_4 {
        display: grid;
        gap: 60px 60px;
    }

    .grid_2 {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "grid_2_box_1 grid_2_box_2";
    }

    .desk_center_vertical {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .grid_3 {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "grid_3_box_1 grid_3_box_2 grid_3_box_3";
    }

    .grid_4 {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "grid_4_box_1 grid_4_box_2"
            "grid_4_box_3 grid_4_box_4";
    }




    /* SHOW UND HIDE */

    .show_mobile {
        display: none;
    }

    .show_tablet {
        display: block;
    }

    .show_desk {
        display: none;
    }






    /* CONTENT */



}




@media (min-width: 800px) {

    /* CONTENT */

    .h1_wrapper {
        left: 50%;
        bottom: 40px;
        transform: translate(-50%);
        width: calc(100% - 100px);
        max-width: 1180px;
    }

    .img_row_desk img {
        display: inline-block;
        width: calc(33.333% - 24px);
        margin-right: 30px;
    }

    .img_row_desk img:last-child {
        margin-right: 0px;
    }

    .zitat_wrapper {
        position: absolute;
        text-align: center;
        left: 50%;
        bottom: 50px;
        transform: translate(-50%);
        width: calc(100% - 100px);
        max-width: 1180px;
        z-index: 10;
        color: #fff;
    }

    .zitat_wrapper p {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 645px;
        font-size: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .credit {
        text-align: center;
    }

}





/* DESKTOP */ @media (min-width: 1024px) {

    /* BASICS */

    h1, .like_h1 { font-size: 2.5rem; } 
    h2, .like_h2 { font-size: 2rem; }  
    h3, .like_h3 { font-size: 1.5rem; }
    h4, .like_h4 { font-size: 1.25rem; }
    h5, .like_h5 { font-size: 1rem; }
    h6, .like_h6 { font-size: 1rem; }

    .marg_auto_desk {
        margin-left: auto;
        margin-right: auto;
    }


    /* TYPOGRAPHIE */

    




    /* BUTTONS */

    
    



    /* GRID, FLEX UND POSITION */

    .grid_2, .grid_3, .grid_4 {
        display: grid;
        gap: 60px 60px;
    }

    .grid_4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas:
            "grid_4_box_1 grid_4_box_2 grid_4_box_3 grid_4_box_4";
    }

    .align_left_desk {
        text-align: left;
    }

    .align_right_desk {
        text-align: right;
    }

    .align_center_desk {
        text-align: center;
    }

    .align_justify_desk {
        text-align: justify;
    }




    /* SHOW UND HIDE */

    .show_mobile {
        display: none;
    }

    .show_tablet {
        display: none;
    }

    .show_desk {
        display: block;
    }

    .show_mobile_2 {
        display: none;
    }

    .show_desk_2 {
        display: block;
    }

    




    /* CONTENT */

    .section_regular {
        padding-top: 200px;
    }

    .section_regular_2 {
        padding-top: 250px;
    }

    img {
        border-radius: 30px;
        display: block;
        overflow: hidden;
    }

    .h1_wrapper {
        position: absolute;
        text-align: right;
        left: 50%;
        transform: translate(-50%);
        width: calc(100% - 100px);
        max-width: 1180px;
        z-index: 10;
        color: #fff;
    }

    .h1_wrapper h1 {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 480px;
        margin-left: auto;
        font-size: 2.5rem;
    }

    .overlay_1 {
        border-radius: 30px;
    }

}

@media (min-width:1320px) {

    /* CONTENT */

    .h1_wrapper {
        bottom: 100px;
    }

    .zitat_wrapper {
        position: absolute;
        text-align: center;
        left: 50%;
        bottom: 75px;
        transform: translate(-50%);
        width: calc(100% - 100px);
        max-width: 1180px;
        z-index: 10;
        color: #fff;
    }

    .zitat_wrapper p {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 805px;
        font-size: 2.5rem;
    }
}







