/* ============================================================
   faq.css – jimmi-therapie.de
   Setzt Bootstrap 5 & cover.css voraus
   ============================================================ */

body {
    background-color: #f5f0eb;
    min-height: 100vh;
}

a{
   border-bottom: none;
}

.container{
   max-width: 768px;
}

/* --- Header -------------------------------------------------- */
.faq-header {
    background: #004B50;
    padding: 45px 0;
}

.faq-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    border-bottom: 1px solid transparent;
    font-size: .8rem;
    letter-spacing: .02em;
    margin-bottom: 2rem;
    transition: color .3s ease, border-color .3s ease;
}
.faq-header .back-link:hover {
    color: rgba(255,255,255,.9);
    border-bottom-color: rgba(255,255,255,.3);
}

.faq-header h1 {
    color: #ffffff;
    margin-bottom: .2rem;
}
.faq-header .lead {
    color: rgba(255,255,255,.5);
    font-size: .9375rem;
    line-height: 1.5rem;
    margin-bottom: 0;
}

/* --- Main ---------------------------------------------------- */
.faq-main {
    padding: 60px 0 96px;
}

/* --- Category label ----------------------------------------- */
.faq-category {
    font-family: "droid_sansbold", sans-serif;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(0,75,80,.4);
    margin-top: 3rem;
    margin-bottom: .875rem;
}
.faq-category:first-of-type {
    margin-top: 0;
}

/* --- Accordion ---------------------------------------------- */
.accordion-item {
    border: none;
    border-radius: 6px !important;
    overflow: hidden;
    margin-bottom: 4px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,75,80,.07);
    transition: box-shadow .2s ease;
}
.accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: 0 2px 14px rgba(0,75,80,.11);
}

.accordion-button {
    font-family: "droid_sansbold", sans-serif;
    font-size: .9375rem;
    color: #004B50;
    background: #ffffff;
    padding: 1.0625rem 1.25rem;
    box-shadow: none !important;
    border-radius: 6px !important;
    transition: background .2s ease;
}
.accordion-button:not(.collapsed) {
    color: #004B50;
    background: #e8eeee;
}
.accordion-button:focus {
    outline: none;
    box-shadow: none !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004B50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform .25s ease;
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004B50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0.625rem 1.25rem 1.25rem;
    color: #004B50;
    font-size: .9rem;
    line-height: 1.7rem;
}
.accordion-body p { margin-bottom: .6rem; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body a { font-family: "droid_sansbold", sans-serif; }

/* Pill-Tags */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: .5rem;
}
.tag {
    display: inline-block;
    padding: .2rem .75rem;
    border: 1px solid rgba(0,75,80,.22);
    border-radius: 99px;
    font-size: .8rem;
    color: #004B50;
    line-height: 1.7;
}

/* Phasen-Tabelle */
.phase-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .5rem;
}
.phase-table td {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(0,75,80,.08);
    font-size: .875rem;
    vertical-align: top;
}
.phase-table tr:last-child td { border-bottom: none; }
.phase-table .phase-label {
    font-family: "droid_sansbold", sans-serif;
    white-space: nowrap;
    padding-right: 1.25rem;
    width: 1%;
}
.phase-table .phase-sub {
    font-size: .72rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .45;
    display: block;
    margin-bottom: .1rem;
}

/* Preis-Tabelle */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .5rem;
}
.price-table td {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(0,75,80,.08);
    font-size: .875rem;
    vertical-align: top;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .pt-label {
    font-family: "droid_sansbold", sans-serif;
    padding-right: 1.25rem;
}
.price-table .pt-price {
    text-align: right;
    white-space: nowrap;
}
.price-table .pt-note {
    font-size: .78rem;
    opacity: .5;
    padding-top: .6rem;
}

/* Kasse-Tabelle */
.kasse-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .5rem;
}
.kasse-table td {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(0,75,80,.08);
    font-size: .875rem;
}
.kasse-table tr:last-child td { border-bottom: none; }
.kasse-table .kt-label { padding-right: 1.25rem; }
.kasse-table .kt-val { text-align: right; white-space: nowrap; }
.kasse-table .kt-yes { color: #004B50; font-family: "droid_sansbold", sans-serif; }
.kasse-table .kt-no  { opacity: .45; }
.kasse-table .kt-part { opacity: .7; }

/* --- CTA ---------------------------------------------------- */
.faq-cta {
    margin-top: 4rem;
    padding: 2rem;
    background: #004B50;
    border-radius: 6px;
    color: #ffffff;
}
.faq-cta .cta-label {
    color: rgba(255,255,255,.5);
    font-size: .875rem;
    margin-bottom: .4rem;
}
.faq-cta .cta-headline {
    font-family: "droid_sansbold", sans-serif;
    font-size: 1.0625rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
}
.faq-cta a {
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,.4);
    font-size: .875rem;
    margin-right: 1.5rem;
    transition: border-color .3s ease;
}
.faq-cta a:hover {
    color: #ffffff;
      border: 1px solid rgba(255,255,255,.9);
}

.faq-cta .tag{
   padding-left: 0;
}
.faq-cta .tag a{
     display: inline-block;
     padding: .2rem .75rem;
     border: 1px solid rgba(255,255,255,.22);
     border-radius: 99px;
     font-size: .8rem;
     color: #fff;
     line-height: 1.7;
}
.faq-cta .tag a:hover {
    color: #ffffff;
      border: 1px solid rgba(255,255,255,.9);
}

/* --- Footer -------------------------------------------------- */
.faq-footer {
    padding: 24px 0;
    border-top: 1px solid rgba(0,75,80,.1);
}
.faq-footer a {
    font-size: .8rem;
    margin-right: 1rem;
}
.faq-footer a:last-child { margin-right: 0; }

/* --- Responsive --------------------------------------------- */
@media screen and (max-width: 999px) {
    .faq-header { padding: 36px 0 28px; }
    .faq-main   { padding: 40px 0 64px; }
    .faq-cta    { padding: 1.5rem; }
    .faq-cta a  { display: inline-block; margin-bottom: .5rem; }
}
