* {
  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%;
  position: relative;
}

.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: #fffdf6;
  text-decoration: none;
  font-weight: 200;
  font-size: 1rem;
  cursor: pointer;
}

.quick-links-wrapper a:hover {
  color: #cca152;
  text-decoration: underline;
}

.hero-img-wrapper {
  width: 100%;
  height: 80vh;
  top: 0;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.schleicher-img {
  object-position: top;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 70%;
}

h1 {
  color: #fffdf6;
  font-family: "PPEditorialNew", sans-serif;
  font-size: 3rem;
  line-height: 4rem;
  font-weight: 400;
}

.hero-text p {
  color: #fffdf6;
  font-weight: 200;
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-btn button {
  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);
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 3px;
}

.hero-link a {
  color: #fffdf6;
  font-weight: 100;
  font-size: 1.1rem;
  text-decoration: none;
}

.about-section {
  margin: 4rem 6rem;
}

.about-section p {
  color: #4d4d4d;
  font-weight: 100;
  font-size: 1.2rem;
}

.about-section ul {
  padding-left: 1rem;
}

.about-section ul li {
  color: #4d4d4d;
  font-weight: 100;
  font-size: 1.2rem;
  list-style: url(/assets/icons/list-bulletpoint.svg);
  padding-left: 7px;
  margin-bottom: 1rem;
}

.about-section ol li {
  color: #4d4d4d;
  font-weight: 100;
  font-size: 1.2rem;
  padding-left: 7px;
  margin-bottom: 1rem;
}

.about-section h2 {
  color: #cca152;
  font-size: 1.8rem;
  font-weight: 100;
  width: 60%;
}

.about-section h3 {
  color: #cca152;
  font-size: 1.5rem;
  font-weight: 100;
  width: 60%;
}

.about-section a {
  color: #cca152;
  font-size: 1.2rem;
  font-weight: 100;
  text-decoration: none;
}

.about-section a {
  color: #cca152;
  font-weight: 200;
  position: relative;
  text-decoration: none;
}

.date-article {
  font-size: 1rem !important;
  margin-top: 2rem;
}

.about-section a:before {
  background-color: #cca152;
  bottom: 0;
  content: "";
  height: 1.5px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease;
  width: 0;
}

.about-section a:hover:before {
  width: 100%;
}

.info-img {
  margin-bottom: 4rem;
}

.info-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.quote-wrapper {
  position: relative;
  background-color: #fef3e2;
  padding: 2rem;
}

.quote-icon {
  position: absolute;
  right: 2rem;
}

.quote-icon img {
  width: 80px;
  height: auto;
}

.quote {
  color: #4d4d4d !important;
  font-weight: 300 !important;
  font-size: 2rem !important;
  margin-top: 4.5rem !important;
  width: 100% !important;
}

sup {
  font-size: 0.7rem;
}

.src-dc {
  font-size: 0.9rem !important;
}

.quote-credits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-credits p {
  font-size: 1rem;
  font-weight: 200;
}

.credits-line {
  width: 18px;
  height: 1px;
  background-color: #4d4d4d;
}

.news-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
}

.news-item {
  position: relative;
  width: 100%;
  height: 470px;
}

.news-img {
  width: 100%;
  height: 100%;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
}

.news-title {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
}

.news-title h3 {
  color: #fffdf6;
  font-weight: 300;
  font-size: 1.3rem;
  margin: 0;
  display: inline;
}

.eisenmangel-img {
  object-position: 100% 50%;
}

.book-layout {
  display: flex;
  gap: 1.2rem;
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .hero-text {
    width: 90%;
  }
}

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;
  }

  .about-section {
    margin: 4rem 1rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
    width: 100%;
  }

  .about-section h3 {
    width: 100%;
    margin-top: 4rem;
  }

  .news-wrapper {
    grid-template-columns: 1fr;
  }

  .news-item {
    height: 400px;
  }

  .book-layout {
    flex-direction: column;
  }

  .book-layout img {
    width: 100%;
    object-fit: cover;
  }

  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;
  }

  .about-section {
    margin: 4rem 1rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
    width: 100%;
  }

  .about-section h3 {
    width: 100%;
    margin-top: 4rem;
  }

  .news-wrapper {
    grid-template-columns: 1fr;
  }

  .news-item {
    height: 400px;
  }

  .book-layout {
    flex-direction: column;
  }

  .book-layout img {
    width: 100%;
    object-fit: cover;
  }

  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%;
  }

  .about-section {
    margin: 6rem 2rem;
  }

  footer {
    padding: 4rem 2rem 0.8rem 2rem;
  }
}
