/* WHITEGOAT BIO
   Bio-Seite im Look der Startseite. Tokens, Header/Footer: whitegoat-base.css */

/**************************************************************/
/* MAIN (gleiche Logik wie Startseite) */
/**************************************************************/
main.bio-page {
    position: relative;
    z-index: 80;
    flex: 1;
    min-height: calc(100dvh - var(--bar-height) - var(--footer-reserved-height));
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;   /* vertikal zentrieren */
    padding:
        calc(var(--bar-height) + 0.75rem)
        var(--stage-padding-inline)
        calc(var(--footer-reserved-height) + 2rem);
    pointer-events: none;
}

main.bio-page .kicker {
    margin-top: 11px;
    margin-bottom: 35px;
    letter-spacing: 0.22em;
    font-size: 18px;
    font-weight: 700;
    color: #d7d7dc;
}

/**************************************************************/
/* BIO-CARD (Schwester von .card.current) */
/**************************************************************/
.bio-card {
    --ink: #d7d7dc;
    --muted: rgba(215, 215, 220, 0.62);
    --line: rgba(255, 255, 255, 0.12);
    --ring: rgba(211, 19, 27, 0.35);

    box-sizing: border-box;
    pointer-events: auto;
    width: min(980px, calc(100vw - 48px));
    margin: 4rem 0;
    padding: 44px 48px 0;
    font-family: var(--font-family-body);
    color: var(--ink);
    background: #111;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 0 0 2px var(--ring), 0 30px 60px rgba(0, 0, 0, 0.6);
    /* optional, falls die Keyframes auf der Seite geladen sind:
       animation: current-shadow-puls 9.6s ease-in-out infinite; */
}

.bio-card-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem 3rem;
    align-items: start;
}
.bio-card-identity {
    margin: 0;                 /* figure-Standardabstände weg */
}

/* Portrait im Cover-Format 2:3 wie die Bücher */
.bio-card-identity img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    /* filter: grayscale(1) contrast(1.05); */
}

.bio-card-name {
    margin: 1.2rem 0 0.4rem;
    font-size: 18px;
    font-family: var(--font-family);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
}

.bio-card-role {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.bio-card-copy h1 {
    font-family: var(--font-family);
    margin: 0 0 1.2rem;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-wrap: balance;
    color: var(--color-text-active, #fff);
    text-shadow: -6px 0 12px #230404;
}

.bio-card-copy {
    display: flex;
    flex-direction: column;
}

.bio-card-copy p {
    max-width: 62ch;
    margin: 0 0 1.1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(215, 215, 220, 0.85);
}

.bio-card-copy .info-moreButton {
    align-self: flex-end;
    min-width: 0;
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #d7d7dc;
    cursor: pointer;
    text-align: right;
}

.bio-card-copy .info-moreButton::before {
    content: none;
}

.bio-card-copy .info-moreButton:hover,
.bio-card-copy .info-moreButton:focus-visible {
    background: none;
    background-color: transparent;
    box-shadow: none;
    color: #d7d7dc;
    opacity: 0.7;
    transform: none;
}

.bio-card-more {
    display: block;
    font-family: var(--font-family);
    margin: 1.8rem 0 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color-button-text-active, var(--ink));
    transition: color 0.45s ease;
}

.bio-card-more:hover,
.bio-card-more:focus-visible {
    color: #fff;
}

/**************************************************************/
/* LEISTE UNTEN: Mail + Social */
/**************************************************************/
.bio-card-bar {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.2rem;
    border-top: 1px solid var(--line);
}

.bio-card-mail,
.bio-card-social-nav a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.45s ease;
}

