/* Homepage redesign rules are scoped to body.home-page. */

body.home-page {
  --home-bg: #08080b;
  --home-bg-soft: #101014;
  --home-surface: rgba(20, 18, 18, 0.66);
  --home-surface-strong: rgba(27, 23, 21, 0.84);
  --home-line: rgba(226, 196, 165, 0.18);
  --home-line-soft: rgba(226, 196, 165, 0.09);
  --home-text: #f5f0e9;
  --home-muted: #c4b9ae;
  --home-faint: #8f847b;
  --home-copper: #ca8d52;
  --home-copper-light: #e0b17e;
  --home-copper-deep: #754524;
  --home-violet: #6b536e;
  --home-shadow: rgba(0, 0, 0, 0.52);

  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--home-text);
  background:
    radial-gradient(circle at 16% 5%, rgba(153, 84, 40, 0.22), transparent 29rem),
    radial-gradient(circle at 88% 19%, rgba(77, 54, 82, 0.2), transparent 31rem),
    linear-gradient(180deg, rgba(8, 8, 11, 0.88), rgba(8, 8, 11, 0.98)),
    url("bilder/hintergrund-eselhans.png") center top / cover fixed;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-page a {
  color: inherit;
}

.home-page img,
.home-page iframe {
  display: block;
  max-width: 100%;
}

.home-page button,
.home-page a {
  -webkit-tap-highlight-color: transparent;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid rgba(224, 177, 126, 0.92);
  outline-offset: 4px;
}

.home-page .skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 14px;
  border-radius: 6px;
  color: #17100b;
  background: var(--home-copper-light);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}

.home-page .skip-link:focus {
  transform: translateY(0);
}

.home-page .home-shell {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
}

/* Navigation: existing structure and behavior, lightly restyled. */
.home-page .topbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  margin: 20px 0 0;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: rgba(8, 8, 11, 0.78);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.home-page .brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: max-content;
  color: var(--home-text);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.home-page .brand-logo {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  object-fit: cover;
}

.home-page .nav-links {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.home-page .nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--home-muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.home-page .nav-links a::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 1px;
  background: var(--home-copper);
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-page .nav-links a:hover,
.home-page .nav-links a[aria-current="page"] {
  color: var(--home-text);
  background: rgba(202, 141, 82, 0.1);
}

.home-page .nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-page .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.home-page .menu-toggle-icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.home-page .menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.home-page
  .menu-toggle[aria-expanded="true"]
  .menu-toggle-icon
  span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.home-page
  .menu-toggle[aria-expanded="true"]
  .menu-toggle-icon
  span:nth-child(2) {
  opacity: 0;
}

.home-page
  .menu-toggle[aria-expanded="true"]
  .menu-toggle-icon
  span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero stage */
.home-page .home-hero {
  position: relative;
  min-height: min(700px, calc(100vh - 180px));
  padding: clamp(64px, 6.5vw, 96px) 0 60px;
  isolation: isolate;
}

.home-page .hero-glow {
  position: absolute;
  top: -7rem;
  right: 0;
  z-index: -1;
  width: min(68vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(169, 104, 53, 0.23), transparent 55%),
    radial-gradient(circle at 60% 42%, rgba(98, 69, 101, 0.19), transparent 48%);
  filter: blur(26px);
  opacity: 0.86;
}

.home-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-left: clamp(0px, 2vw, 28px);
}

.home-page .eyebrow,
.home-page .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-copper-light);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-page .eyebrow::before,
.home-page .section-kicker::before {
  width: 34px;
  height: 1px;
  background: var(--home-copper);
  content: "";
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
  margin-top: 0;
}

.home-page h1 {
  max-width: 8ch;
  margin-bottom: 28px;
  font-size: clamp(5rem, 9.4vw, 8.7rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.home-page .lead {
  max-width: 37rem;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.72;
}

.home-page .hero-actions,
.home-page .button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-page .button:hover {
  border-color: rgba(224, 177, 126, 0.55);
  background: rgba(224, 177, 126, 0.1);
  transform: translateY(-2px);
}

.home-page .button.primary {
  border-color: rgba(255, 255, 255, 0.15);
  color: #1c120a;
  background: linear-gradient(
    135deg,
    var(--home-copper-light),
    var(--home-copper)
  );
  box-shadow: 0 13px 32px rgba(117, 69, 36, 0.28);
}

.home-page .hero-art {
  position: relative;
  min-width: 0;
  margin: 0;
  transform: rotate(1.4deg);
}

.home-page .hero-art::before {
  position: absolute;
  inset: -9% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 112, 59, 0.25),
    rgba(72, 47, 74, 0.12) 46%,
    transparent 70%
  );
  content: "";
  filter: blur(30px);
}

