:root {
  --black: #030406;
  --navy: #06101d;
  --gold: #c89b45;
  --gold2: #f1d58b;
  --text: #f5efe2;
  --soft: #bfc4ca;
  --muted: #7f8792;
  --line: rgba(200, 155, 69, 0.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--text);
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }

.page-panel {
  min-height: calc(100vh - 180px);
  scroll-margin-top: 190px;
}

.page-dots {
  position: fixed;
  right: clamp(12px, 2vw, 28px);
  top: 50%;
  z-index: 60;
  display: grid;
  gap: 12px;
  padding: 10px 8px;
  border: 1px solid rgba(241, 213, 139, 0.16);
  border-radius: 999px;
  background: rgba(2, 3, 5, 0.54);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

.page-dots a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  border: 1px solid rgba(241, 213, 139, 0.58);
  border-radius: 999px;
  background: rgba(241, 213, 139, 0.08);
  box-shadow: 0 0 12px rgba(200, 155, 69, 0.12);
  color: rgba(245, 239, 226, 0.72);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-dots a:hover,
.page-dots a:focus-visible {
  background: var(--gold2);
  color: #08090b;
  transform: scale(1.35);
  box-shadow: 0 0 20px rgba(241, 213, 139, 0.35);
  text-decoration: none;
}

.sub-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 5vw;
  background: rgba(2, 3, 5, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.back,
.sub-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  text-decoration: none;
}

.back {
  justify-self: start;
  min-height: 38px;
  min-width: 92px;
  padding: 0 16px;
  border: 1px solid rgba(200, 155, 69, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--gold2);
  box-shadow: 0 0 0 1px rgba(241, 213, 139, 0.04), 0 0 18px rgba(200, 155, 69, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.back::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold2);
  box-shadow: 0 0 12px rgba(241, 213, 139, 0.75);
}

.back:hover,
.sub-nav-link:hover { color: var(--gold2); text-decoration: none; }

.back:hover,
.back:focus-visible {
  background: rgba(200, 155, 69, 0.12);
  border-color: rgba(241, 213, 139, 0.72);
  box-shadow: 0 0 0 1px rgba(241, 213, 139, 0.14), 0 0 26px rgba(200, 155, 69, 0.18);
  transform: translateY(-1px);
}

.sub-nav-link { justify-self: end; }

.sub-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch,
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 155, 69, 0.42);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--gold2);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
}

.language-switcher {
  padding: 4px;
  gap: 4px;
}

.language-switch span {
  color: var(--muted);
}

.language-switch strong {
  font-weight: 400;
  color: var(--gold2);
}

.language-switch:hover {
  background: rgba(200, 155, 69, 0.1);
  text-decoration: none;
}

.language-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--gold2);
  background: rgba(200, 155, 69, 0.1);
  text-decoration: none;
}

.language-option.is-active {
  color: var(--gold2);
  background: rgba(200, 155, 69, 0.16);
}

