/* ==================================================
   Akademie der Friseurkunst Österreich

   Datei: assets/css/style.css
   VVersion: 1.80 KI Erwin Basis:
   Zentrales Stylesheet für Layout, Farben, Karten,
   Galerie, Formulare, Adminbereich und responsive Ansicht.

   Stand: Juni 2026
   ================================================== */

/* ==================================================
   Akademie der Friseurkunst Österreich
   style.css
   VVersion 1.80 KI Erwin Basis
   ================================================== */


/* ===== Grundeinstellungen ===== */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
}


/* ===== Hero Bereich ===== */

.hero {
    min-height: 62vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,#111,#343434);
    color: white;
}

.hero h1 {
    color: white;
}


/* ===== Allgemeine Bereiche ===== */

.section-padding {
    padding: 4rem 0;
}


/* ===== Akademie Orange ===== */

h1,
h2,
.accent-heading {
    color: #f28c28;
}


/* ===== Header Logo Fix ===== */

.navbar {
    min-height: 70px;
    overflow: visible;
    z-index: 1030;
}

.navbar .container {
    min-height: 70px;
    overflow: visible;
}

.logo-wrapper {
    position: relative;
    display: block;
    width: 250px;
    height: 70px;
    padding: 0;
    overflow: visible;
}

.header-logo {
    height: 135px;
    width: auto;
    position: absolute;
    top: 5px;
    left: 0;
    z-index: 2000;
}


/* ===== Karten ===== */

.card {
    border: 0;
    border-radius: 1rem;
}

.card.shadow-sm {
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.08)!important;
}


/* ==================================================
   Galerie
   ================================================== */

/* Gemeinsame Galerie-Kachel (Portrait optimiert) */
.gallery-thumb-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #f8f8f8;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.10);
    cursor: pointer;
}

/* Standard: Admin-Vorschau bleibt gleichmäßig gefüllt */
.gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease, filter .3s ease;
}

/* Öffentliche Galerie: Portrait-Raster wie Admin */
.gallery-thumb-card .gallery-thumb {
    object-fit: cover;
    object-position: center top;
    background: #f8f8f8;
}

/* Öffentliche Galerie: leichter Zoom beim Darüberfahren */
.gallery-thumb-card:hover .gallery-thumb,
.gallery-thumb-card:focus .gallery-thumb {
    transform: scale(1.04);
    filter: brightness(.96);
}

.gallery-zoom-icon {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.62);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.22);
}

/* Galerie Mobile */
@media (max-width: 768px) {
    .gallery-thumb-card {
        aspect-ratio: 3 / 4;
    }

    .gallery-thumb-card .gallery-thumb {
        object-fit: cover;
        object-position: center top;
    }

    .gallery-zoom-icon {
        width: 1.9rem;
        height: 1.9rem;
        right: .55rem;
        bottom: .55rem;
        font-size: 1.05rem;
    }
}

/* ==================================================
   Personen / Trainer / Vorstand
   ================================================== */

.person-thumb {
    cursor: pointer;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform .2s ease, opacity .2s ease;
}

.person-thumb:hover {
    transform: scale(1.03);
    opacity: .9;
}

.person-name {
    color: #f28c28;
    font-weight: 700;
}

.person-role {
    font-weight: 600;
    color: #555;
}


/* ==================================================
   Formulare / Akademie Farben
   ================================================== */


/* Eingabefeld aktiv */

.form-control:focus {
    border-color: #f28c28;
    box-shadow: 0 0 0 .25rem rgba(242, 140, 40, .25);
}


/* Gültig ausgefüllte Felder */

.form-control:valid {
    border-color: #f28c28;
    background-color: rgba(242, 140, 40, .08);
}


/* Browser Autofill Chrome / Edge */

input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff4ea inset;
    -webkit-text-fill-color: #222;
}


/* Browser Autofill aktiv */

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus {
    -webkit-box-shadow:
        0 0 0 1000px #fff4ea inset,
        0 0 0 .25rem rgba(242, 140, 40, .25);

    border-color: #f28c28;
}


/* Button Fokus */

.btn:focus,
.btn:active {
    box-shadow: 0 0 0 .25rem rgba(242, 140, 40, .25);
}


/* Textauswahl */

::selection {
    background-color: rgba(242, 140, 40, .25);
}


/* ===== Footer ===== */

