*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1)),
    url(/images/hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 40px;
  position: relative;
}

.nav-toggle {
  display: none; /* Desktop ausgeblendet */
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nav-toggle__icon {
  display: block;
}

.nav__links {
  display: flex;
  justify-content: space-evenly;
  gap: 60px;
  width: 50%;
}

header a {
  color: rgb(252, 102, 1);
  text-decoration: none;
}

header h3 a {
  color: white;
}

header ul {
  display: flex;
  justify-content: space-evenly;
  gap: 60px;
  width: 50%;
}

header li {
  list-style: none;
}

.hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__title {
  width: 50%;
  height: 40vh;
  display: flex;
  justify-content: flex-end;
}

.hero__text {
  width: 100%;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.hero__text h1 {
  width: 90%;
  font-family: "Sixtyfour", sans-serif;
  font-size: 2.8rem;
  font-weight: 100;
  text-align: center;
  color: rgb(252, 102, 1);
}

.hero__subtext {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  font-size: 0.8rem;
  line-height: 2rem;
}

.hero__subtext h2 {
  color: white;
}

.hero__img {
  width: 40%;
  height: 80vh;
  display: inline-block;
  position: relative;
}

.hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: none;
  background: radial-gradient(circle, transparent, rgba(0, 0, 0, 1));
}

.hero__img img {
  display: block;
  border-radius: 20px;
  border: none;
  width: 100%;
  height: 100%;
}

.hero__cta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.btn__termin {
  width: 12rem;
  height: 2.5rem;
  background-color: rgb(252, 102, 1);
  border: 1px solid white;
  border-radius: 10px;
}

.btn__termin a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

.btn__services {
  width: 12rem;
  height: 2.5rem;
  background-color: transparent;
  border: 1px solid white;
  border-radius: 10px;
}

.btn__services a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
}

main {
  background-color: white;
  text-align: center;
}

#services {
  max-width: 80%;
  height: 100vh;
  margin: 0 auto;
}

#services h2 {
  font-family: "Sixtyfour", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: hsl(24, 99%, 50%);
  padding: 50px 50px 20px;
}

.service__grid ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px;
}

.service__grid li {
  list-style: none;
  max-width: 380px;
  height: 230px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0.5px -0.5px 0px 0.5px hsla(24, 99%, 50%, 0.2);
}

.service__header {
  display: flex;
  align-items: center;
}

.service__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(254, 215, 189);
  border: none;
  border-radius: 15px;
  min-width: 80px;
  min-height: 80px;
}

.service__icons img {
  filter: invert(1) brightness(2) contrast(1);
}

.service__title {
  font-weight: 700;
  padding-left: 20px;
}

.service__desc {
  text-align: start;
  padding: 40px 0px;
}

#about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: rgb(254, 215, 189);
}

#about h2 {
  font-family: "Sixtyfour", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: white;
  padding: 50px 50px;
}

.about__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.about__text {
  max-width: 50%;
}

.about__text p {
  text-align: start;
}

.about__text ul {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 30px;
  padding-left: 0;
  margin-top: 70px;
}

.about__text li {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.about__img {
  position: relative;
}

.about__img img {
  width: 100%;
  border-radius: 20px;
}

.about__experience {
  position: absolute;
  top: 360px;
  left: -20px;
  width: 200px;
  height: 100px;
  background-color: hsl(24, 99%, 50%);
  border-radius: 15px;
  border: none;
}

.about__experience p {
  color: white;
  font-size: 1.3rem;
  padding: 15px;
}

.years {
  font-size: 2rem;
  display: inline-block;
  text-align: start;
}

#visit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: white;
}

#visit h2 {
  font-family: "Sixtyfour", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: hsl(24, 99%, 50%);
  padding: 50px 50px 20px;
}

.visit__wrapper {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 80%;
  max-width: 1200px;
  margin: 80px auto 0;
}

.visit__img {
  max-width: 50%;
}

.visit__img img {
  max-width: 100%;
  border-radius: 20px;
}

.visit__contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 50%;
}

.visit__contact ul {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 30px;
  padding-left: 0;
}

.visit__contact li {
  list-style: none;
}

.visit__header {
  display: flex;
  align-items: center;
  gap: 30px;
}

.visit__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(254, 215, 189);
  border: none;
  border-radius: 15px;
  min-width: 60px;
  min-height: 60px;
}

.visit__icons img {
  filter: invert(1) brightness(2) contrast(1);
}

