/* ==========================================================
   PRIMTALMUSIKSCHULE
   Design System 2.0
   Joomla 6 + Helix Ultimate
========================================================== */


/* ==========================================================
   1. DESIGN TOKENS
========================================================== */

:root{

    --primary:#F28C28;
    --primary-dark:#D97706;

    --secondary:#1F365C;

    --text:#2F2F2F;
    --text-light:#666;

    --white:#ffffff;
    --light:#f8f9fb;

    --radius:24px;
    --radius-lg:36px;
    --radius-pill:999px;

    --shadow-sm:0 8px 24px rgba(0,0,0,.06);
    --shadow-md:0 18px 45px rgba(0,0,0,.08);
    --shadow-lg:0 30px 80px rgba(0,0,0,.12);

}



/* ==========================================================
   2. GLOBAL
========================================================== */

body{

    font-family:"Inter",sans-serif;

    font-size:18px;

    line-height:1.7;

    color:var(--text);

    background:#fff;

}

.container{

    max-width:1320px;

}



/* ==========================================================
   3. TYPOGRAPHY
========================================================== */

h1,h2,h3,h4,h5{

    font-family:"Poppins",sans-serif;

    color:var(--secondary);

    font-weight:700;

    letter-spacing:-.03em;

    margin-bottom:.8rem;

}

h1{

    font-size:clamp(3.5rem,7vw,5.5rem);

    line-height:1.05;

}

h2{

    font-size:clamp(2.3rem,5vw,3.4rem);

}

p{

    color:var(--text-light);

}



/* ==========================================================
   4. HEADER
========================================================== */

#sp-header{

    height:72px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    box-shadow:0 1px 15px rgba(0,0,0,.05);

    transition:.3s;

}

#sp-header .logo img{

    max-height:60px;

}

.sp-megamenu-parent>li>a{

    font-size:16px;

    font-weight:500;

    transition:.3s;

}

.sp-megamenu-parent>li>a:hover{

    color:var(--primary);

}



/* ==========================================================
   5. BUTTONS
========================================================== */

.btn{

    border-radius:var(--radius-pill);

    padding:16px 34px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-3px);

}

.btn-primary{

    background:var(--primary);

    border:none;

}

.btn-primary:hover{

    background:var(--primary-dark);

}

.btn-outline-dark{

    border-radius:var(--radius-pill);

}



/* ==========================================================
   6. HERO
========================================================== */


.hero-section{

    position:relative;
    overflow:hidden;

    min-height:72vh;

    display:flex;
    align-items:center;

    padding:40px 0 70px;

    background:

        radial-gradient(
            circle at 92% 18%,
            rgba(242,140,40,.10) 0%,
            rgba(242,140,40,.04) 38%,
            transparent 65%
        ),

        linear-gradient(
            180deg,
            #fffdfa 0%,
            #fff8f4 55%,
            #ffffff 100%
        );

}

.hero-section::before{

    content:"";

    position:absolute;

    inset:0;

    background-image:url("/images/hero-bg.jpg");

    background-repeat:no-repeat;

    background-position:right center;

    background-size:cover;

    opacity:.95;

    z-index:-2;

}

.hero-badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:var(--radius-pill);

    background:#fff3e8;

    color:var(--primary);

    font-weight:600;

    margin-bottom:30px;

}


.hero-text{

    font-size:1.25rem;

    max-width:560px;

    margin:35px 0;

}


.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}


.hero-stats{

    display:flex;

    gap:50px;

    margin-top:55px;

    flex-wrap:wrap;

}

.hero-stats strong{

    display:block;

    font-size:2rem;

    color:var(--secondary);

    line-height:1;

}

.hero-stats span{

    font-size:.95rem;

}


.hero-section .hero-image-wrapper {

    position: relative;

    width: 100%;

    height: min(430px, 38vw);

    max-height: 430px;

    padding: 0;

    overflow: hidden;

}

.hero-image{

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);

}

.hero-image:hover{

    transform:scale(1.02);

}


.hero-image-wrapper{

    position:relative;

    padding-left:40px;

}


/* ==========================================================
   7. SECTIONS
========================================================== */

.section{

    background:var(--light);

    padding:110px 0;

}

.section-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.section-badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:var(--radius-pill);

    background:#fff3e8;

    color:var(--primary);

    font-weight:600;

    margin-bottom:20px;

}



/* ==========================================================
   8. CARDS
========================================================== */

.feature-card{

    display:block;

    background:#fff;

    border-radius:var(--radius);

    overflow:hidden;

    text-decoration:none;

    color:inherit;

    box-shadow:var(--shadow-sm);

    transition:.35s;

    height:100%;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-md);

}

.feature-image{

    width:100%;

    height:280px;

    object-fit:cover;

    display:block;

    transition:.5s;

}

.feature-card:hover .feature-image{

    transform:scale(1.05);

}

.feature-content{

    padding:22px 24px 26px;

}

.feature-content h3{

    margin-bottom:12px;

}

