/* Footer — exact visual language of homepage Partners + 2 % block */
.footer-partners {
  padding: 38px 0;
  background: #0b0e08;
  border-top: 1px solid #242920;
}
.footer-partners .partners-row {
  display: flex;
  align-items: center;
  gap: 45px;
}
.footer-partners .eyebrow {
  display: block;
  color: #9ba99f;
  font:
    11px Arial,
    sans-serif;
  letter-spacing: 0.2em;
  margin-bottom: 0;
  text-transform: uppercase;
}
.footer-partners .partner-name {
  font:
    20px Georgia,
    serif;
  letter-spacing: 0.08em;
  color: #c6cbc7;
}
.footer-partners .support {
  margin-left: auto;
  border-left: 1px solid #333930;
  padding-left: 40px;
  color: #aeb7b2;
}
.footer-partners .support span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-partners .support strong {
  font:
    40px Georgia,
    serif;
  color: #efede5;
}
.footer-partners .support a {
  margin-left: 10px;
  color: #aeb8b2;
  text-decoration: none;
  font-size: 11px;
}
.footer-partners .support a:hover {
  color: #fff;
}

.home-footer {
  border-top: 1px solid #2a3026;
  padding: 24px 0;
  background: #0a0d07;
  color: #87918b;
  font-size: 11px;
}
.home-footer .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.home-footer .footer-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.home-footer .footer-menu a {
  color: #87918b;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}
.home-footer .footer-menu a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-partners .partners-row {
    flex-wrap: wrap;
  }
  .footer-partners .support {
    margin-left: 0;
  }
  .home-footer .footer-row {
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .footer-partners .partners-row {
    display: block;
  }
  .footer-partners .partner-name {
    margin: 12px 0;
  }
  .footer-partners .support {
    border: 0;
    padding: 15px 0 0;
  }
  .home-footer .footer-row {
    display: block;
  }
  .home-footer .footer-menu {
    justify-content: flex-start;
    margin-top: 14px;
    gap: 9px 15px;
  }
}

/* Footer partner logos */
.footer-partners .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  opacity: 0.84;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.footer-partners .partner-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.footer-partners .partner-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.footer-partners .partner-logo-zkvhs img {
  height: 42px;
}
.footer-partners .partner-logo-kopf img {
  height: 55.2px;
  max-width: 264px;
  filter: grayscale(1) brightness(0) invert(1);
}
@media (max-width: 560px) {
  .footer-partners .partner-logo {
    justify-content: flex-start;
    width: max-content;
    margin: 14px 0;
  }
  .footer-partners .partner-logo-zkvhs img {
    height: 36px;
  }
  .footer-partners .partner-logo-kopf img {
    height: 48px;
  }
}

/* Shared public navigation and content rhythm. Page-specific grids remain intact. */
:root {
  --content-width: 1180px;
  --content-gap: 48px;
  --page-space: 54px;
}
.home-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: transparent;
}
.home-nav {
  position: relative;
}
.home-brand {
  white-space: nowrap;
  font-size: 25px;
}
.home-menu a {
  padding: 9px 0;
  border-bottom: 1px solid transparent;
}
.home-menu a:hover,
.home-menu a[aria-current="page"] {
  color: #fff;
  border-bottom-color: #aeb8a4;
}
.mobile-toggle {
  border: 1px solid #ffffff40;
  padding: 10px 12px;
  background: #0b100788;
  color: #e9e7df;
  font:
    11px Arial,
    sans-serif;
  letter-spacing: 0.14em;
  cursor: pointer;
}
.fg-home :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid #bec8ad;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 200;
  padding: 10px 16px;
  background: #141710;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.fg-inner
  :is(
    .contact-page,
    .fg-events-page,
    .articles-page,
    .modern-article-detail,
    .gallery-modern
  ) {
  padding: var(--page-space) 0 70px;
}
.fg-inner
  :is(.contact-page, .fg-events-page, .articles-page, .modern-article-detail)
  > .home-wrap {
  padding-top: 0;
}
.about-container {
  width: min(var(--content-width), calc(100% - var(--content-gap)));
}
.about-intro {
  padding-top: var(--page-space);
}
.fg-inner .modern-article-detail .article-detail {
  padding-top: 0;
  padding-bottom: 0;
}
.fg-inner .modern-article-detail .article-back {
  margin-bottom: 24px;
}
.equipment-page .section-head,
.members-page .section-head {
  display: block;
}
.fg-inner .section-head h2 {
  margin: 8px 0 14px;
  font:
    400 30px/1.2 Georgia,
    serif;
}
.fg-inner .section-head p {
  margin: 0;
  max-width: 760px;
  color: #aeb4ae;
}
.btn,
.fg-cta-button,
.two-percent-button,
.fg-event-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 3px;
  font:
    700 10px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn:hover,
