/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

html {
    font-size: 100%;
}

@media only screen and (min-width: 100px) {
    html {
        font-size: 70%;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 80%;
    }
}

@media only screen and (min-width: 1240px) {
    html {
        font-size: 100%;
    }
}









/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------- Import Fonts ---------------------*/

@font-face {
    font-family: "Montserrat";
    src: url("/font/Montserrat-Regular.ttf") format(truetype);
    font-weight: 500;
    }

@font-face {
    font-family: "Montserrat";
    src: url("/font/Montserrat-Bold.ttf") format(truetype);
    font-weight: 700;
    }

@font-face {
    font-family: "Montserrat";
    src: url("/font/Montserrat-SemiBold.ttf") format(truetype);
    font-weight: 600;
    }


/*-------------------- Variable ------------------------*/

:root {
    --size-100: .5rem;
    --size-200: .75rem;
    --size-300: 1rem;
    --size-400: 1.25rem;
    --size-500: 1.5rem;
    --size-600: 2rem;
    --size-700: 3rem;
    --size-800: 4rem;
    --size-900: 5rem;
}



ul {
    list-style-type: none;
}


/*----------------------------------------------------------------------------------------------------------*/

body {
    font-family: "Montserrat", sans-serif;
}


.padding-block-100 {
    padding-block: var(--size-100);
}
.padding-block-200 {
    padding-block: var(--size-200);
}
.padding-block-300 {
    padding-block: var(--size-300);
}
.padding-block-400 {
    padding-block: var(--size-400);
}
.padding-block-500 {
    padding-block: var(--size-500);
}
.padding-block-600 {
    padding-block: var(--size-600);
}
.padding-block-700 {
    padding-block: var(--size-700);
}
.padding-block-800 {
    padding-block: var(--size-800);
}
.padding-block-900 {
    padding-block: var(--size-900);
}





/* ---------- Fonts ---------- */