.home-page .hero-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--home-bg) 0, transparent 18%),
    linear-gradient(180deg, transparent 58%, rgba(8, 8, 11, 0.76) 100%);
  content: "";
  pointer-events: none;
}

.home-page .hero-art img {
  width: 100%;
  min-height: 440px;
  max-height: 650px;
  border-radius: 2px 30px 2px 30px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.48);
}

.home-page .hero-art figcaption {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  color: rgba(245, 240, 233, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .scroll-cue {
  position: absolute;
  bottom: 16px;
  left: clamp(0px, 2vw, 28px);
  width: 56px;
  height: 20px;
}

.home-page .scroll-cue span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--home-copper),
    rgba(202, 141, 82, 0)
  );
}

/* Shared section flow */
.home-page .flow-section {
  position: relative;
  padding: clamp(92px, 11vw, 142px) 0;
}

.home-page .news-section {
  padding-top: clamp(68px, 7vw, 92px);
}

.home-page .flow-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--home-line),
    transparent
  );
  content: "";
}

.home-page .section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(42px, 6vw, 68px);
}

.home-page .section-intro.compact {
  margin-bottom: 32px;
}

.home-page .section-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(
    90deg,
    var(--home-copper),
    rgba(202, 141, 82, 0)
  );
}

.home-page h2 {
  max-width: 18ch;
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home-page h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.1;
}

.home-page .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(202, 141, 82, 0.55);
  border-radius: 0;
  background: transparent;
  color: var(--home-text);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.home-page .text-link:hover {
  border-color: var(--home-copper-light);
  color: var(--home-copper-light);
}

/* Editorial news: no outer section card. */
.home-page .news-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 18px 42px;
}

.home-page .news-story {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
  padding: 18px 0;
  border-top: 1px solid var(--home-line-soft);
}

.home-page .news-story.featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
  padding-top: 0;
  border-top: 0;
}

.home-page .news-story.featured + .news-story {
  padding-top: 0;
  border-top: 0;
}

.home-page .news-image {
  position: relative;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 3px 18px 3px 18px;
  background: var(--home-bg-soft);
}

.home-page .news-story.featured .news-image {
  aspect-ratio: 16 / 10;
}

.home-page .news-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  box-shadow: inset 0 -60px 90px rgba(0, 0, 0, 0.2);
  content: "";
  pointer-events: none;
}

.home-page .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.home-page .news-story:hover .news-image img {
  transform: scale(1.025);
}

.home-page .news-copy {
  min-width: 0;
}

.home-page .news-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--home-copper);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.home-page .news-copy p {
  margin-bottom: 15px;
  color: var(--home-muted);
}

.home-page .news-copy .news-date {
  margin: -2px 0 12px;
  color: var(--home-faint);
  font-size: 0.83rem;
  font-weight: 800;
}

.home-page .news-copy .text-link {
  margin-top: 4px;
}

.home-page .loading-state {
  grid-column: 1 / -1;
  color: var(--home-muted);
}

/* Video stage flowing out to viewport edges. */
.home-page .video-section {
  isolation: isolate;
}

.home-page .video-section::after {
  position: absolute;
  top: 4%;
  right: 0;
  bottom: 4%;
  left: 0;
  z-index: -2;
  background:
    radial-gradient(
      ellipse at 14% 48%,
      rgba(152, 87, 42, 0.24),
      rgba(74, 43, 28, 0.09) 40%,
      transparent 70%
    ),
    radial-gradient(
      ellipse at 82% 38%,
      rgba(81, 61, 88, 0.18),
      transparent 64%
    );
  content: "";
  filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse, #000 42%, transparent 100%);
}

.home-page .video-atmosphere {
  position: absolute;
  right: 0;
  bottom: 6%;
  z-index: -1;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(150, 93, 52, 0.11);
  filter: blur(80px);
}

.home-page .video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(46px, 7vw, 88px);
}

.home-page .video-copy p {
  max-width: 35rem;
  margin: 25px 0 0;
  color: var(--home-muted);
  font-size: 1.03rem;
}

.home-page .video-copy .button-row {
  align-items: flex-start;
  flex-direction: column;
}

.home-page .video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(226, 196, 165, 0.12);
  border-radius: 3px 20px 3px 20px;
  background: #000;
  box-shadow: 0 32px 82px rgba(0, 0, 0, 0.46);
}

.home-page .video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Quiet navigation links instead of dashboard tiles. */
.home-page .journey-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--home-line);
}

.home-page .journey-links > a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  min-width: 0;
  min-height: 190px;
  padding: 32px 28px 34px;
  border-right: 1px solid var(--home-line-soft);
  color: var(--home-text);
  text-decoration: none;
  transition: background 200ms ease;
}

.home-page .journey-links > a:last-child {
  border-right: 0;
}