.flag {
  width: 16px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.flag-de {
  background: linear-gradient(180deg, #111 0 33%, #c1121f 33% 66%, #f1c232 66% 100%);
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 42%, #c8102e 42% 58%, transparent 58%),
    linear-gradient(180deg, transparent 38%, #c8102e 38% 62%, transparent 62%),
    linear-gradient(90deg, transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(180deg, transparent 30%, #fff 30% 70%, transparent 70%),
    linear-gradient(135deg, transparent 43%, #fff 43% 50%, #c8102e 50% 56%, #fff 56% 63%, transparent 63%),
    linear-gradient(45deg, transparent 43%, #fff 43% 50%, #c8102e 50% 56%, #fff 56% 63%, transparent 63%),
    #012169;
}

.sub-logo {
  height: 88px;
  width: auto;
  justify-self: center;
}

.sub-logo-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--gold2);
  text-transform: uppercase;
  justify-self: center;
}

.sub-hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 12vw 7vw 8vw;
  background-size: cover;
  background-position: center;
  position: relative;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 4, 6, 0.94), rgba(3, 4, 6, 0.55));
}

.sub-hero-avx { background-image: url("images/hero-aviation.jpg"); }

/* Resonanz — Cover + Buchvorstellung */
.sub-hero-res--poster {
  --poster-fade: 1;
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.25rem clamp(1rem, 3vw, 2.5rem) 3rem;
  background: #0c0e12;
  overflow: hidden;
}

.sub-hero-res--poster::before {
  background:
    radial-gradient(
      ellipse 95% 80% at 48% 46%,
      rgba(232, 212, 160, 0.28) 0%,
      rgba(201, 169, 98, 0.12) 32%,
      rgba(12, 14, 18, 0.4) 58%,
      transparent 78%
    ),
    radial-gradient(ellipse 100% 85% at 50% 100%, #121c2a 0%, #0c0e12 58%);
  pointer-events: none;
  z-index: 0;
}

.sub-hero-res--poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 55% at 48% 44%,
    rgba(255, 236, 190, 0.1) 0%,
    transparent 68%
  );
  animation: res-gold-pulse 5s ease-in-out infinite;
}

.res-poster-rays {
  position: absolute;
  inset: -40%;
  left: 10%;
  z-index: 0;
  pointer-events: none;
  background: repeating-conic-gradient(
    from -8deg at 42% 46%,
    transparent 0deg 11deg,
    rgba(201, 169, 98, 0.055) 11deg 13deg
  );
  opacity: 0.5;
  animation: res-gold-pulse 5s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 55% 50% at 42% 46%, #000 15%, transparent 72%);
}

@keyframes res-gold-pulse {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.78; }
}

.res-poster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(200px, 0.95fr) minmax(260px, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  max-width: 1080px;
  flex: 1;
  min-height: 0;
  max-height: calc(100svh - 4.25rem - 3rem);
  opacity: var(--poster-fade);
  transform: translateY(calc((1 - var(--poster-fade)) * -0.75rem));
}

.res-poster-cover-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  height: 100%;
}

.res-poster-intro {
  text-align: left;
  align-self: center;
}

.res-poster-intro .section-kicker {
  margin-bottom: 12px;
}

.res-poster-intro h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: 0.08em;
  color: var(--gold2);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.res-poster-intro .book-lead {
  font-size: clamp(16px, 1.5vw, 20px) !important;
  line-height: 1.75 !important;
  color: #f0ebe0 !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}

.res-poster-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.res-poster-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  height: 108%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 50% 42%, rgba(201, 169, 98, 0.2), transparent 68%);
  opacity: 0.55;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.sub-hero-res--poster.is-resonating .res-poster-halo {
  opacity: 1;
}

.res-poster-cover {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  max-width: 100%;
  overflow: visible;
  padding: 0 clamp(10px, 2vw, 22px) clamp(10px, 2vw, 18px) clamp(18px, 4vw, 44px);
}

/* 3D-Buch: Cover frontal, Rücken links, Seitenblock rechts & unten */
.res-book-3d {
  --book-depth: clamp(44px, 7.5vw, 72px);
  --paper-light: #ffffff;
  --paper-mid: #f7f7f5;
  --paper-shadow: #ebebea;
  --paper-line: #e0e0de;
  perspective: 1500px;
  perspective-origin: 42% 46%;
  max-width: 100%;
  max-height: min(100%, calc(100svh - 4.25rem - 3rem - 7rem));
}

.res-book-3d__tilt {
  transform: rotateY(-11deg) rotateX(2.5deg);
  transform-style: preserve-3d;
  transition: transform 0.55s ease, filter 0.7s ease;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}

.res-book-3d__volume {
  position: relative;
  transform-style: preserve-3d;
  display: inline-block;
}

.res-book-3d__front {
  position: relative;
  z-index: 2;
  transform: translateZ(calc(var(--book-depth) / 2));
  backface-visibility: hidden;
}

