.bigsection {
    display: flex;         /* Flexbox aktivieren */
    gap: 1rem;             /* Abstand zwischen den Bigcards */
    justify-content: center; /* optional: zentriert die Bigcards in der Zeile */
    width: 100%;
}

.bigcard {
    flex: 1 1 45%;         /* nimmt ca. 80% der Breite ein, flexibel */
    min-width: 250px;      /* verhindert, dass sie zu klein werden */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    cursor: pointer;
    height: 8rem;
}
.bigsection-wrapper {
    display: flex;
    flex-direction: column;  /* stapelt die bigsections vertikal */
    gap: 1rem;               /* Abstand zwischen den bigsections */
    width: 100%;
    align-items: center;     /* optional: zentriert die bigsections horizontal */
}

/* Startseite: nordisches Layout (Halle, quadratische Kacheln) */

.container.container--home-nordic {
    align-items: stretch;
    min-width: 0;
    overflow-x: hidden;
}

.container--home-nordic {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) clamp(0.75rem, min(3vw, 1.5rem), 2rem) clamp(2rem, 5vw, 4rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: calc(100vh - 9rem);
    min-height: calc(100dvh - 9rem);
}

.home-nordic-stage {
    --nordic-tile-gap: clamp(1rem, 5vw, 5rem);
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(0.75rem, min(4vw, 2.5rem), 3rem);
    border-radius: 6px;
    background: linear-gradient(165deg, rgba(26, 26, 46, 0.42) 0%, rgba(46, 46, 78, 0.28) 100%);
    border: 2px solid rgba(200, 169, 74, 0.55);
    box-shadow:
        0 0 0 1px rgba(26, 26, 46, 0.35),
        0 24px 56px rgba(10, 12, 28, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-nordic-stage::before,
.home-nordic-stage::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(200, 169, 74, 0.65);
    pointer-events: none;
}

.home-nordic-stage::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.home-nordic-stage::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.bigsection--nordic {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: var(--nordic-tile-gap, clamp(1rem, 5vw, 5rem));
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bigsection--nordic .bigcard--nordic {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: min(560px, calc((100% - var(--nordic-tile-gap, clamp(1rem, 5vw, 5rem))) / 2));
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(200, 169, 74, 0.35);
    background: #1a1a2e;
    box-shadow:
        0 18px 42px rgba(8, 10, 22, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bigcard-nordic__head {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(0.4rem, 1.8vmin, 0.85rem);
    padding-top: clamp(2.1rem, 6.5vmin, 3.75rem);
    padding-right: clamp(1rem, 3.5vmin, 1.75rem);
    /* Extra Luft über dem border-bottom — vermeidet Edge/Chromium-Unterschiede bei Flex-Zeilenhöhe */
    padding-bottom: calc(clamp(1rem, 3.5vmin, 1.75rem) + 0.55rem);
    padding-left: clamp(1rem, 3.5vmin, 1.75rem);
    min-height: 0;
    background: linear-gradient(180deg, #232342 0%, #1a1a2e 100%);
    border-bottom: 4px solid #c8a94a;
}

.bigsection--nordic .bigcard--nordic-physik .bigcard-nordic__head {
    border-bottom-color: #8ea4bc;
    background: linear-gradient(180deg, #363658 0%, #2e2e4e 100%);
}

.bigcard-nordic__glyph {
    width: clamp(3rem, 14vmin, 5.5rem);
    height: clamp(3rem, 14vmin, 5.5rem);
    flex-shrink: 0;
    background: linear-gradient(145deg, #e4c76a 0%, #c8a94a 45%, #8a722e 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bigcard-nordic__glyph--muted {
    background: linear-gradient(145deg, #b8c4d4 0%, #8ea4bc 50%, #5a6780 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bigcard-nordic__head h2 {
    margin: 0;
    padding-bottom: 0.12em;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 5vmin, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f5f0e8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    line-height: 1.15;
    max-width: 12ch;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .container--home-nordic {
        min-height: auto;
    }

    .home-nordic-stage {
        --nordic-tile-gap: clamp(1.25rem, 6vw, 2.5rem);
    }

    .bigsection--nordic {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .bigsection--nordic .bigcard--nordic {
        flex: 0 0 auto;
        width: min(100%, 380px);
        max-width: min(100%, 380px);
    }
}

.bigsection--nordic .bigcard--nordic:hover:not(.bigcard--nordic-muted) {
    transform: translateY(-4px);
    box-shadow:
        0 28px 60px rgba(8, 10, 22, 0.55),
        0 0 0 2px rgba(200, 169, 74, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(200, 169, 74, 0.65);
}

.bigsection--nordic .bigcard--nordic-physik {
    cursor: default;
}

.bigsection--nordic .bigcard--nordic-muted:hover {
    transform: none;
}
