:root {
  color-scheme: dark;
  --bg-deep: #02070c;
  --bg: #06101a;
  --surface: rgba(8, 19, 29, 0.9);
  --surface-raised: rgba(14, 31, 45, 0.92);
  --surface-soft: rgba(10, 23, 35, 0.82);
  --line: rgba(126, 100, 49, 0.52);
  --line-cool: rgba(77, 108, 129, 0.64);
  --steel: #a7b6c0;
  --steel-bright: #dde5e9;
  --gold: #b8862c;
  --gold-bright: #e0b64e;
  --gold-soft: rgba(184, 134, 44, 0.18);
  --text: #eef2f3;
  --text-soft: #b5c0c7;
  --text-dim: #82919b;
  --blue: #315f81;
  --blue-bright: #75a9c9;
  --blue-soft: rgba(49, 95, 129, 0.2);
  --red: #74222d;
  --red-bright: #b44a55;
  --red-soft: rgba(116, 34, 45, 0.19);
  --success: #70a88b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 17px;
  --nav-width: 18.5rem;
  --header-height: clamp(7rem, 8vw, 8rem);
  --footer-height: 4.7rem;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  min-width: 20rem;
  height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(180deg, rgba(1, 5, 9, 0.35), rgba(1, 5, 9, 0.72)),
    radial-gradient(circle at 15% 12%, rgba(53, 104, 139, 0.16), transparent 36rem),
    radial-gradient(circle at 88% 20%, rgba(116, 34, 45, 0.12), transparent 32rem),
    url("../images/tg-background-1672.webp");
  background-size: cover, auto, auto, cover;
  background-position: center, center, center, center top;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.32), transparent 18%, transparent 82%, rgba(0,0,0,.32)),
    linear-gradient(180deg, rgba(0,0,0,.2), transparent 28rem, rgba(0,0,0,.28));
}
body.drawer-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius-sm);
  background: #f1dfae;
  color: #07101a;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }

.app-shell {
  display: grid;
  grid-template-columns: var(--nav-width) minmax(0, 1fr);
  grid-template-rows: var(--header-height) minmax(0, 1fr) var(--footer-height);
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.site-header {
  grid-column: 1 / -1;
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-bottom: 1px solid rgba(224, 182, 78, 0.72);
  background:
    linear-gradient(180deg, rgba(3, 10, 16, 0.18), rgba(3, 10, 16, 0.24)),
    linear-gradient(90deg, rgba(7, 18, 28, 0.10), rgba(7, 18, 28, 0.08) 58%, rgba(38, 14, 20, 0.10));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 -1px 0 rgba(224,182,78,.26), inset 0 -8px 14px rgba(0,0,0,.10);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.020), transparent 28%, rgba(0,0,0,.16)),
    radial-gradient(circle at 22% 40%, rgba(49,95,129,.06), transparent 24rem),
    radial-gradient(circle at 92% 35%, rgba(116,34,45,.07), transparent 22rem),
    linear-gradient(90deg, rgba(224,182,78,.035), transparent 14%, transparent 86%, rgba(224,182,78,.035));
}
.header-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0.35rem clamp(0.8rem, 2vw, 1.8rem) 0.45rem;
}
.header-brand {
  grid-column: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.banner-link {
  display: block;
  width: min(calc(80vw - 1.44rem), 65.6rem);
  max-width: 100%;
  margin: 0 auto;
  text-decoration: none;
  filter: drop-shadow(0 5px 9px rgba(0,0,0,.18));
}
.banner-link picture { display: block; }
.site-banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.status-pill, .draft-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-cool);
  border-radius: 999px;
  background: rgba(4, 12, 19, 0.82);
  color: var(--text-soft);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 5px 14px rgba(0,0,0,.2);
  white-space: nowrap;
}
.menu-button, .drawer-close { display: none; }

.site-navigation {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 1.45rem 0.85rem 1rem;
  border-right: 1px solid rgba(224, 182, 78, 0.72);
  background:
    linear-gradient(180deg, rgba(4, 14, 22, 0.18), rgba(3, 10, 16, 0.28)),
    linear-gradient(90deg, rgba(7, 18, 28, 0.10), rgba(7, 18, 28, 0.06) 72%, rgba(38, 14, 20, 0.06));
  box-shadow: inset -1px 0 0 rgba(224,182,78,.22), inset -4px 0 14px rgba(0,0,0,.15), 8px 0 24px rgba(0,0,0,.08);
  backdrop-filter: blur(5px);
  position: relative;
}
.site-navigation::after { content: none; }
.navigation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem 0.9rem;
  color: #c3a25a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-navigation ul { list-style: none; display: grid; gap: 0.38rem; margin: 0; padding: 0; position: relative; z-index: 1; }
