html, body{
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}
body{
    background-color: hsl(240, 4%, 95%);
    margin: 0px;
}
h1{
    font-family: Hanken Grotesk;
    font-size: clamp(1.8rem, 3.2vw + 0.5rem, 3.5rem);
    font-style: italic;
    font-weight: 300;
    margin-top: 35vh;
    margin-bottom: 35vh;
    color: hsl(0, 0%, 5%);
    text-align: center;
}
h2{
    font-family: Hanken Grotesk;
    font-size: clamp(1.4rem, 2.5vw + 0.2rem, 3rem);
    margin-bottom: 1%;
    color: hsl(0, 0%, 5%);
}
h3{
    font-family: Hanken Grotesk;
    font-size: clamp(1.25rem, 2.2vw + 0.2rem, 2.5rem);
    margin: 10px;
    color: hsl(0, 0%, 5%);
}
h4{
    font-family: Hanken Grotesk;
    font-size: clamp(1.25rem, 1.9vw + 0.2rem, 2.5rem);
    color: hsl(0, 0%, 5%);
    margin-bottom: 0%;
}
p{
    margin-top: 2%;
    color: hsl(0, 0%, 30%);
    font-size: clamp(0.9rem, 1.0vw + 0.2rem, 2.5rem);
    font-family: Hanken Grotesk;
    font-weight: 500;
}
header{
    display: flex;
    margin-bottom: 15vh;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
}
#videoMac{
    object-fit: cover;
    height: 100%;
    border: 0;
    outline: 0; 
}
.ctaBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 18px;
  padding: 14px 22px;

  width: auto;              /* statt 40% */
  min-width: 260px;         /* sorgt für „CTA-Feeling“ */
  max-width: 360px;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: hsl(240, 4%, 98%);
  color: hsl(0, 0%, 10%);

  font-family: Hanken Grotesk;
  font-weight: 800;
  font-size: clamp(0.95rem, 0.8vw + 0.6rem, 1.15rem);

  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: transform 160ms ease, box-shadow 160ms ease; /* wichtig */
}

.ctaBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}
main{
    margin: 5%;
}
#comparisonRow{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 15vh;
}
.iconList {
    list-style: none;
    margin: 0;
    padding: 0;
}
.iconList li{
    position: relative;
    padding-left: 2rem; 
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    font-family: Hanken Grotesk;
    font-weight: 600;
    color: hsl(0, 0%, 30%);
    font-size: clamp(0.7rem, 0.6vw + 0.6rem, 1.2rem);
}
.iconList li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 2em;
    height: 2em;
    background-image: var(--icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
}
#introRow{
    display: flex;
    justify-content: space-evenly;
}
#introColumn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55vw;
    margin-left: 10%;
}
#introColumn h2{
    margin: 0px;
}
#iphoneVideo{
    width: 30%;
}
.step_left{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 10%;
}
.step_left div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    margin-right: 10%;
}
.step_left div p{
    margin-top: 1%
}
.step_left img{
    width: 20%;
    margin-left: 10%;
}
.step_right{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 10%;
}
.step_right div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 35%;
    margin-left: 0%;
    margin-right: 0%;
}
.step_right h1{
    margin-right: 0%;
}
.step_right div p{
    margin-top: 1%;
    margin-right: 0%;
}
.step_right img{
    width: 20%;
    margin-right: 12%;
    margin-left: 0%;
}
#functions_row{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#functions_column h2{
    width: min(900px, 90vw);
    margin-bottom: 0%;
    font-size: clamp(1.4rem, 3vw + 0.2rem, 3.5rem);
}
.function{
    margin-left: 6%;
}
.function h4{
    margin-top: 3%;
    margin-bottom: 0%;
}
.function p{
    margin-top: 0%;
    width: 50vw;
}
#startText{
    font-size: clamp(1rem, 1.5vw + 0.2rem, 1.8rem);
    margin-top: 0;
    margin-bottom: 5vh;
}
#startHeader{
    margin: 0;
    margin-bottom: 5px;
}
#emailText{
    margin: 0;
    margin-bottom: 5px;
}
#numberText{
    margin: 0;
    margin-bottom: 20dvh;
}
.horizontalLine{
    width: 100%;
    height: 1px;
    background: hsl(0, 0%, 0%);
}

