/* Hinweisseite gvu.org → unterhachinger-festring.de
   Reines CSS, kein JavaScript. Farben wie auf der Festring-Webseite. */

:root {
    --blue: #1D5FB5;
    --blue-dark: #164A8F;
    --blue-deep: #0E3B77;
    --blue-night: #071F42;
    --gold: #F5C518;
    --green: #2FA246;
    --white: #FFFFFF;
    --white-soft: rgba(255, 255, 255, 0.78);
    --white-faint: rgba(255, 255, 255, 0.12);
    --ink: #1C2230;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--white);
    background: var(--blue-night);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
a:focus-visible, .button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--gold);
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 100;
    text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ─── Hintergrund: langsam treibende Lichtkreise ───────────────── */
.sky {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(120% 80% at 50% -10%, var(--blue) 0%, var(--blue-deep) 45%, var(--blue-night) 100%);
}
.sky__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: drift 26s ease-in-out infinite alternate;
}
.sky__orb--1 { width: 55vmax; height: 55vmax; left: -20vmax; top: -15vmax; background: #2F7BE0; }
.sky__orb--2 { width: 45vmax; height: 45vmax; right: -18vmax; top: 20vh; background: #1447A0; animation-duration: 34s; animation-delay: -12s; }
.sky__orb--3 { width: 30vmax; height: 30vmax; left: 30vw; bottom: -18vmax; background: rgba(245, 197, 24, 0.35); animation-duration: 40s; animation-delay: -20s; }

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6vw, 4vh, 0) scale(1.12); }
}

/* ─── Bühne ─────────────────────────────────────────────────────── */
.stage {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(40px, 8vh, 96px) 20px 48px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white-soft);
    animation: rise 0.8s var(--ease) both;
}

/* ─── Logo-Übergang ─────────────────────────────────────────────── */
.morph {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 4vw, 40px);
    margin: 0 auto 40px;
}
.morph figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.morph figcaption {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white-soft);
}

.morph__disc {
    display: grid;
    place-items: center;
    width: clamp(96px, 22vw, 150px);
    height: clamp(96px, 22vw, 150px);
    padding: 12px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(3, 17, 40, 0.45), inset 0 0 0 1px rgba(14, 59, 119, 0.08);
}
.morph__disc img { width: 100%; height: 100%; object-fit: contain; }

.morph__disc--new {
    padding: 0;
    overflow: hidden;
    width: clamp(120px, 28vw, 190px);
    height: clamp(120px, 28vw, 190px);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.10),
        0 0 0 14px rgba(245, 197, 24, 0.10),
        0 18px 50px rgba(3, 17, 40, 0.55);
}
.morph__disc--new img { width: 104%; height: 104%; }

.morph__old { animation: fadeOld 1.1s var(--ease) both; animation-delay: 0.3s; }

.morph__arrow {
    color: var(--gold);
    display: grid;
    align-items: center;
    animation: rise 0.6s var(--ease) both;
    animation-delay: 1.0s;
}
.morph__arrow svg { width: clamp(48px, 10vw, 96px); height: auto; }
.morph__line {
    stroke-dasharray: 82;
    stroke-dashoffset: 82;
    animation: draw 0.7s var(--ease) forwards;
    animation-delay: 1.1s;
}
.morph__head {
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
    animation: draw 0.35s var(--ease) forwards;
    animation-delay: 1.65s;
}

.morph__new { animation: pop 0.9s var(--ease) both; animation-delay: 1.8s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOld {
    from { opacity: 0; transform: translateX(-12px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop {
    0%   { opacity: 0; transform: scale(0.6); }
    70%  { opacity: 1; transform: scale(1.06); }
    100% { opacity: 1; transform: scale(1); }
}

/* ─── Text ──────────────────────────────────────────────────────── */
.title {
    margin: 0 0 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    animation: rise 0.9s var(--ease) both;
    animation-delay: 2.3s;
}
.title__line { display: block; }
.title__line:first-child {
    font-size: clamp(20px, 3.2vw, 28px);
    font-weight: 500;
    color: var(--white-soft);
    margin-bottom: 8px;
}
.title__line--strong {
    font-size: clamp(32px, 6.4vw, 60px);
    background: linear-gradient(100deg, #FFFFFF 0%, #FFF3BF 45%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 620px;
    margin: 0 auto 32px;
    font-size: clamp(17px, 2vw, 19px);
    color: var(--white-soft);
    animation: rise 0.9s var(--ease) both;
    animation-delay: 2.5s;
}

.cta {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 0 0 48px;
    animation: rise 0.9s var(--ease) both;
    animation-delay: 2.7s;
}
.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(245, 197, 24, 0.28), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
    cursor: pointer;
}
.button:hover { color: var(--ink); background: #FFD43B; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(245, 197, 24, 0.36), 0 3px 8px rgba(0, 0, 0, 0.25); }
.button:active { transform: translateY(0) scale(0.98); }
.button svg { transition: transform 0.2s var(--ease); }
.button:hover svg { transform: translateX(4px); }
.cta__url { font-size: 14px; color: var(--white-soft); letter-spacing: 0.02em; }

/* ─── Fakten ────────────────────────────────────────────────────── */
.facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    text-align: left;
}
.facts__item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "icon label" "icon value";
    column-gap: 14px;
    row-gap: 2px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--white-faint);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: rise 0.8s var(--ease) both;
}
.facts__item:nth-child(1) { animation-delay: 2.9s; }
.facts__item:nth-child(2) { animation-delay: 3.0s; }
.facts__item:nth-child(3) { animation-delay: 3.1s; }
.facts__icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(245, 197, 24, 0.16);
    color: var(--gold);
}
.facts__label {
    grid-area: label;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-soft);
}
.facts__value {
    grid-area: value;
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
a.facts__value { text-decoration: none; }
a.facts__value:hover { text-decoration: underline; }

/* ─── Fuß ───────────────────────────────────────────────────────── */
.foot {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 8px 20px 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px 40px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--white-soft);
    animation: rise 0.8s var(--ease) both;
    animation-delay: 3.3s;
}
.foot__block { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 18px; }
.foot h2 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}
.foot p { margin: 0 0 10px; }

/* ─── Bewegung reduzieren ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
    }
    .morph__line, .morph__head { stroke-dashoffset: 0; }
}

@media (max-width: 480px) {
    .morph { gap: 10px; }
    .morph__arrow svg { width: 40px; }
    .facts__item { padding: 16px; }
}
