/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body.artikel-page {
    font-family: Arial, sans-serif;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    padding: 104px 20px 60px;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background: #050816;
}


/* ARTIKEL-CONTAINER */
.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ARTIKEL HERO */
.artikel-hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 380px;
    display: flex;
    align-items: flex-end;
    background-color: #050816;
    box-shadow:
        0 28px 85px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(124, 140, 255, 0.10);
}

/* Fallback-Hintergrund, falls kein Artikelbild vorhanden ist */
.artikel-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #2d1b6e 0%, #0d1533 50%, #000 100%);
    z-index: 0;
}

/* Artikelbild */
.artikel-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hero abdunkeln */
.artikel-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 8, 22, 0.88), rgba(5, 8, 22, 0.08)),
        radial-gradient(circle at center, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.30));
    z-index: 2;
}

/* Hero Text */
.artikel-hero-content {
    position: relative;
    z-index: 3;
    padding: 36px;
}

.artikel-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(18, 24, 58, 0.62);
    border: 1px solid rgba(150, 165, 255, 0.34);
    color: #c5cbff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.artikel-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}

/* INHALTSBEREICH */
.artikel-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

/* FAKTEN-KARTE */
.fakten-karte {
    background: rgba(8, 12, 30, 0.74);
    border: 1px solid rgba(155, 170, 230, 0.22);
    border-radius: 22px;
    padding: 28px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    align-self: start;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fakten-karte h2 {
    font-size: 16px;
    color: #9d9aff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.fakt-zeile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fakt-zeile:last-child {
    border-bottom: none;
}

.fakt-label {
    color: #a8adc7;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fakt-wert {
    color: white;
    font-size: 15px;
}

/* BESCHREIBUNGS-KARTE */
.beschreibung-karte {
    background: rgba(8, 12, 30, 0.74);
    border: 1px solid rgba(155, 170, 230, 0.22);
    border-radius: 22px;
    padding: 36px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.beschreibung-karte h2 {
    font-size: 16px;
    color: #9d9aff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.beschreibung-karte p {
    color: #d2d6eb;
    font-size: 15px;
    line-height: 1.8;
}

/* BEARBEITEN-BUTTON */
.bearbeiten-link {
    display: inline-block;
    width: 100%;
    margin-top: 24px;
    padding: 12px 26px;
    border-radius: 999px;

    background: rgba(80, 100, 200, 0.2);
    border: 1px solid rgba(180, 195, 255, 0.22);

    color: rgba(245, 247, 255, 0.92);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-align: center;

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.bearbeiten-link:hover {
    transform: translateY(-2px);
    background: rgba(80, 100, 200, 0.2);
    border-color: rgba(205, 215, 255, 0.34);
    color: white;

    box-shadow:
       0 16px 36px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* LÖSCHEN-BUTTON */
.loeschen-button {
    width: 100%;
    margin-top: 10px;
    padding: 12px 26px;
    border: 1px solid rgba(255, 80, 80, 0.38);
    border-radius: 999px;
    background: rgba(255, 80, 80, 0.10);
    color: #ff7777;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.loeschen-button:hover {
    background: rgba(255, 80, 80, 0.22);
    border-color: rgba(255, 80, 80, 0.65);
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 16px rgba(255, 80, 80, 0.28);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        max-width: 100%;
    }

    .artikel-body {
        grid-template-columns: 1fr;
    }

    .artikel-hero {
        height: 320px;
    }
}

@media (max-width: 700px) {
    body.artikel-page {
        padding: 96px 14px 40px;
    }

    body.artikel-page::before,
    body.artikel-page::after {
        top: 72px;
    }

    .artikel-hero {
        height: 260px;
        border-radius: 18px;
    }

    .artikel-hero-content {
        padding: 24px;
    }

    .artikel-hero h1 {
        font-size: 34px;
    }

    .fakten-karte,
    .beschreibung-karte {
        padding: 24px;
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    .artikel-hero h1 {
        font-size: 28px;
    }

    .artikel-badge {
   font-size: 11px;
    }
}