* {
  margin: 0%;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  font-family: 'Inter', serif;
  font-weight: 300;
}

/*

Header

*/

#toggleButton {
  display: none;
}

nav {
  position: fixed;
  width: 100%;
  padding: 0.25%;
  text-align: right;
  padding-top: 1.3%;
  z-index: 100;
}

.nav-logo {
  position: relative;
  top: -10px;
  left: 5px;
  visibility: hidden;
}

.nav-logo img {
  border-radius: 5px;
}

nav a {
  font-size: 20px;
  padding-right: 3%;
  text-decoration: none;
}

nav a:hover {
  cursor: pointer;
  color: #a58166;
}

nav img {
  float: left;
}

header .header-img {
  display: none;
}

.header-layer-one {
  background-image: url("./img/header_background.jpg");
  background-size: cover;
  padding: 13%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.ticker {
  order: 0;
  width: 100%;
  background: #a58166;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  z-index: 5;
}

.ticker-mobile {
  display: none;
  font-size: 15px;
  width: 100%;
  background: #a58166;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  z-index: 5;
}

.ticker__track {
  background: #a58166;
  display: inline-block;
  animation: ticker-left 18s linear infinite;
}

.ticker__item {
  background: #a58166;
  color: #fff;
  display: inline-block;
  padding: 0 2rem;
  font-weight: 500;
}

header .header-layer-two {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  font-size: 30px;
  padding: 5%;
  margin-right: 40%;
}

header .header-layer-two h1, h2, h3, a {
  background-color: #a5816600;
}

header .header-layer-two h3 {
  margin-bottom: 5%;
}

header .header-layer-two a button {
  font-size: 17px;
  margin-top: 1%;
  border: 0px;
  width: 230px;
  padding: 2%;
}

header .header-btn-kontakt {
  background-color: #a58166;
  color: white;
  transition: all 0.3s ease;
}

header .header-btn-mehr {
  background-color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

header .header-btn-kontakt:hover {
  background-color: #976946;
  cursor: pointer;
}

.header-btn-mehr:hover {
  background-color: rgba(255, 255, 255, 0.963);
  cursor: pointer;
}

/*

Main

*/

.about-me div {
  padding: 8%;
  padding-left: 50%;
}

.about-me div h2 {
  font-size: 40px;
  margin-bottom: 5%;
}

.about-me div p {
  font-size: 20px;
  display: block;
}

.about-me img {
  width: 450px;
  height: auto;
  border-radius: 15px;
  position: absolute;
  margin-top: 5%;
  margin-left: 17%;
}

/* Was ich anbiete */

.what-i-offer {
  padding: 5%;
}

.what-i-offer div {
  padding-right: 50%;
}

.what-i-offer div h2 {
  font-size: 40px;
  margin-bottom: 5%;
}

.what-i-offer div p {
  font-size: 20px;
  display: block;
}

.what-i-offer img {
  width: 450px;
  height: auto;
  position: absolute;
  border-radius: 15px;
  right: 0;
  margin-right: 15%;
  margin-top: 5%;
}

/* Ablauf und Kosten */

.process-and-costs {
  padding: 8%;
}

.process-and-costs div {
  padding-left: 50%;
}

.process-and-costs div h2 {
  font-size: 40px;
  margin-bottom: 5%;
}

.process-and-costs div p {
  font-size: 20px;
  display: block;
}

.process-and-costs img {
  position: absolute;
  border-radius: 15px;
  margin-left: 5%;
  margin-top: -1.5%;
  width: 450px;
  height: auto;
}

/* Standort */
.standort {
  padding: 10%;
  background-image: url("./img/standort_background.png");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.standort h2 {
  font-size: 40px;
  margin-bottom: 3%;
}

.standort iframe {
  border-radius: 32px;
}

/*

Footer

*/
#footer {
  display: flex;
  padding: 5%;
  padding-bottom: 15%;
}

.footer-block {
  width: 33.33%;
  height: 100px;
  box-sizing: border-box;
}

.mitgliedschaften p {
  font-size: 12px;
}

.mail {
  text-decoration: none;
}

.mitgliedschaften a {
  text-decoration: none;
}

.sm a {
  text-decoration: none;
}


/* Tablet */

/* Handy 751px */
@media (min-width: 300px) and (max-width: 1024px) {

  #toggleButton {
    display: block;
    width: 50px;
    height: auto;
    float: right;
    margin-right: 3%;
  }

  #nav-bar-closed a {
    visibility: hidden;
  }

  #nav-bar-opened {
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}

#nav-bar-opened a {
  margin: 5%;
}

#nav-bar-opened #toggleButton {
  position: absolute;
  bottom: 20%;
}


  nav {
    height: 50px;
  }

  header .header-layer-two {
    margin-right: 0%;
    padding: 0%;
  }

  .header-layer-two {
    order: 1;
  }

  .ticker {
    display: none;
  }

  .ticker-mobile {
    order: 2;
    border-radius: 0;
    display: block;

  }

  .header-layer-two h1 {
    font-size: 37px;
    margin-left: 3%;
  }

  .header-layer-two h2 {
    font-size: 25px;
    margin-left: 3%;
    margin-top: 15%;
  }

  .header-layer-two h3 {
    font-size: 17px;
    margin: 3%;
  }

  .header-layer-two {
    margin-right: 0%;
  }

  header .header-layer-one {
    padding: 0%;
    background-image: none;
  }

  header .header-img {
    padding-top: 13%;
    display: block;
    width: 100%;
  }

  header .header-layer-two a button {
    margin-left: 3%;
  }

  .header-btn-mehr {
    margin-bottom: 30%;
    background-color: #976946;
  }



  .about-me div {
    padding: 3%;
  }

  .about-me img {
    position: relative;
    margin-left: 3%;
    width: 70%;
  }

  .what-i-offer {
    padding: 3%;
  }

  .what-i-offer img {
    width: 300px;
    position: relative;
    margin-top: 30%;
  }

  .what-i-offer div {
    padding-right: 0%;
  }



  .process-and-costs img {
    width: 300px;
    position: relative;
    margin-left: 3%;
    margin-top: 30%;
  }

  .process-and-costs div {
    padding-left: 3%;
  }

  .process-and-costs {
    padding: 0%;
  }

  .standort {
    margin-top: 30%;
    padding-top: 40%;
    padding-bottom: 40%;
  }

  .standort iframe {
    width: 300px;
    height: 200px;
  }

  #footer {
    display: flex;
    flex-direction: column; /* Ändert die Anordnung von horizontal zu vertikal */
    padding: 5%;
    padding-bottom: 15%;
    margin-top: 30%;
  }
  
  .footer-block {
    width: 100%; /* Volle Breite für eine vertikale Anordnung */
    height: 100px;
    box-sizing: border-box;
    margin-bottom: 3%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
    padding-left: 0;
  }
}

@keyframes ticker-left {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