.nav-link {
  min-height: 3.15rem;
  display: grid;
  grid-template-columns: 1.9rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  padding: 0.63rem 0.75rem;
  border: 1px solid rgba(224, 182, 78, 0.24);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  text-decoration: none;
  background: linear-gradient(100deg, rgba(10, 26, 38, 0.54), rgba(4, 13, 21, 0.42));
  box-shadow: inset 0 1px 0 rgba(232,196,92,.06);
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.nav-link:hover {
  border-color: rgba(232, 196, 92, 0.48);
  background: linear-gradient(100deg, rgba(49,95,129,.24), rgba(8, 20, 30, .52));
  box-shadow: inset 0 1px 0 rgba(232,196,92,.14), 0 7px 16px rgba(0,0,0,.15);
  color: var(--text);
  transform: translateX(2px);
}
.nav-link.is-active {
  border-color: rgba(232, 196, 92, 0.68);
  background: linear-gradient(90deg, rgba(49,95,129,.3), rgba(9, 25, 37, .72));
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--gold-bright), inset 0 1px 0 rgba(255,225,142,.15), 0 8px 18px rgba(0,0,0,.2);
}
.nav-link--featured {
  margin-top: .35rem;
  border-color: rgba(180, 74, 85, 0.5);
  background: linear-gradient(100deg, rgba(116,34,45,.28), rgba(12, 31, 44, .75));
  color: #e8edf0;
}
.nav-link--featured:hover,
.nav-link--featured.is-active {
  border-color: rgba(224,182,78,.58);
  background: linear-gradient(100deg, rgba(116,34,45,.4), rgba(49,95,129,.3));
  box-shadow: inset 3px 0 0 var(--red-bright), 0 10px 24px rgba(0,0,0,.23);
}
.nav-icon { width: 1.75rem; text-align: center; color: var(--gold-bright); font-weight: 800; }
.nav-link--featured .nav-icon { color: #e8d6a3; text-shadow: 0 0 10px rgba(180,74,85,.78); }
.nav-label { min-width: 0; font-size: 0.88rem; font-weight: 680; line-height: 1.25; }
.navigation-footnote {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0.7rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(184,134,44,.25);
  color: var(--text-dim);
  font-size: 0.74rem;
  position: relative;
  z-index: 1;
}
.status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(112,168,139,0.09); }

