:root {
    --barlow-semi:'Barlow Condensed', sans-serif;

    --fs-primary-heading: 65px;
    --fs-secondary-heading: 50px;
  
    --fs-xxlarge: 35px;
    --fs-xlarge: 30px;
    --fs-large: 25px;
    --fs-medium: 20px;
    --fs-small: 18px;
    
    --fs-button: 25px;
  
    --lh-primary-heading: .85;
    --lh-secondary-heading: .85;
    --lh-large: 1.4;
  
    --color-primary: #2FF7F6;
    --color-darkPrimary: #25C5C4;
    --color-blue: #2C3A52;
    --color-white: #fff;
    --color-black: #000;
    --color-dark: #1A1A1A;
}
/* 
=============================
=============================
           RESET
=============================
=============================
*/
*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {	
    font-family: var(--barlow-semi);
    font-size: 16px;
    font-weight: 400;    
	background: var(--color-white);
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

p,
figure,
label {
    margin: 0;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

small {
    font-size: inherit;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
}

a:hover,
a:active,
a:visited,
a:focus {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0; 
    margin: 0;
}

input,
button {
    background-color: transparent;
    border: 1px solid transparent;
    outline: none;
    transition: 0.2s all ease;
    -webkit-transition: 0.2s all ease;
}

input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

::selection {
    color: var(--color-white);
    background: var(--color-primary);
}

::-webkit-selection {
    color: var(--color-white); 
    background: var(--color-primary);
}

::-moz-selection {
    color: var(--color-white); 
    background: var(--color-primary);
}

/* 
**************************
**************************
      Utility classes
**************************
**************************
*/

.br-sm {
    display: none;
}
.br-bg {
    display: inline;
}

.icon-size {
    width: 25px;
}
/* text colors */
.color-primary {
    color: var(--color-primary)
}

.color-darkPrimary {
    color: var(--color-darkPrimary);
}
  
  
  /* headings */
  .primary-heading {
    font-size: var(--fs-primary-heading);
    line-height: var(--lh-primary-heading);
    font-weight: 700;
  }
  .secondary-heading {
    font-size: var(--fs-secondary-heading);
    line-height: var(--lh-secondary-heading);
    font-weight: 700;
  }
  
  /* Font sizes */
  .fs-xxlarge {
    font-size: var(--fs-xxlarge);
  }
  .fs-xlarge {
    font-size: var(--fs-xlarge);
  }
  .fs-large {
    font-size: var(--fs-large);
    line-height: var(--lh-large);
  }
  .fs-medium {
    font-size: var(--fs-medium);
  }
  .fs-small {
    font-size: var(--fs-small);
  }
  
  /* font-weight */
  .fw-bold {
    font-weight: 700;
  }
  .fw-semibold {
    font-weight: 600;
  }
  
  /* margin */
  .mt-1 {
    margin-top: 4px;
  }
  .mt-2 {
    margin-top: 8px;
  }
  .mt-3 {
    margin-top: 12px;
  }
  .mt-6 {
    margin-top: 24px;
  }
  .mt-8 {
    margin-top: 32px;
  }
  .mt-9 {
    margin-top: 36px;
  }
  .mt-10 {
    margin-top: 40px;
  }
  .mt-11 {
    margin-top: 44px;
  }
  .mt-12 {
    margin-top: 48px;
  }
  .mt-14 {
    margin-top: 56px;
  }
  .mt-16 {
    margin-top: 64px;
  }
  .mt-20 {
    margin-top: 80px;
  }
  .mt-24 {
    margin-top: 96px;
  }
  
  .mr-6 {
    margin-right: 24px;
  }
  
  
  .ml-6 {
    margin-left: 24px;
  }
  .ml-9 {
    margin-left: 36px;
  }
  
  
  .padding-block-6 {
    padding-block: 24px;
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

.container {
    max-width: 1210px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.call-box {
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 8px;
    width: 100%;
    text-align: left;
    padding: 2.4rem;
    margin: 10rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
}
.call-box .cta-btn {
    display: flex;
}
.call-box .cta-btn div {
    border-radius: 8px;
    box-shadow: 0 0 15px 0px;
    transition: ease-in-out .2s;
}
.call-box .cta-btn a {
    color: var(--color-black);
    background-color: var(--color-white);
}
.call-box .cta-btn div:hover {
    box-shadow: 0 0 20px 0px;
}

img.wave-shape{
    width: 100%;
}
.wave-shape.rotated {
    rotate: 180deg;
    position: relative;
    bottom: 1px;
}

/* JavaScript classes */
body.active {
    overflow: hidden;
}
.header-area .menu-btn.active span {
    background: transparent;
  }
  .header-area .menu-btn.active span::before,
  .header-area .menu-btn.active span::after {
    background-color: var(--color-white);
  }
  .header-area .menu-btn.active span::before {
    margin-top: 0;
  
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .header-area .menu-btn.active span::after {
    margin-top: 0;
  
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

/*======= header-area design =======*/

.nav-wrap {
    background-color: #fff;
    position: fixed;
    padding: 1.5rem 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);

}
.nav-wrap.hidden {
    transform: translateY(-100%);
  }

.nav-wrap .row {
    display: grid;
    grid-template-columns: 20% 55% 25%;
    align-items: center;
    justify-items: center;
}
.nav-wrap .logo-box {
    justify-self: start;
}
.nav-wrap .cta-btn {
    justify-self: end;
}
.nav-wrap .menu-btn {
    justify-self: end;
}

.logo-box img {
    max-height: 100px;
}

.main-menu ul {
    display: flex;
    gap: 35px;
}

.main-menu ul li a {
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    color: var(--color-black);
}
.main-menu ul li a.currentPage {
    color: var(--color-darkPrimary);
}
.main-menu ul li a:hover {
    opacity: 0.7;
}

.cta-btn a {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-radius: 6px;
    padding: 16px 30px;
    background: #2C3A52;
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--fs-button);
}
.menu-btn {
    display: none;
}

.hero-area .row {
    display: grid;
    margin-top: 3rem;
    grid-template-columns: 50% 40%;
    gap: 10%;
}

.hero-area {
    background-image: url('/images/heor-background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
    position: relative;
    z-index: 1;
    padding-top: 97px;
    padding-bottom: 22%;
    overflow: hidden;
    color: var(--color-white);
}

.header-area .logo-cta {
    display: none;
}

.hero-area:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2C3A52B2;
    z-index: -1;
}

.hero-left .cta-btn {
    justify-content: flex-start;
    display: flex;
}

.hero-left .cta-btn a {
    background-color: var(--color-primary);
    color: #2C3A52;
    padding-left: 45px;
    padding-right: 45px;
}

.hero-left .cta-btn a:hover {
    background-color: #83ebeb;
}

.hero-right {
    background-color: var(--color-black);
    box-shadow: -5px 3px 25px 10px #2FF7F640;
    backdrop-filter: blur(4px);
    padding: 55px 50px 85px 50px;
    border-radius: 8px;
    color: var(--color-white);
}

.hero-right h3 {
    font-weight: 900;
    font-size: 32px;
    padding-bottom: 5px;
    text-align: center;
}

.hero-right > p {
    text-align: center;
}

.hero-right p {
    color: #ffffffd8;
}

.hero-right .hero-services {
    padding-top: 38px;
}

.hero-right .single-service {
    display: flex;
    gap: 18px;
    padding-bottom: 25px;
}

.hero-right .single-service .icon {
    width: 50px;
    height: 50px;
    line-height: 46px;
    border-radius: 8px;
    background: #2FF7F633;
    text-align: center;
    flex: 0 0 50px;
}

.hero-right .single-service .content h4 {
    font-weight: 700;
    font-size: 20px;
    padding-bottom: 4px;
}

.hero-right .cta-button a {
    background: #2FF7F633;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 30px;
    border-radius: 8px;
    color: var(--color-primary);
    margin-top: 12px;
    font-weight: 700;
    font-size: 20px;
}

.hero-right .cta-button a:hover {
    background-color: #2ff7f748;
}

.hero-area .wave-shape {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
}

.hero-area .wave-shape img  {
    width: 100%;
    position: relative;
    bottom: -4px;
}

.single-image {
    background-color: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding-bottom: 4rem;
    position: relative;
}
.single-image > p{
    opacity: 0.8;
} 
.single-image .grid-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    text-align: left;
}
.single-image .flex-child {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 80%;
    grid-column: span 2;
}
.single-image .last-one {
    grid-column: 2 / 4;
}

.single-image .flex-child img {
    width: 3rem;
}

/* boxesen */
.leistungen {
    position: relative;
    text-align: center;
}

.leistungen .top-shape .wave-shape {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    rotate: 180deg;
}

.leistungen .top-shape .wave-shape img {
    width: 100%;
    position: relative;
    top: 4px;
}

.leistungen .top-shape > img {
    position: relative;
    display: block; 
    z-index: 4;
    bottom: 2rem;
    margin: auto;
    width: 15rem;
}

.leistungen .container > .fs-xlarge {
    opacity: 0.8;
}

.leistungen .grid-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.leistungen .grid-item {
    width: 100%;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);}

.leistungen .grid-item .fs-large {
    margin-top: 15px;
    line-height: 1;
}
.leistungen .grid-item .fs-medium {
    margin-top: 10px;
    line-height: 1.5;
}

.leistungen .icon-square {
    background-color: var(--color-darkPrimary);
    padding: 1rem;
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

/*
====================================
====================================
            ANRUF GENUEGT
====================================
====================================
*/

.anruf {
    text-align: center;
    background-color: var(--color-dark);
    color: var(--color-white);
    position: relative;
}

.anruf .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.anruf .grid-item p {
    opacity: .8;
    margin: 0 auto;
    margin-top: 8px;
    max-width: 400px;
}

/*
====================================
====================================
            BEWERTUNGEN
====================================
====================================
*/
.bewertungen {
    text-align: center;
}

.bewertungen .flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bewertungen p.fs-large {
    line-height: 1.5;
}

.bewertungen .btn {
    color: var(--color-blue);
    background-color: var(--color-primary);
    padding: 2rem 4rem;
    border-radius: 8px;
    font-family: var(--barlow-semi);
}

.bewertungen .btn:hover {
    opacity: 0.7;
    cursor: pointer;
}

.bewertungen .input-checkbox {
    max-width: 90%;
    position: relative;
  }
.bewertungen .input-checkbox * {
    box-sizing: content-box;
  }
  @keyframes checkmarkAnimation {
    100% {
      stroke-dashoffset: 0;
    }
  }
  .fancy-check-label {
    cursor: pointer;
    display: inline-block;
    line-height: 24px;
    width: 100%;
    padding-left: 2rem;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
  }
  .fancy-check-label {
    transition: color 0.3s;
  }
  .fancy-checkbox {
    border: solid 2px #888;
    display: block;
    height: 20px;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    border-radius: 3px;
  }
  .fancy-check:checked + .fancy-check-label .fancy-checkbox {
    border-color: var(--color-blue);
  }
  .fancy-check:checked + .fancy-check-label .checkmark-path {
    animation: checkmarkAnimation 0.5s 0s forwards;
  }
  .fancy-label--text {
    position: relative;
  }
  .checkmark {
    height: 20px;
    opacity: 1;
    width: 100%;
  }
  .checkmark .checkmark-path {
    stroke: var(--color-blue);
    stroke-width: 2px;
    stroke-miterlimit: 10;
    opacity: 1;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
  }

  .bewertungen .input-checkbox p {
    display: none;
  }
  .bewertungen.input-group.error p,
  .bewertungen .input-checkbox.error p  {
    display: block;
    color: #fb2e2e;
    position: absolute;
    font-size: 1rem;
  } .bewertungen .input-checkbox.error p {position: relative;}


/* 
====================================
====================================
        Banner for other pages 
====================================
====================================
*/
.banner {
    background-image: url('/images/hamburg-unterwegs.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 10rem;
    padding-bottom: 20%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: var(--color-white);
}
.banner .primary-heading {
    line-height: 1;
}

.banner:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #2C3A52B2;
    z-index: -1;
}
.banner .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
}
.banner .wave-shape {
    position: absolute;
    bottom: 0;
}  

/*
====================================
====================================
            Über uns page
====================================
====================================
*/

.ueber-uns-text {
    text-align: center;
}

.ueber-uns-text .fs-xxlarge {
    line-height: 1;
}

.ueber-uns-text p {
    line-height: 1.6;
}

.ueber-uns-text .flex-container {
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ueber-uns-text .promises {
    text-align: left;
    width: fit-content;
    margin: auto;
    margin-top: 1rem;
}
.ueber-uns-text .mobil-img {
    width: 50rem;
}

 /*
====================================
====================================
        Einsatzgebiete page
====================================
====================================
*/
.einsatzgebiete-banner {
    background-position: 0 3rem;
}
.einsatzgebiete-banner .text .fs-large {
    line-height: 1.2;
}

.einsatzgebiete-text {
    text-align: center;
}

.einsatzgebiete-text .fs-large {
    text-align: left;
}

.einsatzgebiete-text .promises {
    line-height: 2;
}


 /*
====================================
====================================
        Impressum page
====================================
====================================
*/
.impressum-text {
    margin-bottom: 10rem;
}
.impressum-text p.fs-xlarge {
    font-size: 25px;
}

 /*
====================================
====================================
        Datenschutz page
====================================
====================================
*/
.datenschutz-text {
    margin-bottom: 10rem;
}
.datenschutz-text p.fs-xlarge {
    font-size: 25px;
}


/*
====================================
====================================
               FOOTER
====================================
====================================
*/

footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0;
}
footer .grid-container {
    display: flex;
    gap: 8rem;
}
footer .grid-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}
footer .grid-item .fs-xlarge.fw-bold {
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-white);
}
footer .grid-item .fs-large {
    line-height: 2;
}

