* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #fbfbfb;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "PPEditorialNew";
  font-style: normal;
  font-weight: 500;
  src: url(/assets/fonts/PPEditorialNew/PPEditorialNew-Regular.woff2)
    format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/Roboto/Roboto-Regular.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url(/assets/fonts/Roboto/Roboto-Light.ttf) format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url(/assets/fonts/Roboto/Roboto-ExtraLight.ttf) format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 200;
  src: url(/assets/fonts/Roboto/Roboto-LightItalic.ttf) format("truetype");
  font-display: swap;
}

.sidebar {
  position: fixed;
  z-index: 1000;
  left: 0;
  width: clamp(300px, 15vw, 420px);
  border-right: 1px solid #4d4d4d;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  background-color: #fbfbfb;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.logo-wrapper img {
  width: 240px;
  height: auto;
}

.main-navigation {
  margin-top: 3rem;
}

.main-navigation ul {
  padding: 0;
}

.main-navigation ul li {
  list-style: none;
}

.main-link {
  color: #4d4d4d;
  font-weight: 200;
  font-size: 1.3rem;
  text-decoration: none;
  line-height: 2.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.current-page {
  text-decoration: 1px #cca152 underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.has-submenu {
  position: relative;
  overflow: hidden;
}

.submenu {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: max-height 0.3s ease;
}

.submenu {
  padding-left: 1rem !important;
}

.submenu a {
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: 200;
  color: #7a7a7a;
  text-decoration: none;
}

.sidebar-footer {
  position: absolute;
  bottom: 1rem;
  background-color: #fbfbfb;
}

.sidebar-footer {
  margin-top: auto;
  padding: 1rem 0;
  background-color: #fbfbfb;
}

.language-switch {
  position: relative;
  width: max-content;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 2px;
  border: 1px solid hsl(0 0% 82%);
  background-color: #fbfbfb;
  box-shadow: 0 1px 2px hsl(0 0% 0% / 0.05);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.12s ease;
}

.lang-trigger:hover {
  box-shadow: 0 4px 14px hsl(0 0% 0% / 0.1);
}

.lang-trigger:active {
  transform: translateY(1px);
}

.chev {
  transition: transform 0.18s ease;
}

.lang-list {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.4rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 180px;
  z-index: 50;
  border: 1px solid hsl(0 0% 82%);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 10px 30px hsl(0 0% 0% / 0.12);
  transform-origin: bottom left;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}

.text {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
}

.lang-label {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 1rem;
}

.lang-list li:hover,
.lang-list li:focus {
  background: hsl(210 16% 96%);
}

.lang-list li[aria-selected="true"] {
  background: hsl(210 16% 94%);
}

.language-switch[data-open="true"] .lang-list {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.language-switch[data-open="true"] .chev {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .lang-list,
  .chev,
  .lang-trigger {
    transition: none;
  }
}

.mobile-header {
  display: none;
  justify-content: space-between;
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  padding: 15px;
  transition: all 0.3s ease-in-out;
  background: linear-gradient(
    0deg,
    rgba(29, 29, 29, 0) 0%,
    rgba(29, 29, 29, 0.8) 100%
  );
}

.mobile-header nav {
  width: 100%;
}

.nav-menu {
  background: transparent;
  border: none;
}

.line {
  background-color: #fff;
  width: 25px;
  height: 1px;
  margin-bottom: 5px;
}

.line-small {
  background-color: #fff;
  width: 20px;
  height: 1px;
  margin-bottom: 5px;
  float: right;
}

.menu-mobile {
  display: none;
  background-color: #fbfbfb;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  display: flex;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.menu-mobile img {
  filter: invert(100%);
}

.menu-close {
  height: 20px;
  position: relative;
  width: 20px;
}

.menu-closing {
  position: absolute;
  right: 1.4rem;
  top: 1.8rem;
}

.menu-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 15%;
  left: 1.4rem;
}

.menu-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.5rem;
  font-weight: 100;
  text-decoration: none;
  padding: 0.7rem 0;
  color: #4d4d4d;
}

.menu-links img {
  width: 12px;
}

.menu-bottom {
  position: absolute;
  bottom: 2rem;
  left: 4%;
}

.vertical-bar {
  color: #4d4d4d;
}

.menu-bottom a {
  font-size: 1rem;
  font-weight: 200;
  text-decoration: none;
  color: #4d4d4d;
}

.menu-mobile-page {
  background-color: #fbfbfb;
  display: none;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10001;
}

.menu-mobile-page-closing {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.8rem 1.4rem;
  width: 100%;
  position: absolute;
  top: 0;
}

.page-body {
  margin-left: clamp(300px, 15vw, 420px);
  width: calc(100% - clamp(300px, 15vw, 420px));
  width: max(0px, calc(100% - clamp(300px, 15vw, 420px)));
  position: relative;
}

main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 8rem 6rem;
}

.quick-links-wrapper {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
}

.quick-links-wrapper a,
.quick-links-wrapper p {
  color: #4d4d4d;
  text-decoration: none;
  font-weight: 200;
  font-size: 1rem;
  cursor: pointer;
}

.quick-links-wrapper a:hover {
  color: #cca152;
  text-decoration: underline;
}

