/* ===================================================================
   seite.css - Kopfbereich, Launen-Raster, Größenreihe.
   Zweiter Teil in seite-2.css (Einsatzbeispiele, Farben, Regeln).
   =================================================================== */

/* --- Kopfbereich --------------------------------------------------- */

.buehne {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding-block: 4.5rem 5rem;
}

@media (min-width: 62rem) {
    .buehne {
        grid-template-columns: 1.05fr .95fr;
        gap: 4rem;
        padding-block: 5.5rem 4rem;
    }
}

.buehne-text h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.6rem);
    margin: .8rem 0 1.2rem;
}

.buehne-text h1 span {
    background: linear-gradient(115deg, #8cc2ff 0%, #3b82f6 45%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.buehne-text .anriss {
    font-size: 1.12rem;
    max-width: 34rem;
    margin-bottom: 1.6rem;
}

.schild {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--akzent-hell);
    background: rgba(59, 130, 246, .1);
    border: 1px solid rgba(59, 130, 246, .28);
    border-radius: 999px;
    padding: .35rem .9rem;
}

.buehne-fakten {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--rand);
}

.faktum strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.faktum span {
    font-size: .82rem;
    color: var(--text-leise);
}

/* --- Die große Aeri-Bühne ----------------------------------------- */

.buehne-bild {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 24rem;
    border-radius: 2rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(59, 130, 246, .16) 0, transparent 62%),
        var(--flaeche);
    border: 1px solid var(--rand);
    box-shadow: var(--schatten);
}

/* Sternenfeld: ein Muster, keine hundert Elemente. */
.buehne-bild::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 18% 22%, rgba(255, 255, 255, .55) 50%, transparent 50%),
        radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, .4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 84% 66%, rgba(255, 255, 255, .35) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 78%, rgba(255, 255, 255, .3) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 88%, rgba(255, 255, 255, .25) 50%, transparent 50%);
    opacity: .8;
    pointer-events: none;
}

.aeri-seite[data-thema="hell"] .buehne-bild::before { opacity: .25; }

.buehne-bild aeri-tier {
    --aeri-groesse: clamp(13rem, 26vw, 19rem);
    position: relative;
    z-index: 1;
    margin: auto;
}

/* Die Leiste unten in der Bühne: Laune links, Regler rechts. Vorher saßen
   beide frei in den Ecken und sahen aufgeklebt aus. */
.buehne-leiste {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 0 .9rem .9rem;
    padding: .45rem .5rem .45rem .95rem;
    background: color-mix(in srgb, var(--grund) 62%, transparent);
    -webkit-backdrop-filter: blur(.6rem);
    backdrop-filter: blur(.6rem);
    border: 1px solid var(--rand);
    border-radius: 999px;
}

.buehne-laune {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    font-size: .78rem;
    color: var(--text-leise);
}

.buehne-laune b {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

.buehne-leiste .knopf {
    font-size: .72rem;
    padding: .3rem .8rem;
}

/* --- Launen-Raster ------------------------------------------------- */

.launen {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 1rem;
}

.laune {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.4rem 1.4rem 1.5rem;
    text-align: left;
    font: inherit;
    color: var(--text);
    background: var(--flaeche);
    border: 1px solid var(--rand);
    border-radius: var(--rundung);
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.laune:hover {
    border-color: rgba(59, 130, 246, .4);
    background: var(--flaeche-stark);
    transform: translateY(-3px);
}

.laune:focus-visible {
    outline: 2px solid var(--akzent);
    outline-offset: 3px;
}

.laune[aria-pressed="true"] {
    border-color: rgba(59, 130, 246, .55);
    background: linear-gradient(160deg, rgba(59, 130, 246, .14), rgba(59, 130, 246, .04));
    box-shadow: 0 .75rem 2rem var(--schein);
}

.laune-bild {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5rem;
    margin-bottom: .6rem;
    border-radius: var(--rundung-klein);
    background: radial-gradient(circle at 50% 45%, rgba(59, 130, 246, .12) 0, transparent 70%);
}

.laune h3 {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.laune h3 code {
    font-size: .68rem;
    color: var(--text-leise);
    background: var(--flaeche-stark);
    border: 1px solid var(--rand);
    border-radius: .4rem;
    padding: .1rem .4rem;
}

.laune p { font-size: .9rem; }

.laune .laune-wo {
    margin-top: .5rem;
    font-size: .78rem;
    color: var(--akzent-hell);
}

/* --- Größenreihe -------------------------------------------------- */

.groessen {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2.5rem;
    padding: 2.5rem 2rem 2rem;
}

.groesse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    flex: 0 0 auto;
}

.groesse-bild {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 11.5rem;
}

.groesse b {
    font-family: 'Outfit', sans-serif;
    font-size: .95rem;
}

/* Feste Höhe für die Beschriftung: sonst rutschen Spalten mit zweizeiligem
   Text nach oben und die Reihe steht nicht mehr auf einer Linie. */
.groesse span {
    font-size: .74rem;
    color: var(--text-leise);
    max-width: 8rem;
    min-height: 2.5rem;
    text-align: center;
    line-height: 1.4;
}

.groessen-hinweis {
    margin-top: 1.25rem;
    font-size: .88rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

/* --- Hinweis: noch nirgends eingebaut ---------------------------------
   Steht auf der Bühne zwischen Anriss und Fakten. Bewusst zurückhaltend
   gehalten: eine Angabe zum Stand, keine Warnung. */
.aeri-noch-nicht {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 22px 0 4px;
    padding: 14px 18px;
    max-width: 56ch;
    border: 1px solid rgba(147, 197, 253, .22);
    border-left: 3px solid rgba(96, 165, 250, .75);
    border-radius: 12px;
    background: rgba(30, 58, 138, .16);
}

.aeri-noch-nicht-zeichen {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: .85;
}

.aeri-noch-nicht-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aeri-noch-nicht-text strong {
    font-size: .95rem;
    letter-spacing: .01em;
    color: #dbeafe;
}

.aeri-noch-nicht-text > span {
    font-size: .88rem;
    line-height: 1.62;
    color: rgba(191, 219, 254, .78);
}

@media (max-width: 640px) {
    .aeri-noch-nicht { padding: 12px 14px; gap: 10px; }
}