.site-content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem, 2.7vw, 2.6rem);
  position: relative;
}
.content-frame {
  max-width: 79rem;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 2.8vw, 2.35rem);
  border: 1px solid rgba(224, 182, 78, 0.42);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(7, 20, 31, 0.91), rgba(3, 11, 18, 0.94) 64%, rgba(28, 11, 16, 0.89));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.025), inset 0 0 0 4px rgba(0,0,0,.15);
  backdrop-filter: blur(4px);
}
.site-body--wide .content-frame { max-width: 100rem; }
.page-header { max-width: 58rem; margin-bottom: 1.55rem; }
.eyebrow { margin: 0 0 0.65rem; color: var(--blue-bright); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2 { margin-top: 0; }
h1 {
  margin-bottom: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 5vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #e6c469;
  text-shadow: 0 3px 18px rgba(0,0,0,.56), 0 0 20px rgba(184,134,44,.08);
}
.page-intro { margin: 0; color: var(--text-soft); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.laurel-divider {
  width: min(100%, 47rem);
  height: 2.5rem;
  display: block;
  margin-top: 1rem;
  background: url("../decor/laurel-divider.svg") no-repeat left center / contain;
  opacity: .88;
  filter: sepia(.45) saturate(1.28) brightness(1.08);
}
.build-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(224,182,78,.34);
  border-left: 3px solid var(--gold-bright);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(49,95,129,.15), rgba(8,20,30,.42));
  color: #c5d5df;
  font-size: 0.86rem;
}
.security-note {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(180,74,85,.4);
  border-radius: var(--radius);
  background: rgba(116,34,45,.12);
  color: var(--text-soft);
  line-height: 1.55;
}
.security-note strong { color: #dfa5ac; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.preview-card, .legal-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(126,100,49,.48);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 34, 49, 0.91), rgba(5, 15, 24, 0.95)),
    radial-gradient(circle at 90% 10%, rgba(116,34,45,.17), transparent 13rem);
  box-shadow: 0 14px 38px rgba(0,0,0,.27), inset 0 1px 0 rgba(255,255,255,.025);
}
.preview-card { min-height: 10.5rem; padding: 1.3rem; }
.preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold-bright), var(--red-bright), transparent 82%);
  opacity: .7;
}
.card-corner {
  position: absolute;
  right: -.9rem;
  bottom: -.9rem;
  width: 6.2rem;
  height: 6.2rem;
  background: url("../decor/corner-flourish.svg") no-repeat center / contain;
  opacity: .2;
  transform: rotate(90deg);
  pointer-events: none;
}
.preview-card h2 { margin-bottom: 0.6rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; color: #e4d6ad; }
.preview-card p, .legal-section p { margin: 0; color: var(--text-soft); line-height: 1.67; }

.verdandi-stage {
  margin-bottom: 1.1rem;
  border: 1px solid rgba(224,182,78,.42);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(9,28,43,.96), rgba(5,16,25,.98) 58%, rgba(42,14,20,.95));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04), inset 0 0 0 4px rgba(3,8,13,.32);
  overflow: hidden;
  position: relative;
}
.verdandi-stage::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), var(--gold-bright), var(--red-bright), transparent);
  opacity: .65;
}
.stage-corner { position: absolute; z-index: 0; width: 11rem; height: 11rem; background: url("../decor/corner-flourish.svg") no-repeat center / contain; opacity: .22; pointer-events: none; }
.stage-corner--left { left: -1.2rem; bottom: -1.2rem; }
.stage-corner--right { right: -1.2rem; top: -1.2rem; transform: rotate(180deg); }
.verdandi-stage__topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.82rem 1.1rem; border-bottom: 1px solid rgba(126,100,49,.42); background: rgba(3,10,16,.45); color: #d2d9dc; font-size: 0.84rem; }
.status-pill { padding: 0.42rem 0.6rem; color: #e4d6ad; border-color: rgba(180,74,85,.52); background: rgba(116,34,45,.14); font-size: 0.7rem; }
.verdandi-stage__placeholder { position: relative; z-index: 1; min-height: 18rem; display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding: 2.2rem; text-align: left; }
.verdandi-stage__placeholder > div { max-width: 36rem; }
.verdandi-stage__placeholder strong { display: block; margin-bottom: 0.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: #e8d8aa; }
.verdandi-stage__placeholder p { margin: 0; color: var(--text-soft); line-height: 1.7; }
.verdandi-stage__placeholder small { display: block; margin-top: .85rem; color: #9cacb7; letter-spacing: .08em; text-transform: uppercase; }
.verdandi-mark {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid #b08b42;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #263d52, #08111a 68%);
  color: #ead99f;
  font-family: Georgia, serif;
  font-size: 2.3rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 7px rgba(49,95,129,.11), 0 0 0 2px rgba(116,34,45,.3), 0 14px 30px rgba(0,0,0,.36);
}

.legal-jump { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.4rem; }
.legal-jump a { padding: 0.55rem 0.75rem; border: 1px solid rgba(126,100,49,.5); border-radius: 999px; background: rgba(7,18,28,.85); color: var(--text-soft); text-decoration: none; font-size: 0.82rem; }
.legal-jump a:hover { border-color: var(--gold-bright); color: var(--text); }
.legal-stack { display: grid; gap: 1rem; }
.legal-section { padding: 1.25rem; scroll-margin-top: 1rem; }
.legal-section h2 { margin-bottom: 0.6rem; font-size: 1.08rem; color: #e3d4aa; }
.draft-label { margin-top: 0.85rem; padding: 0.4rem 0.55rem; color: var(--text-dim); font-size: 0.68rem; }

.site-footer {
  grid-column: 1 / -1;
  grid-row: 3;
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem clamp(1rem, 3vw, 2.75rem);
  border-top: 1px solid rgba(224,182,78,.72);
  background:
    linear-gradient(180deg, rgba(4, 14, 22, 0.16), rgba(3, 10, 16, 0.24)),
    linear-gradient(90deg, rgba(7,18,28,.10), rgba(7,18,28,.08), rgba(38,14,20,.10));
  color: var(--text-dim);
  font-size: 0.76rem;
  box-shadow: inset 0 1px 0 rgba(224,182,78,.24), inset 0 2px 0 rgba(0,0,0,.18), 0 -10px 28px rgba(0,0,0,.12);
}
.footer-brand { display: flex; gap: 0.65rem; align-items: baseline; flex-wrap: wrap; }
.site-footer strong { color: #d8c89c; letter-spacing: .03em; }
.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer-version { font-variant-numeric: tabular-nums; }
.drawer-backdrop { display: none; }

.site-header::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(117,82,29,.65), rgba(232,196,92,.88));
  box-shadow: 0 1px 0 rgba(0,0,0,.24);
}
.site-header::before { bottom: 0; }
.site-footer::before { top: 0; }
.site-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.4rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 72%);
}
.site-navigation::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1.1rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.10));
}