.contact__details {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.contact__details a {
  color: hsl(24 99% 50%);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  background-color: rgb(152, 152, 152);
}

@media (max-width: 1441px) {
  header {
    height: auto;
    padding-bottom: 50px;
  }

  .hero__text h1 {
    width: 70%;
    font-family: "Sixtyfour", sans-serif;
    font-size: 1.9rem;
    font-weight: 100;
    text-align: center;
    color: hsl(24, 99%, 50%);
  }

  .hero__subtext {
    width: 90%;
    font-size: 0.8rem;
    line-height: 1.7rem;
  }

  .hero__img {
    width: 35%;
    height: auto;
  }

  #services {
    max-width: 80%;
    height: auto;
    margin: 0 auto 100px;
  }

  .service__grid ul {
    gap: 30px;
  }

  .service__grid li {
    max-width: 297px;
    height: 200px;
    padding: 10px;
    text-align: left;
    border-radius: 20px;
  }

  .service__desc {
    font-size: 0.9rem;
    text-align: start;
    padding: 20px 0px;
  }

  #about {
    height: auto;
    padding-bottom: 50px;
  }

  .about__img img {
    width: 100%;
    border-radius: 20px;
  }

  .about__experience {
    top: 320px;
    width: 180px;
    height: 100px;
  }

  #visit {
    height: auto;
    padding-bottom: 50px;
  }

  .visit__img {
    max-width: 60%;
  }

  .visit__contact ul {
    gap: 20px;
  }

  .contact__details {
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
}

@media (max-width: 1025px) {
  nav {
    padding: 20px 40px 40px;
  }

  nav ul a {
    font-size: 0.8rem;
  }

  header ul {
    width: 60%;
  }

  header h3 a {
    font-size: 1rem;
  }

  .hero__text h1 {
    width: 90%;
    font-size: 1.9rem;
  }

  .hero__subtext {
    font-size: 0.7rem;
  }

  .hero__img {
    width: 40%;
    height: auto;
  }

  .hero__img img {
    height: auto;
  }

  #services {
    height: auto;
    margin-bottom: 50px;
  }

  .about__text ul {
    margin-top: 16px;
    gap: 10px;
  }

  .about__img img {
    width: 100%;
  }

  .about__experience {
    top: 210px;
    width: 120px;
    height: 70px;
  }

  .about__experience p {
    font-size: 0.7rem;
  }

  .years {
    font-size: 1.3rem;
  }

  .visit__wrapper {
    margin-top: 50px;
  }

  .visit__img {
    max-width: 45%;
  }

  .visit__img img {
    max-width: 130%;
  }

  .visit__contact {
    padding-left: 80px;
  }

  .visit__contact ul {
    gap: 20px;
  }
}

@media (max-width: 897px) {
  nav {
    padding: 20px 20px 40px;
    z-index: 1;
  }

  /* Button zeigen */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Desktop-Layout der UL zurücksetzen */
  .nav__links {
    /* Mobile: Off-Canvas Panel */
    position: fixed;
    inset: 0 0 0 0; /* kommt von unten */
    z-index: 1001;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(2px);
    display: block; /* wir steuern Sichtbarkeit über [hidden] */
    padding: 80px 24px 24px;
    width: auto; /* ignoriert altes width:50% */
    transform: translateY(100%);
    transition: transform 200ms ease;
  }

  /* Menüeinträge vertikal */
  .nav__links li {
    list-style: none;
    margin-bottom: 16px;
    text-align: center;
  }
  .nav__links h3 {
    font-size: 1.25rem;
  }
  .nav__links a {
    color: #fff;
    text-decoration: none;
  }
  .nav__links.is-open {
    transform: translateX(0);
  }

  /* Optional: Vollflächiger Overlay-Hintergrund für Klick zum Schließen */
  .nav::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .nav.menu-open::after {
    opacity: 1;
    pointer-events: auto;
  }

  /* Desktop-UL im Header nicht mehr breit ausrichten */
  header ul {
    width: auto;
    gap: 0;
  }

  header h3 a {
    font-size: 0.8rem;
  }

  header ul {
    gap: 60px;
    width: 60%;
  }

  .hero__text h1 {
    font-size: 1.4rem;
  }

  .hero__subtext {
    font-size: 0.5rem;
    line-height: 1.5rem;
  }

  .hero__cta {
    flex-direction: column;
  }

  #services {
    height: auto;
    margin-bottom: 50px;
  }

  #services h2 {
    font-size: 1.2rem;
  }

  #services h3 {
    font-size: 0.8rem;
  }

  .service__grid li {
    max-width: 380px;
    height: 230px;
    padding: 20px;
  }

  #about {
    padding-bottom: 50px;
  }

  #about h2 {
    font-size: 1.2rem;
    padding: 30px 50px 30px;
  }

  .about__text {
    max-width: 50%;
  }

  .about__text p {
    font-size: 0.8rem;
  }

  .about__text ul {
    gap: 10px;
  }

  .about__text li {
    font-size: 0.8rem;
    gap: 10px;
  }

  .about__img img {
    width: 125%;
  }

  .about__experience {
    top: 270px;
    width: 120px;
    height: 70px;
  }

  .about__experience p {
    font-size: 0.7rem;
  }

  .years {
    font-size: 1.2rem;
    padding-bottom: 3px;
  }

  #visit h2 {
    font-size: 1.2rem;
    padding: 40px 50px 20px;
  }

  .visit__wrapper {
    align-items: center;
    flex-direction: column;
  }

  .visit__img img {
    max-width: 125%;
  }

  .visit__contact {
    align-items: center;
    max-width: 100%;
  }

  .visit__header {
    align-items: center;
  }
}