h1 {
  color: #cca152;
  font-size: 2.2rem;
  font-weight: 100;
  width: 60%;
  margin-top: 0;
}

main p {
  color: #4d4d4d;
  font-size: 1.2rem;
  font-weight: 100;
}

.form-wrapper {
  margin-top: 4rem;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 100;
  color: #4d4d4d;
}

.required {
  color: #2a4759;
  margin-left: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="datetime"],
textarea,
option,
select {
  margin-bottom: 2rem;
  width: 100%;
  padding: 16px;
  border: 1px solid #4d4d4d;
  border-radius: 4px;
  font-size: 1.3rem;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  color: #4d4d4d;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 1px solid #cca152;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.betreff {
  cursor: pointer;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-column {
  flex: 1;
  min-width: 200px;
}

.file-uploads {
  display: flex;
  margin-bottom: 2rem;
  gap: 2rem;
}

.file-upload-form {
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-label input {
  display: none;
}

.file-upload-label svg {
  height: 40px;
  width: auto;
  fill: #4d4d4d;
  margin-bottom: 12px;
}

.file-upload-label {
  cursor: pointer;
  background-color: #fbfbfb;
  padding: 15px 40px;
  border-radius: 40px;
  border: 1px dashed #4d4d4d;
  box-shadow: 0px 0px 200px -50px rgba(0, 0, 0, 0.5);
  color: #eee;
}

.file-upload-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.file-upload-design p {
  margin: 0;
  font-size: 1rem;
}

.browse-button {
  background-color: #666;
  padding: 5px 15px;
  border-radius: 10px;
  color: #eee;
  font-size: 1rem;
  transition: all 0.3s;
}

.browse-button:hover {
  background-color: #888;
  color: #fff;
}

.input-upload {
  display: none;
}

.checkbox-container {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-container input {
  cursor: pointer;
}

.checkbox-container label {
  font-size: 1rem;
  font-weight: 100;
  cursor: pointer;
}

.checkbox-container a {
  color: #cca152;
  font-weight: 100;
  text-decoration: none;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.checkbox-container a:before {
  background-color: #cca152;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease;
  width: 0;
}

.checkbox-container a:hover:before {
  width: 100%;
}

.checkbox-container a:hover {
  color: #cca152 !important;
}

.submit-button {
  margin-top: 2rem;
}

button[type="submit"] {
  background-color: #cca152;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  color: #fbfbfb;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

footer {
  background-color: #3c3d37;
  padding: 4rem 6rem 0.8rem 6rem;
}

.logo-footer {
  width: 180px;
  height: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
}

.footer-top p {
  color: #fffdf6;
  font-weight: 100;
  font-size: 1rem;
}

.footer-social-icons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-social-icons img {
  width: 40px;
  cursor: pointer;
}

.footer-line {
  margin-top: 2rem;
  width: 100%;
  height: 1px;
  background-color: #4d4d4d;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
}

.footer-layout h3 {
  font-weight: 300;
  color: #fffdf6;
  font-size: 1.4rem;
}

.contact-item-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-layout ul {
  padding: 0;
}

.footer-layout ul li {
  list-style: none;
}

.footer-layout a {
  color: #fffdf6;
  font-weight: 100;
  text-decoration: none;
  line-height: 1.6rem;
}

.location-item-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.location-item-footer img {
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #fffdf6;
  font-weight: 100;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.credits {
  color: #fffdf6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .quick-links-wrapper {
    display: none;
  }
  .mobile-header {
    display: flex !important;
  }
  .mobile-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .logo-mobile {
    width: 120px;
  }
  .page-body {
    width: 100%;
    margin-left: 0;
  }
  .hero-text {
    width: 95%;
  }
  .hero-img-wrapper {
    height: 85vh;
  }
  .hero-img-wrapper img {
    object-position: 60%;
  }
  h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    width: 100%;
  }
  main {
    padding: 8rem 1rem;
  }
  .file-uploads {
    gap: 1rem;
    flex-wrap: wrap;
  }
  footer {
    padding: 4rem 1rem 0.8rem 1rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-social-icons {
    justify-content: flex-start;
    gap: 0.8rem;
  }
  .footer-layout,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom {
    text-align: center;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .sidebar {
    display: none;
  }
  .quick-links-wrapper {
    display: none;
  }
  .mobile-header {
    display: flex !important;
  }
  .mobile-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .logo-mobile {
    width: 120px;
  }
  .page-body {
    width: 100%;
    margin-left: 0;
  }
  .hero-text {
    width: 95%;
  }
  .hero-img-wrapper {
    height: 85vh;
  }
  .hero-img-wrapper img {
    object-position: 60%;
  }
  h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    width: 100%;
  }
  main {
    padding: 8rem 1rem;
  }
  .file-uploads {
    gap: 1rem;
    flex-wrap: wrap;
  }
  footer {
    padding: 4rem 1rem 0.8rem 1rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-social-icons {
    justify-content: flex-start;
    gap: 0.8rem;
  }
  .footer-layout,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom {
    text-align: center;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .hero-text {
    width: 80%;
  }

  main {
    padding: 6rem 2rem;
  }
  footer {
    padding: 4rem 2rem 0.8rem 2rem;
  }
}
