@font-face {
  font-family: "Impact-lokal";
  src: url("/fonts/impact.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
* {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  margin: 0;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  cursor: pointer;
  border-radius: 5px;
  color: #fff;
  background-color: #18bd5b;
  border: none;
  padding: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  font-size: 1rem;
}
button:hover {
  background-color: #16aa52;
}
@media screen and (max-width: 562px) {
  button {
    font-size: 1.25rem;
  }
}

.container {
  width: 80%;
  max-width: 630px;
  min-height: calc(100vh - 3rem);
  padding-top: 6rem;
  padding-bottom: 8rem;
  margin: 0 auto;
  word-wrap: break-word; /* Fuer aeltere Browser */
  overflow-wrap: break-word; /* Fuer moderne Browser */
}
.container a {
  color: darkblue;
  text-decoration: underline;
}
.container.index p {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2.5rem;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .container.index p {
    font-size: 1.5rem;
  }
}
.container.index strong, .container.index b {
  font-weight: 900;
}
.container.index h1 {
  line-height: 4rem;
}
.container.index h2 {
  font-weight: bold;
  font-size: 2.4rem;
  letter-spacing: 0.05rem;
  text-align: center;
  line-height: 3.5rem;
}
.container.index .catcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 5rem);
  padding-bottom: 4rem;
}
.container.index .headline {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}
.container.index .abschnitt-first {
  scroll-margin-top: 10rem;
}
@media screen and (max-width: 768px) {
  .container.index .abschnitt-first {
    margin-top: 25rem;
  }
}
.container.index .schluessel {
  margin: 3rem 0;
  font-size: 2rem;
}
.container.index .tracking {
  font-size: 1.8rem;
}
.container.content p {
  text-align: left;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 0;
  line-height: 2.5rem;
}
@media screen and (max-width: 768px) {
  .container.content p {
    font-size: 1.5rem;
  }
}
.container.content strong, .container.content b {
  font-weight: 900;
}
.container.content h1 {
  line-height: 4rem;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
}
.container.content h2 {
  line-height: 3rem;
  font-weight: 900;
  padding: 0.5rem 0;
}
.container.success {
  padding-bottom: 4rem;
}
.container.success p, .container.success ul {
  font-size: 1.1rem;
  line-height: 2rem;
}
.container.form-error p, .container.form-error ul {
  font-size: 1.1rem;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

ol, form {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 2.5rem;
}
@media screen and (max-width: 768px) {
  ol, form {
    font-size: 1.5rem;
  }
}

form {
  display: flex;
  flex-direction: column;
}

textarea {
  height: 8rem;
  font-family: sans-serif;
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding: 0.5rem;
  min-width: 242.133px;
  resize: none;
  white-space: pre-wrap;
}

label {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 768px) {
  label {
    font-size: 1.5rem;
  }
}

input {
  height: 2.5rem;
  width: 61.804697157%;
  min-width: 242.133px;
  font-size: 1.2rem;
  padding: 0.5rem;
}

.contactme button {
  margin-top: 2rem;
  width: 38.195302843%;
}

#header {
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  padding-left: 0.5rem;
  box-shadow: 0 -1rem 2rem gray;
}
#header .logo-container {
  margin: 0.5rem;
  width: 4rem;
  min-width: 43px;
}
#header .logo-container img {
  width: 100%;
}
@media screen and (max-width: 562px) {
  #header .logo-container {
    margin: 0.2rem;
  }
}
#header .wortmarke {
  font-size: 3rem;
  padding: 1rem;
  margin-right: 2rem;
  font-family: Impact, "Impact-lokal", Haettenschweiler, "Arial Narrow Bold", sans-serif;
  white-space: nowrap;
  font-size: clamp(2.3rem, 9vw, 3rem);
}
@media screen and (max-width: 562px) {
  #header .wortmarke {
    margin-right: 0.5rem;
    padding: 0.5rem;
  }
}
#header .menu-container {
  display: flex;
  display: none;
  flex-direction: row;
  justify-content: space-evenly;
  width: 630px;
  font-weight: bold;
  font-size: 1.4rem;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
#header .menu-container .menu-box1 {
  text-align: center;
  width: 100%;
}
#header .menu-container .menu-box {
  display: inline-block;
  position: relative;
  padding-bottom: 5px; /* Abstand zum fliessenden Unterstrich */
}
#header .menu-container .menu-box:hover {
  cursor: pointer;
}
#header .menu-container .menu-box::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -3px;
  /* Adjust this value to position the underline further away from the text */
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
#header .menu-container .menu-box:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#footer {
  width: 100%;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  box-shadow: 0 2.5rem 3rem gray;
}
#footer div {
  margin: 0 0.5rem;
}