/* ===== RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== FARBEN ===== */

:root {
    --kunst: #7a2cff;
    --handwerk: #c08a4d;
    --wirkung: #2c7aff;

    --dark: #0e0e11;
    --card: #18181f;
    --soft: #b3b3c2;
}

/* ===== BASIS ===== */

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--dark);
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HERO ===== */

.hero {
    height: 100vh;
    background: url('hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 10px;
}

.hero h2 {
    color: var(--kunst);
    margin-bottom: 20px;
}

.hero p {
    color: var(--soft);
    font-size: 18px;
}

/* BUTTON */
.cta {
    margin-top: 25px;
    display: inline-block;
    padding: 14px 30px;
    background: var(--kunst);
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.cta:hover {
    background: #9b5cff;
}

/* ===== SECTION ===== */

.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1100px;
    margin: auto;
}

/* ===== GRID ===== */

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* ===== CARD ===== */

.card {
    width: 320px;
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.4s;
}


.card, .subcard {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover, .subcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.card:hover {
    transform: translateY(-10px);
}

/* ===== BILD ===== */

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* ===== CONTENT ===== */

.card-content {
    padding: 22px;
    text-align: center;
}

/* ===== HEADLINE ===== */

.card h3 {
    margin-bottom: 10px;
    line-height: 1.3;
}

/* SUBLINE */
.subline {
    display: block;
    font-size: 1.15em;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* TEXT */
.card p {
    color: var(--soft);
    margin-bottom: 10px;
}

/* ===== LEVEL 2 ===== */


.level-2 {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* ===== SUBGRID (THUMBNAILS) ===== */

.subgrid strong {
    width: 100%;
    text-align: center;
}


.subgrid {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* THUMBNAIL CARD */
.subcard {
    width: 90px;
    text-align: center;
    font-size: 11px;
    color: #ccc;
    background: rgba(255,255,255,0.03);
    padding: 6px;
    border-radius: 8px;
    transition: 0.3s;
}

/* THUMBNAIL IMAGE */
.subcard img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 5px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

/* HOVER */
.subcard:hover {
    background: rgba(255,255,255,0.06);
}

.subcard:hover img {
    transform: scale(1.08);
}

/* ===== FARBWELTEN ===== */

/* KUNST */
.card.kunst .subline {
    color: var(--kunst);
}
.card.kunst:hover {
    box-shadow: 0 20px 50px rgba(122,44,255,0.4);
}

/* HANDWERK */
.card.handwerk .subline {
    color: var(--handwerk);
}
.card.handwerk:hover {
    box-shadow: 0 20px 50px rgba(192,138,77,0.4);
}

/* WIRKUNG */
.card.wirkung .subline {
    color: var(--wirkung);
}
.card.wirkung:hover {
    box-shadow: 0 20px 50px rgba(44,122,255,0.4);
}

.zitat {
    font-style: italic;
    opacity: 0.75;
    border-left: 3px solid rgba(0,0,0,0.2);
    padding-left: 10px;
    margin-top: 10px;
}

/* ===== FOOTER ===== */

.footer {
    padding: 40px;
    text-align: center;
    color: #777;
}