@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");

:root {
  --cyan: #444;
  --gray: black;
  --light-gray: #777;
  --box-shadow: 0.5rem 0.5rem 0 rgba(151, 151, 151, 0.2);
  --border: 0.2rem solid var(--cyan);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease-out;
}

i,
span {
  color: var(--cyan);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

section {
  padding: 2rem 9%;
}

.heading {
  text-align: center;
  text-transform: uppercase;
  color: var(--gray);
  font-size: 5rem;
  letter-spacing: 0.4rem;
  background-color: rgba(151, 151, 151, 0.2);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem;
  padding-left: 1rem;
  border: var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  color: var(--cyan);
  cursor: pointer;
  font-size: 1.7rem;
}
.btn a {
  color: var(--cyan);
}
.btn:hover{
  background: var(--cyan);
}
.btn:hover a{
  color: #fff;
}

.header {
  padding: 2rem 9%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.header span {
  padding-left: 0.7rem;
}
.header .logo {
  font-size: 2.5rem;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.header img {
  width: 8rem;
  margin-right: 0.3rem;
}

.header .navbar ul {
  display: flex;
  align-items: center;
}

.header .navbar ul li {
  list-style: none;
  margin: 0 1rem;
}

.header .navbar a {
  font-size: 1.7rem;
  color: var(--light-gray);
  margin-left: 2rem;
}

.header .navbar a:hover {
  color: var(--cyan);
}
.header .navbar a.active {
  position: relative;
  color: var(--cyan);
  transform: scale(1.1);
}
.header .navbar a.active::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background: var(--cyan);
  transition: all 0.2s ease-out;
}

#menu-btn {
  font-size: 2.5rem;
  color: var(--cyan);
  border-radius: 0.5rem;
  background: #eee;
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: none;
}

/* home */
.home {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 15rem;
  overflow: hidden;
}

/* home picture */
.home .homepicture {
  flex: 1;
  max-height: 81vh;
  overflow: hidden;
  position: relative;
}
.home .homepicture img {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
}
.home .homepicture .txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
}
.home .homepicture .txt h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.home .homepicture .txt p {
  font-size: 1.8rem;
  line-height: 2;
  margin-bottom: 2rem;
}



/* services */
.services .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
  padding-top: 2rem;
}

.services .box-container .box {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
  padding: 2.5rem;
}
.services .box-container .box:hover {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5rem);
}
.services .box-container .box i {
  font-size: 4rem;
  color: var(--cyan);
  float: inline-start;
  margin-right: 2rem;
}
.services .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--gray);
  margin-bottom: 1rem;
}
.services .box-container p {
  font-size: 1.4rem;
  color: var(--light-gray);
  line-height: 2;
}
.services .box-container .box li {
  font-size: 1.4rem;
  color: var(--light-gray);
  line-height: 2;
  list-style: none;
  padding-left: 0.5rem;
  position: relative;
}
.services .box-container .box li i {
  font-size: 1.4rem;
  float: none;
  margin-right: 0.5rem;
}

/* contact */
.contact {
  margin-bottom: 2rem;
}
.contact .map {
  position: relative;
  padding-top: 3rem;
}
.contact .map iframe, .contact .map a img{
  width: 75%;
  float: inline-end;
  height: 600px;
  border: var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
}
.contact .map a p { 
  position: absolute;
  margin: 150px; 
  top: 130px;
  left: 27%; 
  text-align: center;
  font-size: 2.2rem;
  background-color: rgba(0, 0, 0, 0.1); 
  color: var(--gray);
}
.contact .map .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 188, 155, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.contact .map .overlay h3 {
  font-size: 3rem;
  color: #fff;
}
.contact .map .overlay p {
  font-size: 1.5rem;
  color: #fff;
}
.contact .map .overlay a {
  padding: 1rem 2rem;
  font-size: 1.7rem;
  color: #fff;
  background: var(--cyan);
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
}

.contact .contact-info {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
  width: 20%;
}
.contact .contact-info .info:hover {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5rem);
}
.contact .contact-info a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.7rem;
  color: var(--gray);
  padding: 1rem 0;
}
.contact .contact-info .info i {
  font-size: 2.5rem;
  color: var(--cyan);
}
.contact .contact-info .info p {
  font-size: 1.5rem;
  color: var(--light-gray);
  line-height: 2;
}
.contact .contact-info .info {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.contact .contact-info .info .btn:hover {
  background: var(--cyan);
}
.contact .contact-info .info .btn:hover a, .contact .contact-info .info .btn:hover i{
  color: #fff;
}

/* time table */
.time-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  padding-top: 3rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.time-table .day h3 {
  font-size: 2.5rem;
  color: var(--gray);
  padding: 1rem 0;
}
.time-table .day p {
  font-size: 1.4rem;
  color: var(--light-gray);
  line-height: 2;
}
.time-table .active h3,
.time-table .active p {
  color: rgb(152, 0, 0);
}

/* team */
.team .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 2rem;
}