@media (max-width: 900px), (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) and (max-width: 1200px) {
  :root {
    --header-height: 5.25rem;
    --footer-height: auto;
  }
  body {
    background-image:
      linear-gradient(180deg, rgba(1,5,9,.42), rgba(1,5,9,.76)),
      radial-gradient(circle at 20% 10%, rgba(49,95,129,.15), transparent 28rem),
      url("../images/tg-background-900.webp");
    background-size: cover, auto, cover;
    background-position: center, center, center top;
  }
  .app-shell { grid-template-columns: 1fr; grid-template-rows: var(--header-height) minmax(0, 1fr) auto; }
  .site-header {
    background:
      linear-gradient(180deg, rgba(3, 10, 16, 0.22), rgba(3, 10, 16, 0.30)),
      linear-gradient(90deg, rgba(7,18,28,.12), rgba(7,18,28,.10) 62%, rgba(38,14,20,.10));
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .45rem .75rem .55rem .55rem;
    position: relative;
  }
  .header-brand {
    width: min(100%, 19rem);
    max-width: calc(100% - 7.5rem);
    justify-self: center;
    margin: 0 auto;
  }
  .banner-link { width: 100%; }
  .menu-button {
    position: absolute;
    left: .55rem;
    top: 50%;
    transform: translateY(-50%);
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .72rem;
    border: 1px solid rgba(224,182,78,.48);
    border-radius: var(--radius-sm);
    background: rgba(7,20,30,.88);
    color: var(--text);
    cursor: pointer;
  }
  .menu-button__icon, .menu-button__icon::before, .menu-button__icon::after { width: 1.05rem; height: 2px; display: block; background: currentColor; content: ""; }
  .menu-button__icon { position: relative; }
  .menu-button__icon::before { position: absolute; top: -0.34rem; }
  .menu-button__icon::after { position: absolute; top: 0.34rem; }
  .menu-button__text { font-weight: 700; font-size: .78rem; }
  .site-navigation {
    overflow-y: auto;
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: min(21rem, 90vw);
    padding-top: 1rem;
    border-right-color: rgba(224,182,78,.45);
    box-shadow: 24px 0 60px rgba(0,0,0,.58);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }
  body.drawer-open .site-navigation { transform: translateX(0); }
  .drawer-close { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--text-soft); cursor: pointer; }
  .drawer-backdrop { position: fixed; z-index: 40; inset: 0; display: block; background: rgba(0,0,0,.66); backdrop-filter: blur(2px); }
  .drawer-backdrop[hidden] { display: none; }
  .site-content { grid-column: 1; grid-row: 2; padding: 1rem .75rem 1.2rem; }
  .content-frame { padding: 1.2rem; }
  .site-footer { grid-row: 3; grid-template-columns: 1fr auto; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; }
}

@media (min-width: 561px) and (max-width: 900px), (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) and (min-width: 561px) and (max-width: 1200px) {
  :root { --header-height: 5.85rem; }
  .header-brand { width: min(100%, 18rem); max-width: calc(100% - 7.8rem); }
  .banner-link { width: 100%; }
}

@media (max-width: 700px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-card { min-height: auto; }
  .verdandi-stage__placeholder { min-height: 15rem; flex-direction: column; text-align: center; }
  .site-footer { grid-template-columns: 1fr; gap: .75rem; }
  .site-footer nav { grid-column: 1; grid-row: auto; gap: .75rem 1rem; }
  .footer-version { justify-self: start; }
}

@media (max-width: 560px) {
  :root { --header-height: 4.85rem; }
  .header-inner { gap: .45rem; padding: .4rem .5rem .5rem .45rem; }
  .header-brand { width: min(100%, 14.6rem); max-width: calc(100% - 6.4rem); }
  .banner-link { width: 100%; }
  .menu-button { min-height: 2.25rem; padding: .45rem .62rem; left: .45rem; }
  h1 { font-size: 2.12rem; }
  .laurel-divider { height: 2rem; }
  .content-frame { padding: 1rem; border-radius: 12px; }
}

.site-navigation::-webkit-scrollbar,
.site-content::-webkit-scrollbar {
  width: 10px;
}
.site-content::-webkit-scrollbar-thumb {
  background: rgba(117,169,201,.28);
  border-radius: 999px;
}
@media (max-width: 900px), (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) and (max-width: 1200px) {
  .site-navigation { scrollbar-width: none; }
  .site-navigation::-webkit-scrollbar { display: none; }
}


/* 0.4.8 Desktop-Test · Navigationsmenü am Desktop vollständig neu aufgebaut */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .site-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navigation-panel {
    padding: 2.35rem 1.05rem 1.8rem;
    border-left: 1px solid rgba(215, 177, 91, .73);
    border-right: 1px solid rgba(215, 177, 91, .73);
    border-radius: .7rem;
    background:
      url("../decor/tg-nav-frame-top.svg") top center / 100% 5.75rem no-repeat,
      url("../decor/tg-nav-frame-bottom.svg") bottom center / 100% 5.75rem no-repeat,
      radial-gradient(circle at 12% 5%, rgba(92, 37, 32, .10), transparent 31%),
      linear-gradient(180deg, rgba(9, 27, 38, .68), rgba(3, 15, 23, .72));
    box-shadow:
      0 14px 32px rgba(0, 0, 0, .15),
      inset 4px 0 0 rgba(215, 177, 91, .08),
      inset -4px 0 0 rgba(215, 177, 91, .08),
      inset 0 1px 0 rgba(255, 255, 255, .018);
  }

  .navigation-heading {
    padding: .05rem .2rem .78rem 3.05rem;
  }

  .navigation-primary {
    display: grid;
    gap: .56rem;
    margin: 0;
    padding: .2rem 0 .82rem;
  }

  .navigation-primary::before,
  .navigation-primary::after {
    content: none;
    display: none;
  }

  .navigation-primary li,
  .site-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
    background: none;
  }

  .navigation-primary li::before,
  .navigation-primary li::after,
  .site-navigation li::before,
  .site-navigation li::after {
    content: none !important;
  }

  .navigation-primary li + li {
    padding-top: .62rem;
    background: url("../decor/tg-nav-divider.svg") center top / calc(100% - 1.1rem) .72rem no-repeat;
  }

  .nav-link,
  .nav-link--featured {
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    min-height: 3.45rem;
    margin: 0;
    padding: .7rem .82rem;
    border: 1px solid transparent;
    border-radius: .46rem;
    background: transparent;
    color: #c5cdd1;
    box-shadow: none;
    transform: none;
    z-index: 1;
  }

  .nav-link:hover,
  .nav-link--featured:hover {
    border-color: rgba(224, 182, 78, .16);
    background: linear-gradient(90deg, rgba(44, 75, 92, .30), rgba(9, 25, 36, .28));
    color: #fff2cf;
    box-shadow: inset 0 0 0 1px rgba(224, 182, 78, .13);
    transform: translateX(1px);
  }

  .nav-link.is-active,
  .nav-link--featured.is-active {
    border-color: rgba(224, 182, 78, .40);
    color: #fff0cc;
    background: linear-gradient(90deg, rgba(184, 134, 44, .105), rgba(32, 57, 72, .27) 58%, rgba(8, 23, 33, .13));
    box-shadow: inset 0 0 0 1px rgba(224, 182, 78, .07), 0 6px 14px rgba(0, 0, 0, .10);
  }

  .nav-link.is-active::after,
  .nav-link--featured.is-active::after {
    content: none;
  }

  .nav-icon,
  .nav-link--featured .nav-icon {
    color: #d8b45a;
    text-shadow: none;
  }

  .nav-label {
    font-size: .9rem;
    font-weight: 650;
  }

  .navigation-external {
    margin-top: .72rem;
  }

  .navigation-links-heading {
    padding-left: 3.05rem;
  }

  .external-link {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}/* 0.0.11e · GG-Statistik als direkter Homepage-Inhalt */