.home-page .journey-links > a:hover {
  background: linear-gradient(
    180deg,
    rgba(202, 141, 82, 0.1),
    transparent
  );
}

.home-page .journey-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-page .journey-copy > span {
  margin-bottom: 8px;
  color: var(--home-faint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-page .journey-copy strong {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.home-page .journey-copy small {
  color: var(--home-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.home-page .journey-arrow {
  color: var(--home-copper-light);
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.home-page .journey-links > a:hover .journey-arrow {
  transform: translateX(5px);
}

.home-page footer {
  margin-top: 8px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--home-line-soft);
  color: var(--home-faint);
  font-size: 0.88rem;
  text-align: center;
}

.home-page footer a {
  color: var(--home-muted);
  text-decoration: none;
}

.home-page footer a:hover {
  color: var(--home-copper-light);
}

@media (max-width: 980px) {
  body.home-page {
    background-attachment: scroll;
  }

  .home-page .home-shell {
    width: min(92%, 1220px);
  }

  .home-page .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .brand,
  .home-page .nav-links {
    justify-content: center;
  }

  .home-page .home-hero {
    min-height: auto;
    padding-top: 80px;
  }

  .home-page .hero-grid,
  .home-page .video-layout {
    grid-template-columns: 1fr;
  }

  .home-page .hero-grid {
    gap: 58px;
  }

  .home-page .hero-copy {
    max-width: 45rem;
  }

  .home-page .hero-art {
    width: min(100%, 760px);
    margin-left: auto;
  }

  .home-page .hero-art img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .home-page .scroll-cue {
    display: none;
  }

  .home-page .news-editorial {
    grid-template-columns: 1fr;
  }

  .home-page .news-story.featured {
    grid-row: auto;
  }

  .home-page .news-story:not(.featured) {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .home-page .video-copy {
    max-width: 43rem;
  }

  .home-page .journey-links {
    grid-template-columns: 1fr;
  }

  .home-page .journey-links > a {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--home-line-soft);
  }
}

@media (min-width: 981px) and (max-width: 1500px) {
  .home-page h1 {
    font-size: clamp(4.8rem, 7.2vw, 6.25rem);
  }
}

@media (max-width: 700px) {
  .home-page .home-shell {
    width: min(94%, 1220px);
  }

  html.has-mobile-menu body.home-page .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  html.has-mobile-menu body.home-page .brand {
    justify-content: flex-start;
    min-width: 0;
  }

  html.has-mobile-menu body.home-page .menu-toggle {
    display: inline-flex;
  }

  html.has-mobile-menu body.home-page .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none !important;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: rgba(8, 8, 11, 0.97);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
  }

  html.has-mobile-menu body.home-page .nav-links.is-open {
    display: grid !important;
  }

  html.has-mobile-menu body.home-page .nav-links a {
    min-height: 44px;
  }

  .home-page .home-hero {
    padding: 66px 0 74px;
  }

  .home-page .hero-grid {
    gap: 46px;
  }

  .home-page .hero-copy {
    padding-left: 0;
  }

  .home-page h1 {
    margin-bottom: 22px;
    font-size: clamp(4rem, 19vw, 5.5rem);
  }

  .home-page .lead {
    font-size: 1rem;
  }

  .home-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .button {
    width: 100%;
  }

  .home-page .hero-art {
    transform: none;
  }

  .home-page .hero-art img {
    aspect-ratio: 4 / 3;
    border-radius: 2px 18px 2px 18px;
  }

  .home-page .hero-art figcaption {
    right: 14px;
    bottom: 12px;
    font-size: 0.6rem;
  }

  .home-page .flow-section {
    padding: 78px 0;
  }

  .home-page .news-section {
    padding-top: 56px;
  }

  .home-page .section-intro {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 36px;
  }

  .home-page h2 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .home-page .news-story,
  .home-page .news-story:not(.featured) {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .home-page .news-story.featured {
    padding-top: 0;
  }

  .home-page .news-story:not(.featured) .news-image {
    aspect-ratio: 16 / 10;
  }

  .home-page .video-layout {
    gap: 42px;
  }

  .home-page .video-copy .button-row {
    align-items: stretch;
  }

  .home-page .video-copy .text-link {
    width: fit-content;
  }

  .home-page .journey-links > a {
    grid-template-columns: 1fr;
    padding: 26px 4px;
  }

  .home-page .journey-arrow {
    display: none;
  }
}

@media (max-width: 360px) {
  .home-page .home-shell {
    width: min(95%, 1220px);
  }

  .home-page .brand {
    gap: 8px;
    font-size: 1rem;
  }

  .home-page .brand-logo {
    width: 36px;
    height: 36px;
  }

  .home-page h1 {
    font-size: 3.85rem;
  }

  .home-page .eyebrow,
  .home-page .section-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
