/* Schriftart "Playfair Display" wird jetzt zentral in main_style.css geladen */









/*
=================================
--- Stil für Inhalts-Unterseiten ---
=================================
*/

/* Hero-Header */
.page-header {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Bild füllt den Header-Bereich aus */
.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

/* Hauptüberschrift auf dem Bild */
.page-header h1 {
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    padding: 0 60px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}


/* --- Text-Hero-Section (für Unterseiten ohne Bild) --- */
.text-hero-section {
    background-color: var(--ks-color-bg-light-gray);
    padding: 80px 20px 60px 20px;
    text-align: left;
}

.text-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.text-hero-content h1 {
    font-size: 3rem;
    color: var(--ks-color-text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--ks-color-text-secondary);
    line-height: 1.6;
    text-align: left;
    margin-top: 20px;
}

.hero-subheadline p {
    margin: 0;
}


/* --- Hauptinhalts-Container --- */
.page-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
    color: var(--ks-color-text-primary);
}

/* Zwischenüberschriften */
.page-angebot-individuell .page-content h2,
.page-angebot-individuell .ks-block-text h2,
.page-angebot-individuell .ks-block-headline__content h2 {
    /* Nur Border-Farbe überschreiben - Rest vom Standard (core.css) erben */
    border-bottom-color: #61d7dd !important;

    /* 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;
}

/* Einleitungstext */
.intro-text {
    font-size: 1.2rem;
    color: var(--ks-color-text-secondary);
    text-align: left;
    margin-top: 0;
}

/* Listen */
.page-angebot-individuell .page-content ul {
    list-style: none;
    padding-left: 0;
}

.page-angebot-individuell .page-content li {
    font-size: 1rem;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.page-angebot-individuell .page-content li::before {
    content: '›';
    color: #61d7dd !important;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Call-to-Action-Box */
.page-angebot-individuell .call-to-action {
    margin-top: 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 5px solid #61d7dd;
    text-align: left;
}

.call-to-action h3 {
    font-size: 1.8rem;
    margin-top: 0;
}


/* --- Zitat-Kasten --- */
.page-angebot-individuell .quote-section {
    background-color: #61d7dd;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 0;
    display: flex;
    justify-content: center;
}

.quote-section p {
    font-family: var(--ks-font-family-display);
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    max-width: 750px;
    margin: 0;
    color: white;
}


/* Container, der den Button zentriert */
.cta-container {
    text-align: center;
    padding: 40px 20px;
}

/* CTA-Button */
.cta-button {
    display: inline-block;
    background-color: var(--ks-color-accent);
    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, background-color 0.2s ease;
}

.cta-button:hover {
    background-color: var(--ks-color-accent-hover) !important;
    color: var(--ks-color-white);
    transform: translateY(-3px);
    box-shadow: var(--ks-shadow-md);
}

/* =========================================
   GESTALTUNGSRASTER - BÜNDIGE AUSRICHTUNG
   ========================================= */

/* Sicherstellen dass Text-Blöcke und Headlines bündig abschließen */
.page-angebot-individuell .ks-block-text,
.page-angebot-individuell .ks-block-text__content {
    padding-left: var(--ks-spacing-sm);
    padding-right: var(--ks-spacing-sm);
}

.page-angebot-individuell .ks-block-text__content p,
.page-angebot-individuell .ks-block-text__content ul,
.page-angebot-individuell .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-angebot-individuell .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-angebot-individuell .ks-block-headline__content h2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Listen: Bullet Points leicht links eingerückt */
.page-angebot-individuell .page-content ul,
.page-angebot-individuell .page-content ol {
    list-style: none;
    padding-left: 0;
}

.page-angebot-individuell .page-content li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.page-angebot-individuell .page-content li::before {
    content: '›';
    color: #61d7dd !important;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Listen auch in Text-Blöcken: Bullet Points leicht links eingerückt */
.page-angebot-individuell .ks-block-text__content ul,
.page-angebot-individuell .ks-block-text__content ol {
    list-style: none;
    padding-left: 0;
}

.page-angebot-individuell .ks-block-text__content li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.page-angebot-individuell .ks-block-text__content li::before {
    content: '›';
    color: #61d7dd !important;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
        padding: 0 30px;
    }

    .page-content h2 {
        font-size: 1.8rem;
    }

    .quote-section p {
        font-size: 1.5rem;
    }

    .text-hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .text-hero-content h1 {
        font-size: 2rem;
    }

    .hero-subheadline {
        font-size: 0.9rem;
    }
}


/*
=================================
--- Alternierende Teaser-Hintergründe ---
=================================
HINWEIS: Coaching-Section Pattern wurde zu core.css migriert.
Nutze .ks-pattern-coaching statt .coaching-section
*/