.site-body--statistics .statistics-site-content {
  padding: 0;
  overflow-y: auto;
  background: #0d1219;
}
.site-body--statistics .statistics-site-content::before {
  content: none;
}
.statistics-frame-shell {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
  background: #0d1219;
}
.statistics-frame-status {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  min-height: 32rem;
  padding: 2rem;
  color: var(--text-dim);
  text-align: center;
}
.statistics-frame-shell.is-ready .statistics-frame-status {
  display: none;
}
.statistics-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
  height: 70vh;
  border: 0;
  background: #0d1219;
}
@media (max-width: 900px), (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) and (max-width: 1200px) {
  .site-body--statistics .statistics-site-content {
    padding: 0;
  }
  .statistics-frame-shell,
  .statistics-frame {
    min-height: calc(100dvh - var(--header-height));
  }
}

/* 0.0.11f · transparenter Statistik-Untergrund */
.site-body--statistics .statistics-site-content,
.statistics-frame-shell,
.statistics-frame {
  background: transparent;
  background-color: transparent;
}
.site-body--statistics .statistics-site-content {
  background-image: none;
}
.statistics-frame {
  color-scheme: dark;
}


/* 0.0.11g · stabile iframe-Höhenmessung ohne Wachstumsschleife */


/* 0.4.0 Desktop-Test · ornamentale, ruhigere Desktopnavigation */
.nav-icon svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-section { scroll-margin-top: 1.5rem; }

@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .site-navigation {
    padding: 1rem 0.8rem 0.9rem;
  }

  .navigation-panel {
    position: relative;
    isolation: isolate;
    padding: 2rem 1.05rem 1.45rem;
    border-radius: 0.7rem;
    background:
      radial-gradient(circle at 12% 5%, rgba(92, 37, 32, 0.10), transparent 31%),
      linear-gradient(180deg, rgba(9, 27, 38, 0.68), rgba(3, 15, 23, 0.72));
    box-shadow: 0 14px 32px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.018);
  }

  .navigation-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: none; /* alter Einzelrahmen entfernt; modulare Rahmenkappen folgen weiter unten */
    opacity: .93;
  }

  .navigation-heading {
    padding: 0 .2rem .85rem;
    color: #d0ad5c;
    letter-spacing: .23em;
  }

  .site-navigation ul {
    gap: 0;
  }

  .site-navigation li {
    position: relative;
  }

  .site-navigation li + li::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -0.36rem;
    left: .55rem;
    right: .55rem;
    height: .72rem;
    pointer-events: none;
    background: url("../decor/tg-nav-divider.svg") center / 100% .72rem no-repeat;
    opacity: .46;
  }

  .nav-link,
  .nav-link--featured {
    position: relative;
    z-index: 1;
    min-height: 3.35rem;
    margin: 0;
    padding: .68rem .72rem;
    border: 0;
    border-radius: .45rem;
    background: transparent;
    color: #c5cdd1;
    box-shadow: none;
    transform: none;
  }

  .nav-link:hover,
  .nav-link--featured:hover {
    border: 0;
    background: linear-gradient(90deg, rgba(44, 75, 92, .30), rgba(9, 25, 36, .28));
    color: #fff2cf;
    box-shadow: inset 0 0 0 1px rgba(224, 182, 78, .13);
    transform: translateX(1px);
  }

  .nav-link.is-active,
  .nav-link--featured.is-active {
    border: 0;
    color: #fff0cc;
    background:
      linear-gradient(90deg, rgba(184, 134, 44, .16), rgba(32, 57, 72, .34) 58%, rgba(8, 23, 33, .16));
    box-shadow:
      inset 0 0 0 1px rgba(224, 182, 78, .22),
      inset 3px 0 0 #d7b15b,
      0 7px 17px rgba(0,0,0,.12);
  }

  .nav-link.is-active::after,
  .nav-link--featured.is-active::after {
    content: "";
    position: absolute;
    left: .07rem;
    top: .72rem;
    bottom: .72rem;
    width: .16rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f0d27a, #b8862c, #f0d27a);
    box-shadow: 0 0 8px rgba(224, 182, 78, .28);
  }

  .nav-icon,
  .nav-link--featured .nav-icon {
    color: #d8b45a;
    text-shadow: none;
  }

  .nav-label {
    font-size: .9rem;
    font-weight: 650;
  }

  .navigation-footnote {
    margin: 1.15rem .35rem 0;
    padding-top: .9rem;
    border-top-color: rgba(215, 177, 91, .18);
  }
}

