/* =====================================================================
   HÖHER Akademie – Globales Stylesheet für die SEO-Landingpages
   ---------------------------------------------------------------------
   Konsolidiert aus den 21 vc_raw_html-<style>-Blöcken der PDL-LP (id 169)
   und den Inline-style=""-Attributen der Badge-Reihen. Deckt zusätzlich
   die 5 Schwester-LPs (hygiene, qmb, geronto, palliative, praxisanleitung)
   ab – diese nutzen exakt dasselbe Klassensystem (verifiziert: nur
   Whitespace-/Media-Query-Varianten, keine echten Abweichungen).

   ABLAGE-EMPFEHLUNG: als eine zentrale Datei im uncode-child-Theme
   (z. B. assets/css/hoeher-global.css, per wp_enqueue_style) ODER in
   Uncode → Theme Options → Custom CSS. Danach kommt JEDE LP ohne einen
   einzigen <style>-Block im Content aus.

   FARB-TOKENS (aus den Blöcken extrahiert):
     #FFC46A  Akzent-Gelb (Buttons, Badges, aktiver Nav-State)
     #07030C  Near-Black (Text, dunkle Buttons)
     #FBF2DA  Hellgelb (Advisor-Box gelb)
     #EAF8E1  Hellgrün (Advisor-Box grün)
     #F7F5F1  Sand (Contact-Card, Sticky-Nav-BG)
     #E4D6C4  Beige-Border (weißer Button)
   ===================================================================== */


/* =====================================================================
   1. BUTTON-SYSTEM  (Quelle: block-01; wiederverwendet in block-19/21)
   .btn-custom = Basis; Modifier: .btn-primary / .btn-secondary /
   .btn-beratung / .btn-advisor-dark. Container: .button-wrapper.
   ===================================================================== */

/* Container für die Buttons (mobil untereinander, ab Tablet nebeneinander) */
.button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;        /* Buttons mittig (mobil) */
    justify-content: center;
}

/* Gemeinsame Button-Eigenschaften */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 18px !important;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    height: 3.188rem !important;
    font-family: 'Bricolage Grotesque', sans-serif;
}

/* Standard-Icon (Uncode-Pfeil) am Button-Ende */
.btn-custom::after {
    content: "\f105";
    font-family: "uncodeicon";
    margin-left: 10px;
}

/* Beratungs-Button: Pfeil raus, Bild-Icon (Sprechblase) rein */
.btn-custom.btn-beratung::after {
    content: "";                /* Text-Content leeren */
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("https://www.hoeher-akademie.de/wp-content/uploads/2025/07/course-hero-button.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
    margin-right: -5px;
    vertical-align: middle;
}

/* Gelber Button */
.btn-primary {
    background-color: #FFC46A;
    border: 2px solid #FFC46A;
    color: #07030C;
}

/* Weißer Button */
.btn-secondary {
    background-color: #FFFFFF;
    border: 1px solid #e4d6c4;
    color: #07030C;
}

/* Hover-Zustand (alle .btn-custom-Varianten) */
.btn-custom:hover {
    background-color: #07030C !important;
    border-color: #07030C !important;
    color: #FFFFFF !important;
}

/* Ab Tablet: Buttons nebeneinander + linksbündig */
@media (min-width: 768px) {
    .button-wrapper {
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .btn-custom {
        width: auto;
        justify-content: flex-start;
    }
}


/* =====================================================================
   2. DUNKLER ADVISOR-/CTA-BUTTON  (Quelle: block-03; genutzt in
   block-05/15/20/21). Schwarz -> Hover Gelb (invers zu .btn-custom).
   Im Original war .btn-advisor-dark 2x im selben Block definiert –
   hier zu einer Regel zusammengeführt.
   ===================================================================== */
.btn-advisor-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 18px !important;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    height: 3.188rem !important;
    font-family: 'Bricolage Grotesque', sans-serif;
    background-color: #07030C;
    border: 2px solid #07030C;
    color: #FFFFFF !important;
    width: auto;
}

.btn-advisor-dark:hover {
    background-color: #FFC46A !important;
    border-color: #FFC46A !important;
    color: #07030C !important;
}


/* =====================================================================
   3. EINZEL-BUTTON KURSKARTEN  (Quelle: block-08/10/12/14/17 – 5x
   BYTE-IDENTISCH dupliziert, hier nur EINMAL). Icon rechts ausgerichtet
   via space-between. Genutzt für "Zum Kurs" / "Zum Fernlehrgang".
   ===================================================================== */
.btn-single-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;   /* schiebt Icon nach rechts */
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #FFC46A;
    border: 2px solid #FFC46A;
    color: #07030C;
}

