/* =============================================================================
   Naikido Termine — Styles

   Farb-System (Stand 2026-09-07): Die Marken-Grundpalette (Gelb, Dunkel,
   Braun, Hell, Sand, Muted) wird über var(--nk-color-*, Hex-Fallback) aus
   divi-child/style.css bezogen, statt hier als fixe Hex-Werte dupliziert zu
   sein. divi-child koppelt diese Variablen an Divis Global Colors
   (--gcid-*) — Änderungen im Divi-Builder wirken dadurch automatisch auch
   hier, ohne Drift zwischen Theme und Plugin. Der Fallback-Wert entspricht
   jeweils dem bisherigen Hex-Wert, das Rendering ändert sich also nicht,
   falls divi-child aus irgendeinem Grund nicht geladen ist.

   Zusätzlich ein paar plugin-eigene Akzentfarben ohne Divi-Global-Color-
   Entsprechung (v.a. Gold-/Grün-Töne für Leiter-Hinweise, Status "läuft").
   Manche davon sind bewusst NICHT die gleichen Werte wie die zugehörige
   Standardfarbe, weil diese auf dem jeweiligen Hintergrund den WCAG-AA-
   Kontrast (4.5:1) verfehlt hätte (gemessen, nicht geschätzt — u.a.
   Kursleiter/Meta-Text auf der dunklen Zeitleiste "Bald bei Naikido" lag
   bei 2.75–2.98:1, "Heute"-Status-Icon und Tag-Label bei nur 1.57:1).
   ============================================================================= */

:root {
    /* Gold-Akzent (Leiter-Hinweise, Tag-Label, Status-Icons) */
    --nk-gold-accent:          #8B6914; /* dunkles Gold für helle/weiße Hintergründe */
    --nk-gold-on-dark:         #C9A876; /* aufgehellt für dunkle Hintergründe (Zeitleiste) */

    /* Muted-Text auf dunklem Grund (divi-child liefert nur die Variante für hellen Grund) */
    --nk-muted-on-dark:        #B3A190; /* Fließ-/Meta-Text auf dunklem Grund */
    --nk-muted-on-dark-strong: #C7B7A6; /* Badge-/Akzenttext auf dunklem Grund, etwas kräftiger */

    /* Grün-Akzent (Status "läuft") */
    --nk-green-accent:         #639922; /* Rahmen, Flächen */
    --nk-green-accent-dark:    #3B6D11; /* Text/Badges auf hellem Grund (kontraststärker) */
}

/* -----------------------------------------------------------------------------
   Infoabende (Startseite) — 3 Karten nebeneinander
   ----------------------------------------------------------------------------- */