footer h6 {
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .04em;
    color: rgba(255,255,255,.75);
}

.footer-brand h5 {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
}

.footer-brand p {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
}


/* ===== Mobile ===== */

@media(max-width:768px) {
    .navbar {
        min-height: 60px;
    }

    .navbar .container {
        min-height: 60px;
    }

    .logo-wrapper {
        width: auto;
        height: auto;
    }

    .header-logo {
        height: 45px;
        position: static;
    }
}


/* ==================================================
   Startseite 1.68 – Hero, Icons, Slider
   ================================================== */

.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.25) 100%),
        url("../../daten/img/hero/startseite.jpg");
    background-size: cover;
    background-position: center top;
}

.hero h1 {
    color: #fff;
}

.hero .lead {
    max-width: 640px;
}

.hero-kicker {
    color: #f28c28;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    font-size: .9rem;
}

.hero-line {
    width: 70px;
    height: 3px;
    background: #f28c28;
    margin: 1.25rem 0;
}

.btn-academy {
    background: #f28c28;
    border-color: #f28c28;
    color: #fff;
    font-weight: 700;
}

.btn-academy:hover {
    background: #d97718;
    border-color: #d97718;
    color: #fff;
}

.btn-outline-academy {
    border-color: #f28c28;
    color: #fff;
    font-weight: 700;
}

.btn-outline-academy:hover {
    background: #f28c28;
    color: #fff;
}

.feature-card {
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 140, 40, .12);
    color: #f28c28;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-inner {
    text-align: center;
}

.carousel-home-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 1rem;
}

@media(max-width: 768px) {
    .hero {
        min-height: 70vh;
        text-align: center;
        background:
            linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.6)),
            url("../../daten/img/hero/startseite.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card {
        margin-top: 0;
    }
}


@media(max-width: 768px) {
    .hero {
        min-height: 70vh;
        text-align: center;
        background:
            linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.55)),
            url("../../daten/img/hero/startseite.jpg");
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: center top;
        background-color: #111;
    }

    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card {
        margin-top: 0;
    }
}

/* ==================================================
   Admin Upload Bereiche – VVersion 1.80 KI Erwin Basis
   ================================================== */
