/* Schriftart "Playfair Display" wird jetzt zentral in main_style.css geladen */

main {
    margin-top: 130px;
}

@media (max-width: 480px) {
    main {
        margin-top: 100px;
    }
}

/* =========================================
   H1 UND SUBHEADLINE LAYOUT - GLÜCKSSEMINAR
   ========================================= */

/* Container für H1 und Subheadline - Zentriert auf der Seite */
.page-gluecksseminar .headline-container {
    max-width: var(--ks-text-max-width, 800px);
    margin: var(--ks-spacing-lg) auto 0 auto;
    padding: var(--ks-spacing-md);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* H1 Überschrift */
.page-gluecksseminar .main-headline {
    color: #afa7fe;
    margin: 0;
    text-align: left;
    font-size: 5.5rem;
    line-height: 1.1;
    width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

/* Hero-Subheadline linksbündig unter der H1 im selben Container */
.page-gluecksseminar .hero-subheadline {
    color: #333;
    font-size: 2rem;
    margin: var(--ks-spacing-sm) 0 0 0;
    padding: 0;
    text-align: left !important;
    line-height: 1.6;
    width: 100%;
}

.page-gluecksseminar .hero-subheadline p {
    margin: 0;
    text-align: left !important;
}

/*
=================================
--- NEU: Reiter-Navigation (Tabs) ---
=================================
*/

/* Reiter-Navigation (Tabs) - Jetzt zentral in core.css */





















/*
=================================
--- Stil für die Schamanismus-Seite ---
=================================
*/

/* --- Text-Hero-Bereich --- */
.text-hero-section {
    height: 50vh;
    max-height: 300px;
    min-height: 250px;
    width: 100%;
    background-color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    box-sizing: border-box;
}

.text-hero-content {
    text-align: center;
}

/* Stil für die Haupt-Überschrift h1 im Text-Hero */
.text-hero-content h1 {
    color: #afa7fe;
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Stil für die Subheadline im Text-Hero */
.text-hero-content .subheading {
    color: #333;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 400;
    text-align: left;
}


/* --- Zitat-Kasten --- */
.quote-block,
.quote-section {
    background-color: #afa7fe;
    width: 100%;
    color: white;
    text-align: center;
    padding: 60px 20px;
    box-sizing: border-box;
}

.quote-block p,
.quote-section p {
    font-family: var(--ks-font-family-display);
    /* NEU: Neue Schriftart zugewiesen */
    color: white;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    max-width: 800px;
    line-height: 1.5;
    margin: 0 auto;
}


/* --- Hauptinhalts-Container --- */
.page-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
    color: #333;
}

/* Zwischenüberschriften */
.page-content h2 {
    /* Nur Border-Farbe überschreiben - Rest vom Standard (core.css) erben */
    border-bottom-color: #afa7fe;

    /* Wortumbruch nur zwischen Wörtern erlauben */
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: none;
}

/* Alle Textabsätze */
.page-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5em;
    text-align: left;
}

/* Spezieller Stil für den Einleitungstext */
.intro-text {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 50px;
}

/* Styling für alle Listen */
.page-content ul,
.page-content ol {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.page-content li {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

/* Eigenes Icon für die Listenelemente */
.page-content li::before {
    content: '›';
    color: #afa7fe;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Listen auch in Text-Blöcken: Bullet Points leicht links eingerückt */
.page-gluecksseminar .ks-block-text__content ul,
.page-gluecksseminar .ks-block-text__content ol {
    list-style: none;
    padding-left: 0;
}

.page-gluecksseminar .ks-block-text__content li {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.page-gluecksseminar .ks-block-text__content li::before {
    content: '›';
    color: #afa7fe;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Call-to-Action-Box am Ende */
.call-to-action {
    margin-top: 60px;
    padding: 30px;
    background-color: #f8f7ff;
    border-left: 5px solid #afa7fe;
    text-align: left;
}

.call-to-action h3 {
    font-size: 1.8rem;
    margin-top: 0;
}

/* =========================================
   GESTALTUNGSRASTER - BÜNDIGE AUSRICHTUNG
   ========================================= */

/* Sicherstellen dass Text-Blöcke und Headlines bündig abschließen */
.page-gluecksseminar .ks-block-text {
    padding-left: var(--ks-spacing-sm);
    padding-right: var(--ks-spacing-sm);
}

.page-gluecksseminar .ks-block-text__content {
    padding-left: 0;
    padding-right: 0;
}

.page-gluecksseminar .ks-block-headline__content {
    padding-left: 0;
    padding-right: 0;
}

.page-gluecksseminar .ks-block-text__content p,
.page-gluecksseminar .ks-block-text__content ul,
.page-gluecksseminar .ks-block-text__content ol {
    padding-left: 0;
    padding-right: 0;
    max-width: var(--ks-text-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* H2 in Text-Blöcken: Kein zusätzliches Padding, nutzt Container-Padding */
.page-gluecksseminar .ks-block-text h2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Headline-Block: Container und H2 sollen bündig mit Text-Blöcken sein */
.page-gluecksseminar .ks-block-headline__content h2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    .page-gluecksseminar .headline-container {
        padding: var(--ks-spacing-sm);
    }

    .page-gluecksseminar .main-headline {
        font-size: 4rem;
    }

    .page-system-in-balance .hero-subheadline {
        font-size: 1.6rem;
    }

    /* Subnavigation Mobile Layout - Pyramid Form */
    .page-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .page-tabs li {
        text-align: center;
        flex: 1 1 45%;
        /* Allow items to share row */
    }

    /* First item (Die Kunst des Lebens) on top and full width */
    .page-tabs li:first-child {
        flex: 1 1 100%;
        width: 100%;
        order: -1;
        margin-bottom: 5px;
    }

    .page-tabs li a {
        display: block;
        padding: 5px;
        white-space: nowrap;
        /* Prevent breaking inside link text if possible */
    }

    .text-hero-content h1 {
        font-size: 3.2rem;
    }

    .text-hero-content .subheading {
        font-size: 1.2rem;
    }

    .quote-block p,
    .quote-section p {
        font-size: 1.5rem;
    }

    .page-content h2 {
        font-size: 1.8rem;
    }

    /* Subnavigation Mobile Layout - Pyramid Form */
    .page-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .page-tabs li {
        text-align: center;
        flex: 1 1 45%;
        /* Allow items to share row */
    }

    /* First item (Die Kunst des Lebens) on top and full width */
    .page-tabs li:first-child {
        flex: 1 1 100%;
        width: 100%;
        order: -1;
        margin-bottom: 5px;
    }

    .page-tabs li a {
        display: block;
        padding: 5px;
        white-space: nowrap;
        /* Prevent breaking inside link text if possible */
    }
}

@media (max-width: 480px) {
    .page-gluecksseminar .main-headline {
        font-size: 3rem;
    }

    .page-gluecksseminar .hero-subheadline {
        font-size: 1.4rem;
    }

    .text-hero-content h1 {
        font-size: 2.5rem;
    }

    .text-hero-content .subheading {
        font-size: 1rem;
    }
}











/* CTA-Button */
.cta-button {
    display: inline-block;
    background-color: #ffd45c;
    color: black;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    color: var(--ks-color-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ks-block-contact__content {
    border-left-color: #afa7fe !important;
}

.ks-block-headline__content h2 {
    border-bottom-color: #afa7fe !important;
}