.res-book-3d__front img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(100%, calc(100svh - 4.25rem - 3rem - 7rem));
  margin: 0 auto;
  object-fit: contain;
  border-radius: 1px;
  vertical-align: top;
}

.res-book-3d__spine,
.res-book-3d__foreedge,
.res-book-3d__bottom {
  position: absolute;
  pointer-events: none;
  backface-visibility: visible;
}

.res-book-3d__spine {
  left: 0;
  top: 0;
  width: var(--book-depth);
  height: 100%;
  transform-origin: right center;
  transform: rotateY(-90deg);
  background: linear-gradient(
    90deg,
    #0a1218 0%,
    #142530 35%,
    #1a3040 65%,
    #243848 88%,
    #5a6870 100%
  );
  box-shadow:
    inset -3px 0 10px rgba(0, 0, 0, 0.45),
    2px 0 8px rgba(255, 255, 255, 0.35);
}

/* Seitenblock (~350 Seiten) — helles Papiergrau, sichtbar von der Seite */
.res-book-3d__foreedge {
  left: 100%;
  top: 0;
  width: var(--book-depth);
  height: 100%;
  transform-origin: left center;
  transform: rotateY(90deg);
  background-color: var(--paper-mid);
  background-image:
    repeating-linear-gradient(
      180deg,
      var(--paper-line) 0 0.55px,
      var(--paper-light) 0.55px 2.6px,
      var(--paper-shadow) 2.6px 3.1px,
      var(--paper-light) 3.1px 5.2px
    ),
    linear-gradient(
      90deg,
      #f0f0ee 0%,
      #ffffff 15%,
      #ffffff 55%,
      #fafafa 85%,
      #efefed 100%
    );
  box-shadow:
    inset 5px 0 16px rgba(255, 255, 255, 0.9),
    inset -1px 0 4px rgba(200, 200, 198, 0.15),
    2px 0 6px rgba(0, 0, 0, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
}

.res-book-3d__foreedge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.15) 75%,
    rgba(245, 245, 243, 0.1) 100%
  );
  pointer-events: none;
}

/* Unterkante — Papierstapel von unten */
.res-book-3d__bottom {
  left: 0;
  top: 100%;
  width: 100%;
  height: var(--book-depth);
  transform-origin: top center;
  transform: rotateX(90deg);
  background-color: var(--paper-mid);
  background-image:
    repeating-linear-gradient(
      90deg,
      var(--paper-line) 0 0.55px,
      var(--paper-light) 0.55px 2.4px,
      var(--paper-shadow) 2.4px 2.9px,
      #f0ece4 2.9px 4.8px
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafafa 50%,
      #f2f2f0 100%
    );
  box-shadow:
    inset 0 4px 12px rgba(255, 255, 255, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.sub-hero-res--poster.is-resonating .res-book-3d__tilt {
  transform: rotateY(-10deg) rotateX(2deg) scale(1.008);
  filter:
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 32px rgba(201, 169, 98, 0.12));
}

.res-poster-foot {
  flex-shrink: 0;
  margin-top: 0.75rem;
  text-align: center;
  width: 100%;
}

.res-poster-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.65);
  margin-bottom: 0.75rem;
}