.team .box-container .box {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: var(--border);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.team .box-container .box:hover {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5rem);
}

.team .box-container .box img {
  width: 100%;
  border-radius: 50%;
  border: var(--border);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.team .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--gray);
}

.team .box-container .box span {
  font-size: 1.5rem;
}

/* footer */
.footer {
  padding: 2rem 9%;
  background: #fff;
  box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  text-align: center;
}
.footer p {
  font-size: 1.4rem;
  color: var(--light-gray);
}
.footer .credit .menu a {
  color: var(--cyan);
  font-size: 1.7rem;
  padding: 0 1rem;
}


/* Datenschutz */
.datenschutz {
  padding: 15rem 9%;
  background: #fff;
  box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  word-wrap: break-word;
}
.datenschutz .heading {
  margin-bottom: 2rem;
}
.datenschutz h2 {
  font-size: 2rem;
  color: var(--gray);
  margin-bottom: 1rem;
  padding-top: 4rem;
}
.datenschutz p {
  font-size: 1.5rem;
  color: var(--light-gray);
  line-height: 2;
}
.datenschutz ul {
  padding-left: 2rem;
}
.datenschutz ul li {
  font-size: 1.5rem;
  color: var(--light-gray);
  line-height: 2;
  margin-bottom: 1rem;
}

/* Impressum */
.impressum {
  padding: 15rem 9%;
  background: #fff;
  box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  word-wrap: break-word;
}
.impressum .heading {
  margin-bottom: 2rem;
}
.impressum h2 {
  font-size: 2rem;
  color: var(--gray);
  margin-bottom: 1rem;
  padding-top: 4rem;
}
.impressum h3 {
  font-size: 1.8rem;
  color: var(--gray);
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}
.impressum p {
  font-size: 1.5rem;
  color: var(--light-gray);
  line-height: 2;
}
.impressum ul {
  padding-left: 2rem;
}
.impressum ul li {
  font-size: 1.5rem;
  color: var(--light-gray);
  line-height: 2;
  margin-bottom: 1rem;
}





/* media queries */
@media (max-width: 1100px) {
  html {
    font-size: 50%;
  }
  .header {
    padding: 2rem;
  }
  .contact .map iframe, .contact .map a img {
    width: 70%;
    height: 500px;
  }
  .contact .map a p {
    top: 120px;
    left: 30%;
    margin: 100px;
  }
}

@media (max-width: 820px) {
  #menu-btn {
    display: initial;
  }
  .header .navbar {
    position: absolute;
    top: 115%;
    right: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    width: 30rem;
    border: var(--border);
    background: #fff;
    transform: scale(0);
    opacity: 0;
    transform-origin: top right;
    transition: none;
  }

  .header .navbar.active {
    transform: scale(1);
    opacity: 1;
    transition: 0.2s ease-out;
  }

  .header .navbar ul,
  .header .navbar a {
    font-size: 2rem;
    display: block;
    margin: 2.5rem;
  }

  .home .txt {
    width: 100%;
    padding: 2rem;
    text-align: center;
  }
  .home .txt h2 {
    font-size: 3.5rem;
  }
  .home .txt p {
    font-size: 1.6rem;
  }

  .team .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
  }
  .buttons {
    width: 80%;
  }
  .buttons button {
    width: 40px;
    height: 40px;
  }
  .buttons button i {
    font-size: 16px;
  }
  .contact .map iframe, .contact .map a img {
    width: 100%;
    float: none;
    height: 250px;
  }
  .contact .contact-info {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .contact .contact-info .info {
    width: 100%;
  }
  .contact .map a p {
    top: 55px;
    left: 2%;
    margin: 50px;
  }
  .datenschutz .heading{
    word-break: break-word;
  }
}

@media (max-width: 600px) {

  .team .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 470px) {
  html {
    font-size: 50%;
  }
  .heading {
    font-size: 4rem;
  }

  .home .txt h2 {
    font-size: 2.5rem;
  }
  .home .txt p {
    font-size: 1.4rem;
  }

  .team .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
  }
  .buttons {
    width: 80%;
  }
  .buttons button {
    width: 30px;
    height: 30px;
  }
 
  .contact .contact-info {
    width: 100%;
    justify-content: center;
    display: block;
  }
  .contact .contact-info .info {
    width: 100%;
  }
  .contact .map a p{
    top: 35px;
  }
}

@media (max-width: 400px) {
  .home .txt h2 {
    font-size: 2rem;
  }
  .home .txt p {
    font-size: 1.2rem;
  }
}

.hidden {
  display: none;
}