* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

/* Zentrale Inhaltsbreite wie im Screenshot */
.page {
  width: min(1500px, 100%);
  margin: 0 auto;
}

/* Kopfbereich mit großem Titelbild */
.hero {
  position: relative;
  height: 377px;
  overflow: hidden;
}

.language-switcher {
  position: absolute;
  top: 20px;
  right: 30px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 12px;

  z-index: 20;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.language-switcher a {
  text-decoration: none;
  font-size: 26px;
  font-weight: 600;
  color: #1f2a44;
  transition: 0.2s;
}

.language-switcher a.active {
  color: #92c77d;
}

.language-switcher a:hover {
  color: #92c77d;
}

.language-switcher span {
  color: #1f2a44;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero::before {
  background-image: url("assets/altex-header-nonwoven.jpg");
  animation: fade1 6s infinite;
}

.hero::after {
  background-image: url("assets/altex-header-recycling.jpg");
  animation: fade2 6s infinite;
}

@keyframes fade1 {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade2 {
  0%,
  45% {
    opacity: 0;
  }
  50%,
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.hero__text {
  position: absolute;
  left: 85px;
  bottom: 105px;
  color: #fff;
  z-index: 10;
}

.hero__text h1 {
  margin: 0 0 6px;
  font-size: 52px;
  letter-spacing: 1px;
  font-weight: 800;
}

.hero__text p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* Infobereich mit zwei Spalten */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 105px;
  padding: 85px 60px 62px;
}

.intro article {
  max-width: 570px;
}

article {
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto 30px auto;
  max-width: 320px;
  width: 100%;
  height: 120px;
  object-fit: contain;
}

h2 {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.claim {
  margin: 0 0 28px;
  font-size: 16px;
  text-transform: uppercase;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro p {
  margin: 0 0 24px;
  font-size: 16px;
}

/* Unterer Bereich mit zwei farbigen Kontaktkarten */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 5px;
}

.card {
  min-height: 480px;
  padding: 75px 60px;
  color: #fff;
}

.card a {
  color: inherit;
  text-decoration: none; /* no underline */
}

.card--blue {
  background: #1f4d9c;
}
.card--green {
  background: #92c77d;
}

.arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.card h3 {
  margin: 0 0 58px;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 400;
  text-transform: uppercase;
}

.card h3 strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
}

.card h3 small {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 800;
}

address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.45;
}

address a {
  color: inherit;
  text-decoration: none;
}

/* Fußbereich */
.footer {
  margin-top: 40px;
  padding: 30px 60px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer-logo-recycling {
  height: 75px;
}

.footer-logo-nonwoven {
  height: 55px;
}

@media (max-width: 900px) {
  .footer__content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__logos {
    flex-direction: column;
  }
}

/* Responsive Anpassung für Tablets und Smartphones */
@media (max-width: 900px) {
  .hero {
    height: 300px;
  }

  .hero__text {
    left: 32px;
    bottom: 55px;
  }

  .hero__text h1 {
    font-size: 40px;
  }

  .intro,
  .cards {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 55px;
    padding: 55px 28px;
  }

  .intro article {
    max-width: none;
  }

  .card {
    min-height: auto;
    padding: 50px 32px;
  }
}

.intro article {
  max-width: 520px;
  margin: 0 auto;
}

.intro article h2,
.intro article .claim {
  text-align: center;
}

.intro article p:not(.claim) {
  text-align: justify;
  text-justify: inter-word;
}
