:root {
  /* Farben */
     --white: #FAF9F6;
    --black: #353935;
    --gray: #8C92AC;
    --blue: #6799b2;
    --bgcolor: #eff4f7;


    --shadow: 3px 3px 1px rgba(0, 0, 0, .5);

    --fh1:clamp(2rem, 2.88vw + 1.255rem, 4.063rem);
    --fh2:clamp(1.75rem, 2.52vw + 1.09rem, 3.5rem);
    --fh3:clamp(1.5rem, 2.16vw + 0.925rem, 2.938rem);
    --fh4:clamp(1.25rem, 1.8vw + 0.76rem, 2.375rem);
    --fh5:clamp(1rem, 1.44vw + 0.595rem, 1.813rem);
    --fh6:clamp(0.875rem, 1.08vw + 0.43rem, 1.25rem);
    --fhp:clamp(1rem, 1vw + 0.5rem, 1.125rem);
}

h1 {
  font-size: clamp(2rem, 2.88vw + 1.255rem, 4.063rem);
  line-height: clamp(3rem, 3.185vw + 2.176rem, 5.281rem);
}

h2 {
  font-size: clamp(1.75rem, 2.52vw + 1.09rem, 3.5rem);
  line-height: clamp(2.625rem, 2.79vw + 1.91rem, 4.563rem);
}

h3 {
  font-size: clamp(1.5rem, 2.16vw + 0.925rem, 2.938rem);
  line-height: clamp(2.25rem, 2.395vw + 1.644rem, 3.844rem);
}

h4 {
  font-size: clamp(1.25rem, 1.8vw + 0.76rem, 2.375rem);
  line-height: clamp(1.875rem, 2vw + 1.38rem, 3.125rem);
}

h5 {
  font-size: clamp(1rem, 1.44vw + 0.595rem, 1.813rem);
  line-height: clamp(1.5rem, 1.605vw + 1.116rem, 2.406rem);
}

h6 {
  font-size: clamp(0.875rem, 1.08vw + 0.43rem, 1.25rem);
  line-height: clamp(1.3125rem, 1.21vw + 0.852rem, 1.687rem);
}

p, div {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  line-height: clamp(1.5rem, 1.2vw + 1rem, 1.875rem);
}

h1,h2,h3,h4,h5,h6,p{
    margin-block-start: 0;
    margin-block-end: 0;;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/font/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
html{background-color: var(--bgcolor); scroll-behavior: smooth;}
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
  background-color: var(--bgcolor);
  margin:0;
}
main {
  margin-top: 80px; 
}
img{max-width: 100%;}
.pad20-50{padding:50px 20px;}
/* menu */
/* Basis */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 80px;
 
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height:60px;
}

.logoimage {
  max-height: 30px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-item .nav-link {
  text-decoration: none;
  color: var(--black);
  font-weight: 400;
  transition: color 0.3s ease;
  font-size:var(--fh6);
}

.nav-item .nav-link:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: var(--black);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 800px) {
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 200px;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem;
    gap: 1.5rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

ul.nav-menu{
    margin-block-start: 0;
    margin-block-end: 0;
}



.row {
  display: flex;
  flex-wrap: wrap;
   max-width:1080px;
    width:100%;
    margin:auto;
}



.c25{
  flex: 25%;
}

.c50{
    flex: 50%;
}

.c33{
    flex: 33.3%;
}



@media screen and (max-width: 992px) {
  .c25{
    flex: 33.3%;
  }
  .c33{
   flex: 50%;   
  }
}

@media screen and (max-width: 768px) {
  .c25{
    flex: 50%;
  }
  .c50{
      flex:100%;
  }
}


@media screen and (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

.flex-center{
    justify-content:center;
}

.header-hero{
    width:100%;
    max-width:1920px;
    height:95vh;
    
    background-position: top center;
    background-size:cover;
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
}

.header-home{
    background-image: url('/assets/img/home-hero.jpg');
}

.header-team{
    background-image: url('/assets/img/hero-team.jpg');
}

.header-partner{
    background-image: url('/assets/img/partner.jpg');
}

.header-hilfreiches{
    background-image: url('/assets/img/hilfreich.jpg');
}

.header-impressum{
    background-image: url('/assets/img/impressum.jpg');
}

.hr1{
    border: 2px solid var(--white);
   box-shadow:var(--shadow);
  
 }
 
.hero-holder h1{
   text-shadow: var(--shadow);
    color:var(--white);
    text-align:center;
    font-weight:600;
    letter-spacing:5px;
    text-transform:uppercase;
}

.hero-holder .hr1:first-child{
    margin-bottom:10vh;
}

.hero-holder .hr1:last-child{
    margin-top:10vh;
}

.agrid{
    position:relative;
}

.agrid h3{
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-decoration:none;
    background-color:var(--white);
    color:var(--black);
    padding:6px 12px;
    font-size:var(--fh5);
    font-weight:200;
}

.agridimg{max-width:100%!important; width:500px; height:400px; object-fit:cover;}
.pad10{padding:0% 2.5%;}
.pad102{padding:2.5% 2.5% 0% 2.5%;}
.agrid-center{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

.cta{
    text-decoration:none;
    color:white;
    background-color: var(--blue);
    padding:20px 12px;
    font-size: var(--fh6);
    transition: 0.3s;
    text-align:center;
    line-height:1.5;
    width:90%;
    margin:auto;
}

.cta:hover{
    background-color:var(--black);
}

footer{background-color:#fff; padding-top:50px;margin-top:50px;}
.footerimg{
    max-width:290px;
    margin:auto;
    width:100%;
}

.footercred{
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content:center;
}
.footerlink, .footercop{
    padding:4px 12px;
    font-size:14px;
}
.footerlink a{
    text-decoration:none;
    font-weight:bold;
    color:var(--blue);
}

.card{
    background-color:var(--white);
    display:flex;
    flex-direction:row;
    
}

@media screen and (max-width: 768px) {
    .card{
        flex-direction:column;
    }
 
}
#teamimg{
    width:530px;
}

@media screen and (max-width: 768px) {
    #teamimg{
    width:100%;
}
}


.cardright{
    display:flex;
    flex-direction:column;
    justify-content: space-evenly;
    padding:0px 15px;
}

.teaminfo{
    display:flex;
    flex-direction:column;
}

.teaminfo a{
    text-decoration:none;
    color:var(--black);
    font-weight:500;
    letter-spacing:2px;
    padding:6px 0px;
}

@media screen and (max-width: 768px) {
    .teaminfo:last-child{
        padding-top:18px;
    }
    .cardright{
    padding:15px;
    }
 
}

.helpwrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-bottom:30px;
}

.helpinfo{
    font-size: 33px;
    background-color: var(--blue);
    color:var(--white);
    border:15px solid var(--blue);
    border-radius: 100%;
    margin:16px 0px;
    }
    
    
.helplinkicon{
    font-size:var(--fh5);
    margin-right:12px;}
   
.helplink{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    background-color:var(--blue);
    color:var(--white);
    padding:8px 24px 8px 12px;
    font-size:var(--fh6);
    text-decoration:none;
    transition: 0.3s;
}
    
    
    .helplink:hover{
    background-color:var(--black);
}
 
.impressum{
    display:flex;
    flex-direction:column;
    
}
    
.impressum p{
    margin-top:20px;}
    
.impressum p a{
     text-decoration:none;
     color:var(--black);
     
}
    
.impressum ul li{
    font-size: var(--fhp);
    line-height:1.4;
}
    