/* =========================================================
   TuphoniX – optische Optimierung
   WT Boss Free / Joomla
   ========================================================= */


/* ---------------------------------------------------------
   1. ALLGEMEIN
   --------------------------------------------------------- */

html,
body {
    overflow-x: hidden;
}

body {
    line-height: 1.65;
}


/* ---------------------------------------------------------
   2. HEADER / LOGO
   --------------------------------------------------------- */

#sp-header {
    min-height: 90px !important;
    height: auto !important;
}

#sp-header .logo,
#sp-header .logo img {
    max-height: 75px !important;
    width: auto !important;
}

#sp-header .sp-megamenu-parent > li > a {
    font-size: 15px;
    letter-spacing: 0.5px;
}


/* ---------------------------------------------------------
   3. INTROVIDEO
   --------------------------------------------------------- */

.intro-video {
    position: relative;
    width: 100vw !important;
    max-width: none !important;

    margin: 0 calc(50% - 50vw) !important;
    padding: 0 !important;

    overflow: hidden;
}

.intro-video video {
    display: block;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ---------------------------------------------------------
   4. HAUPTINHALT
   --------------------------------------------------------- */

#sp-main-body {
    padding-top: 35px !important;
    padding-bottom: 50px !important;
}

#sp-main-body .container {
    max-width: 1400px;
}

.item-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ---------------------------------------------------------
   5. ÜBERSCHRIFTEN
   --------------------------------------------------------- */

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    margin-bottom: 25px;
}

h2 {
    margin-top: 50px;
    margin-bottom: 25px;
}

h3 {
    margin-top: 35px;
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   6. TEXT
   --------------------------------------------------------- */

.item-page p {
    margin-bottom: 20px;
    max-width: 1100px;
}


/* ---------------------------------------------------------
   7. BILDER
   --------------------------------------------------------- */

.item-page img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ---------------------------------------------------------
   8. ABSTÄNDE INNERHALB DES BEITRAGS
   --------------------------------------------------------- */

.item-page p:empty {
    display: none;
}

.item-page > *:first-child {
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   9. LINKS
   --------------------------------------------------------- */

.item-page a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ---------------------------------------------------------
   10. TABLET
   --------------------------------------------------------- */

@media (max-width: 991px) {

    #sp-header {
        min-height: 75px !important;
    }

    #sp-header .logo img {
        max-height: 60px !important;
    }

    #sp-main-body {
        padding-top: 25px !important;
        padding-bottom: 40px !important;
    }
}


/* ---------------------------------------------------------
   11. SMARTPHONE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    #sp-header {
        min-height: 65px !important;
    }

    #sp-header .logo img {
        max-height: 50px !important;
    }

    #sp-main-body {
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
        margin-top: 35px;
    }

    h3 {
        font-size: 22px;
    }

    .item-page p {
        font-size: 16px;
        line-height: 1.6;
    }
}


/* ---------------------------------------------------------
   12. SEHR KLEINE SMARTPHONES
   --------------------------------------------------------- */

@media (max-width: 480px) {

    #sp-main-body {
        padding-top: 15px !important;
    }

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 24px;
    }
}


/* ---------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------- */

#sp-footer {
    padding: 22px 0 !important;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

#sp-footer .container,
#sp-footer .row {
    min-height: 0 !important;
}

#sp-footer p {
    margin: 0 !important;
    padding: 0 !important;
}

#sp-footer a {
    text-decoration: none;
}


/* Pfeil am Menüpunkt Kontakt entfernen */
#sp-footer .item-106::before,
#sp-footer .item-106::after,
#sp-footer .item-106 > a::before,
#sp-footer .item-106 > a::after {
    content: none !important;
    display: none !important;
}
/* =========================================================
   TuphoniX Team Cards
   ========================================================= */

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .35s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,.18);
}

.team-image {
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .45s ease,
        filter .45s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
    filter: brightness(.72);
}

.team-info {
    text-align: center;
    padding: 18px 12px;
}

.team-info h4 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    transition: color .3s ease;
}

.team-card:hover .team-info h4 {
    color: #191970;
}

.team-job {
    margin: 0;
    font-size: .92rem;
    color: #888;
    font-style: italic;
    transition: transform .3s ease;
}

.team-instrument {
    margin-top: 5px;
    font-size: .82rem;
    font-weight: 400;
    color: #666;
    letter-spacing: .3px;
    transition: transform .3s ease;
}

.team-card:hover .team-job,
.team-card:hover .team-instrument {
    transform: translateY(-2px);
}