footer .links li {
    margin-bottom: 1rem;
}


footer .cta-btn a{
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: var(--fs-xlarge);
    display: flex;
    justify-content: center;
    width: 370px;
    border-radius: 6px;
}

footer .company-info {
    display: flex;
    width: 100%;
    justify-content: space-around;
}


/*
====================================
====================================
            MEDIA QUERIES
====================================
====================================
*/


/*
====================================
large Screen - Others
====================================
*/
@media screen and (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/*
====================================
Medium Screen - Others
====================================
*/
@media screen and (max-width: 1200px) {
    :root {
        --fs-primary-heading: 60px;
    }
    .container {
        max-width: 960px;
    }

    .main-menu ul {
        gap: 30px;
    }

    .main-menu ul li a {
        font-size: 20px;
    }
    .cta-btn a {
        font-size: 20px;
        gap: 25px;
    }
    
    .hero-area .row {
        grid-template-columns: 52% 42%;
        gap: 6%;
    }
    .leistungen .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    footer .grid-container {
        gap: 4rem;
        align-items: center;
        text-align: center;
        flex-direction: column;
    }
    footer .grid-item {
        align-items: center;
    }
}


/*
====================================
Small Screen - Tablate
====================================
*/

@media screen and (max-width: 990px) {
    .ueber-uns-text .flex-container {
        flex-direction: column;
        gap: 1rem;
    }
    .br-sm {
        display: inline;
    }
    .br-bg {
        display: none;
    }
    .main-menu ul {
        position: absolute;
        left: 0;
        flex-direction: column;
        align-items: center;
        top: -230px;
        width: 100%;
        background-color: var(--color-dark);
        z-index: 2;
        transition: 0.4s;
    }
    .main-menu ul li a {
        color: var(--color-white);
    }
    .main-menu .menu-box.active {
        top: 0;
        height: 100vh;
        padding-top: 8rem;
    }
    .main-menu .menu-box.active li a {
        font-size: var(--fs-xxlarge);
    }
    .main-menu .menu-box.active .logo-cta {
        display: block;
    }
    .main-menu .menu-box.active .logo-cta img {
        max-width: 250px;
    }
    
    .main-menu .menu-box.active .logo-cta .cta-btn a{
        background-color: var(--color-white);
        color: var(--color-black);
        width: 100%;
        justify-content: center;
    }
    .header-area .row > .cta-btn {
        display: none;
    }
    .header-area .menu-btn {
        height: 32px;
        width: 40px;
        cursor: pointer;
        position: relative;
        z-index: 3;
        display: block;
        }
        
        .header-area .menu-btn span,
        .header-area .menu-btn span::before,
        .header-area .menu-btn span::after {
          background: var(--color-blue);
          border-radius: 3px;
          content: '';
          position: absolute;
          width: 40px;
          height: 3px;         
          margin-top: 13px; 
        
          -webkit-transition: .3s ease-in-out;
          -moz-transition: .3s ease-in-out;
          -o-transition: .3s ease-in-out;
          transition: .3s ease-in-out;
        }
        
        .header-area .menu-btn span::before {
          margin-top:-12px;
        }
        
        .header-area .menu-btn span::after {
          margin-top:12px;
        }
    .logo-box img {
        max-height: 90px;
    }
    .nav-wrap {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .nav-wrap .row {
        grid-template-columns: 40% 20% 40%;
    }
    .hero-area {
        background-position: 50% 100%;
    }
    .single-image .grid-container {
        grid-template-columns: 1fr;
        
    }
    .grid-container .flex-child {
        grid-column: span 4;
        width: 100%;
    }
    
    .container {
        max-width: 720px;
    }
    .hero-area .row {
        grid-template-columns: 1fr;
        max-width: 368px;
        margin-left: auto;
        margin-right: auto;
        gap: 60px;
    }
    .hero-left {
        text-align: center;
    }
    .hero-area {
        padding-top: 67px;
    }
    .hero-left .cta-btn a{
        justify-content: center;
        width: 100%; 
    }
    .hero-right {
        margin-bottom: -150px;
        position: relative;
        z-index: 4;
    }
    .header-right-wrap {
        padding-bottom: 200px;
    }
    .single-image {
        padding-top: 85px;
    }
    .hero-area {
        padding-bottom: 0%;
    }
    .anruf .grid-container {
        grid-template-columns: 1fr;
    }
    .bewertungen .flex-container {
        flex-direction: column;
    }
}


/*
====================================
Xtra Small Screen - Small Mobile
====================================
*/
@media screen and (max-width: 768px) {
    :root {
        --fs-primary-heading: 60px;
        --fs-secondary-heading: 50px;
    }
    
    .container {
        max-width: 540px;
    }
    .logo-box img {
        max-height: 73px;
    }
    .main-menu ul {
        padding-top: 55px;
        padding-bottom: 25px;
        gap: 22px;
    }
    .main-menu ul li a{
        font-size: 18px;
    }
    .nav-wrap {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .hero-area .row {
        max-width: 307px;
        margin-top: 0;
        gap: 65px;
    }
    .hero-left {
        text-align: center;
    }
    .hero-area {
        padding-top: 67px;
    }
    .hero-right {
        padding: 35px 20px 50px 20px;
    }
    .hero-right .cta-button a {
        font-size: 17px;
    }
    .cta-btn a {
        font-size: 19px;
    }
    .hero-right {
        margin-bottom: -220px;
        position: relative;
        z-index: 4;
    }
    .header-right-wrap {
        padding-bottom: 260px;
    }
    .single-image {
        padding-top: 60px;
    }
    .hero-area {
        padding-bottom: 0%;
    }
    .hero-area {
        background-position: 48% 100%;
    }
    .leistungen .grid-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 575px) {
    :root {
        --fs-primary-heading: 50px;
        --fs-secondary-heading: 40px;
        --fs-xxlarge: 25px;
        --fs-xlarge: 22px;
        --fs-large: 20px;
        --fs-medium: 18px;
        --fs-small: 16px;
    }
    .hero-right {
        padding: 18px 20px 25px 20px;
    }
    .hero-left .cta-btn {
        width: 100%;
        flex: 100%;
    }
    .hero-left .cta-btn a {
        gap: 20px;
    }
    .hero-area {
        background-position: 35% center;
    }
    .hero-right .hero-services {
        padding-top: 28px;
    }
    .hero-right {
        box-shadow: -5px 3px 10px 6px #2ff7f71f;
    }
    .hero-right .single-service .content h4 {
        font-size: 18px;
        padding-bottom: 0px;
    }
    footer img {
        width: 300px;
    }
    footer .cta-btn a {
        width: 300px;
    }

}