:root {
  --bs-red: #444444;
  --bs-dark: #000000;
  --bs-white: #ffffff;
  --bs-light: #dcdcdc;
  --bs-text: #212529;
  --bs-light-grey: #6c757d;
  --bs-black: #000000;

  --bs-headline-font: "Urbanist";
  --bs-font-family: "Manrope", sans-serif;

  --font-size-h1: clamp(5rem, 7vw, 8rem);
  --font-size-h2: clamp(2rem, 2vw, 3.5rem);
  --font-size-h3: clamp(1.2rem, 1vw, 2.5rem);
  --font-size-h4: clamp(1rem, 1vw, 2.5rem);
  --font-size-subline: clamp(1.15rem, 1.8vw, 1.25rem);
  --font-size-topline: clamp(0.8rem, 1.5vw, 1.5rem);
  --font-size-text: 0.94rem;
}

::selection {
  color: var(--bs-black);
  text-shadow: none;
  background: var(--bs-red);
}
.marker::selection {
  color: var(--bs-white);
  text-shadow: none;
  background: var(--bs-dark);
}

*,
::after,
::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--bs-font-family);
  font-weight: 200;
  height: 100%;
}

main {
  height: 100%;
  overflow-x: hidden;
  perspective: 1px;
  perspective-origin: center top;
  transform-style: preserve-3d;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::== FONTS ==::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(../fonts/Urbanist-ExtraLight.woff) format("woff");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(../fonts/Urbanist-ExtraLight.woff) format("woff");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/Urbanist-Light.woff) format("woff");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Regular.woff) format("woff");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Medium.woff) format("woff");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(../fonts/Manrope-ExtraLight.woff) format("woff");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/Manrope-Light.woff) format("woff");
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-light);
  font-family: var(--bs-headline-font);
  margin: 0;
  font-weight: 200;
  line-height: 1.2;
}

.h1,
h1 {
  font-size: var(--font-size-h1);
  letter-spacing: 0.2rem;
}

.h2,
h2 {
  font-size: var(--font-size-h2);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  font-weight: 200;
}

.h3,
h3 {
  font-size: calc(1.9rem + 0.6vw);
  letter-spacing: 0.3rem;
  font-weight: 200;
}

.h4,
h4 {
  font-size: calc(1.4rem + 0.3vw);
  letter-spacing: 0.3rem;
  font-weight: 200;
  margin: 0;
  text-transform: uppercase;
}

.h5,
h5 {
  font-size: 1.25rem;
}
.h6,
h6 {
  font-size: 1rem;
}

p {
  font-family: var(--bs-font-family);
  color: var(--bs-light);
  font-size: var(--font-size-text);
  letter-spacing: 0.2rem;
  font-weight: 200;
  line-height: 1.73rem;
}

li {
  font-family: var(--bs-font-family);
  font-size: 1.2rem;
  letter-spacing: 0.17rem;
  text-transform: uppercase;
  font-weight: 200;
  list-style: none;
}

ul {
  font-family: var(--bs-font-family);
}

b,
strong {
  font-family: var(--bs-font-family);
  font-weight: 400;
}

a {
  font-family: var(--bs-font-family);
  color: currentColor;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
  font-weight: 200;
}

a:hover {
  color: var(--bs-red);
}

/* ::::::::::::::::::::::::::::== btn ==:::::::::::::::::::::::::::: */

.btn-frame {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.btn-frame-l {
  justify-content: end;
  padding-top: 0px;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 0;
  font-size: 1.1rem;
  letter-spacing: 0.3rem;
  font-weight: 200;
  background-color: var(--bs-red);
  color: var(--bs-white);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  background: var(--bs-dark);
  transform: translateY(4px);
  color: white;
}

/* ::::::::::::::::::::::::::::== NAV ==:::::::::::::::::::::::::::: */

.header {
  background-color: #00000000;
  color: var(--bs-white);
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 100;
  width: 100%;
  height: 100px;
  padding: 0 4%;
  transition: all 0.35s ease;
}

.header.on-scroll {
  background: #fffffff0;
  color: var(--bs-black);
  box-shadow: var(--shadow-medium);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.114);
}

