/* Only the public Forgejo home page. All application views remain unchanged. */
.page-content.ygg-home {
  --ygg-navy: #202e3c;
  --ygg-gold: #b8a078;
  --ygg-text: #f6f7f9;
  box-sizing: border-box;
  padding: clamp(32px, 6vw, 96px) 30px 32px;
  background: radial-gradient(ellipse at 24% 40%, #304359 0%, transparent 49%), linear-gradient(140deg, #202e3c, #15212d);
  color: var(--ygg-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ygg-home__shell {
  width: min(1100px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 94px);
}
.ygg-home__symbol { display: flex; justify-content: center; }
.ygg-home__symbol img { display: block; width: min(100%, 390px); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.18)); }
.ygg-home__content { text-align: left; }
.ygg-home__eyebrow { color: var(--ygg-gold); font-size: 11px; font-weight: 700; letter-spacing: .23em; margin: 0 0 26px; }
.ygg-home__content h1 { color: var(--ygg-text); font-size: clamp(48px, 6vw, 76px); font-weight: 650; line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.ygg-home__content h1 span { color: #d7c8a8; }
.ygg-home__claim { color: var(--ygg-text); font-size: clamp(23px, 3.5vw, 38px); font-style: italic; font-weight: 350; letter-spacing: -.02em; line-height: 1.2; margin: 16px 0 28px; }
.ygg-home__rule { width: 72px; height: 2px; background: var(--ygg-gold); margin-bottom: 29px; }
.ygg-home__description { max-width: 460px; margin: 0; color: #b5c2ce; font-size: 15px; line-height: 1.8; }
.ygg-home__login { display: inline-flex; align-items: center; gap: 28px; margin-top: 32px; padding: 13px 20px; border: 1px solid var(--ygg-gold); border-radius: 7px; background: #b8a078; color: #172331 !important; font-size: 13px; font-weight: 700; text-decoration: none !important; transition: background .15s, border-color .15s; }
.ygg-home__login:hover { background: #d3c19d; border-color: #d3c19d; }
.ygg-home__login:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.ygg-home__footnote { width: min(1100px,100%); margin: 36px auto 0; padding-top: 20px; color: #8092a4; border-top: 1px solid rgba(255,255,255,.12); text-align: right; font-size: 10px; letter-spacing: .13em; }
@media (max-width: 760px) {
  .page-content.ygg-home { padding: 36px 24px; }
  .ygg-home__shell { grid-template-columns: 1fr; gap: 18px; }
  .ygg-home__symbol img { width: min(250px, 65vw); }
  .ygg-home__content { text-align: center; }
  .ygg-home__rule { margin-left: auto; margin-right: auto; }
  .ygg-home__description { margin-left: auto; margin-right: auto; }
  .ygg-home__footnote { text-align: center; }
}

/* Viewport-Layout ohne feste Navigationshöhe */
body:has(.ygg-home) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body:has(.ygg-home) > .full.height {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.page-content.ygg-home {
  flex: 1 0 auto;
  min-height: 0;
}

/* Durchgehender Seitenhintergrund inklusive Forgejo-Footer */
body:has(.ygg-home) {
  background:
    radial-gradient(ellipse at 24% 40%, #304359 0%, transparent 49%),
    linear-gradient(140deg, #202e3c, #15212d);
}

body:has(.ygg-home) > .full.height,
body:has(.ygg-home) .page-content.ygg-home,
body:has(.ygg-home) .page-footer {
  background: transparent;
}

body:has(.ygg-home) .page-footer,
body:has(.ygg-home) .page-footer a {
  color: #a9bac8;
}