.btn-single-primary::after {
    content: "\f105";                 /* Uncode Right Arrow */
    font-family: "uncodeicon";
    margin-left: 10px;
}

.btn-single-primary:hover {
    background-color: #07030C !important;
    border-color: #07030C !important;
    color: #FFFFFF !important;
}

@media (min-width: 768px) {
    .btn-single-primary { width: auto; }   /* nicht über volle Breite */
}


/* =====================================================================
   4. ADVISOR-BOX (Berater-Kachel mit Bild + Glass-Tag + Text)
   Zwei Farbvarianten:
     .universal-advisor-box         grün  (#eaf8e1) – block-04 (Maria)
     .universal-advisor-box-yellow  gelb  (#fbf2da) – block-03 (Ina)
   Die inneren Klassen sind gemeinsam. Wo block-03 und block-04 sich
   minimal unterschieden (.advisor-title-text, .tag-name), wird hier
   sauber pro Farb-Variante gescopet, um die im Original nur durch
   Ladereihenfolge/!important entstandene Auflösung fest zu verankern.
   ===================================================================== */

/* Haupt-Container (beide Varianten) */
.universal-advisor-box,
.universal-advisor-box-yellow {
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    margin: 20px 0;
    align-items: stretch;
}
.universal-advisor-box        { background-color: #eaf8e1; }  /* grün */
.universal-advisor-box-yellow { background-color: #fbf2da; }  /* gelb */

/* Bild-Wrapper (Ankerpunkt für den Glass-Tag) */
.advisor-image-wrapper {
    position: relative;
    flex: 0 0 40%;
    line-height: 0;
    display: block;
}
.advisor-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Glass-Tag (Name + Funktion, unten links im Bild) */
.glass-tag-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    width: fit-content;
    white-space: nowrap;
}
.tag-name {
    color: #07030C;
    font-weight: 700;      /* im Original per !important aus block-04 global durchgesetzt */
    font-size: 16px;
    line-height: 1.2;
}
.tag-sub {
    margin-top: 8px;
    color: #07030C;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

/* Text-Bereich rechts */
.advisor-text-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.advisor-description { margin-bottom: 20px; }

/* Titel – pro Variante gescopet (statt Cascade-Order-Abhängigkeit) */
.advisor-title-text {                          /* Basis */
    font-size: 25px;
    font-family: 'Rowan', serif;
}
.universal-advisor-box-yellow .advisor-title-text {   /* block-03 (Ina) */
    font-family: 'Rowan', sans-serif;
    margin-bottom: 10px;
    font-weight: 400;
}
.universal-advisor-box .advisor-title-text {          /* block-04 (Maria) */
    font-family: 'Rowan', serif;
    margin-bottom: 5px;
    margin-top: 0;
}

/* Button-Wrapper innerhalb der gelben Advisor-Box (linksbündig) */
.universal-advisor-box-yellow .button-wrapper {
    display: flex;
    justify-content: flex-start;
}

/* Mobile: Bild über Text, volle Breite */
@media (max-width: 767px) {
    .universal-advisor-box,
    .universal-advisor-box-yellow {
        flex-direction: column-reverse;
    }
    .advisor-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }
    .universal-advisor-box-yellow .btn-custom { width: 100%; }  /* mobil volle Breite */
    .glass-tag-overlay {
        bottom: 15px;
        left: 15px;
    }
}


/* =====================================================================
   5. CONTACT-CARD (Berater-Kontaktkarte)
   Zwei Ausprägungen:
     .contact-card-modern  = block-05: Sand-BG + Padding + Telefon-Zeile
     .contact-card         = block-15/20: OHNE Sand-BG/Padding (liegt in
                             einer accent-Box), nur Header + Button.
   ACHTUNG: Im Original tragen block-15/20 die Klasse .contact-card,
   während der <style>-Block .contact-card-modern adressiert. Dadurch
   erhalten diese Karten KEIN eigenes Hintergrund/Padding und der Name
   KEINE Rowan-Typo (Selektor .contact-card-modern .name greift nicht).
   Das ist hier bewusst 1:1 erhalten – NICHT "reparieren", sonst ändert
   sich das gerenderte Bild.
   ===================================================================== */
.contact-card-modern {
    background: #F7F5F1;      /* heller Sandton */
    border-radius: 16px;
    padding: 24px;
}

/* gemeinsame Header-/Info-Bausteine (greifen bei beiden Kartentypen) */
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.image-area img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
    object-fit: cover;
    background: #FBF2DA;      /* gelber Akzent hinter rundem Avatar */
}
.info-area {
    display: flex;
    flex-direction: column;
}
.contact-card-modern .name {   /* NUR modern – block-15/20 absichtlich ohne */
    font-size: 22px;
    font-weight: 700;
    color: #07030C;
    font-family: 'Rowan', serif;
}
.role {
    font-size: 14px;
    color: #666;
}