/* 0.4.2 Desktop-Test · dynamischer Navigationsrahmen und externer Linkbereich */
.navigation-external {
  position: relative;
  z-index: 1;
  margin-top: .7rem;
}
.navigation-section-divider {
  display: block;
  height: 1.65rem;
  margin: 0 .5rem .15rem;
  background: url("../decor/tg-nav-section-divider.svg") center / 100% 1.65rem no-repeat;
  opacity: .82;
}
.navigation-links-heading {
  margin: 0 0 .25rem;
  padding: 0 .75rem;
  color: #a98e58;
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.external-link {
  min-height: 2.75rem;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: .45rem;
  padding: .52rem .72rem;
  border: 1px solid transparent;
  border-radius: .42rem;
  color: #aeb9bf;
  text-decoration: none;
  background: rgba(6, 19, 28, .16);
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.external-link:hover,
.external-link:focus-visible {
  color: #f1deb0;
  border-color: rgba(215, 177, 91, .17);
  background: linear-gradient(90deg, rgba(39, 67, 82, .25), rgba(7, 20, 29, .2));
  transform: translateX(1px);
}
.external-link-icon {
  width: 1.45rem;
  display: grid;
  place-items: center;
  color: #bd9a4d;
}
.external-link-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.external-link-label {
  min-width: 0;
  font-size: .8rem;
  font-weight: 620;
  line-height: 1.25;
}
.external-link-arrow {
  color: #91753b;
  font-size: .85rem;
  line-height: 1;
}

/* Der ehemalige Sonderstatus der Statistik ist auch mobil neutralisiert. */
.nav-link--featured {
  margin-top: 0;
  border-color: rgba(224, 182, 78, .24);
  background: linear-gradient(100deg, rgba(10, 26, 38, .54), rgba(4, 13, 21, .42));
  color: var(--text-soft);
}
.nav-link--featured:hover,
.nav-link--featured.is-active {
  border-color: rgba(232, 196, 92, .48);
  background: linear-gradient(100deg, rgba(49, 95, 129, .24), rgba(8, 20, 30, .52));
  box-shadow: inset 0 1px 0 rgba(232, 196, 92, .14), 0 7px 16px rgba(0, 0, 0, .15);
}
.nav-link--featured .nav-icon {
  color: var(--gold-bright);
  text-shadow: none;
}

@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-panel {
    /* Die Seiten wachsen per CSS; nur Kopf und Fuß bleiben feste SVG-Kappen. */
    padding: 2rem 1.05rem 2.05rem;
    border: 0;
    border-left: 1px solid rgba(215, 177, 91, .73);
    border-right: 1px solid rgba(215, 177, 91, .73);
    border-radius: .7rem;
    background:
      url("../decor/tg-nav-frame-top.svg") top center / 100% 5.75rem no-repeat,
      url("../decor/tg-nav-frame-bottom.svg") bottom center / 100% 5.75rem no-repeat,
      radial-gradient(circle at 12% 5%, rgba(92, 37, 32, .10), transparent 31%),
      linear-gradient(180deg, rgba(9, 27, 38, .68), rgba(3, 15, 23, .72));
    box-shadow:
      0 14px 32px rgba(0, 0, 0, .15),
      inset 4px 0 0 rgba(215, 177, 91, .08),
      inset -4px 0 0 rgba(215, 177, 91, .08),
      inset 0 1px 0 rgba(255, 255, 255, .018);
  }

  .navigation-panel::before {
    content: none;
  }

  .navigation-heading {
    /* Bündig mit dem Beginn der Buttonbeschriftungen. */
    padding: .1rem .2rem .85rem 3.05rem;
  }

  .navigation-primary {
    position: relative;
    padding: .4rem 0;
  }

  .navigation-primary::before,
  .navigation-primary::after {
    content: none;
  }

  .site-navigation li + li::before {
    opacity: .5;
  }

  .navigation-primary li:last-child::before {
    content: none;
  }

  .nav-link,
  .nav-link--featured {
    border: 1px solid transparent;
  }

  .nav-link:hover,
  .nav-link--featured:hover {
    border: 1px solid rgba(224, 182, 78, .16);
  }

  .nav-link.is-active,
  .nav-link--featured.is-active {
    border: 1px solid rgba(224, 182, 78, .40);
    color: #fff0cc;
    background:
      linear-gradient(90deg, rgba(184, 134, 44, .105), rgba(32, 57, 72, .27) 58%, rgba(8, 23, 33, .13));
    box-shadow:
      inset 0 0 0 1px rgba(224, 182, 78, .07),
      0 6px 14px rgba(0, 0, 0, .10);
  }

  .nav-link.is-active::after,
  .nav-link--featured.is-active::after {
    content: none;
  }

  .navigation-external {
    margin-top: .78rem;
  }

  .navigation-links-heading {
    padding-left: 3.05rem;
  }

  .external-link {
    margin: 0;
  }
}


/* 0.4.2 Desktop-Test · mehr Freiraum zu den oberen und unteren Rahmenornamenten */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-panel {
    /* Der Rahmen wird höher, ohne die festen Ornamentkappen zu verzerren. */
    padding-top: 2.35rem;
    padding-bottom: 4.65rem;
  }

  .navigation-heading {
    /* Mehr Abstand zwischen Überschrift und erstem Navigationsknopf. */
    padding-bottom: 1.45rem;
  }

  .navigation-primary {
    padding-top: .48rem;
    padding-bottom: .52rem;
  }

  .navigation-external {
    margin-top: .9rem;
  }

  .external-link {
    /* Der letzte Link bleibt klar oberhalb der unteren Ornamentzone. */
    margin-bottom: .55rem;
  }
}