.res-sound-unlock {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
  background: transparent;
  border: 1px solid rgba(184, 150, 62, 0.45);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.res-sound-unlock:hover {
  border-color: rgba(232, 212, 160, 0.75);
  background: rgba(201, 169, 98, 0.06);
}

.res-sound-unlock.is-hidden {
  display: none;
}

.res-sound-hint {
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(217, 221, 225, 0.4);
  line-height: 1.5;
}

.res-sound-hint.is-hidden {
  display: none;
}

.res-poster-more {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.45);
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.res-poster-more:hover {
  color: var(--gold2);
  border-color: rgba(201, 169, 98, 0.55);
}

.subpage-res .book-presentation {
  position: relative;
  z-index: 2;
  box-shadow: 0 -32px 48px rgba(4, 5, 6, 0.9);
}

@media (max-width: 900px) {
  .res-poster {
    grid-template-columns: 1fr;
    max-height: none;
    gap: 1.75rem;
  }

  .res-poster-intro {
    text-align: center;
    order: 2;
  }

  .res-poster-cover-col {
    order: 1;
  }

  .res-poster-intro h2 {
    font-size: clamp(24px, 6vw, 34px);
  }
}

@media (max-width: 780px) {
  .sub-hero-res--poster {
    padding: 4rem 0.75rem 2.5rem;
    min-height: auto;
  }

  .res-poster {
    max-height: none;
  }

  .res-book-3d,
  .res-book-3d__front img {
    max-height: min(62svh, 520px);
  }

  .res-book-3d {
    --book-depth: clamp(28px, 6vw, 48px);
  }

  .res-book-3d__tilt {
    transform: rotateY(-9deg) rotateX(2deg);
  }

  .res-poster-more {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub-hero-res--poster::after,
  .res-poster-rays {
    animation: none;
    opacity: 0.45;
  }

  .sub-hero-res--poster.is-resonating .res-book-3d__tilt {
    transform: rotateY(-11deg) rotateX(2.5deg);
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  }

  .res-book-3d {
    perspective: none;
  }

  .res-book-3d__tilt {
    transform: none;
  }

  .res-book-3d__spine,
  .res-book-3d__foreedge,
  .res-book-3d__foreedge::after,
  .res-book-3d__bottom {
    display: none;
  }

  .res-book-3d__front {
    transform: none;
  }
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.eyebrow {
  color: var(--gold2);
  letter-spacing: 0.24em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sub-hero h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.12em;
  color: var(--gold2);
  margin-bottom: 14px;
}

.subline {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  margin-bottom: 28px;
}

.copy {
  color: #d9dde1;
  font-size: 16px;
  line-height: 1.8;
  max-width: 480px;
}

.sub-block {
  padding: 70px 7vw;
  max-width: 720px;
  background: linear-gradient(180deg, #020305, #06101d);
}

.sub-block h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.1em;
  color: var(--gold2);
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
  color: #d9d9d9;
  font-size: 15px;
}

.feature-list li::before {
  content: "✦ ";
  color: var(--gold2);
}

.btn {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold2);
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
}

.btn:hover {
  background: rgba(200, 155, 69, 0.1);
  text-decoration: none;
}

.sub-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
  transition: filter 0.3s ease;
}

.sub-gallery img:hover { filter: brightness(1); }

.sub-quote {
  padding: 64px 7vw;
  text-align: center;
  background: #020305;
}

.sub-quote blockquote {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  max-width: 640px;
  margin: 0 auto 16px;
}

.signature {
  color: var(--gold2);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sub-footer {
  padding: 40px 7vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.sub-footer img {
  height: 48px;
  margin-bottom: 12px;
}

/* Cockpit HUD */
.sub-hero-avx { overflow: hidden; }

.cockpit-hud {
  position: absolute;
  top: clamp(112px, 12vw, 150px);
  right: clamp(22px, 7vw, 96px);
  width: min(42vw, 520px);
  height: min(38vw, 390px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.74;
  transform: perspective(900px) rotateX(3deg) rotateY(-7deg);
  filter: drop-shadow(0 0 30px rgba(200, 155, 69, 0.2));
}

.cockpit-hud::before {
  content: "";
  position: absolute;
  inset: 4% 2% 10% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(241, 213, 139, 0.13), transparent 22%),
    radial-gradient(circle, transparent 48%, rgba(200, 155, 69, 0.2) 49%, transparent 51%),
    radial-gradient(circle, transparent 66%, rgba(200, 155, 69, 0.1) 67%, transparent 70%);
  opacity: 0.72;
  animation: command-core-breathe 5.8s ease-in-out infinite;
}

.cockpit-hud::after {
  content: "";
  position: absolute;
  inset: 2% 0 14% 10%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(241, 213, 139, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(241, 213, 139, 0.12) 50%, transparent 51%);
  opacity: 0.32;
  mask-image: radial-gradient(circle at 55% 45%, #000 0 48%, transparent 70%);
}

@keyframes command-core-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.985); }
  50% { opacity: 0.95; transform: scale(1.02); }
}

.cockpit-hud svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: visible;
}

