:root {
    --bg-main: #100b07;
    --bg-deep: #070504;
    --bg-card: rgba(43, 29, 18, 0.88);
    --bg-card-solid: #24170f;

    --gold: #c99a3d;
    --gold-light: #f3cd76;
    --gold-soft: rgba(243, 205, 118, 0.16);

    --brown: #4a2d1b;
    --brown-dark: #20130c;

    --text: #f7ecd8;
    --text-soft: #cbb99b;
    --text-muted: #95836a;

    --border-gold: rgba(243, 205, 118, 0.30);
    --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.48);
    --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);

    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 14px;

    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(201, 154, 61, 0.20), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(120, 76, 32, 0.25), transparent 34%),
        linear-gradient(135deg, var(--bg-main), #21140d 48%, var(--bg-deep));
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 75%);
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(243, 205, 118, 0.10);
    background: rgba(13, 9, 6, 0.74);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(13, 9, 6, 0.92);
    box-shadow: 0 12px 35px rgba(0,0,0,0.34);
}

.header-inner {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--gold-light);
    background:
        radial-gradient(circle at 35% 20%, rgba(243,205,118,0.32), transparent 38%),
        linear-gradient(145deg, rgba(201,154,61,0.22), rgba(77,44,22,0.42));
    border: 1px solid var(--border-gold);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-soft);
    font-size: 26px;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--gold-light);
    font-size: 17px;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 700;
    padding: 11px 14px;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
    color: var(--gold-light);
    background: rgba(243,205,118,0.08);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--gold-light);
    border-radius: 2px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: grid;
    place-items: center;
    padding: 80px 18px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(243,205,118,0.08);
    border-radius: 38px;
    pointer-events: none;
}

.hero-content {
    width: min(980px, 100%);
    position: relative;
    z-index: 2;
    padding: 54px 44px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(43,29,18,0.82), rgba(19,12,8,0.88)),
        radial-gradient(circle at top, rgba(243,205,118,0.16), transparent 48%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

.eyebrow,
.section-kicker {
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 900;
}

.hero h1 {
    margin: 14px 0 24px;
    color: var(--gold-light);
    font-size: clamp(44px, 8vw, 92px);
    line-height: 0.96;
    text-shadow: 0 6px 26px rgba(0,0,0,0.65);
}

.hero-text {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 900;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #1c1209;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

.btn-secondary {
    color: var(--gold-light);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-gold);
}

.hero-stats {
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 720px;
}

.hero-stats div {
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(243,205,118,0.16);
}

.hero-stats strong {
    display: block;
    color: var(--gold-light);
    font-size: 22px;
}

.hero-stats span {
    display: block;
    color: var(--text-muted);
    margin-top: 5px;
}

.hero-bg-rune {
    position: absolute;
    z-index: 1;
    color: rgba(243,205,118,0.055);
    font-size: clamp(150px, 22vw, 340px);
    font-weight: 900;
    line-height: 1;
    user-select: none;
}

.hero-rune-one {
    left: 3%;
    top: 13%;
    transform: rotate(-14deg);
}

.hero-rune-two {
    right: 4%;
    bottom: 5%;
    transform: rotate(12deg);
}

.section {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    padding: 86px 0;
}

.section h2 {
    margin: 12px 0 20px;
    color: var(--gold-light);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.04;
}

.section p {
    color: var(--text-soft);
    font-size: 19px;
    line-height: 1.8;
    max-width: 920px;
}

.intro-section {
    border-top: 1px solid rgba(243,205,118,0.10);
}

.cards-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.info-card {
    min-height: 250px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(43,29,18,0.92), rgba(25,16,10,0.92));
    border: 1px solid rgba(243,205,118,0.18);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    font-size: 34px;
    margin-bottom: 18px;
}

.info-card h3 {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 22px;
}

.info-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.14), transparent 42%),
        linear-gradient(135deg, rgba(49,31,19,0.94), rgba(18,11,7,0.94));
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-strong);
}

.cta-box p {
    margin-bottom: 0;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 36px));
    margin: 0 auto;
    padding: 32px 0 46px;
    color: var(--text-muted);
    border-top: 1px solid rgba(243,205,118,0.10);
    text-align: center;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: rgba(15, 10, 7, 0.97);
        border: 1px solid var(--border-gold);
        box-shadow: var(--shadow-strong);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 16px;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
    }

    .hero-content {
        padding: 38px 22px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }
}