#startColumn{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#startColumn div{
    width: 65%;
}
.footerLinks{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 24px;
}

.linkBtn{
  background: transparent;
  border: 0;
  padding: 8px 10px;
  font-family: Hanken Grotesk;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.0vw + 0.2rem, 1.2rem);
  color: hsl(0, 0%, 30%);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.linkBtn:hover{
  color: hsl(0, 0%, 5%);
}

.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.modal.isOpen{
  display: block;
}

.modalBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.modalCard{
  position: relative;
  width: min(900px, 92vw);
  max-height: min(80vh, 700px);
  overflow: auto;
  margin: 10vh auto;
  background: hsl(240, 4%, 98%);
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modalHeader{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modalHeader h3{
  margin: 0;
}

.closeBtn{
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: hsl(0, 0%, 30%);
  padding: 6px 10px;
}

.closeBtn:hover{
  color: hsl(0, 0%, 5%);
}

.modalBody p{
  margin-top: 10px;
}
#workreports_row{
  display: flex;
  justify-content: center;
}

#workreports_column{
  width: min(1000px, 92vw);
}

.sectionLead{
  margin-top: 0.8rem;
  margin-bottom: 1.8rem;
  width: min(900px, 92vw);
}

.workreports_grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 18px;
}

.workreports_card{
  background: hsl(240, 4%, 98%);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.checkList{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.checkList li{
  position: relative;
  padding-left: 1.6rem;
  padding-bottom: 0.6rem;
  font-family: Hanken Grotesk;
  font-weight: 600;
  color: hsl(0, 0%, 30%);
  font-size: clamp(0.85rem, 0.7vw + 0.6rem, 1.1rem);
}

.checkList li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: hsl(0, 0%, 5%);
  font-weight: 800;
}

.miniSteps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.miniStep{
  display: flex;
  gap: 10px;
  align-items: center;
  background: transparent;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
}

.miniNum{
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-family: Hanken Grotesk;
  font-weight: 800;
  color: hsl(0, 0%, 5%);
  border: 1px solid rgba(0,0,0,0.18);
}

.miniStep span:last-child{
  font-family: Hanken Grotesk;
  font-weight: 700;
  color: hsl(0, 0%, 30%);
  font-size: clamp(0.85rem, 0.7vw + 0.6rem, 1.1rem);
}

@media screen and (max-aspect-ratio: 10/10){
  .workreports_grid{
    grid-template-columns: 1fr;
  }
  .miniSteps{
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-aspect-ratio: 10/10){
    .ctaBtn{
    width: auto;
    min-width: 0;
    max-width: 320px;
    padding: 12px 16px;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
    #videoMac{
        margin-top: 20vh;
        width: 110%;
        height: auto;
    }
    header{
        height: auto;
    }
    #introRow{
        flex-direction: column;
        align-items: center;
    }
    #introColumn{
        width: 100%;
        margin-left: 0%;
        text-align: center;
    }
    #iphoneVideo{
        margin: 0px;
        margin-top: 18px;
        width: 60%;
    }
    h1{
        margin-top: 18vh;
        margin-bottom: 18vh;
    }
    .step_left img{
        width: 35%;
        margin-left: 0%;
    }
    .step_left div p{
        font-size: clamp(0.9rem, 1.7vw + 0.5rem, 2.5rem);
    }
    .step_right img{
        width: 35%;
        margin-right: 0%;
    }
    .step_right div p{
        font-size: clamp(0.9rem, 1.7vw + 0.5rem, 2.5rem);
    }
    #functions_column h2{
        margin-bottom: 3%;
        font-size: clamp(1.4rem, 5vw + 0.2rem, 5rem);
    }
    .function p{
        width: 70vw;
    }
    #startColumn{
    align-items: center;
    text-align: center;
  }

  /* falls du nur den inneren Block zentrieren willst */
  #startColumn > div{
    text-align: center;
    width: 90%;
  }

  /* Linie sinnvoll breit machen */
  .horizontalLine{
    width: 100%;/*min(600px, 90vw);*/
    height: 1px;
    background: hsl(0, 0%, 5%);
    margin: 24px auto 0;
  }

  /* optional: Abstand unten nicht übertrieben groß */
  #numberText{
    margin-bottom: 10vh; /* statt 20dvh */
  }
}