.nk-infoabende {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.nk-termin {
    background: var(--nk-color-light-bg, #FAF7F2);
    border-radius: 8px;
    border-top: 3px solid var(--nk-color-yellow, #FDBE01);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nk-termin-datum {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.nk-termin-tag {
    font-family: Lato, sans-serif;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nk-gold-accent);
}

.nk-termin-zahl {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-style: italic;
    color: var(--nk-color-dark, #2D2420);
    line-height: 1;
}

.nk-termin-monat {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-termin-info {
    border-top: 0.5px solid var(--nk-color-sand-bg, #EDE6DA);
    padding-top: 16px;
    flex: 1;
}

.nk-termin-titel {
    font-family: Lato, sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--nk-color-dark, #2D2420);
    margin-bottom: 6px;
}

.nk-termin-detail {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
    line-height: 1.6;
}


.nk-termine-leer {
    font-family: Lato, sans-serif;
    font-size: 0.9375rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    text-align: center;
    padding: 24px 0;
}

/* -----------------------------------------------------------------------------
   Termine-Liste (Unterseiten)
   ----------------------------------------------------------------------------- */

.nk-liste-titel {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.625rem;
    color: var(--nk-color-dark, #2D2420);
    margin: 40px 0 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--nk-color-sand-bg, #EDE6DA);
}

.nk-termine-liste {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 40px;
}

.nk-termine-zeile {
    display: grid;
    grid-template-columns: 100px 1fr 120px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--nk-color-light-bg, #FAF7F2);
    border-radius: 4px;
    border-left: 3px solid var(--nk-color-yellow, #FDBE01);
    transition: background 0.15s;
}

.nk-termine-zeile:hover {
    background: var(--nk-color-sand-bg, #EDE6DA);
}


.nk-tl-datum {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nk-tl-tag {
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nk-gold-accent);
}

.nk-tl-zahl {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-style: italic;
    color: var(--nk-color-dark, #2D2420);
    line-height: 1;
}

.nk-tl-monat {
    font-family: Lato, sans-serif;
    font-size: 0.6875rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-tl-jahr {
    font-family: Lato, sans-serif;
    font-size: 0.6875rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-tl-name {
    font-family: Lato, sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--nk-color-dark, #2D2420);
    margin-bottom: 4px;
}

.nk-tl-zeitraum,
.nk-tl-uhrzeit {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-tl-ort {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}


/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .nk-infoabende {
        grid-template-columns: 1fr;
    }

    .nk-termine-zeile {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
    }

    .nk-tl-ort {
        grid-column: 2;
        font-size: 0.6875rem;
    }

}

/* =============================================================================
   Zeitleiste "Bald bei Naikido"
   ============================================================================= */

.nk-zt {
    background: var(--nk-color-dark, #2D2420);
    border-radius: 8px;
    padding: 32px;
}

.nk-zt-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.nk-zt-titel {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.625rem;
    color: var(--nk-color-light-bg, #FAF7F2);
}


.nk-zt-zeile {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.nk-zt-zeile:last-child {
    border-bottom: none;
}

.nk-zt-datum {
    text-align: center;
}

.nk-zt-tag {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nk-color-yellow, #FDBE01);
}

.nk-zt-zahl {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.75rem;
    color: var(--nk-color-light-bg, #FAF7F2);
    line-height: 1;
}

.nk-zt-monat {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    color: var(--nk-muted-on-dark);
}

.nk-zt-name {
    font-family: Lato, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--nk-color-sand-bg, #EDE6DA);
    margin-bottom: 3px;
}

.nk-zt-meta {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--nk-muted-on-dark);
}

.nk-zt-leiter {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--nk-gold-on-dark);
}

/* Badges */
.nk-zt-badge {
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    font-weight: 400;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.nk-zt-badge-info {
    background: rgba(253, 190, 1, 0.15);
    color: var(--nk-color-yellow, #FDBE01);
}

.nk-zt-badge-ausbildung {
    background: rgba(237, 230, 218, 0.1);
    color: var(--nk-color-sand-bg, #EDE6DA);
}

.nk-zt-badge-ua {
    background: rgba(122, 107, 93, 0.2);
    color: var(--nk-muted-on-dark-strong);
}

.nk-zt-badge-kurs {
    background: rgba(122, 107, 93, 0.2);
    color: var(--nk-muted-on-dark-strong);
}

.nk-zt-badge-naikan {
    background: rgba(196, 148, 106, 0.15);
    color: #C4956A;
}

.nk-zt-badge-seminar {
    background: rgba(122, 107, 93, 0.2);
    color: var(--nk-muted-on-dark-strong);
}

.nk-zt-badge-sonstig {
    background: rgba(122, 107, 93, 0.15);
    color: var(--nk-muted-on-dark);
}

/* Responsive */
@media (max-width: 600px) {
    .nk-zt {
        padding: 20px 16px;
    }

    .nk-zt-zeile {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .nk-zt-badge {
        grid-column: 2;
        justify-self: start;
    }

    .nk-zt-zahl {
        font-size: 1.375rem;
    }
}

/* Laufende Kurse */
.nk-termin-laufend {
    border-top-color: var(--nk-green-accent);
}


/* Badge "Läuft" in Zeitleiste */
.nk-zt-badge-laufend {
    background: rgba(99, 153, 34, 0.15);
    color: var(--nk-green-accent-dark);
}

/* Badge Naikan-Subtypen */
.nk-zt-badge-naikan_wn,
.nk-zt-badge-naikan_tn,
.nk-zt-badge-naikan_nf {
    background: rgba(196, 148, 106, 0.15);
    color: var(--nk-muted-on-dark-strong);
}

/* =============================================================================
   Laufende Kurse — Detailansicht
   ============================================================================= */

.nk-laufende {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nk-laufend-kurs {
    background: var(--nk-color-light-bg, #FAF7F2);
    border-radius: 8px;
    border-left: 4px solid var(--nk-green-accent);
    overflow: hidden;
}

.nk-laufend-header {
    padding: 20px 24px;
    border-bottom: 0.5px solid var(--nk-color-sand-bg, #EDE6DA);
}

.nk-laufend-badge {
    display: inline-block;
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(99, 153, 34, 0.15);
    color: var(--nk-green-accent-dark);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.nk-laufend-titel {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.375rem;
    color: var(--nk-color-dark, #2D2420);
    margin: 4px 0;
}

.nk-laufend-meta {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
}

/* Detail-Zeilen */
.nk-laufend-details {
    padding: 8px 0;
}

.nk-laufend-zeile {
    display: grid;
    grid-template-columns: 110px 1fr 160px 24px;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    transition: background 0.1s;
}

.nk-laufend-zeile:hover {
    background: var(--nk-color-sand-bg, #EDE6DA);
}

/* Status: vergangen */
.nk-laufend-vergangen {
    opacity: 0.4;
}

.nk-laufend-vergangen .nk-laufend-name {
    text-decoration: line-through;
}

/* Status: heute */
.nk-laufend-heute {
    background: rgba(253, 190, 1, 0.08);
}

.nk-laufend-heute .nk-laufend-datum-col {
    color: var(--nk-gold-accent);
}

/* Status: offen (kein Datum) */
.nk-laufend-offen {
    opacity: 0.5;
    font-style: italic;
}

/* Datum-Spalte */
.nk-laufend-datum-col {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    color: var(--nk-color-brown, #4A3B2E);
    white-space: nowrap;
}

.nk-laufend-wt {
    font-size: 0.625rem;
    letter-spacing: 0.08em;
    color: var(--nk-color-muted-text, #7A6B5D);
    margin-right: 3px;
}

.nk-laufend-tag {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    color: var(--nk-color-dark, #2D2420);
}

.nk-laufend-monat {
    font-size: 0.6875rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    margin-left: 3px;
}

.nk-laufend-nodatum {
    font-size: 0.6875rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    font-style: italic;
}

/* Name-Spalte */
.nk-laufend-name {
    font-family: Lato, sans-serif;
    font-size: 0.875rem;
    color: var(--nk-color-dark, #2D2420);
}

.nk-laufend-bis {
    font-size: 0.75rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}

/* Zeit-Spalte */
.nk-laufend-zeit-col {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
}

/* Status-Icon */
.nk-laufend-status-icon {
    font-size: 0.6875rem;
    color: var(--nk-green-accent-dark);
    text-align: center;
}

.nk-laufend-heute-icon {
    color: var(--nk-gold-accent);
    font-size: 0.625rem;
}

/* Fortschrittsanzeige (details="0") */
.nk-laufend-progress-wrap {
    padding: 10px 24px 14px;
}

.nk-laufend-progress {
    background: var(--nk-color-sand-bg, #EDE6DA);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

.nk-laufend-progress-bar {
    height: 100%;
    background: var(--nk-color-yellow, #FDBE01);
    border-radius: 4px;
}

.nk-laufend-progress--done .nk-laufend-progress-bar {
    background: var(--nk-green-accent);
}

.nk-laufend-progress-text {
    font-size: 0.75rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}

/* Responsive */
@media (max-width: 640px) {
    .nk-laufend-zeile {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto;
        gap: 6px;
    }

    .nk-laufend-zeit-col {
        grid-column: 2;
        font-size: 0.6875rem;
    }

    .nk-laufend-status-icon {
        display: none;
    }
}

/* =============================================================================
   Karte Variante 1 — Hell & Luftig
   ============================================================================= */

.nk-k1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.nk-k1-card {
    background: #ffffff;
    border: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.nk-k1-card:hover {
    transform: translateY(-4px);
}

.nk-k1-badge {
    display: inline-block;
    background: var(--nk-color-yellow, #FDBE01);
    color: var(--nk-color-dark, #2D2420);
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.nk-k1-titel {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--nk-color-dark, #2D2420);
    margin: 0 0 10px 0;
}

.nk-k1-meta {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px 0;
}


/* =============================================================================
   Karte Variante 2 — Zen-Eleganz
   ============================================================================= */

.nk-k2-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.nk-k2-card {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    border-left: 5px solid var(--nk-color-yellow, #FDBE01);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.nk-k2-card:hover {
    transform: translateX(4px);
}

.nk-k2-datum {
    padding: 20px 18px;
    background: var(--nk-color-sand-bg, #EDE6DA);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    flex-shrink: 0;
}

.nk-k2-tag {
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-k2-zahl {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-style: italic;
    color: var(--nk-color-dark, #2D2420);
    line-height: 1;
}

.nk-k2-monat {
    font-family: Lato, sans-serif;
    font-size: 0.6875rem;
    /* Bewusst NICHT var(--nk-color-link): Divis Global "Link Color" ist
       aktuell Gelb (#FDBE01, live geprüft) statt des ursprünglich hier
       verwendeten Brauntons — auf dem hellen Kartenhintergrund (#EDE6DA)
       wäre Gelb schlecht lesbar. Eigenständiger, unabhängiger Wert. */
    color: #6B3F1F;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nk-k2-inhalt {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nk-k2-titel {
    font-family: Lato, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nk-color-brown, #4A3B2E);
    margin: 0 0 6px 0;
}

.nk-k2-details {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-k2-zeitraum {
    font-family: Lato, sans-serif;
    font-size: 0.75rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    margin: 6px 0 0 0;
}

/* =============================================================================
   Karte Variante 3 — Dunkel & Aktiv
   ============================================================================= */

.nk-k3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.nk-k3-card {
    background: var(--nk-color-brown, #4A3B2E);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.nk-k3-card:hover {
    transform: translateY(-4px);
}

.nk-k3-stripe {
    height: 6px;
    background: var(--nk-color-yellow, #FDBE01);
    flex-shrink: 0;
}

.nk-k3-inhalt {
    padding: 22px 24px;
    flex: 1;
}

.nk-k3-titel {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-style: italic;
    color: var(--nk-color-yellow, #FDBE01);
    margin: 0 0 10px 0;
}

.nk-k3-meta {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-sand-bg, #EDE6DA);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.nk-k3-badge {
    font-family: Lato, sans-serif;
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nk-muted-on-dark-strong);
    margin-top: 8px;
}


/* =============================================================================
   Filterable Liste
   ============================================================================= */

.nk-fl-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nk-fl-btn {
    background: #ffffff;
    border: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    color: var(--nk-color-brown, #4A3B2E);
    transition: all 0.2s;
}

.nk-fl-btn.active,
.nk-fl-btn:hover {
    background: var(--nk-color-yellow, #FDBE01);
    border-color: var(--nk-color-yellow, #FDBE01);
    color: var(--nk-color-dark, #2D2420);
    font-weight: 700;
}

.nk-fl-liste {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 32px;
    overflow: hidden;
}

.nk-fl-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-bottom: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.nk-fl-item:last-child {
    border-bottom: none;
}

.nk-fl-item:hover {
    background: #fffdf9;
    padding-left: 34px;
}

.nk-fl-inhalt {
    border-left: 4px solid var(--nk-color-yellow, #FDBE01);
    padding-left: 18px;
}

.nk-fl-name {
    font-family: Lato, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--nk-color-dark, #2D2420);
    margin: 0 0 4px 0;
}

.nk-fl-details {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-muted-text, #7A6B5D);
}

.nk-fl-details strong {
    color: var(--nk-color-brown, #4A3B2E);
    font-weight: 600;
}

.nk-fl-badge {
    font-family: Lato, sans-serif;
    font-size: 0.6875rem;
    color: var(--nk-color-brown, #4A3B2E);
    border: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 16px;
}

@media (max-width: 600px) {
    .nk-fl-badge { display: none; }
    .nk-fl-item { padding: 16px; }
    .nk-fl-item:hover { padding-left: 20px; }
}

/* =============================================================================
   Accordion — Ausbildungen
   ============================================================================= */

.nk-acc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.nk-acc-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid var(--nk-color-sand-bg, #EDE6DA);
}

.nk-acc-header {
    background: var(--nk-color-dark, #2D2420);
    color: white;
    padding: 22px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.25s;
    user-select: none;
}

.nk-acc-header:hover {
    background: #3d312b;
}

.nk-acc-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-style: italic;
    color: var(--nk-color-yellow, #FDBE01);
    margin: 0 0 4px 0;
}

.nk-acc-untertitel {
    font-family: Lato, sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--nk-color-sand-bg, #EDE6DA);
    margin: 0;
}

.nk-acc-arrow {
    font-size: 1rem;
    color: var(--nk-color-yellow, #FDBE01);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.nk-acc-item.nk-acc-open .nk-acc-arrow {
    transform: rotate(180deg);
}

.nk-acc-content {
    background: #ffffff;
}

.nk-acc-body {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nk-acc-zeiten {
    font-family: Lato, sans-serif;
    font-size: 0.875rem;
    color: var(--nk-color-brown, #4A3B2E);
}


.nk-acc-preis {
    font-family: Lato, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--nk-color-dark, #2D2420);
}

@media (max-width: 600px) {
    .nk-acc-header { padding: 18px 20px; }
    .nk-acc-body   { padding: 18px 20px; }
    .nk-acc-name   { font-size: 1.125rem; }
}

/* -----------------------------------------------------------------------------
   Laufende Kurse — Accordion mit Timeline (laufende-accordion.php)
   ----------------------------------------------------------------------------- */

.nk-la-wrapper {
}

.nk-la-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    border: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    margin-bottom: 20px;
}

/* Header */
.nk-la-header {
    background: var(--nk-color-dark, #2D2420);
    color: #fff;
    padding: 22px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background .3s;
    gap: 16px;
}

.nk-la-header:hover,
.nk-la-item.nk-la-open .nk-la-header {
    background: #3d312b;
}

.nk-la-header-titel { flex: 1; min-width: 0; }

.nk-la-name {
    margin: 0;
    font-size: 1.3rem;
    color: var(--nk-color-yellow, #FDBE01);
    font-weight: 700;
    line-height: 1.3;
}

.nk-la-untertitel {
    margin: 5px 0 0;
    font-size: .875rem;
    color: var(--nk-color-sand-bg, #EDE6DA);
    opacity: .85;
}

.nk-la-arrow {
    font-size: 1.25rem;
    color: var(--nk-color-yellow, #FDBE01);
    transition: transform .3s ease;
    flex-shrink: 0;
}

.nk-la-item.nk-la-open .nk-la-arrow {
    transform: rotate(180deg);
}

/* Content */
.nk-la-content {
    background: #fff;
    overflow: hidden;
}

.nk-la-content[hidden] { display: none; }

/* Timeline */
.nk-la-timeline {
    padding: 36px 40px;
    position: relative;
}

.nk-la-timeline::before {
    content: '';
    position: absolute;
    left: 54px;
    top: 36px;
    bottom: 36px;
    width: 2px;
    background: var(--nk-color-sand-bg, #EDE6DA);
}

.nk-la-termin {
    position: relative;
    padding-left: 60px;
    margin-bottom: 28px;
}

.nk-la-termin:last-child { margin-bottom: 0; }

.nk-la-dot {
    position: absolute;
    left: 5px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--nk-color-yellow, #FDBE01);
    border-radius: 50%;
    z-index: 2;
}

/* Vergangen */
.nk-la-termin--vergangen {
    opacity: .5;
}

.nk-la-termin--vergangen .nk-la-dot {
    border-color: var(--nk-color-muted-text, #7A6B5D);
    background: var(--nk-color-sand-bg, #EDE6DA);
}

/* Nächster Termin */
.nk-la-termin--next {
    background: #fffdf5;
    margin-left: -40px;
    padding: 14px 14px 14px 100px;
    border-radius: 6px;
}

.nk-la-termin--next .nk-la-dot {
    background: var(--nk-color-yellow, #FDBE01);
    left: 44px;
}

/* Heute */
.nk-la-termin--heute {
    background: #fff8e7;
    margin-left: -40px;
    padding: 14px 14px 14px 100px;
    border-radius: 6px;
}

.nk-la-termin--heute .nk-la-dot {
    background: var(--nk-color-yellow, #FDBE01);
    left: 44px;
    box-shadow: 0 0 0 4px rgba(253,190,1,.25);
}

/* Inhalt je Termin */
.nk-la-info h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--nk-color-brown, #4A3B2E);
    font-weight: 600;
}

.nk-la-info p {
    margin: 4px 0 0;
    font-size: .875rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    line-height: 1.5;
}

.nk-la-check { color: var(--nk-color-brown, #4A3B2E); }


/* Fallback: Basisinfo wenn keine Details vorhanden */
.nk-la-basisinfo {
    padding: 24px 32px 8px;
}

.nk-la-basisinfo-zeile {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nk-color-sand-bg, #EDE6DA);
    font-size: .9rem;
    color: var(--nk-color-brown, #4A3B2E);
}

.nk-la-basisinfo-zeile:last-child { border-bottom: none; }

.nk-la-basisinfo-label {
    min-width: 80px;
    color: var(--nk-color-muted-text, #7A6B5D);
    font-weight: 600;
}

@media (max-width: 600px) {
    .nk-la-header    { padding: 18px 20px; }
    .nk-la-timeline  { padding: 24px 20px; }
    .nk-la-basisinfo { padding: 20px 20px 8px; }
    .nk-la-name      { font-size: 1.1rem; }
    .nk-la-timeline::before { left: 34px; }
    .nk-la-termin    { padding-left: 44px; }
    .nk-la-dot       { left: 4px; }
    .nk-la-termin--next,
    .nk-la-termin--heute {
        margin-left: -20px;
        padding-left: 64px;
    }
    .nk-la-termin--next .nk-la-dot,
    .nk-la-termin--heute .nk-la-dot { left: 24px; }
}

/* ── Leiter-Anzeige ──────────────────────────────────────────────── */
/* laufende-accordion: Kursleiter im Header */
.nk-la-leiter {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    margin: 2px 0 0;
    font-style: italic;
}
/* laufende-accordion: abweichender Leiter in Detailzeile */
.nk-la-termin-leiter {
    font-size: .78rem;
    color: var(--nk-gold-accent);
    font-style: italic;
    margin: 2px 0 4px;
}
/* Standard-Templates (karte1/karte2/karte3/liste/accordion) */
.nk-k1-leiter, .nk-k2-leiter, .nk-k3-leiter,
.nk-tl-leiter, .nk-acc-leiter {
    font-size: .8rem;
    color: var(--nk-color-muted-text, #7A6B5D);
    font-style: italic;
    margin: 2px 0 4px;
}
.nk-k3-leiter { color: rgba(255,255,255,.65); }

/* ── Leiter im Header des termine-accordion ──────────────────────── */
.nk-acc-leiter-header {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    font-style: italic;
    margin: 2px 0 0;
}

/* ── Timeline-Bullets im termine-accordion ───────────────────────── */
.nk-acc-timeline {
    position: relative;
    margin-top: 8px;
    padding-top: 4px;
}
.nk-acc-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--nk-color-sand-bg, #EDE6DA);
}
.nk-acc-tl-zeile {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 5px 0 5px 24px;
    font-size: .85rem;
}
.nk-acc-tl-dot {
    position: absolute;
    left: 2px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--nk-color-yellow, #FDBE01);
    border: 2px solid var(--nk-color-yellow-hover, #C49400);
    flex-shrink: 0;
}
.nk-acc-tl-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: baseline;
}
.nk-acc-tl-name {
    color: var(--nk-color-dark, #2D2420);
    font-weight: 500;
}
.nk-acc-tl-datum {
    color: var(--nk-color-muted-text, #7A6B5D);
    font-size: .8rem;
}
.nk-acc-tl-leiter {
    font-style: italic;
    color: var(--nk-gold-accent);
    font-size: .78rem;
    width: 100%;
}

/* ==========================================================================
   CSS v2.7.7 — NAIKIDO_HIGHLIGHT
   ========================================================================== */

/* Wrapper — trägt Hintergrund und vertikales Padding;
   die umgebende Divi-Section bekommt Padding 0 */
.nk-highlight-outer {
    background: #FFF3C4;
    padding: 60px 0;
}

/* --- Banner (gelbe horizontale Leiste) ------------------------------------ */
/* nk-termin-datum im gelben Banner: Zahl und Monat auf dunklem Ton */
.nk-highlight-banner .nk-termin-datum {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 4px 10px;
    text-align: center;
    line-height: 1;
}
.nk-highlight-banner .nk-termin-zahl {
    color: var(--nk-color-dark, #2D2420);
}
.nk-highlight-banner .nk-termin-monat {
    color: var(--nk-color-brown, #4A3B2E);
}

.nk-highlight-outer {
    padding: 60px 0;
    background: #FFF3C4;
}

.nk-highlight-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--nk-color-yellow, #FDBE01);
    border-radius: 6px;
    padding: .75rem 1.25rem;
    flex-wrap: wrap;
}
.nk-highlight-banner__datum {
    font-size: .875rem;
    font-weight: 600;
    color: var(--nk-color-dark, #2D2420);
    white-space: nowrap;
    flex-shrink: 0;
}
.nk-highlight-banner__mitte {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    flex: 1;
    min-width: 0;
}
.nk-highlight-banner__titel {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nk-color-dark, #2D2420);
    line-height: 1.2;
}
.nk-highlight-banner__text {
    font-size: .875rem;
    color: #4A3728;
}
.nk-highlight-banner__btn {
    display: inline-block;
    background: var(--nk-color-dark, #2D2420);
    color: var(--nk-color-yellow, #FDBE01);
    font-size: .875rem;
    font-weight: 600;
    padding: .4rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}
.nk-highlight-banner__btn:hover {
    background: #4A3728;
    color: var(--nk-color-yellow, #FDBE01);
    text-decoration: none;
}

/* --- Section (goldene Inhalts-Karte) -------------------------------------- */
.nk-highlight {
    background: var(--nk-color-light-bg, #FAF7F2);
    border: 2px solid var(--nk-color-yellow, #FDBE01);
    border-radius: 8px;
    overflow: hidden;
    max-width: 680px;
}
.nk-highlight__label {
    background: var(--nk-color-yellow, #FDBE01);
    color: var(--nk-color-dark, #2D2420);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .875rem;
}
.nk-highlight__body {
    padding: 1.25rem 1.5rem;
}
.nk-highlight__titel {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--nk-color-dark, #2D2420);
    margin: 0 0 .375rem;
    line-height: 1.2;
}
.nk-highlight__datum {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--nk-gold-accent);
    margin: 0 0 .75rem;
}
.nk-highlight__text {
    font-size: .9375rem;
    color: #4A3728;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.nk-highlight__btn {
    display: inline-block;
    background: var(--nk-color-dark, #2D2420);
    color: var(--nk-color-yellow, #FDBE01);
    font-size: .875rem;
    font-weight: 600;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background .15s;
}
.nk-highlight__btn:hover {
    background: #4A3728;
    color: var(--nk-color-yellow, #FDBE01);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
    .nk-highlight-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
    .nk-highlight-banner__btn {
        width: 100%;
        text-align: center;
    }
}
