/*
 * PictureGrove – Home-Seite
 * ------------------------------------------------------------
 * Basislayout bewusst an learn-more.css angelehnt.
 * Die eigentlichen Home-Module folgen darunter separat.
 */


/* ============================================================
   GRUNDVARIABLEN / SEITENRAHMEN
   ============================================================ */
:root {
    --stage-bg: #0d0b09;
    --bg: #151311;
    --panel: #1c1917;
    --text: #f1ece2;
    --muted: #cfc6b8;
    --soft: #9f9689;
    --line: rgba(255,255,255,0.10);
    --max-page: 1120px;
}


/* ============================================================
   BASIS / RESET
   ============================================================ */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--stage-bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top center, rgba(120, 92, 34, 0.08) 0%, rgba(21, 19, 17, 0) 34%),
        var(--bg);
    color: var(--text);
}


/* ============================================================
   ÄUSSERE SEITENHÜLLE
   ============================================================ */
.shell {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-intro-block {
    padding-top: 14px;
    padding-bottom: 0;
}

.home-intro-inner {
    padding-top: 6px;
    padding-bottom: 0;
}

.home-intro-inner {
    padding-top: 6px;
    padding-bottom: 0;
    position: relative;
}
 
.home-intro-inner--signed-in {

    padding-right: calc(((100% - 16px) / 3) + 16px);
}

.home-member-login {
    position: absolute;
    top: 27px;
    right: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 177, 118, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.home-member-login--signed-in {
    top: -3px;
    width: calc(((100% - 16px) / 3) - 5px);
    max-width: 352px;
    height: 108px;
    justify-content: space-between;
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 24px;
}

.home-member-login__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.home-member-login__label {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.2;
    color: #f1ece2;
}

.home-member-login__account {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-member-login__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.home-member-login__icon-link svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: #f1ece2;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-member-login__logout {
    font-size: 13px;
    line-height: 1.2;
    color: #f1ece2;
    text-decoration: none;
}

.home-member-login__name {
    max-width: calc(100% - 64px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    color: #c8bcaa;
    text-align: left;
}

.home-member-login:hover,
.home-member-login:focus-visible {
    border-color: rgba(201, 177, 118, 0.18);
    background: rgba(255, 255, 255, 0.02);
}

.home-member-login svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: #f1ece2;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-kicker {
    display: block;
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #978c7a;
}

.home-intro-inner h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(1.75rem, 3.35vw, 3.0rem);
    line-height: 1.02;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: #f3ede2;
}

.home-intro {
    margin: 18px 0 0;
    max-width: 860px;
    font-size: 16px;
    line-height: 1.45;
    color: #c6bba9;
}

.home-content {
    flex: 1 0 auto;
    padding-top: 26px;
    padding-bottom: 16px;
}

.home-row {
    display: grid;
    gap: 16px;
}

.home-row-primary {
    grid-template-columns: 2.015fr 0.985fr;
    margin-bottom: 16px;
}

.home-row-secondary {
    grid-template-columns: repeat(3, 1fr);
}

.home-module {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 177, 118, 0.14);
    border-radius: 24px;
    padding: 24px 24px 20px;
    box-sizing: border-box;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 12px 28px rgba(0, 0, 0, 0.22);
}

.home-module::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(213, 176, 92, 0.42) 0%, rgba(213, 176, 92, 0) 72%);
}

.home-module::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(213, 176, 92, 0.42) 0%, rgba(213, 176, 92, 0) 72%);
}

.home-module-soon {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 6px 10px;
    z-index: 3;
    border: 1px solid rgba(154, 198, 255, 0.62);
    border-radius: 999px;
    border-radius: 999px;
    background: rgba(18, 28, 44, 0.74);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #cfe4ff;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.home-module:hover .home-module-soon,
.home-module:focus-within .home-module-soon {
    opacity: 1;
    transform: translateY(0);
}

.home-row-primary .home-module {
    min-height: 320px;
}

.home-row-secondary .home-module {
    min-height: 164px;
}

.home-module h2 {
    margin: 0 0 14px;
    font-size: 31px;
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #f3ede2;
}

.home-module-current h2 {
    margin: 18px 0 -4px;
}

.home-row-secondary .home-module h2 {
    font-size: 28px;
}

.home-module p {
    margin: 0;
    max-width: 34ch;
    font-size: 17px;
    line-height: 1.5;
    color: #c8bcaa;
}

.home-module-current {
    display: grid;
    grid-template-rows: 132px auto;
    row-gap: 18px;
    align-content: start;
    background:
        radial-gradient(circle at top left, rgba(214, 169, 76, 0.12) 0%, rgba(214, 169, 76, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
}

.home-module-visual--current {
    display: grid;
    grid-template-columns: 1.08fr 0.78fr 1.14fr;
    gap: 10px;
    height: 156px;
    margin: -6px -6px 0;
    overflow: hidden;
    align-items: stretch;
}

.home-current-tile {
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.home-current-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: rgba(255, 255, 255, 0.04);
}

.home-module-noteworthy {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 80% 18%, rgba(151, 118, 60, 0.18) 0%, rgba(151, 118, 60, 0) 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.018) 100%);
}
.home-module-noteworthy:hover,
.home-module-noteworthy:focus-visible {
    border-color: rgba(201, 177, 118, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 22px 44px rgba(0, 0, 0, 0.34);
    transform: translateY(-2px);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.home-module-visual--noteworthy {
    position: relative;
    height: 156px;
    margin: -6px -6px 18px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.home-module-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-module-topics {
    background:
        radial-gradient(circle at 16% 18%, rgba(87, 112, 72, 0.16) 0%, rgba(87, 112, 72, 0) 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.016) 100%);
}

.home-module-community {
    background:
        radial-gradient(circle at 82% 16%, rgba(87, 96, 124, 0.18) 0%, rgba(87, 96, 124, 0) 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.016) 100%);
}

.home-module-stories {
    background:
        radial-gradient(circle at 50% 0%, rgba(132, 86, 62, 0.18) 0%, rgba(132, 86, 62, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.016) 100%);
}

.site-footer {
    flex: 0 0 auto;
    padding-top: 14px;
    padding-bottom: 14px;
    border-top: 1px solid rgba(201, 177, 118, 0.12);
}

.site-footer-inner {
    min-height: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.2;
    color: #9f937f;
}