.admin-upload-box{background-color:rgba(242,140,40,.08);border:1px solid rgba(242,140,40,.35);border-radius:1rem}
.admin-upload-icon{width:54px;height:54px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(242,140,40,.14);color:#f28c28;font-size:1.6rem;flex:0 0 auto}
.admin-step-title{font-weight:700;margin-bottom:.35rem}
.admin-help-text{font-size:.92rem;color:#666}

/* ==================================================
   VVersion 1.80 KI Erwin Basis:
   Einheitliches Akademie-Design für Formulare.
   ================================================== */


/* Datei auswählen Button */

.form-control::file-selector-button {

    background-color: rgba(242, 140, 40, .15);

    color: #212529;

    border: 0;

    border-right: 1px solid rgba(242, 140, 40, .35);

    transition: all .2s ease;

}


.form-control:hover::file-selector-button {

    background-color: #f28c28;

    color: #ffffff;

}



/* Checkbox / Radio Button Orange */

.form-check-input:checked {

    background-color: #f28c28;

    border-color: #f28c28;

}


.form-check-input:focus {

    border-color: #f28c28;

    box-shadow: 0 0 0 .25rem rgba(242, 140, 40, .25);

}



/* Auswahlfeld Fokus Orange */

.form-select:focus {

    border-color: #f28c28;

    box-shadow: 0 0 0 .25rem rgba(242, 140, 40, .25);

}



/* ==================================================
   VVersion 1.80 KI Erwin Basis
   ================================================== */

.form-control::file-selector-button {
    background-color: rgba(242,140,40,.15);
    color: #212529;
    border: 0;
    border-right: 1px solid rgba(242,140,40,.35);
    transition: all .2s ease;
}

.form-control:hover::file-selector-button {
    background-color: #f28c28;
    color: #ffffff;
}

.form-check-input:checked {
    background-color: #f28c28;
    border-color: #f28c28;
}

.form-check-input:focus {
    border-color: #f28c28;
    box-shadow: 0 0 0 .25rem rgba(242,140,40,.25);
}

.form-control:focus,
.form-select:focus {
    border-color: #f28c28;
    box-shadow: 0 0 0 .25rem rgba(242,140,40,.25);
}

.form-select:valid {
    border-color: #f28c28;
}

/* ==================================================
   VVersion 1.80 KI Erwin Basis
   ================================================== */
.admin-progress-wrap{display:none}
.admin-progress-wrap.is-visible{display:block}
.admin-progress-bar{height:1.25rem;background-color:rgba(242,140,40,.15);border-radius:999px;overflow:hidden}
.admin-progress-bar-inner{width:0%;height:100%;background-color:#f28c28;transition:width .2s ease}
.systemcheck-ok{color:#198754;font-weight:700}
.systemcheck-warning{color:#d97718;font-weight:700}
.systemcheck-error{color:#dc3545;font-weight:700}


/* ==================================================
   VVersion 1.80 KI Erwin Basis kompakt, Handy weiterhin groß.
   ================================================== */

@media (min-width: 769px) {

    .person-thumb {
        width: 160px;
        max-width: 160px;
        height: 160px;
        object-fit: cover;
        object-position: center;
        align-self: flex-start;
    }

}

@media (max-width: 768px) {

    .person-thumb {
        width: 100%;
        max-width: 100%;
        max-height: 280px;
        object-fit: cover;
        object-position: center;
    }

}

/* ==================================================
   VVersion 1.80 KI Erwin Basis
   ================================================== */

.person-thumb,
.trainer-card img,
.vorstand-card img {
    object-fit: contain;
    object-position: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .person-thumb {
        width: 160px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .person-thumb {
        width: 100%;
        max-height: 350px;
    }
}


/* ==================================================
   VVersion 1.80 KI Erwin Basis:
   Kleine Kursbilder rechts neben der Überschrift.
   Bestehendes Kartenlayout bleibt erhalten.
   ================================================== */

.kurs-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.kurs-card-header .accent-heading {
    margin-bottom: 0;
}

.kurs-thumb,
.kurs-thumb-placeholder {
    width: 90px;
    height: 90px;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    flex: 0 0 auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.kurs-thumb-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f28c28;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .kurs-thumb,
    .kurs-thumb-placeholder {
        width: 76px;
        height: 76px;
        padding: 0;
    }
}

/* Kurs-Symbolbilder im Stil der Webseite */
.kurs-thumb {
    background: transparent;
    border: 0;
    box-shadow: none;
}


/* ==================================================
   VVersion 1.80 KI Erwin Basis
   ================================================== */

/* Webspace Anzeige */

.webspace-card {
    background: #ffffff;
}

.webspace-bar {
    width: 100%;
    height: 1.1rem;
    background-color: rgba(242, 140, 40, .15);
    border-radius: 999px;
    overflow: hidden;
}

.webspace-bar-inner {
    height: 100%;
    background-color: #f28c28;
    border-radius: 999px;
}

.webspace-warning .webspace-bar-inner {
    background-color: #d97718;
}

.webspace-danger .webspace-bar-inner {
    background-color: #dc3545;
}


/* Cookie Banner */

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: none;
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(242, 140, 40, .35);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .18);
    padding: 1rem;
}

.cookie-banner-title {
    font-weight: 700;
    color: #f28c28;
    margin-bottom: .35rem;
}

.cookie-banner-text {
    font-size: .95rem;
    margin-bottom: .75rem;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.cookie-settings {
    display: none;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.cookie-settings.is-visible {
    display: block;
}

@media (max-width: 576px) {
    .cookie-banner {
        left: .5rem;
        right: .5rem;
        bottom: .5rem;
    }

    .cookie-banner-actions .btn {
        width: 100%;
    }
}

/* VVersion 1.80 KI Erwin Basis
.kontakt-form button[type="submit"], .contact-form button[type="submit"], form button[type="submit"].btn-primary, form input[type="submit"]{background-color:#f28c28!important;border-color:#f28c28!important;color:#fff!important}
.kontakt-form button[type="submit"]:hover, .contact-form button[type="submit"]:hover, form button[type="submit"].btn-primary:hover, form input[type="submit"]:hover{background-color:#d97718!important;border-color:#d97718!important;color:#fff!important}
.card-symbol,.kurs-thumb-placeholder{border-radius:.75rem;background:rgba(242,140,40,.12);color:#f28c28;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.card-symbol{width:64px;height:64px;font-size:2rem}
.kurs-thumb-placeholder{width:78px;height:78px;font-size:2rem}
.backup-progress-wrap{display:none}.backup-progress-wrap.is-visible{display:block}.backup-progress-bar{height:1.25rem;background-color:rgba(242,140,40,.15);border-radius:999px;overflow:hidden}.backup-progress-bar-inner{width:0%;height:100%;background-color:#f28c28;transition:width .4s ease}


/* ==================================================
   VVersion 1.80 KI Erwin Basis
   ================================================== */

.kontakt-form .btn,
.kontakt-form button,
.kontakt-form input[type="submit"],
form[action*="send"] button[type="submit"],
form[action*="send"] input[type="submit"],
button[name="send"],
button[name="senden"] {
    background-color: #f28c28 !important;
    border-color: #f28c28 !important;
    color: #ffffff !important;
}

.kontakt-form .btn:hover,
.kontakt-form button:hover,
.kontakt-form input[type="submit"]:hover,
form[action*="send"] button[type="submit"]:hover,
form[action*="send"] input[type="submit"]:hover {
    background-color: #d97718 !important;
    border-color: #d97718 !important;
    color: #ffffff !important;
}


/* ==================================================
   VVersion 1.80 KI Erwin Basis-Karten Symbole wie Startseite
   ================================================== */

.akademie-card-symbol,
.card-symbol {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    border-radius: 50% !important;
    background: rgba(242, 140, 40, .12) !important;
    color: #f28c28 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.7rem !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

.akademie-card-symbol i,
.card-symbol i {
    color: #f28c28 !important;
}


/* ==================================================
   Rev5 Icon rechts in Karten
   ================================================== */

.feature-icon {
    flex-shrink: 0;
}




/* ==================================================
   Version 1.80 Erwin R3 - modernes Chat-Widget
   ================================================== */

.erwin-chat {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1090;
    font-family: inherit;
}

.erwin-chat-toggle {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 50%;
    border: none;
    background: #0c2d4f;
    color: #ffffff;
    font-size: 1.45rem;
    box-shadow: 0 .75rem 1.8rem rgba(0,0,0,.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.erwin-chat-window {
    display: none;
    position: absolute;
    right: 0;
    bottom: 4.6rem;
    width: min(520px, calc(100vw - 2rem));
    max-height: min(720px, calc(100vh - 6rem));
    background: #ffffff;
    border-radius: 1.15rem;
    box-shadow: 0 1rem 2.4rem rgba(0,0,0,.26);
    overflow: hidden;
    border: 1px solid rgba(12,45,79,.18);
}

.erwin-chat.is-open .erwin-chat-window {
    display: flex;
    flex-direction: column;
}

.erwin-chat-header {
    background: linear-gradient(135deg, #082441, #0d3a67);
    color: #ffffff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.erwin-chat-header-main {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.erwin-chat-header strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.15;
}

.erwin-chat-header span,
.erwin-chat-header small {
    display: block;
    color: rgba(255,255,255,.88);
    line-height: 1.35;
}

.erwin-chat-header span {
    font-size: .95rem;
    margin-top: .15rem;
}

.erwin-chat-header small {
    font-size: .82rem;
}

.erwin-chat-header button {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: .7rem;
    background: rgba(255,255,255,.08);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
}

.erwin-avatar {
    display: block;
    border-radius: 50%;
    background: #ffffff;
    object-fit: cover;
    flex-shrink: 0;
}

.erwin-avatar-large {
    width: 4.25rem;
    height: 4.25rem;
    box-shadow: 0 .35rem 1rem rgba(0,0,0,.22);
}

.erwin-avatar-small {
    width: 2.35rem;
    height: 2.35rem;
    margin-top: .15rem;
}

.erwin-chat-messages {
    height: 360px;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.erwin-message-row {
    display: flex;
    gap: .65rem;
    margin-bottom: .75rem;
}

.erwin-message-row-user {
    justify-content: flex-end;
}

.erwin-message {
    padding: .75rem .9rem;
    border-radius: 1rem;
    font-size: .95rem;
    line-height: 1.45;
    white-space: pre-wrap;
    max-width: 82%;
}

.erwin-message-bot {
    background: #edf5ff;
    color: #0b2542;
    border: 1px solid rgba(12,45,79,.08);
}

.erwin-message-user {
    background: #f28c28;
    color: #ffffff;
    border-top-right-radius: .25rem;
}

.erwin-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .25rem 0 0 3rem;
}

.erwin-quick-questions button {
    border: 1px solid rgba(12,45,79,.15);
    background: #ffffff;
    color: #0b2542;
    border-radius: .7rem;
    padding: .45rem .65rem;
    font-size: .88rem;
}

.erwin-quick-questions button:hover {
    border-color: #f28c28;
    color: #d97718;
}

.erwin-chat-form {
    display: flex;
    gap: .55rem;
    padding: .85rem;
    border-top: 1px solid rgba(12,45,79,.10);
    background: #ffffff;
}

.erwin-chat-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(12,45,79,.18);
    border-radius: .75rem;
    padding: .72rem .85rem;
    font-size: .95rem;
}

.erwin-chat-form input:focus {
    outline: none;
    border-color: #f28c28;
    box-shadow: 0 0 0 .18rem rgba(242,140,40,.16);
}

.erwin-chat-form button {
    border: none;
    background: #0c2d4f;
    color: #ffffff;
    border-radius: .75rem;
    padding: .72rem 1rem;
    font-weight: 600;
}

.erwin-chat-form button:hover {
    background: #0a2440;
}

.erwin-chat-privacy {
    background: #edf5ff;
    color: #2b3b4d;
    font-size: .82rem;
    padding: .65rem .85rem;
    text-align: center;
}

.erwin-chat-privacy a {
    color: #0c2d4f;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .erwin-chat {
        right: .75rem;
        bottom: .75rem;
    }

    .erwin-chat-window {
        width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 5.5rem);
    }

    .erwin-chat-messages {
        height: 330px;
    }

    .erwin-message {
        max-width: 88%;
    }
}

/* ==================================================
   Kurse dynamisch – Version 1.82
   ================================================== */

.kurs-card-public {
    display: flex;
    flex-direction: column;
}

.kurs-card-expired,
.kurs-admin-expired {
    background: #f3f3f3;
    color: #666;
}

.kurs-card-expired .accent-heading,
.kurs-card-expired h3,
.kurs-admin-expired .accent-heading {
    color: #777 !important;
}

.kurs-card-expired img,
.kurs-admin-expired img {
    filter: grayscale(1);
    opacity: .75;
}

.kurs-thumb-seminar {
    background: rgba(242, 140, 40, .14) !important;
    color: #f28c28 !important;
}

.kurs-thumb-event {
    background: rgba(25, 135, 84, .12) !important;
    color: #198754 !important;
}

.kurs-card-planned {
    border-top: 4px solid #f28c28;
}

/* ==================================================
   Galerie Besucherschutz
   ================================================== */
.gallery-thumb,
#lightboxImage {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}


/* ==================================================
   Version 1.86 Rev2 - Teilen / Wettbewerbe & Lehrlinge
   ================================================== */
.kurs-share{ border-top:1px solid rgba(0,0,0,.06); padding-top:.45rem; }
.kurs-share-toggle{ color:#6c757d; text-decoration:none; font-weight:600; }
.kurs-share-toggle:hover{ color:#f28c28; text-decoration:none; }
.kurs-share .btn{ border-radius:999px; }
.kurs-share-status{ color:#198754; min-height:1.2em; }
.hero-section-subpage{ background:linear-gradient(135deg, rgba(242,140,40,.12), rgba(255,255,255,.96)); padding:4rem 0 3rem; }
.eyebrow{ color:#f28c28; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.text-academy{ color:#f28c28; }
.info-card-soft{ background:#fffaf5; }
.feature-mini-card{ border:0; }
.wettbewerb-preview-img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.cta-card-academy{ background:linear-gradient(135deg, rgba(242,140,40,.12), #ffffff); }


/* ==================================================
   Version 1.86 Rev3 - Kurskarten / Beschreibungen
   ================================================== */
.kurs-detail-text{ margin-bottom:.25rem; }
.kurs-detail-collapsed{ max-height:6.4em; overflow:hidden; position:relative; }
.kurs-detail-collapsed::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2.4em; background:linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events:none; }
.kurs-card-expired .kurs-detail-collapsed::after{ background:linear-gradient(to bottom, rgba(243,243,243,0), #f3f3f3); }
.kurs-detail-toggle{ color:#f28c28; font-weight:600; text-decoration:none; }
.kurs-detail-toggle:hover{ color:#d97718; text-decoration:underline; }