/* 0.4.4 Desktop-Test · ornamentalere Banner-inspirierte Rahmenecken */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-panel {
    padding-top: 3.05rem;
    padding-bottom: 5.4rem;
    border-left-color: rgba(215,177,91,.68);
    border-right-color: rgba(215,177,91,.68);
  }
}

/* 0.4.7 Desktop-Test · ornamental nachgearbeiteter Trenner zwischen Hauptnavigation und Links */
.navigation-footnote {
  display: none !important;
}

@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-panel {
    padding-top: 3.25rem;
    padding-bottom: 5.95rem;
  }

  .navigation-heading {
    justify-content: flex-start;
    padding: .15rem .2rem 1.2rem 3.05rem;
    text-align: left;
    color: #d7b15b;
    letter-spacing: .22em;
  }

  .navigation-primary {
    padding-top: .62rem;
    padding-bottom: .78rem;
  }

  .nav-link,
  .nav-link--featured {
    min-height: 3.4rem;
    border: 1px solid transparent;
  }

  .nav-link:hover,
  .nav-link--featured:hover {
    border-color: rgba(224, 182, 78, .18);
  }

  .nav-link.is-active,
  .nav-link--featured.is-active {
    border-color: rgba(224, 182, 78, .36);
    background: linear-gradient(90deg, rgba(184, 134, 44, .115), rgba(31, 57, 72, .24) 58%, rgba(8, 23, 33, .14));
    box-shadow: inset 0 0 0 1px rgba(224, 182, 78, .06), 0 6px 14px rgba(0, 0, 0, .10);
  }

  .navigation-external {
    margin-top: 1rem;
  }

  .navigation-section-divider {
    height: 3.6rem;
    margin: .05rem .12rem .4rem;
    background: url("../decor/tg-nav-section-divider-v3.svg") center / 100% 3.6rem no-repeat;
    opacity: .98;
  }

  .navigation-links-heading {
    margin: 0 0 .35rem;
    padding-left: 3.05rem;
    color: #d4b168;
    letter-spacing: .22em;
  }

  .external-link {
    min-height: 2.95rem;
    margin-bottom: .75rem;
  }
}

/* 0.4.8 Desktop-Test · kompakterer Abschluss unter den externen Links */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-panel {
    /* Die unteren SVG-Ecken bleiben unverändert; nur der flexible Innenraum schrumpft. */
    padding-bottom: 4.45rem;
  }

  .external-link {
    margin-bottom: .3rem;
  }
}

/* 0.4.8 Korrektur · Menü etwas kräftiger, ohne schwer zu wirken */
.nav-label {
  font-weight: 700;
}

.external-link-label {
  font-weight: 660;
}


/* 0.4.8 Endkorrektur · obere und untere Grenzmarker endgültig entfernt */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-primary li:first-child .nav-link::before,
  .navigation-primary li:last-child .nav-link::after {
    content: none !important;
    display: none !important;
  }
}


/* 0.4.8 Markerfix 2 · feste obere und untere Marker im Hauptmenü */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-primary::before,
  .navigation-primary::after {
    content: "" !important;
    display: block !important;
    height: .72rem;
    flex: 0 0 .72rem;
    background: url("../decor/tg-nav-divider.svg") center / 100% .72rem no-repeat;
    opacity: .48;
    pointer-events: none;
  }

  .navigation-primary::before {
    margin: 0 .55rem .1rem;
  }

  .navigation-primary::after {
    margin: .1rem .55rem 0;
  }
}

/* 0.4.10 Preview · transparenter iframe-Untergrund und vollständig verdecktes Laden */
.site-body--statistics .statistics-site-content,
.statistics-frame-shell,
.statistics-frame {
  background: transparent !important;
  background-color: transparent !important;
}