/***********************************************************************************************************************
 * SCHRITT 03 - SECTION ERWEITERUNGEN
 **********************************************************************************************************************/

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 28px;
}

.story-text {
    padding: 4px 0;
}

.lore-box {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(243,205,118,0.16), transparent 42%),
        linear-gradient(180deg, rgba(43,29,18,0.94), rgba(18,11,7,0.94));
    border: 1px solid rgba(243,205,118,0.22);
    box-shadow: var(--shadow-soft);
}

.lore-rune {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: var(--gold-light);
    background: rgba(243,205,118,0.10);
    border: 1px solid rgba(243,205,118,0.22);
    font-size: 30px;
    margin-bottom: 18px;
}

.lore-box h3 {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 24px;
}

.lore-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.cards-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

.rules-section {
    border-top: 1px solid rgba(243,205,118,0.10);
    border-bottom: 1px solid rgba(243,205,118,0.10);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.rule-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(35,23,15,0.95), rgba(16,10,7,0.95));
    border: 1px solid rgba(243,205,118,0.18);
    box-shadow: var(--shadow-soft);
}

.rule-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #1c1209;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-size: 14px;
}

.rule-card h3 {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 21px;
}

.rule-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.notice-box {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 18px;
    color: var(--text-soft);
    background: rgba(243,205,118,0.08);
    border: 1px solid rgba(243,205,118,0.22);
}

.notice-box strong {
    color: var(--gold-light);
}

.roadmap {
    position: relative;
    margin-top: 34px;
    display: grid;
    gap: 18px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(43,29,18,0.86), rgba(18,11,7,0.92));
    border: 1px solid rgba(243,205,118,0.16);
    box-shadow: var(--shadow-soft);
}

.roadmap-item span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #1c1209;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-weight: 900;
    font-size: 20px;
}

.roadmap-item h3 {
    margin: 0 0 8px;
    color: var(--gold-light);
    font-size: 22px;
}

.roadmap-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.resource-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.resource-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(243,205,118,0.08);
    border: 1px solid rgba(243,205,118,0.18);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }

    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .cards-grid-wide,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-item {
        grid-template-columns: 1fr;
    }
}

/***********************************************************************************************************************
 * SCHRITT 04 - EINZELNE SEITEN
 **********************************************************************************************************************/

.main-nav a.is-active {
    color: #1c1209;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.page-section {
    min-height: calc(100vh - 190px);
}

.page-title {
    margin: 12px 0 14px;
    color: var(--gold-light);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    text-shadow: 0 6px 26px rgba(0,0,0,0.55);
}

/***********************************************************************************************************************
 * SCHRITT 05 - GROSSE SAGA
 **********************************************************************************************************************/

.saga-page {
    max-width: 1120px;
}

.saga-hero-panel,
.saga-chapter,
.saga-verse,
.saga-prophecy {
    border: 1px solid rgba(243,205,118,0.18);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.09), transparent 38%),
        linear-gradient(180deg, rgba(43,29,18,0.88), rgba(15,9,6,0.94));
    box-shadow: var(--shadow-soft);
}

.saga-hero-panel {
    margin-top: 26px;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.saga-lead {
    color: var(--gold-light) !important;
    font-size: clamp(21px, 2.4vw, 29px) !important;
    line-height: 1.55 !important;
    max-width: 1000px !important;
}

.saga-prophecy {
    margin: 34px 0;
    padding: 28px;
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    align-items: start;
}

.saga-prophecy h2,
.saga-chapter h2,
.saga-longroll h2 {
    color: var(--gold-light);
}

.saga-chapter {
    margin: 30px 0;
    padding: 34px;
    border-radius: var(--radius-xl);
}

.saga-chapter p,
.saga-hero-panel p,
.saga-prophecy p,
.saga-longroll > p,
.saga-verse p {
    max-width: 1000px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.9;
}

.saga-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 52px 0;
    color: var(--gold-light);
    font-size: 42px;
    opacity: 0.85;
}

.saga-longroll {
    margin-top: 36px;
}

.saga-verse {
    margin: 22px 0;
    padding: 28px;
    border-radius: var(--radius-lg);
}