.feature-content p{

    margin:0;

}



/* ==========================================================
   9. RESPONSIVE
========================================================== */

@media (max-width:991px){

    .hero-section{
        text-align:center;
        padding:70px 0;
    }

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

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
        gap:30px;
    }

    .hero-image-wrapper{
        margin-top:40px;
    }

}   

@media (max-width:767px){

    h1{
        font-size:3rem;
    }

    .hero-image{
        border-radius:24px;
    }

    .feature-image{
        height:220px;
    }

}   

/* ==========================================================
   FOOTER 3.0
========================================================== */

#sp-footer{

    background:linear-gradient(
        180deg,
        #314767 0%,
        #273B59 100%
    );

    color:rgba(255,255,255,.78);

    padding:70px 0 35px;

    position:relative;

}

/* Orange Akzentlinie */

#sp-footer::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:180px;
    height:4px;

    background:var(--primary);

    border-radius:0 10px 10px 0;

}


/* Überschriften */

#sp-footer h3{

    color:#fff;

    font-size:20px;

    font-weight:600;

    margin-bottom:24px;

}


/* Text */

#sp-footer p{

    color:rgba(255,255,255,.72);

    line-height:1.9;

    margin-bottom:18px;

}


/* Links */

#sp-footer a{

    color:rgba(255,255,255,.85);

    text-decoration:none;

    transition:.25s;

}

#sp-footer a:hover{

    color:var(--primary);

}


/* Listen */

#sp-footer ul{

    list-style:none;

    padding:0;

    margin:0;

}

#sp-footer li{

    margin-bottom:12px;

}


/* Module etwas luftiger */

#sp-footer .sp-module{

    margin-bottom:30px;

}


/* Icons */

#sp-footer i{

    color:var(--primary);

    width:22px;

}


/* ==========================================================
   COPYRIGHT
========================================================== */

#sp-copyright{

    background:#22334d;

    border-top:1px solid rgba(255,255,255,.08);

    color:rgba(255,255,255,.65);

    font-size:15px;

    padding:22px 0;

}

#sp-copyright a{

    color:rgba(255,255,255,.78);

    text-decoration:none;

    margin-left:18px;

}

#sp-copyright a:hover{

    color:var(--primary);

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:991px){

    #sp-footer{

        text-align:center;

        padding:55px 0 30px;

    }

    #sp-footer::before{

        left:50%;

        transform:translateX(-50%);

        width:120px;

    }

    #sp-footer .sp-module{

        margin-bottom:40px;

    }

    #sp-copyright{

        text-align:center;

    }

    #sp-copyright a{

        display:inline-block;

        margin:10px 8px 0;

    }

 }
/* ==========================================
   Feature Icons
========================================== */

.feature-icon{

    width:72px;
    height:72px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:24px;

    border-radius:50%;

    background:rgba(242,140,40,.10);

    color:var(--primary);

    font-size:30px;

    transition:.35s;

}

.feature-card:hover .feature-icon{

    background:var(--primary);

    color:#fff;

    transform:rotate(-8deg) scale(1.05);

}

/* ==========================================================
   IMPRESSUM / RECHTLICHE SEITEN
========================================================== */

.page-hero-small{

    min-height:420px;

    padding:90px 0;

    display:flex;

    align-items:center;

}


.legal-content{

    max-width:900px;

    margin:0 auto;

}


.legal-intro{

    padding:45px;

    margin-bottom:60px;

    background:#fff3e8;

    border-radius:var(--radius);

}


.legal-intro h2{

    margin-bottom:25px;

}


.legal-contact p{

    margin-bottom:22px;

}


.legal-contact p:last-child{

    margin-bottom:0;

}


.legal-block{

    padding:0 0 45px;

    margin-bottom:45px;

    border-bottom:1px solid #e7e9ed;

}


.legal-block:last-child{

    border-bottom:none;

    margin-bottom:0;

}


.legal-block h2{

    font-size:2rem;

    margin-bottom:22px;

}


.legal-block p{

    margin-bottom:18px;

}


.legal-block a,
.legal-contact a{

    color:var(--secondary);

    text-decoration:none;

    font-weight:500;

}


.legal-block a:hover,
.legal-contact a:hover{

    color:var(--primary);

}


@media (max-width:767px){

    .page-hero-small{

        min-height:340px;

        padding:70px 0;

    }

    .legal-intro{

        padding:30px;

    }

    .legal-block h2{

        font-size:1.7rem;

    }

}
/* ==========================================================
   WIDERRUFSBELEHRUNG
========================================================== */

.legal-contact-box{

    margin-top:35px;

    padding:30px 35px;

    background:#fff3e8;

    border-left:4px solid var(--primary);

    border-radius:0 var(--radius) var(--radius) 0;

}

.legal-contact-box p{

    margin-bottom:18px;

}

.legal-contact-box p:last-child{

    margin-bottom:0;

}

.legal-contact-box a{

    color:var(--secondary);

    text-decoration:none;

    font-weight:500;

}

