/***********************************************************
CSS Document
© 15.02.2025 BrennerMedien GmbH
www.brenner-medien.de
************************************************************
 
/*
======================================================================
Variablen & Grundeinstellungen
======================================================================
*/
:root {
    --main-dark: #4f5157;
    --main-light: hsl(185, 30%, 60%, 100%);
    --main-cta: #F32E07;
    --fliesstext: #626367;
    --bg-kontakt: #f7fcff;
}

:root {
    --font-headlines: "Saira";
    --font-fliesstext: "Saira";
    --font-size: 1rem;
    --site-width: 1400px;
    --responsive-width: 1450px;
}

/* Responsive */
@media only screen and (max-device-width: 480px) {
    :root {
        --site-width: 90vw;
    }
}

section {
    width: 100%;
    height: auto;
    position: relative;
}

/* Responsive */
@media only screen and (max-device-width: 480px) {
    section {
        scroll-margin-top: 10rem;
    }
}

#main_page_wrapper {
    width: 100%;
}


/*
  ======================================================================
  Custom Definitions
  ======================================================================
  */
body {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #FFF;
    font-family: var(--font-fliesstext) !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: lrem;
}

html,
body {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    transition: all 0.2s;
}

a:hover {
    color: var(--main-red)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headlines) !important;
}

.section {
    width: 100%;
    height: auto;
    padding-left: calc((100% - var(--site-width)) / 2);
    padding-right: calc((100% - var(--site-width)) / 2);
    flex-direction: column;
    display: flex;
    font-family: var(--font-fliesstext);
    color: var(--main-dark);
}

/*
  ======================================================================
  Markierungsfarben
  ======================================================================
  */

::selection {
    color: #FFF;
    background-color: var(--main-light);
    text-shadow: none;
}

::-moz-selection {
    color: #FFF;
    background-color: var(--main-light);
    text-shadow: none;
}

::-webkit-selection {
    color: #FFF;
    background-color: var(--main-light);
    text-shadow: none;
}

::-webkit-scrollbar-thumb:vertical {
    width: 8px;
    background-color: var(--main-light);
}

::-webkit-scrollbar-thumb:horizontal {
    height: 8px;
    background-color: var(--main-light);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-cta);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
    background-color: var(--gray-400);
}





/*
  ======================================================================
  Main CSS ab hier
  ======================================================================
  */


.wrapper {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 4rem);
    width: calc(100vw - 4rem);
    border: 1rem solid hsl(178, 14%, 30%) !important;;
    margin: 2rem;


    img {
        width: 30rem;
        max-width: 70vw;
        margin-bottom: 2rem;
        margin-top: 2rem;
    }


    p {
        margin-top: 1rem;
        text-align: center;

        a {
            margin: 0 0.5rem;
            font-weight: 500;
        }

        a.email {
            font-weight: 700;
        }

    }
}


@media only screen and (max-device-width: 480px) {

    .wrapper {

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: calc(100vh - 2rem);
        width: calc(100vw - 2rem);
        border: 0.75rem;
        margin: 1rem;
    }    
}



/*
  ======================================================================
  CTA
  ======================================================================
*/
a.cta,
button.cta {
    border: 1px solid var(--main-cta);
    color: #FFF;
    padding: 0.4rem 0.6rem 0.4rem 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: calc(var(--font-size) - 0.2rem);
    display: inline-block;
    margin-top: 0.5rem;
    transition: all 0.2s;
    font-family: var(--font-fliesstext);
    background-color: transparent;
    background-color: var(--main-cta);
    cursor: pointer;
}

a.cta:after,
button.cta:after {
    content: "»";
    font-weight: 300;
    padding-left: 0.5rem;
}

a.cta.secondary,
button.cta.secondary {
    padding: 0.2rem 0.8rem;
    font-size: calc(var(--font-size) - 0.3rem);
    margin-top: 0;
    background-color: #FFF;
    color: var(--main-cta);
    font-weight: 500;
    transition: all 0.2s;
}

