/* =========================================================
   TYPOGRAFIE – DIE REISE ZUR ERKENNTNIS
   ========================================================= */

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/Cinzel-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* Buchtypografie */
h1,
h2,
h3,
h4,
h5,
h6,
.page-header h1,
.page-header h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
}

/* Hauptnavigation */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
}
/* =========================================================
   TYPOGRAFIE – DIE REISE ZUR ERKENNTNIS
   ========================================================= */

/* Normaler Fließtext */
body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rze-text);
}

/* Große Überschriften */
h1,
h2,
.page-header h1,
.page-header h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    color: var(--rze-gold);
    line-height: 1.25;
    letter-spacing: 0.025em;
}

/* Kleinere Überschriften */
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 400;
    color: var(--rze-gold);
    line-height: 1.35;
    letter-spacing: 0.02em;
}

/* Fließtext */
p {
    line-height: 1.7;
}

/* Navigation */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

/* =========================================================
   DIE REISE ZUR ERKENNTNIS
   Zentrales Farbschema
   ========================================================= */

:root {
    --rze-aubergine: #24182A;
    --rze-aubergine-light: #312038;
    --rze-dark: #120F18;

    --rze-gold: #e8ce8e;

    --rze-text: #F0ECE8;
    --rze-muted: #BEB6BE;

    --cassiopeia-color-primary: #24182A;
    --cassiopeia-color-link: #e8ce8e;
    --cassiopeia-color-hover: #ffffff;
}


/* ===== GESAMTE WEBSITE ===== */

body,
body.site {
    background-color: var(--rze-dark);
    color: var(--rze-text);
}


/* ===== HEADER ===== */

.container-header {
    background-color: var(--rze-aubergine);
    background-image: none;
    border-bottom: 1px solid var(--rze-gold);
}


/* ===== HAUPTMENÜ ===== */

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    color: var(--rze-gold);
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
    color: #ffffff;
}

.container-header .mod-menu > li.active > a {
    color: #ffffff;
}


/* ===== HAUPTINHALT ===== */

.site-grid,
.container-component,
main {
    background-color: transparent;
    color: var(--rze-text);
}


/* ===== ÜBERSCHRIFTEN ===== */

h1,
h2,
h3,
h4,
h5,
h6,
.page-header h1,
.page-header h2 {
    color: var(--rze-gold);
}


/* ===== LINKS ===== */

a {
    color: var(--rze-gold);
}

a:hover,
a:focus {
    color: #ffffff;
}


/* ===== BOXEN / KARTEN / MODULE ===== */

.card,
.moduletable,
.blog-item {
    background-color: var(--rze-aubergine-light);
    color: var(--rze-text);
    border-color: rgba(232, 206, 142, 0.25);
}

.card-header {
    background-color: var(--rze-aubergine);
    color: var(--rze-gold);
    border-color: rgba(232, 206, 142, 0.25);
}


/* ===== BUTTONS ===== */

.btn-primary {
    background-color: var(--rze-gold);
    border-color: var(--rze-gold);
    color: #161116;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: transparent;
    border-color: var(--rze-gold);
    color: var(--rze-gold);
}


/* ===== FORMULARE ===== */

.form-control,
.form-select,
input,
textarea,
select {
    background-color: var(--rze-aubergine-light);
    color: var(--rze-text);
    border-color: rgba(232, 206, 142, 0.45);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    background-color: var(--rze-aubergine-light);
    color: #ffffff;
    border-color: var(--rze-gold);
    box-shadow: 0 0 0 0.15rem rgba(232, 206, 142, 0.18);
}

::placeholder {
    color: var(--rze-muted);
}


/* ===== HORIZONTALE TRENNLINIEN ===== */

hr {
    border-color: rgba(232, 206, 142, 0.35);
}


/* ===== FOOTER ===== */

.container-footer,
footer {
    background-color: #0D0910;
    color: var(--rze-muted);
    border-top: 1px solid rgba(232, 206, 142, 0.35);
}

.container-footer a,
footer a {
    color: var(--rze-gold);
}
/* ===== MENÜ FEINSCHLIFF ===== */

.container-header a,
.container-header .mod-menu a,
.mod-menu a {
    color: var(--rze-gold) !important;
    text-decoration: none;
}