.header-box {
  width: 1920px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.btn-nav {
  margin-left: 10px;
}

@media screen and (max-width: 1328px) {
  .btn-nav {
    display: none;
  }
}

.brand-light,
.brand-dark {
  vertical-align: middle;
}

@media screen and (max-width: 1312px) {
  .brand-light {
    order: 1;
  }
}

.header.on-scroll .brand-light {
  display: none;
}

.brand-dark {
  display: none;
}

.header.on-scroll .brand-dark {
  display: inherit;
}

.menu {
  position: fixed;
  top: -100%;
  width: 100vw;
  left: 0;
  background-color: var(--bs-white);
}
.menu.is-active {
  background-color: var(--bs-white);
  color: #000000;
  top: 0px;
  width: 100%;
  padding: 95px 0 30px 0;
}

.menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 1.5rem;
}

.menu-link {
  font-size: 1.2rem;
  line-height: 1.5;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

@media only screen and (min-width: 1332px) {
  .menu {
    position: relative;
    top: 0;
    width: auto;
    height: auto;
    padding: 0rem;
    margin-left: auto;
    background: none;
    box-shadow: none;
  }

  .menu-inner {
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
    margin: 0 auto;
    padding: 10px 0;
  }

  .menu-block {
    margin-left: 2rem;
  }
}

.burger {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
  order: 2;
  z-index: 10;
  width: 1.75rem;
  height: 1rem;
  border: none;
  outline: none;
  background: none;
  visibility: visible;
  transform: rotate(0deg);
  transition: 0.35s ease;
}
@media only screen and (min-width: 1332px) {
  .burger {
    display: none;
    visibility: hidden;
  }
}

.burger-line {
  position: absolute;
  display: block;
  right: 0;
  width: 100%;
  height: 1.5px;
  border: none;
  outline: none;
  opacity: 1;
  transform: rotate(0deg);
  background-color: var(--bs-white);
  transition: 0.25s ease-in-out;
}

.burger-line:nth-child(1) {
  top: 0px;
}
.burger-line:nth-child(2) {
  top: 0.5rem;
}
.burger-line:nth-child(3) {
  top: 1rem;
}
.burger.is-active .burger-line:nth-child(1) {
  top: 0.5rem;
  transform: rotate(135deg);
}
.burger.is-active .burger-line:nth-child(2) {
  right: -1.5rem;
  opacity: 0;
  visibility: hidden;
}
.burger.is-active .burger-line:nth-child(3) {
  top: 0.5rem;
  transform: rotate(-135deg);
}

.header.on-scroll .burger-line:nth-child(1) {
  background-color: var(--bs-black);
}
.header.on-scroll .burger-line:nth-child(2) {
  background-color: var(--bs-black);
}
.header.on-scroll .burger-line:nth-child(3) {
  background-color: var(--bs-black);
}

@media screen and (max-width: 1312px) {
  .burger.is-active .burger-line:nth-child(1) {
    background-color: var(--bs-black);
  }
  .burger.is-active .burger-line:nth-child(2) {
    background-color: var(--bs-black);
  }
  .burger.is-active .burger-line:nth-child(3) {
    background-color: var(--bs-black);
  }
}

/* ::::::::::::::::::::::::::::== HERO ==:::::::::::::::::::::::::::: */

.hero {
  /* background-color: #00000061;
  background-blend-mode: darken; */
  /* height: 100vh; */
  height: calc(90vh + 100px);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  background-image: url("../img/hero-img2.jpg");
  filter: grayscale(2);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

@media screen and (max-width: 1312px) {
  .hero {
    background-position-x: 15%;
    background-attachment: scroll;
  }
}

.hero-content {
  /* background-color: rgba(100, 148, 237, 0.319); */
  max-width: 790px;
  height: 400px;
  flex-direction: column;
  text-align: right;
}

.hero-content > p {
  font-size: var(--font-size-subline);
}

/* ::::::::::::::::::::::::::::== IMF TEXT FLEX ==:::::::::::::::::::::::::::: */

.section {
  background-color: var(--bs-dark);
  padding: 0 4%;
}

.full-section {
  padding: 0;
}

.container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
}
.full-container {
  max-width: 100%;
}

.colum {
  display: flex;
  align-items: center;
  height: 600px;
  flex-basis: 500px;
  flex-grow: .3;
  flex-shrink: 9;
  padding-top: 0px;
  padding-bottom: 0px;
}

@media screen and (min-width: 1088px) {
  .colum:nth-of-type(1) {
    order: 1;
  }
  .colum:nth-of-type(2) {
    order: 2;
  }
  .colum:nth-of-type(3) {
    order: 4;
  }
  .colum:nth-of-type(4) {
    order: 3;
  }
  .colum:nth-of-type(5) {
    order: 5;
  }
  .colum:nth-of-type(6) {
    order: 6;
  }
}

.img-flex > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: grayscale(2);
}