@media (max-width: 640px) {
  header {
    height: auto;
  }

  .hero__content {
    flex-direction: column;
  }

  .hero__title {
    width: 100%;
    height: auto;
    justify-content: none;
  }

  .hero__text {
    padding-left: 0;
  }

  .hero__text h1 {
    font-size: 2.6rem;
    line-height: 3.2rem;
    margin-bottom: 10px;
  }

  .hero__subtext {
    font-size: 0.8rem;
    line-height: 1.8rem;
  }

  .hero__img {
    width: 80%;
    height: auto;
  }

  .hero__cta {
    margin-bottom: 30px;
  }

  #services {
    height: auto;
    margin-bottom: 50px;
  }

  #services h2 {
    font-size: 2rem;
  }

  #services h3 {
    font-size: 1.2rem;
  }

  #about {
    height: auto;
  }

  #about h2 {
    font-size: 2rem;
  }

  .about__wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .about__text {
    max-width: 100%;
  }

  .about__text p {
    text-align: center;
  }

  .about__text ul {
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .about__text li {
    gap: 20px;
  }

  .about__img img {
    width: 100%;
  }

  .about__experience {
    top: 320px;
    left: 50%;
    transform: translate(-50%);
    width: 180px;
    height: 80px;
  }

  .about__experience p {
    font-size: 1.1rem;
  }

  .years {
    font-size: 1.6rem;
  }

  #visit {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  .visit__wrapper {
    gap: 20px;
    width: 100%;
    margin: 40px auto 0;
  }

  .visit__img {
    max-width: 100%;
  }

  .visit__img img {
    max-width: 100%;
  }

  .visit__contact {
    max-width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 415px) {
  header {
    height: auto;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 40px;
  }

  header h3 a {
    color: white;
  }

  header ul {
    display: flex;
    justify-content: space-evenly;
    gap: 60px;
  }

  header li {
    list-style: none;
  }

  .hero__content {
    flex-direction: column;
    padding-bottom: 50px;
  }

  .hero__title {
    width: 100%;
    height: auto;
    justify-content: none;
  }

  .hero__text {
    width: 100%;
    padding: 0;
  }

  .hero__text h1 {
    width: 100%;
    font-size: 1.7rem;
    line-height: 2rem;
    padding-bottom: 10px;
  }

  .hero__subtext {
    width: 100%;
    font-size: 0.6rem;
    line-height: 1.4rem;
  }

  .hero__img {
    width: 80%;
    height: auto;
  }

  .hero__img img {
    width: 100%;
    height: auto;
  }

  .hero__cta {
    display: flex;
    gap: 20px;
    margin: 20px;
  }

  #services {
    height: auto;
  }

  #services h2 {
    font-size: 1.7rem;
  }

  #about {
    height: auto;
    padding-bottom: 60px;
  }

  #about h2 {
    font-size: 1.7rem;
  }

  .about__wrapper {
    flex-direction: column;
    justify-content: none;
    gap: 10px;
  }

  .about__text {
    max-width: 100%;
  }

  .about__text p {
    text-align: center;
  }

  .about__text ul {
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .about__text li {
    gap: 10px;
  }

  .about__img img {
    width: 100%;
  }

  .about__experience {
    top: 210px;
    left: 50%;
    transform: translate(-50%);
    width: 120px;
    height: 70px;
  }

  .about__experience p {
    font-size: 0.6rem;
  }

  .years {
    font-size: 1.3rem;
  }

  #visit {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  #visit h2 {
    font-size: 1.7rem;
    line-height: 2.5rem;
  }

  #visit h3 {
    width: 90%;
  }

  .visit__wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: none;
    gap: 30px;
    width: 100%;
    margin: 40px auto 0;
  }

  .visit__img {
    max-width: 95%;
  }

  .visit__img img {
    max-width: 100%;
  }

  .visit__contact {
    max-width: 100%;
    padding-left: 0;
  }
}