.legal-contact-box a:hover{

    color:var(--primary);

}

/* ==========================================================
   DATENSCHUTZERKLÄRUNG
========================================================== */

.legal-overview{

    margin-top:30px;

    padding:25px 30px;

    background:#f8f9fb;

    border-radius:var(--radius);

}

.legal-overview ol{

    margin:15px 0 0 20px;

    padding:0;

}

.legal-overview li{

    margin-bottom:7px;

}


.legal-list{

    padding-left:25px;

    margin:25px 0;

}

.legal-list li{

    margin-bottom:18px;

    padding-left:8px;

}


.legal-note{

    margin-top:20px;

    padding:25px 30px;

    background:#fff3e8;

    border-radius:var(--radius);

    color:var(--text);

}

.legal-note p{

    margin:0;

}

/* ==========================================================
   FOOTER MENÜS
   linksbündig + untereinander
========================================================== */

#sp-footer .sp-module-content ul,
#sp-footer ul.nav,
#sp-footer ul.menu,
#sp-footer ul.mod-menu,
#sp-footer ul.sp-megamenu-parent {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
}

#sp-footer .sp-module-content ul > li,
#sp-footer ul.nav > li,
#sp-footer ul.menu > li,
#sp-footer ul.mod-menu > li,
#sp-footer ul.sp-megamenu-parent > li {
    display:block !important;
    float:none !important;
    width:100% !important;
    margin:0 0 10px 0 !important;
    padding:0 !important;
    text-align:left !important;
}

#sp-footer .sp-module-content ul > li > a,
#sp-footer ul.nav > li > a,
#sp-footer ul.menu > li > a,
#sp-footer ul.mod-menu > li > a,
#sp-footer ul.sp-megamenu-parent > li > a {
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
}
/* ==========================================================
   FORMULARE & DOWNLOADS
========================================================== */

.download-card {

    position: relative;

    display: flex;
    align-items: center;
    gap: 20px;

    height: 100%;

    padding: 28px;

    background: #ffffff;

    border-radius: var(--radius-lg);

    color: var(--text);

    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.download-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-lg);

}


.download-icon {

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3e8;

    color: var(--primary);

    font-size: 1.25rem;

}


.download-content {

    flex: 1;

}


.download-content h3 {

    margin: 0 0 7px;

    color: var(--secondary);

    font-size: 1.2rem;

}


.download-content p {

    margin: 0;

    font-size: .95rem;

    line-height: 1.5;

    color: var(--text-muted);

}


.download-arrow {

    color: var(--primary);

    font-size: 1rem;

}


.service-box {

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 35px;

    margin-top: 20px;

    background: #fff3e8;

    border-radius: var(--radius-lg);

}


.service-box-icon {

    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: var(--primary);

    font-size: 1.4rem;

}


.service-box-content {

    flex: 1;

}


.service-box-content h3 {

    margin-bottom: 8px;

    color: var(--secondary);

}


.service-box-content p {

    margin-bottom: 18px;

}


@media (max-width: 767px) {

    .service-box {

        flex-direction: column;

        align-items: flex-start;

    }
 }
/* ==========================================================
   KONTAKT – FORMULARE HINWEIS
========================================================== */

.contact-service-box {

    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 45px;

    padding: 28px;

    background: #fff3e8;

    border-radius: var(--radius-lg);

}


.contact-service-icon {

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: var(--primary);

    font-size: 1.2rem;

}


.contact-service-content {

    flex: 1;

}


.contact-service-content h3 {

    margin: 0 0 8px;

    color: var(--secondary);

    font-size: 1.2rem;

}


.contact-service-content p {

    margin: 0 0 18px;

    color: var(--text-muted);

    line-height: 1.5;

}


@media (max-width: 767px) {

    .contact-service-box {

        align-items: flex-start;

        flex-direction: column;

    }

}
/* ==========================================================
   GEBÜHRENORDNUNG
========================================================== */

.fee-table-wrapper {
    overflow-x: auto;
    margin-top: 35px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
}

.fee-table th,
.fee-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,.07);
}

.fee-table th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
}

.fee-table th:last-child,
.fee-table td:last-child {
    text-align: right;
    white-space: nowrap;
}

.fee-table tbody tr:last-child td {
    border-bottom: 0;
}

.fee-table tbody tr:hover {
    background: #fff8f1;
}


/* Preiskarten */

.fee-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.fee-card h3 {
    margin: 15px 0 10px;
    color: var(--secondary);
}

.fee-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.fee-price {
    margin: 12px 0;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
}


/* Hinweise */

.fee-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding: 20px 25px;
    background: #fff3e8;
    border-radius: var(--radius);
}

.fee-note i {
    margin-top: 4px;
    color: var(--primary);
}

.fee-note p {
    margin: 0;
}


/* Mobil */

@media (max-width: 767px) {

    .fee-table th,
    .fee-table td {
        padding: 15px;
    }

    .fee-price {
        font-size: 1.5rem;
    }

}