h1 {
    font-size: 4rem;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

h4 {
    font-size: 1.56rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}

p {
    font-size: 1rem;
}

a {
    font-size: 1rem;
}

/* ---------- Header ---------- */

.top-header {
    background-color: #262626;
}

.top-header a {
    text-decoration: none;
    color: white;
}

.logo {
    width: 15rem;
    padding-left: 5rem;
}

.nav-list {
    display: flex;
    gap: 3rem;
    font-weight: 600;
    align-items: center;
}

.nav-list a:hover {
    color: #26A790;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.extra-padding {
    padding-left: 2rem;
    padding-right: 2rem;
}


/* ---------- Hero ---------- */

.hero {
    background-color: #262626;
    color: white;
    padding-bottom: 8rem;
}

.hero img {
    transform: rotate(26deg);
}

.hero p {
    line-height: 1.8;
    font-weight: 700;
}

.img-center {
    display: grid;
    justify-content: center;
}

.img-padding-top {
    padding-left: 8rem;
}

/* ---------- Section Why ---------- */

.why .container {
    background-color: #D7D7D7;
    border-radius: 25px;
    margin-top: -3rem;
}

.why img {
    width: 6rem;
}

.why h2 {
    text-align: center;
    padding-top: 3rem;
}

.row-call {
    background-color: white;
    border-radius: 25px;
    padding: 2rem 6rem 2rem 6rem;
    margin: 2rem;
    display: flex;
    gap: 3rem;
    font-weight: 600;
    align-items: center;
}

.row-call h4 {
    text-align: center;
}

.callme .container {
    padding-bottom: 3rem;
}

/* ---------- Section Leistung ---------- */

.even-columns img {
    width: 25.75rem;
}

.h2-extra {
    text-align: center;
}

.leistung h2 {
    line-height: 1.2;
    padding-bottom: 1rem;
}

.p-title {
    padding-bottom: 0.5rem;
}

.leistung .even-columns {
    padding: 4rem;
    gap: 4rem;
}

/* ---------- Section Referenzen ---------- */

.referenzen .even-columns {
    padding: 4rem;
    gap: 4rem;
}

.normal-p {
    padding-bottom: 2rem;
}

.referenzen h2 {
    line-height: 1.2;
    padding-bottom: 3rem;
}

.referenzen img {
    width: 20rem;
}

.background-grey {
    border-radius: 25px;
    background-color: #D7D7D7;
}

.align-img-end {
    justify-content: end;
    display: flex;
}

.align-img-start {
    justify-content: start;
    display: flex;
}


/* ---------- Footer ---------- */

footer {
    background-color: #262626;
    color: white;
    font-weight: 500;
    padding-top: 5rem;
    padding-bottom: 0.5rem;
}

footer a {
    text-decoration: none;
    color: white;
}

footer .even-columns {
    align-items: flex-start;
}

.bottom-cpu {
    transform: rotate(-26deg);
}


.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-bottom {
    width: 10rem!important;
}

.footer-ul {
    display: flex;
    gap: 1rem;
}

.footer-ul img {
    width: 3.125rem;
}

.firma-name {
    text-decoration: underline;
    font-weight: 600;
}

.copyright-center {
    display: flex;
    justify-content: center;
    padding-top: 3rem;
}

.copyright {
    font-weight: 600;
    margin-top: 4rem;
    font-size: 0.8rem;
}

.link-hover:hover {
    font-weight: 700;
}

.icon-hover:hover {
    transform: scale(1.2);
}

/* ---------- Button ---------- */

.button {
    border-radius: 100vmax;
    border: 0;
    padding: 0.5em 3em;
    font-size: 0.93rem;
    font-weight: 600;
    color: white;
    background-color: #26A790;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}


.button:hover,
.button:focus-visible {
    background-color: #1f8b78;
}

.disable_button_referenzen {
    border: 0;
    background: transparent;
}

.disable_button_leistung {
    border: 0;
    background: transparent;
}

/* ---------- Allgemein ---------- */

.impressum {
    padding: 7rem;
}

.container {
    --max-width: 1110px;
    --padding: 1rem;

    width: min(var(--max-width), 100% - (var(--padding)*2));
    margin-inline: auto;

}

.even-columns {
    display: grid;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 50em) {
    .even-columns {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
    }
}

.uneven-columns {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 6rem 7rem 6rem 7rem;
}

.uneven-columns div {
    display: inline-grid;
    justify-items: center;
    align-items: center;
    text-align: center;
}

/*----------- Mobile NAV ------------- */

.mobile-nav-toggle {
    display: none;
}

.mobile-nav-toggle img {
    width: 3rem;
}

@media (max-width:50em) {

    body[data-visible] {
        height: 100%;
        overflow-y: hidden;
    }

    .hero img {
        display: none;
    }


    .nav-wrapper {
        margin-top: 3rem;
    }

    .top-navigation {
        display: none;
        position: absolute;
        inset: 4rem;
        background: #262626;
        border-radius: 25px;
        box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.1), 0 0 0 1000vmax rgba(12, 12, 12, 0.767);
        align-items: center;
    }


    .nav-list {
        display: grid;
        gap: 2rem;
        text-align: center;
        font-size: 2rem;
    }

    .nav-list a {
        text-decoration: none;
        color: white;
        font-size: 2rem;
    }

    .nav-list a:hover,
    .nav-list a:focus {
        color: #1f8b78;
    }

    .nav-list .button {
        font-size: 1.8rem;
    }

    .nav-list li:last-child {
        padding-top: 5rem;
      }

    .top-navigation[data-visible] {
        display: grid;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 100;
        cursor: pointer;
        background: transparent;
        border: 0;
        padding: 0.5em;
        padding-right: 5em;
    }
    
    .mobile-nav-toggle .icon-close {
        display: none;
    }

    .even-columns .img-center {
        display: grid;
        justify-content: center;
    }

    .change-order-on-mobile-1 {
        order: 1;
    }

    .change-order-on-mobile-2 {
        order: 2;
    }


    .img-disable-mobile {
        display: none;
    }



}

/* ---------- Media Querys ---------- */

@media only screen and (max-width: 720px) {
    .hero img {
        display: none;
    }

    .impressum-spacing {
        padding-bottom: 2rem;
    }

    .img-disable-mobile {
        display: none;
    }

    .change-order-on-mobile-1 {
        order: 1;
    }

    .change-order-on-mobile-2 {
        order: 2;
    }

    .uneven-columns {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 4rem 5rem 4rem 5rem;
    }

    .logo-bottom-div {
        display: flex;
        justify-content: center;
    }

    .bottom-cpu {
        display: none;
    }

    .footer-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .row-call {
        padding: 1rem 3rem 1rem 3rem;
        flex-direction: column;
        gap: 1.5rem;
    }
}















/* --------------------------------------------- Ausblenden --------------------------------------------- */

.do-not-display {
    display: none;
}