.container-header a:hover,
.container-header .mod-menu a:hover,
.mod-menu a:hover {
    color: #ffffff !important;
}

.mod-menu .active > a,
.mod-menu .current > a {
    color: #ffffff !important;
}

/* Menübox etwas edler */
.card,
.moduletable {
    border: 1px solid rgba(232, 206, 142, 0.28);
    border-radius: 4px;
}

/* Titelbereiche der Module */
.card-header,
.moduletable > h3,
.moduletable > h4 {
    color: var(--rze-gold);
    background: var(--rze-aubergine);
    border-bottom: 1px solid rgba(232, 206, 142, 0.25);
}
/* =========================================================
   HEADER & HAUPTMENÜ – DIE REISE ZUR ERKENNTNIS
   ========================================================= */

/* Header flach und elegant */
.container-header {
    background: #24182A;
    background-image: none;
    border-bottom: 1px solid rgba(232, 206, 142, 0.45);
    box-shadow: none;
}

/* Menü-Modul: Kastenoptik entfernen */
.container-header .card,
.container-header .moduletable,
.container-header .mod-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* "Main Menu" ausblenden */
.container-header .card-header,
.container-header .moduletable > h3,
.container-header .moduletable > h4 {
    display: none;
}

/* Menü horizontal ausrichten */
.container-header .mod-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0;
}

/* Menüpunkte */
.container-header .mod-menu > li {
    margin: 0;
}

/* Menülinks */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
    display: block;
    padding: 0.7rem 1rem;
    color: #e8ce8e !important;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

/* Hover */
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
    color: #ffffff !important;
    border-bottom-color: #e8ce8e;
}

/* Aktiver Menüpunkt */
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
    color: #ffffff !important;
    border-bottom-color: #e8ce8e;
}

/* Menü etwas vom Seitenrand lösen */
.container-header .container-nav {
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Hauptmenü-Titel sicher ausblenden */
.container-header .card-header,
.container-header .card-title,
.container-header h3,
.container-header h4,
.container-header .module-title,
.container-header .moduletable-title {
    display: none !important;
}
/* =========================================================
   WEBSITE-TITEL / TOPBAR
   ========================================================= */

.container-header .container-topbar {
    background: transparent !important;
    color: #e8ce8e;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    letter-spacing: 0.04em;
    line-height: 1.2;
    padding-top: 1.25rem;
    padding-bottom: 0.35rem;
}

/* Absatz im eigenen Modul entschärfen */
.container-header .container-topbar p {
    margin: 0;
    color: #e8ce8e;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
}
/* =========================================================
   HEADER BEIM SCROLLEN FIXIEREN
   ========================================================= */

.container-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* =========================================================
   FIXIERTE FUSSLEISTE
   ========================================================= */

.container-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;

    background: #24182A !important;
    border-top: 1px solid #e8ce8e;
    padding: 0.55rem 1.5rem !important;
}

/* Footer-Menü waagerecht */
.container-footer .mod-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;

    margin: 0 !important;
    padding: 0 !important;
}

/* Links */
.container-footer .mod-menu > li {
    margin: 0 !important;
}

.container-footer .mod-menu > li > a {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.8rem;
    color: #e8ce8e !important;
    text-decoration: none;
}

/* Hover */
.container-footer .mod-menu > li > a:hover {
    color: #ffffff !important;
}

/* Platz schaffen, damit der Footer keinen Inhalt verdeckt */
body {
    padding-bottom: 50px;
}
/* Footer wirklich kompakt machen */
.container-footer {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 20px !important;
}

.container-footer .grid-child {
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.container-footer .mod-menu {
    margin: 0 auto !important;
    min-height: 0 !important;
}

.container-footer .mod-menu > li > a {
    padding: 2px 6px !important;
    line-height: 1.2;
}
/* Footer: Copyright | Impressum | Datenschutz */
.container-footer .mod-menu > li:nth-child(1) {
    order: 2;   /* Impressum */
}

.container-footer .mod-menu > li:nth-child(2) {
    order: 3;   /* Datenschutz */
}

.container-footer .mod-menu > li:nth-child(3) {
    order: 1;   /* Copyright */
}
/* =========================================================
   LESEPROBEN – ANGENEHME LESEBREITE
   ========================================================= */

.leseprobe-text .com-content-article,
.leseprobe-text .item-page,
.leseprobe-text .blog-item {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}