/* Telefon-Zeile (nur block-05) */
.phone-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    align-items: center;
}
.phone-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #07030C;
    text-decoration: none;
}
.times {
    font-size: 12px;
    color: #555;
}


/* =====================================================================
   6. PFLEGE-FEATURES (Häkchen-Feature-Liste, block-06)
   WICHTIG: Diese Klassen hatten im Raw-Block KEINEN <style> – sie sind
   aktuell in Uncode → Theme Options / Customizer-CSS definiert (im
   gerenderten HTML zweifach: erst zentriert, dann links-überschrieben).
   Hier zur Vollständigkeit aufgenommen, damit die LP self-contained ist.
   Wenn dieses Stylesheet global geladen wird, die Theme-Options-Kopie
   entfernen (sonst doppelt). Beide Original-Regeln bewusst in
   Original-Reihenfolge erhalten (identische Kaskade wie live).
   ===================================================================== */
.pflege-features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center !important;
}
.pflege-feature {
    display: flex;
    align-items: center !important;
}
/* Page-spezifische Überschreibung (wie im gerenderten HTML nachgeladen) */
.pflege-features-container {
    justify-content: left;
}
.pflege-feature {
    align-items: left !important;   /* invalider Wert -> Browser ignoriert, faellt auf center zurueck (1:1 wie Original) */
}
.icon-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 5px;
    background-image: url('https://hoeher.mhcommerce.net/wp-content/uploads/2026/03/Gruppe-39.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* .feature-text hat keine eigene Regel – erbt Fließtext (1:1 wie Original) */


/* =====================================================================
   7. BADGE-REIHE  (Kurs-Badges, Inline-styles aus block-07/09/11/13/16/18
   extrahiert). Zwei Pillen: gefüllt (gelb) + schlicht (weiß/transparent).
   Ersetzt die 6 identisch aufgebauten Inline-style-Konstruktionen.
   ===================================================================== */
.hoeher-badge-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 0.8;
}
.hoeher-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
}
.hoeher-badge--primary {          /* gelbe, gefüllte Pille */
    background: #FFC46A;
    color: #000 !important;
}
.hoeher-badge--plain {            /* schlichte Pille (weiß/transparent) */
    background: #FFFFFF;
    color: #4a4a4a;
    font-weight: 500;
    padding: 6px 0;               /* kein horizontales Padding im Original */
}
.hoeher-badge-icon {
    font-family: 'uncodeicon' !important;
    font-size: 16px;
    line-height: 0.8;
    font-weight: 400;
}


/* =====================================================================
   8. STICKY CONTENT-NAV  (block-02 – CSS-Teil; JS in hoeher-global.js)
   Horizontale, scrollbare Sprungnavigation. Wird per JS aus den
   el_id-Ankern der Sektionen aufgebaut.
   ===================================================================== */
body.wp-admin .content-sticky-nav,
body.vc_editor .content-sticky-nav { display: none !important; }

.content-sticky-nav {
    width: 100%;
    background: #f7f5f1;
    z-index: 999;
    display: block !important;
    position: relative;
}
@media (min-width: 960px) {
    .content-sticky-nav { position: sticky !important; top: 150px; }
}
@media (max-width: 959px) {
    .content-sticky-nav.mobile-sticky {
        position: fixed !important;
        top: 80px; left: 0; right: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
}
.nav-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    padding: 15px 10px;
    scrollbar-width: none;
    align-items: center;
}
.nav-scroll-container::-webkit-scrollbar { display: none; }
.nav-item {
    color: #07030C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.nav-item.active {
    color: #FFC46A !important;
    font-weight: 800 !important;
}
/* Der Button: immer gelb + Icon (letztes Nav-Item) */
.nav-item.btn-navigation {
    color: #FFC46A !important;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
}
.btn-navigation::after {
    content: "\f105";
    font-family: "uncodeicon";
    margin-left: 10px;
    font-weight: normal;
}


/* =====================================================================
   9. KONTAKT-FORMULAR (Service-Seiten-Nachbau, z. B. Beratung fuer
   Unternehmen). Quelle: Live-Theme hoher style.min.css - dort gescoped
   auf .expert-contact__optional-block .contact-form; hier ohne den
   Live-Wrapper, da der Nachbau nur .contact-form traegt.
   Desktop: Feld-Paare nebeneinander; Mobile (<=768px): einspaltig.
   ===================================================================== */
.contact-form .form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.contact-form .form-row .form-group { flex: 1; }
@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column;
        gap: 16px;
    }
}