.hud-label {
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  fill: rgba(241, 213, 139, 0.72);
  letter-spacing: 0.12em;
  filter: drop-shadow(0 0 7px rgba(200, 155, 69, 0.28));
}

.hud-brand-avi { fill: #c8d4e0; }
.hud-brand-core { fill: #e8c06a; }
.hud-brand-x {
  fill: #e8222a;
  font-style: normal;
  font-weight: bold;
}

.hud-quiet {
  fill: rgba(191, 196, 202, 0.52);
}

.core-ring,
.core-sweep,
.core-axis,
.core-horizon,
.core-aircraft {
  fill: none;
  stroke-linecap: round;
}

.core-ring-outer { stroke: rgba(241, 213, 139, 0.24); stroke-width: 1.3; }
.core-ring-mid { stroke: rgba(200, 155, 69, 0.36); stroke-width: 1.6; }
.core-ring-inner { stroke: rgba(241, 213, 139, 0.46); stroke-width: 1.8; }
.core-sweep { stroke: rgba(241, 213, 139, 0.8); stroke-width: 2.4; filter: drop-shadow(0 0 14px rgba(241, 213, 139, 0.32)); }
.core-sweep-secondary { stroke: rgba(200, 155, 69, 0.44); stroke-width: 1.5; }
.core-axis { stroke: rgba(241, 213, 139, 0.16); stroke-width: 1; }
.core-scan-bar {
  stroke: rgba(241, 213, 139, 0.28);
  stroke-width: 1.4;
  opacity: 0.7;
  filter: drop-shadow(0 0 14px rgba(241, 213, 139, 0.22));
}
.core-horizon { stroke: rgba(241, 213, 139, 0.7); stroke-width: 2; }
.core-aircraft { stroke: rgba(245, 239, 226, 0.88); stroke-width: 2.8; }
.core-dot { fill: #e8222a; filter: drop-shadow(0 0 10px rgba(232, 34, 42, 0.65)); }
.core-aircraft,
.core-dot {
  display: none;
}
.core-brand,
.core-caption {
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.16em;
}
.core-brand {
  fill: #c8d4e0;
  font-size: 17px;
  font-weight: bold;
}
.core-caption {
  fill: rgba(241, 213, 139, 0.48);
  font-size: 9px;
}

@media (max-width: 900px) {
  .cockpit-hud {
    top: 156px;
    right: -210px;
    width: 360px;
    height: 290px;
    opacity: 0.46;
  }
  .cockpit-hud svg {
    transform: scale(0.92);
    transform-origin: center;
  }
  .core-readouts { opacity: 0; }
}

/* AviCoreX content */
.content-section {
  padding: 74px 7vw;
  background: linear-gradient(180deg, #020305, #06101d 52%, #020305);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.subpage-avx .content-section.page-panel,
.subpage-avx .status-panel.page-panel,
.subpage-avx .final-panel.page-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subpage-avx .content-section.page-panel::before,
.subpage-avx .status-panel.page-panel::before,
.subpage-avx .final-panel.page-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--panel-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.03);
}

.subpage-avx .content-section.page-panel::after,
.subpage-avx .status-panel.page-panel::after,
.subpage-avx .final-panel.page-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 34%, rgba(200, 155, 69, 0.13), transparent 34%),
    linear-gradient(90deg, rgba(2, 3, 5, 0.96) 0%, rgba(2, 3, 5, 0.86) 48%, rgba(2, 3, 5, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 3, 5, 0.96), rgba(6, 16, 29, 0.86));
}

.avx-bg-city { --panel-bg: url("images/avx-bg-city-night.png"); }
.avx-bg-jet-reflection { --panel-bg: url("images/avx-bg-jet-reflection.png"); }
.avx-bg-fuselage { --panel-bg: url("images/avx-bg-fuselage-sunset.png"); }
.avx-bg-chart { --panel-bg: url("images/avx-bg-approach-chart.png"); }

.subpage-avx .content-section.page-panel,
.subpage-avx .status-panel.page-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.subpage-avx .content-section.page-panel {
  padding: clamp(76px, 11vh, 118px) max(7vw, 84px) clamp(70px, 10vh, 110px) 7vw;
}

.subpage-avx .status-panel.page-panel {
  justify-content: center;
  padding-right: max(7vw, 84px);
}

.subpage-avx .sub-hero.page-panel {
  min-height: calc(100vh - 126px);
}

.content-section .section-kicker,
.book-presentation .section-kicker {
  color: var(--gold2);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.content-section h2,
.book-presentation h2,
.disclaimer-block h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0.08em;
  color: var(--gold2);
  margin-bottom: 24px;
}

.content-section p,
.book-presentation p,
.disclaimer-block p {
  color: #d9dde1;
  font-size: 16px;
  line-height: 1.85;
  max-width: 880px;
  margin-bottom: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.content-grid article,
.content-highlight,
.disclaimer-block {
  border: 1px solid rgba(200, 155, 69, 0.24);
  background: rgba(255, 255, 255, 0.035);
  padding: 30px;
}

.content-grid h3,
.content-highlight h3,
.book-comparison h3 {
  color: var(--gold2);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.content-grid ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d9dde1;
  font-size: 15px;
  line-height: 1.55;
}

.content-grid li::before {
  content: "✦ ";
  color: var(--gold2);
}

.content-highlight {
  margin-top: 26px;
  max-width: 980px;
}

.disclaimer-block {
  margin: 0;
  padding: 56px 7vw;
  background: #020305;
}

.disclaimer-block h2 {
  font-size: clamp(22px, 2.4vw, 34px);
}

.disclaimer-block p {
  max-width: 980px;
  color: #bfc4ca;
  font-size: 14px;
}

.final-panel {
  padding: clamp(42px, 7vh, 72px) max(7vw, 84px) 0 7vw;
  background: #020305;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.final-panel .disclaimer-block {
  max-width: 1080px;
  margin: 0 auto 34px;
  padding: 34px;
}

.final-panel .sub-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.final-panel .sub-gallery img {
  height: clamp(92px, 12vh, 130px);
}

.final-panel .sub-quote {
  padding: 34px 7vw 28px;
}

.final-panel .sub-quote blockquote {
  font-size: clamp(20px, 2.2vw, 30px);
}

.final-panel .sub-footer {
  margin: 0 -7vw;
  padding-top: 28px;
  padding-bottom: 30px;
}

/* Resonanz book presentation */
.book-presentation {
  padding: 76px 7vw;
  background:
    radial-gradient(circle at 75% 20%, rgba(200, 155, 69, 0.1), transparent 34%),
    radial-gradient(circle at 20% 70%, rgba(55, 95, 140, 0.12), transparent 38%),
    linear-gradient(180deg, #020305, #06101d 48%, #020305);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.book-lead {
  font-size: clamp(18px, 2vw, 24px) !important;
  color: #f5efe2 !important;
  max-width: 920px !important;
}

.book-grid article {
  min-height: 100%;
}

.book-grid ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #d9dde1;
  font-size: 15px;
  line-height: 1.55;
}

.book-grid li::before {
  content: "∿ ";
  color: var(--gold2);
}

.resonance-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 34px 0 6px;
  opacity: 0.8;
}

.resonance-line span {
  display: block;
  height: 1px;
  width: clamp(34px, 7vw, 98px);
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  animation: resonance-breathe 3.8s ease-in-out infinite;
}

.resonance-line span:nth-child(2) { animation-delay: 0.25s; }
.resonance-line span:nth-child(3) { animation-delay: 0.5s; }
.resonance-line span:nth-child(4) { animation-delay: 0.75s; }
.resonance-line span:nth-child(5) { animation-delay: 1s; }

@keyframes resonance-breathe {
  0%, 100% { transform: scaleX(0.55); opacity: 0.25; }
  50% { transform: scaleX(1); opacity: 0.9; }
}

.release-card {
  margin-top: 26px;
  border: 1px solid rgba(200, 155, 69, 0.24);
  background: rgba(255, 255, 255, 0.035);
  padding: 30px;
}

.book-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}