.saga-verse h3 {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: 24px;
}

.saga-ending {
    border-color: rgba(243,205,118,0.34);
}

.saga-final-oath {
    margin-top: 28px !important;
    padding: 24px;
    border-radius: 20px;
    color: var(--gold-light) !important;
    background: rgba(243,205,118,0.08);
    border: 1px solid rgba(243,205,118,0.24);
    font-weight: 800;
}

@media (max-width: 700px) {
    .saga-hero-panel,
    .saga-chapter,
    .saga-verse,
    .saga-prophecy {
        padding: 22px;
    }

    .saga-prophecy {
        grid-template-columns: 1fr;
    }

    .saga-chapter p,
    .saga-hero-panel p,
    .saga-prophecy p,
    .saga-longroll > p,
    .saga-verse p {
        font-size: 16px;
    }
}

/***********************************************************************************************************************
 * SCHRITT 06 - SCHWUR DER ACKERLEUTE
 **********************************************************************************************************************/

.oath-page {
    max-width: 1180px;
}

.oath-hero {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 48px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 18% 12%, rgba(243,205,118,0.16), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(201,154,61,0.12), transparent 30%),
        linear-gradient(180deg, rgba(43,29,18,0.92), rgba(13,8,5,0.96));
    border: 1px solid rgba(243,205,118,0.25);
    box-shadow: var(--shadow-strong);
}

.oath-hero p {
    max-width: 950px;
}

.oath-lead {
    color: var(--gold-light) !important;
    font-size: clamp(22px, 2.5vw, 32px) !important;
    line-height: 1.5 !important;
    font-weight: 800;
}

.oath-rune {
    position: absolute;
    pointer-events: none;
    color: rgba(243,205,118,0.06);
    font-size: clamp(130px, 19vw, 260px);
    font-weight: 900;
    line-height: 1;
}

.oath-rune-left {
    left: 2%;
    bottom: -30px;
    transform: rotate(-12deg);
}

.oath-rune-right {
    right: 3%;
    top: 20px;
    transform: rotate(10deg);
}

.oath-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.oath-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(43,29,18,0.90), rgba(18,11,7,0.94));
    border: 1px solid rgba(243,205,118,0.18);
    box-shadow: var(--shadow-soft);
}

.oath-card span {
    display: block;
    font-size: 36px;
    margin-bottom: 18px;
}

.oath-card h2 {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 22px;
}

.oath-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.oath-story {
    margin-top: 34px;
}

.requirements-panel {
    margin: 34px 0;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.12), transparent 38%),
        linear-gradient(135deg, rgba(36,23,15,0.94), rgba(14,9,6,0.96));
    border: 1px solid rgba(243,205,118,0.22);
    box-shadow: var(--shadow-soft);
}

.requirements-panel h2 {
    color: var(--gold-light);
    margin-top: 12px;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.requirements-list div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(243,205,118,0.14);
}

.requirements-list strong {
    display: block;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-size: 18px;
}

.requirements-list span {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.55;
}

.oath-final {
    padding: 40px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(201,154,61,0.16), rgba(43,29,18,0.92)),
        linear-gradient(180deg, rgba(43,29,18,0.92), rgba(13,8,5,0.96));
    border: 1px solid rgba(243,205,118,0.30);
    box-shadow: var(--shadow-strong);
}

.oath-final h2 {
    color: var(--gold-light);
    font-size: clamp(32px, 4vw, 56px);
    margin: 0 0 18px;
}

.oath-final p {
    max-width: 920px;
}

@media (max-width: 1000px) {
    .oath-grid,
    .requirements-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .oath-hero {
        padding: 34px;
    }
}

@media (max-width: 620px) {
    .oath-grid,
    .requirements-list {
        grid-template-columns: 1fr;
    }

    .oath-hero,
    .requirements-panel,
    .oath-final {
        padding: 24px;
    }
}

/***********************************************************************************************************************
 * SCHRITT 07 - BILDERGALERIE
 **********************************************************************************************************************/

.oath-image-gallery {
    margin: 38px 0;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.12), transparent 38%),
        linear-gradient(180deg, rgba(43,29,18,0.88), rgba(13,8,5,0.96));
    border: 1px solid rgba(243,205,118,0.22);
    box-shadow: var(--shadow-strong);
}