.fg-cta-button:hover,
.two-percent-button:hover,
.fg-event-actions a:hover {
  background-color: #414a3d;
  border-color: #a6b09d;
}
.video-grid,
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 22px;
}
.video-item,
.link-item {
  min-width: 0;
}
.video-item h2,
.link-item h4 {
  margin: 0 0 14px;
  font:
    400 21px/1.3 Georgia,
    serif;
}
.link-item {
  padding: 22px;
  background: #141710;
  border: 1px solid #343b30;
}
.link-item img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}
.video-page .video-card {
  height: auto;
  background: none;
}
.video-page .video-card::after {
  display: none;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #222;
}
.video-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #222;
  color: white;
  cursor: pointer;
}
.video-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-preview img[hidden] {
  display: none;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 3px;
  padding: 10px 18px;
  background: #000c;
  font-size: 26px;
}
.video-preview:hover .video-play {
  background: #59604f;
}
.video-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 7px;
  background: #000b;
  font-size: 12px;
}
.video-frame iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-youtube {
  display: inline-block;
  margin-top: 9px;
  font-size: 12px;
  color: #aeb4ae;
}
.archive-list img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 12px;
}
.archive-list strong {
  font:
    400 19px/1.3 Georgia,
    serif;
}
.g-back {
  display: inline-block;
  margin-bottom: 24px;
}
.equipment-list {
  display: grid;
  gap: 20px;
}
.equipment-entry {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #343b30;
}
.equipment-entry img {
  display: block;
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}
.equipment-entry h2 {
  font:
    400 26px/1.2 Georgia,
    serif;
  margin: 8px 0 15px;
}
.equipment-entry p {
  color: #aeb4ae;
  margin: 0;
}
.equipment-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.equipment-detail-images > a > img {
  display: block;
  width: 100%;
  height: auto;
}
.equipment-miniatures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.equipment-miniatures img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.equipment-detail-copy {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.equipment-detail-copy h2 {
  font:
    400 30px/1.2 Georgia,
    serif;
  margin-top: 0;
}
.gallery-empty {
  color: #aeb4ae;
  padding: 28px 0;
}
@media (max-width: 1000px) {
  .home-nav {
    gap: 20px;
  }
  .home-menu {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  :root {
    --content-gap: 30px;
    --page-space: 38px;
  }
  .home-nav {
    height: 64px;
  }
  .home-menu {
    display: none;
  }
  .home-menu.is-open {
    display: flex;
  }
  .fg-home .home-menu.is-open {
    top: 64px;
    left: 0;
    right: 0;
    padding: 14px 20px;
  }
  .fg-home .home-menu.is-open a {
    padding: 12px 0;
    border-bottom-color: #2a3026;
  }
  .fg-home .home-menu.is-open a[aria-current="page"] {
    color: #d9e1cb;
  }
  .mobile-toggle {
    display: block;
  }
  .video-grid,
  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .equipment-entry {
    grid-template-columns: 220px 1fr;
    gap: 22px;
  }
}
@media (max-width: 620px) {
  .home-brand {
    font-size: 21px;
  }
  .home-brand small {
    font-size: 7px;
  }
  .video-grid,
  .links-grid,
  .equipment-entry,
  .equipment-detail-layout {
    grid-template-columns: 1fr;
  }
  .fg-inner .section-head h2 {
    font-size: 26px;
  }
  .fg-inner
    :is(
      .contact-page,
      .fg-events-page,
      .articles-page,
      .modern-article-detail,
      .gallery-modern
    ) {
    padding-bottom: 55px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fg-home * {
    transition: none !important;
  }
}

@media (max-width: 620px) {
  .history-item img,
  .history-mark {
    width: calc(100% - 20px);
  }
  .history-body {
    min-width: 0;
  }
}

.fg-event-actions {
  flex-wrap: wrap;
  min-width: 0;
}
.fg-event-actions a {
  max-width: 100%;
  white-space: normal;
}

.footer-partners .partner-logo-kopf {
  height: 60px;
}

@media (min-width: 901px) and (max-width: 1100px) {
    .home-menu { font-size: 10px; letter-spacing: .08em; gap: 16px; }
    .home-brand { font-size: 23px; }
}