@media screen and (min-width: 1088px) {
  .text-flex {
    margin: 0px 50px;
  }
}
/* ::::::::::::::::::::::::::::== IMG HOVER FULL ==:::::::::::::::::::::::::::: */

.img-col {
  flex-basis: 100%;
  flex-grow: 0;
  flex-shrink: 0;
}

.img-container {
  position: relative;
  overflow: hidden;
}
.img-hover-item {
  position: relative;
  display: block;
  filter: grayscale(2);
  width: 100%;
  transform: scale(1.02);
  transition: all 1.1s ease;
  outline: solid 1px #ff5b3a;
  outline-offset: 0px;
}

.img-hover-item:hover {
  filter: grayscale(0.6);
  outline-offset: -39px;
}

.img-container:hover .img-hover-item {
  transform: scale(1.1);
}

@media screen and (min-width: 425px) {
  .img-col {
    flex-basis: 50%;
  }
}
@media screen and (min-width: 700px) {
  .img-col {
    flex-basis: 33.33%;
  }
}
@media screen and (min-width: 1240px) {
  .img-col {
    flex-basis: 25%;
  }
}

/* ::::::::::::::::::::::::::::== TEXT AND IMG TWO  ==:::::::::::::::::::::::::::: */



/* .container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
} */

.container-two {
  background-color: blueviolet;
  padding-top: 150px;
  background-color: var(--bs-black);
  justify-content: flex-start;
}

.img-two {
  flex-grow: 0.5;
  flex-shrink: 9;
  flex-basis: 500px;
}

.text-two {
  display: flex;
  align-items: center;
  padding: 0 20px;
  
  flex-grow: 0.5;
  flex-shrink: 9;
  flex-basis: 600px;
}

@media screen and (max-width: 1312px ){
  .text-two {
    padding: 10px 0;
   
  }}

/* ::::::::::::::::::::::::::::== CARDS ==:::::::::::::::::::::::::::: */

/* .container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
} */

.card-section {
  padding-top: 250px;
  /* height:900px; */
}
.card-container {
  gap: 25px;
}

.card {
  background: #ff5b3a;
  flex-grow: 1;
  flex-shrink: 2;
  flex-basis: 300px;
}

.img-card > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(2);
}

.card-txt {
  padding: 20px 10px 10px 10px;
}

/* ::::::::::::::::::::::::::::== CONTACT FORM ==:::::::::::::::::::::::::::: */

.contct-flex:nth-of-type(1) {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-basis: 590px;
  flex-grow: 1;
  flex-shrink: 1;
}

.contct-flex:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-basis: 395px;
  flex-grow: 1;
  flex-shrink: 1;
  border-left: 1px solid rgba(0, 0, 0, 0.199);
  padding: 27px 0 20px 20px;
}

@media (max-width: 1070px) {
  .media-direction {
    flex-wrap: wrap-reverse;
  }
}

@media (max-width: 1070px) {
  .contct-flex:nth-of-type(2) {
    border: hidden;
    padding: 27px 0;
  }
}

/* :::::::::::::: )) FORM FIELDS (( :::::::::::::::::: */

.input-box {
  margin-top: 20px;
  padding: 19px 5px;
  width: 95%;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.199);
  border-top: none;
  border-left: none;
  border-right: none;
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 0.2rem;
  color: #6c757d;
}

button,
input,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.input-box:focus-visible {
  outline: none;
  background-color: #6c757d11;
}

/* :::::::::::::: )) CHECKBOX (( :::::::::::::::::: */

.form-check {
  display: flex;
  align-items: baseline;
  column-gap: 10px;
}

.form-check-input {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  appearance: none;
}

.form-check-input[type="checkbox"] {
  border-radius: 0.2rem;
}

.form-check-input:focus {
  border-color: #ff5b3a;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.058);
}

.form-check-input:checked {
  background-color: #ff5b3a;
}
.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

/* ::::::::::::::::::::::::::::== ANCOR ==:::::::::::::::::::::::::::: */

#about,
#leistungen {
  scroll-margin-top: 83px;
}

#akquise,
#telefonservice,
#kontakt {
  scroll-margin-top: 85px;
}

@media (max-width: 1200px) {
  #about,
  #leistungen,
  #kontakt {
    scroll-margin-top: 61px;
  }

  #telefonservice,
  #akquise {
    scroll-margin-top: 20px;
  }
}