.oath-image-gallery h2 {
    margin: 12px 0 16px;
    color: var(--gold-light);
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.05;
}

.oath-image-gallery p {
    max-width: 960px;
}

.oath-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.oath-gallery-grid figure {
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(243,205,118,0.18);
    box-shadow: var(--shadow-soft);
}

.oath-gallery-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #100b07;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.oath-gallery-grid figure:hover img {
    transform: scale(1.035);
    filter: brightness(1.08);
}

.oath-gallery-grid figcaption {
    padding: 14px 16px 16px;
    color: var(--gold-light);
    font-weight: 900;
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width: 1000px) {
    .oath-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .oath-image-gallery {
        padding: 22px;
    }

    .oath-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/***********************************************************************************************************************
 * SCHRITT 08 - REGELN AUSFUEHRLICH
 **********************************************************************************************************************/

.rules-page {
    max-width: 1180px;
}

.rules-hero {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    padding: 46px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 15% 12%, rgba(243,205,118,0.16), transparent 36%),
        radial-gradient(circle at 88% 12%, rgba(201,154,61,0.10), transparent 32%),
        linear-gradient(180deg, rgba(43,29,18,0.92), rgba(13,8,5,0.96));
    border: 1px solid rgba(243,205,118,0.25);
    box-shadow: var(--shadow-strong);
}

.rules-lead {
    color: var(--gold-light) !important;
    font-size: clamp(21px, 2.2vw, 30px) !important;
    line-height: 1.55 !important;
    font-weight: 800;
}

.rules-note {
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 20px;
    color: var(--text-soft);
    background: rgba(243,205,118,0.08);
    border: 1px solid rgba(243,205,118,0.24);
}

.rules-note strong {
    color: var(--gold-light);
}

.rules-toc {
    position: sticky;
    top: 92px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(13,8,5,0.86);
    border: 1px solid rgba(243,205,118,0.18);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
}

.rules-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(243,205,118,0.12);
}

.rules-toc a:hover {
    color: #1c1209;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.rules-explain-box,
.rules-detail-section,
.rules-final-oath {
    margin: 34px 0;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.10), transparent 38%),
        linear-gradient(180deg, rgba(43,29,18,0.88), rgba(13,8,5,0.96));
    border: 1px solid rgba(243,205,118,0.20);
    box-shadow: var(--shadow-soft);
}

.rules-explain-box h2,
.rules-detail-section h2,
.rules-final-oath h2 {
    margin: 12px 0 18px;
    color: var(--gold-light);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
}

.rules-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.rules-simple-grid div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(243,205,118,0.14);
}

.rules-simple-grid strong {
    display: block;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-size: 18px;
}

.rules-simple-grid span {
    display: block;
    color: var(--text-soft);
    line-height: 1.6;
}

.rule-detail-card {
    margin-top: 18px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(36,23,15,0.94), rgba(14,9,6,0.96));
    border: 1px solid rgba(243,205,118,0.16);
}

.rule-detail-card h3 {
    margin: 0 0 14px;
    color: var(--gold-light);
    font-size: 24px;
}

.rule-detail-card p {
    max-width: 1000px;
}

.rule-example {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    color: var(--text-soft);
    background: rgba(243,205,118,0.075);
    border: 1px solid rgba(243,205,118,0.18);
    line-height: 1.65;
}

.rule-example strong {
    color: var(--gold-light);
}

.rules-final-oath {
    border-color: rgba(243,205,118,0.34);
    background:
        radial-gradient(circle at top left, rgba(243,205,118,0.16), transparent 40%),
        linear-gradient(135deg, rgba(43,29,18,0.94), rgba(13,8,5,0.96));
    box-shadow: var(--shadow-strong);
}

@media (max-width: 900px) {
    .rules-hero,
    .rules-explain-box,
    .rules-detail-section,
    .rules-final-oath {
        padding: 26px;
    }

    .rules-simple-grid {
        grid-template-columns: 1fr;
    }

    .rules-toc {
        position: static;
    }
}

@media (max-width: 560px) {
    .rule-detail-card {
        padding: 20px;
    }

    .rule-detail-card h3 {
        font-size: 21px;
    }

    .rules-toc a {
        width: 100%;
        justify-content: center;
    }
}
