/* Shared public chrome for editorial pages. Built from the approved P02 root shell. */
.article-news-page,
.newsroom-page {
  min-width: 0;
  overflow-x: clip;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.article-news-page .site-header,
.newsroom-page .site-header {
  background: rgba(5, 39, 24, 0.18);
}

.article-news-page .site-header.is-stuck,
.newsroom-page .site-header.is-stuck {
  background: rgba(5, 39, 24, 0.97);
}

.primary-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

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

.mobile-menu .cluster-badge--mobile {
  display: flex;
  width: 100%;
  height: 58px;
  margin-top: 12px;
}

.mobile-menu .cluster-badge--mobile img {
  max-height: 40px;
}

.article-site-band {
  min-height: 220px;
  padding-top: 128px;
  background:
    radial-gradient(circle at 84% 18%, rgba(155, 216, 68, 0.18), transparent 28%),
    linear-gradient(118deg, #073a25 0%, #052718 76%);
  color: #fff;
}

.article-site-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 24px 31px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.article-site-band__inner span {
  color: var(--lime-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-site-band__inner strong {
  color: #e8f2e4;
  font-size: 13px;
  font-weight: 700;
}

/*
 * Canonical footer module.
 * Editorial pages own the complete footer presentation here so a cached or
 * older global stylesheet can no longer make article footers fall back to the
 * legacy legal strip.
 */
.article-news-page .site-footer,
.newsroom-page .site-footer {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 92% 10%, rgba(155, 216, 68, 0.12), transparent 28%),
    linear-gradient(180deg, var(--forest-900), var(--forest-950));
  color: #d8e9d3;
}

.article-news-page .footer-grid,
.newsroom-page .footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.85fr;
  gap: 38px;
  padding: 34px 0 28px;
}

.article-news-page .brand__word--footer,
.newsroom-page .brand__word--footer {
  color: #fff;
  font-size: 34px;
}

.article-news-page :is(.footer-brand, .footer-contact, .footer-impressum) p,
.newsroom-page :is(.footer-brand, .footer-contact, .footer-impressum) p {
  margin: 12px 0 0;
  color: #bdd0b8;
  font-size: 11px;
  line-height: 1.55;
}

.article-news-page .footer-grid h2,
.newsroom-page .footer-grid h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-news-page .footer-grid strong,
.newsroom-page .footer-grid strong {
  color: #fff;
}

.article-news-page .footer-grid a,
.newsroom-page .footer-grid a {
  color: #dff4d5;
  font-weight: 650;
}

.article-news-page .socials,
.newsroom-page .socials {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}

.article-news-page .socials a,
.newsroom-page .socials a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 10px;
}

.article-news-page .footer-impressum,
.newsroom-page .footer-impressum {
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.article-news-page .footer-bottom,
.newsroom-page .footer-bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #aac1a5;
  font-size: 10px;
}

.article-news-page .footer-bottom nav,
.newsroom-page .footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.article-news-page .footer-bottom nav a,
.newsroom-page .footer-bottom nav a {
  color: #d3e5cf;
}

.footer-leadership {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-leadership > strong {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 13px;
}

.footer-leadership ul {
  display: grid;
  gap: 6px;
  margin: 0 0 11px;
  padding: 0;
  list-style: none;
}

.footer-leadership li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  color: #c9ddc4;
  font-size: 12px;
  line-height: 1.35;
}

.footer-leadership li b {
  color: #fff;
}

.footer-leadership li span::before {
  content: "·";
  margin-right: 7px;
  color: var(--lime-500);
}

.footer-leadership a {
  color: #dff5b9;
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.footer-leadership a:hover {
  text-decoration: underline;
}

.footer-operator-logo {
  display: block;
  width: 104px;
  height: auto;
  margin: 0 0 11px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.footer-privacy-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbdccb;
}

.footer-privacy-inline p {
  max-width: 88ch;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.footer-privacy-inline p strong {
  color: #fff;
}

.footer-privacy-inline nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
}

.footer-privacy-inline a,
.footer-privacy-inline button {
  padding: 0;
  border: 0;
  background: none;
  color: #e3f6c0;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.footer-privacy-inline a:hover,
.footer-privacy-inline button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-backdrop {
  position: fixed;
  z-index: 210;
  inset: 0;
  background: rgba(3, 24, 14, 0.68);
  backdrop-filter: blur(6px);
}

.privacy-panel {
  position: fixed;
  z-index: 220;
  left: 50%;
  top: 50%;
  width: min(660px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  outline: 0;
}

.privacy-panel__close {
  position: absolute;
  z-index: 2;
  right: 15px;
  top: 13px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.privacy-panel__intro {
  padding: 30px 64px 26px 30px;
  background:
    radial-gradient(circle at 88% 4%, rgba(155, 216, 68, 0.18), transparent 34%),
    linear-gradient(125deg, var(--forest-900), var(--forest-950));
  color: #fff;
}

.privacy-panel__brand {
  margin-bottom: 20px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.privacy-panel__brand b {
  color: #fff;
}

.privacy-panel__brand em {
  color: var(--lime-500);
  font-style: normal;
}

.privacy-panel__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #d7edbe;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-panel__intro h2 {
  margin: 0;
  font-size: clamp(29px, 5vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.privacy-panel__welcome {
  margin: 11px 0 0;
  color: #d2e2cf;
  font-size: 14px;
}

.privacy-panel__consent {
  padding: 26px 30px 12px;
}

.privacy-panel__consent h3 {
  margin: 0 0 8px;
  color: var(--ink-900);
  font-size: 20px;
}

.privacy-panel__consent > p {
  color: var(--ink-600);
  font-size: 13px;
}

.privacy-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faf6;
}

.privacy-choice span {
  display: grid;
  gap: 3px;
}

.privacy-choice strong {
  color: var(--ink-900);
  font-size: 13px;
}

.privacy-choice small {
  color: var(--ink-600);
  font-size: 11px;
}

.privacy-choice > b {
  color: var(--forest-700);
  font-size: 11px;
}

.privacy-choice--toggle {
  cursor: pointer;
}

.privacy-choice--toggle input {
  position: absolute;
  opacity: 0;
}

.privacy-choice--toggle i {
  position: relative;
  width: 48px;
  height: 27px;
  border-radius: 999px;
  background: #9caaa0;
  transition: background 0.18s ease;
}

.privacy-choice--toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.privacy-choice--toggle input:checked + i {
  background: var(--lime-600);
}

.privacy-choice--toggle input:checked + i::after {
  transform: translateX(21px);
}

.privacy-choice--toggle input:focus-visible + i {
  outline: 3px solid var(--forest-900);
  outline-offset: 3px;
}

.privacy-panel__note a {
  color: var(--forest-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 30px 28px;
}

.privacy-panel__actions button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--forest-800);
  border-radius: 9px;
  background: #fff;
  color: var(--forest-900);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.privacy-panel__actions .privacy-panel__accept {
  border-color: var(--lime-500);
  background: var(--lime-500);
  color: var(--forest-950);
}

body.privacy-open {
  overflow: hidden;
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid #fff;
  box-shadow: 0 0 0 5px var(--forest-800);
  outline-offset: 1px;
}

@media (max-width: 900px) {
  .article-news-page .footer-grid,
  .newsroom-page .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-news-page .footer-brand,
  .newsroom-page .footer-brand {
    grid-column: 1 / -1;
  }

  .article-news-page .footer-impressum,
  .newsroom-page .footer-impressum {
    padding-left: 0;
    border-left: 0;
  }

  .article-news-page .footer-contact,
  .newsroom-page .footer-contact {
    padding-left: 10px;
  }
}

@media (max-width: 820px) {
  .footer-privacy-inline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-privacy-inline nav {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .article-news-page .footer-grid,
  .newsroom-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-news-page .footer-brand,
  .newsroom-page .footer-brand {
    grid-column: auto;
  }

  .article-news-page .footer-impressum,
  .newsroom-page .footer-impressum {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .article-news-page .footer-contact,
  .newsroom-page .footer-contact {
    padding-left: 0;
  }

  .article-news-page .footer-bottom,
  .newsroom-page .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
  }

  .article-news-page .footer-bottom nav,
  .newsroom-page .footer-bottom nav {
    gap: 12px;
  }

  .article-site-band {
    min-height: 192px;
    padding-top: 112px;
  }

  .article-site-band__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 18px 24px;
  }

  .privacy-panel__intro,
  .privacy-panel__consent {
    padding-left: 20px;
    padding-right: 20px;
  }

  .privacy-panel__actions {
    display: grid;
    padding: 8px 20px 22px;
  }

  .privacy-panel__actions button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 7px;
  }

  .brand__word {
    font-size: 25px;
  }

  .search-button,
  .menu-button {
    width: 36px;
    height: 36px;
  }

  .privacy-choice {
    grid-template-columns: 1fr;
  }
}