.bio-card-mail svg,
.bio-card-social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.bio-card-social-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.bio-card-social-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bio-card-social-link a:hover,
.bio-card-social-link a:focus-visible,
.bio-card-mail:hover,
.bio-card-mail:focus-visible {
    color: var(--color-button-text-active, #fff);
}

/**************************************************************/
/* BIO MODAL */
/**************************************************************/
.bio-modal[hidden] {
    display: none;
}

.bio-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.bio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.bio-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    max-height: min(80vh, 900px);
    overflow: auto;
    padding: 2rem;
    border: 1px solid rgba(var(--color-text-active-rgb), 0.38);
    border-radius: 10px;
    background:
        linear-gradient(rgba(9, 11, 14, 0.96), rgba(9, 11, 14, 0.98)),
        url("../media/webkit/hookBackground.png") center center / cover no-repeat;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.58),
        inset 0 0 0 1px rgba(189, 207, 167, 0.12);
}

.bio-modal-dialog h2 {
    margin: 0 0 1rem;
    font-family: var(--font-family);
    font-size: clamp(1.55rem, 1.5vw, 1.9rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.025em;
    color: var(--text-color);
}

.bio-modal-content {
    font-family: var(--font-family-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.48;
    letter-spacing: 0.01em;
    color: var(--text-color);
    text-wrap: pretty;
}

.bio-modal-content h1 {
    margin: 0 0 1rem;
    font-family: var(--font-family);
    font-size: clamp(1.9rem, 2vw, 2.4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: var(--color-text-active, #fff);
    text-shadow: -6px 0 12px #230404;
}

.bio-modal-content h2 {
    margin: 1.6rem 0 0.75rem;
    font-family: var(--font-family);
    font-size: clamp(1.2rem, 1.2vw, 1.45rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #fff;
}

.bio-modal-content p {
    margin: 0 0 1.15em;
}

.bio-modal-content p:last-child {
    margin-bottom: 0;
}

.bio-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(189, 207, 167, 0.3);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.bio-modal-close:hover,
.bio-modal-close:focus-visible {
    border-color: rgba(189, 207, 167, 0.5);
    color: var(--text-color-active);
    outline: none;
}

.bio-modal .quote-list {
    padding-left: 1.25rem;
}

.bio-modal .quote-list li + li {
    margin-top: 0.8rem;
}

/**************************************************************/
/* BIO MODAL POPUP SOUNDTRACK SECTION */
/**************************************************************/
.soundtrack-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.playlist-cover {
  flex: 0 0 280px; /* feste Breite für das Cover */
}

.playlist-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.playlist-info {
  flex: 1;
  min-width: 280px;
}

.playlist-info h1 {
  margin-top: 0;
  font-size: 1.8rem;
}

.playlist-info h2 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}
/* =============================================================================
   BIO
   ============================================================================= */

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
    main.bio-page {
        padding-top: 56px;
        padding-bottom: calc(var(--footer-reserved-height) + 1.5rem);
    }

    .bio-card {
        width: min(calc(100vw - 32px), 54rem);
        margin: 1.5rem 0;
        padding: 24px 24px 0;
    }

    .bio-card-body {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem 2rem;
    }

    .bio-card-copy h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .bio-card-copy p {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .bio-modal-dialog {
        max-height: 80dvh;
    }
}

@media (max-width: 720px) {
    main.bio-page {
        justify-content: flex-start;
        padding-top: calc(var(--bar-height) + 1rem);
        padding-bottom: calc(var(--footer-reserved-height) + 1.5rem);
    }

    .bio-card {
        width: calc(100vw - 32px);
        margin: 1.5rem 0;
        padding: 24px 20px 0;
    }

    .bio-card-body {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .bio-card-identity {
        width: min(100%, 260px);
        margin: 0 auto;
        text-align: center;
    }

    .bio-card-copy h1 {
        font-size: 24px;
    }

    .bio-card-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .bio-modal {
        padding: 1rem;
    }

    .bio-modal-dialog {
        max-height: 86vh;
        padding: 1.35rem;
    }

    .bio-modal-content h1 {
        padding-right: 2rem;
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
}

@media (max-width: 700px) {
    .soundtrack-section {
        flex-direction: column;
    }

    .playlist-cover {
        flex: none;
        max-width: 320px;
    }
}