.book-comparison > div {
  border: 1px solid rgba(200, 155, 69, 0.24);
  background: rgba(255, 255, 255, 0.035);
  padding: 30px;
}

.release-card {
  max-width: 520px;
  display: grid;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(200, 155, 69, 0.12), rgba(255, 255, 255, 0.025));
}

.release-card span,
.release-card em {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.release-card strong {
  font-family: "Times New Roman", Times, serif;
  color: var(--gold2);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* Status chips – kaufmännisch */
.status-panel {
  padding: 56px 7vw 70px;
  background: #020305;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-panel h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: 0.1em;
  color: var(--gold2);
  margin-bottom: 12px;
}

.status-panel .status-intro {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

.status-chip {
  border: 1px solid var(--line);
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.03);
}

.status-chip .status-num {
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 32px;
  color: var(--gold2);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.status-chip .status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 20px;
}

.status-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Leseprobe */
.teaser-block {
  padding: 72px 7vw 82px;
  max-width: 1120px;
  background:
    radial-gradient(circle at 72% 18%, rgba(200, 155, 69, 0.08), transparent 34%),
    linear-gradient(180deg, #06101d, #020305);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.teaser-block h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0.12em;
  color: var(--gold2);
  margin-bottom: 10px;
}

.teaser-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.teaser-details {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.teaser-details summary {
  cursor: pointer;
  padding: 22px 30px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
  list-style: none;
}

.teaser-details summary::-webkit-details-marker { display: none; }

.teaser-details summary::after {
  content: " +";
  float: right;
  opacity: 0.7;
}

.teaser-details[open] summary::after { content: " −"; }

.teaser-body {
  padding: 8px 30px 38px;
  max-height: 74vh;
  overflow-y: auto;
  color: #d4d8dc;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  max-width: 920px;
}

.teaser-body h3,
.teaser-body h4 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  color: var(--gold2);
}

.teaser-body h3 {
  margin: 4px 0 18px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.08em;
}

.teaser-body h4 {
  margin: 26px 0 16px;
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: 0.06em;
}

.teaser-body p { margin-bottom: 1.1em; }

.teaser-body p:last-child { margin-bottom: 0; }

.teaser-wordcount {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

/* Quote rotation */
.sub-quote blockquote {
  transition: opacity 0.42s ease;
}

.sub-quote.quote-fade blockquote {
  opacity: 0;
}

@media (max-width: 760px) {
  body.subpage-avx,
  html:has(body.subpage-avx) {
    scroll-padding-top: 0;
  }
  .page-panel {
    min-height: auto;
    scroll-margin-top: 0;
  }
  .page-dots { display: none; }
  .sub-actions { gap: 12px; }
  .content-grid { grid-template-columns: 1fr; }
  .book-comparison { grid-template-columns: 1fr; }
  .content-grid article,
  .content-highlight,
  .disclaimer-block { padding: 26px 22px; }
  .sub-gallery { grid-template-columns: repeat(2, 1fr); }
  .sub-gallery img { height: 120px; }
  .teaser-body { max-height: 55vh; }
}