.site-body--statistics .statistics-site-content {
  background-image: none !important;
}

.statistics-frame-shell {
  overflow: hidden;
  isolation: isolate;
}

.statistics-frame-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(49, 95, 129, .12), transparent 38%),
    linear-gradient(180deg, rgba(7, 20, 31, .90), rgba(3, 11, 18, .92));
  opacity: 1;
  visibility: visible;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.statistics-frame-status {
  z-index: 5;
  color: #b9c5cb;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transition: opacity 140ms ease, visibility 140ms ease;
}

.statistics-frame {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  color-scheme: dark;
  background: transparent !important;
  background-color: transparent !important;
  transition: opacity 150ms ease;
}

.statistics-frame-shell.is-ready::before,
.statistics-frame-shell.is-ready .statistics-frame-status {
  opacity: 0;
  visibility: hidden;
}

.statistics-frame-shell.is-ready .statistics-frame {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .statistics-frame-shell::before,
  .statistics-frame-status,
  .statistics-frame {
    transition: none;
  }
}



/* 0.4.11 Preview · Menüfeinschliff und serverseitiger Seitenaufrufzähler */
.visitor-counter {
  --visitor-counter-width: 128px;
  position: relative;
  width: min(var(--visitor-counter-width), calc(100% - 1.2rem));
  aspect-ratio: 3 / 1;
  margin: .8rem auto .05rem;
  background: url("../decor/tg-besucherzaehler.svg") center / contain no-repeat;
  isolation: isolate;
}

.visitor-counter__value {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 67%;
  transform: translate(-50%, -50%);
  width: 78%;
  overflow: hidden;
  color: #e6b84e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(var(--visitor-counter-width) * .112);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: calc(var(--visitor-counter-width) * .017);
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 #3b2508, 0 0 3px rgba(255, 210, 105, .25);
  white-space: nowrap;
}

.visitor-counter.is-unavailable { opacity: .62; }

@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-heading {
    justify-content: center;
    padding-left: .2rem;
    padding-right: .2rem;
    font-size: .79rem;
    text-align: center;
  }
  .navigation-heading > span { width: 100%; text-align: center; }
  .navigation-links-heading {
    padding-left: 0;
    padding-right: 0;
    font-size: .75rem;
    text-align: center;
  }
  .nav-link,
  .nav-link--featured {
    min-height: 3.22rem;
    padding-top: .58rem;
    padding-bottom: .58rem;
  }
  .nav-label { font-size: .95rem; }
}

@media (max-width: 900px), (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-height: 600px) and (max-width: 1200px) {
  .visitor-counter { margin-bottom: .8rem; }
}

/* 0.4.11 Desktop-Test · kompakter Menüblock und am unteren Rahmen angedockter Zähler */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .navigation-primary {
    gap: 0;
    padding-top: .25rem;
    padding-bottom: .52rem;
  }

  .navigation-primary li + li {
    padding-top: .54rem;
    background-size: calc(100% - 1.1rem) .64rem;
  }

  .navigation-primary::before,
  .navigation-primary::after {
    height: .64rem;
    flex-basis: .64rem;
    background-size: 100% .64rem;
  }

  .navigation-primary::before {
    margin-bottom: .02rem;
  }

  .navigation-primary::after {
    margin-top: .02rem;
  }

  .nav-link,
  .nav-link--featured {
    min-height: 2.82rem;
    padding: .42rem .74rem;
  }

  .navigation-panel {
    padding-bottom: 4.45rem;
  }

  .visitor-counter {
    --visitor-counter-width: 120px;
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: .42rem;
    margin: 0;
    transform: translateX(-50%);
  }
}

/* 0.4.12 Preview · Linkschrift an Hauptnavigation angeglichen und Zähler ausbalanciert */
.external-link-label {
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
}

@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .external-link-label {
    font-size: .95rem;
    font-weight: 700;
  }

  .visitor-counter {
    --visitor-counter-width: 145px;
    bottom: .82rem;
  }
}


/* 0.4.13 Preview · Besucherzähler nochmals rund zehn Prozent größer */
@media (min-width: 1201px), (min-width: 901px) and (min-height: 601px), (min-width: 901px) and (hover: hover), (min-width: 901px) and (pointer: fine) {
  .visitor-counter {
    --visitor-counter-width: 145px;
  }
}


/* 0.4.15 Preview · Performance- und Besucherzählerpatch */
.visitor-counter__value {
  /* Ziffern klar oberhalb der unteren Rahmenlinie ausrichten. */
  top: 59%;
}


/* 0.4.16 Preview · Zählerposition korrigiert */
.visitor-counter__value {
  top: 50%;
}


/* 0.4.17 Preview · sichtbar höhere und cache-sichere Zählerziffern */
.visitor-counter__value {
  top: 47%;
}


/* 0.4.25 Public · direkte Rechtssprünge und Handy-Querformat */
#rechtliche-hinweise,
#datenschutz,
#impressum {
  scroll-margin-top: 1.5rem;
}