a.cta.tertiary,
button.cta.tertiary {
    padding: 0.4rem 0.7rem 0.35rem 0.7rem;
    font-size: 0.8rem;
    margin-top: 0;
    color: #FFF;
    border-color: var(--main-dark);
    background-color: var(--main-dark);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
}

a.cta.quaternary,
button.cta.quaternary {
    padding: 0.4rem 0.7rem 0.35rem 0.7rem;
    font-size: 0.8rem;
    margin-top: 0;
    color: var(--main-light);
    border-color: var(--main-light);
    background-color: #FFF;
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.2s;
}

a.cta:hover,
button.cta:hover {
    background-color: transparent;
    color: var(--main-cta);
    border: 1px solid var(--main-cta);
    transition: all 0.2s;
}

a.cta.secondary:hover,
button.secondary.cta:hover {
    color: #FFF;
    background-color: var(--main-cta);
    border: 1px solid var(--main-cta);
    transition: all 0.2s;
}

a.cta.tertiary:hover,
button.cta.tertiary:hover {
    color: var(--main-light);
    border-color: var(--main-light);
    background-color: #FFF;
    transition: all 0.2s;
}

a.cta.quaternary:hover,
button.cta.quaternary:hover {
    color: var(--main-cta);
    border-color: var(--main-cta);
    background-color: #FFF;
    transition: all 0.2s;
}

/*
  ======================================================================
  Grids
  ======================================================================
  */
.grid-20-80 {
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-gap: 2.5rem;
    align-items: flex-start;
}

.grid-30-70 {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-gap: 2.5rem;
    align-items: flex-start;
}

.grid-40-60 {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-gap: 2.5rem;
    align-items: flex-start;
}

.grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 30%;
    grid-gap: 2.5rem;
    align-items: flex-start;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2.5rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 2.5rem;
}

.grid-6 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 2.5rem;
}


/*///// Responsive /////*/
@media only screen and (max-device-width: 480px) {

    .grid-20-80,
    .grid-30-70,
    .grid-70-30,
    .grid-40-60,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: 1fr;
    }

}

.contentbox_text {
    background-color: #FFF;
    padding: 2rem 2rem 1rem 2rem;
    position: relative;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.1);

    i {
        font-size: calc(var(--font-size) + 1rem);
        color: var(--main-light);
        font-weight: 300;
        display: flex;
        align-items: center;
        height: 5rem;
        margin-top: -1.5rem;
    }

    h3 {
        padding-bottom: 1rem;
    }

    p {
        font-size: calc(var(--font-size) - 0.05rem);
    }
}


/*
  ======================================================================
  Icons
  ======================================================================
  */
i {
    font-style: normal;
}

i:before {
    font-family: FontAwesome;
}

i.brennermedien:before {
    content: "\f06d";
    padding: 0 0.15rem;
}

i.checkbox:before {
    content: "\f0c8";
}

i.checkbox.checked:before {
    content: "\f14a";
}

i.radiobutton:before {
    content: "\f111";
}

i.radiobutton.checked:before {
    content: "\f192";
}




/*
  ======================================================================
  Schriften
  ======================================================================
  */

 
@font-face {
    font-family: "Saira";
    font-display: swap;
    font-style: normal;
    font-weight: 300;
    src: url("fonts/saira/light.woff2") format("woff2");
}

@font-face {
    font-family: "Saira";
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url("fonts/saira/regular.woff2") format("woff2");
}

@font-face {
    font-family: "Saira";
    font-display: swap;
    font-style: normal;
    font-weight: 500;
    src: url("fonts/saira/medium.woff2") format("woff2");
}

@font-face {
    font-family: "Saira";
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: url("fonts/saira/bold.woff2") format("woff2");
}

/*
  ======================================================================
    Josh's Custom CSS Reset
    https://www.joshwcomeau.com/css/custom-css-reset/
  ======================================================================
  */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: calc(1em + 0.5rem);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: hsl(178, 14%, 40%) !important;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
}

#root,
#__next {
    isolation: isolate;
}

ol,
ul {
    list-style: none;
}