/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.maske-hexagon {
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%) !important;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%) !important;
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.maske-team-svg  {
    -webkit-mask-image: url('/wp-content/uploads/Team-Maske_3.svg');
    mask-image: url('/wp-content/uploads/Team-Maske_3.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: bottom center;
}

/* Telefon-Links auf farbigem (Akzent-)Hintergrund weiß halten – sonst unsichtbar.
   Stabile Container-Klassen (Header-Topbar + Kontakt-Hero), die GenerateBlocks nicht neu generiert. */
.gb-element-844341cc a[href^="tel:"],
.gb-element-e4847aef a[href^="tel:"] { color: #fff !important; }

/* ===== Hanse Physio FAQ – klappbar, im Look der Startseite (RaketenCreative) ===== */
.hp-faq { max-width: 820px; margin: 1.5rem 0; }
.hp-faq__item {
    border: 1px solid #e3e7ee;
    border-radius: 12px;
    margin-bottom: .85rem;
    background: #fff;
}
.hp-faq__item[open] {
    border-color: #c9d4e6;
    box-shadow: 0 6px 22px rgba(30, 54, 89, .07);
}
.hp-faq__q {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3659;
    line-height: 1.35;
}
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__q::after {
    content: "+";
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: #E62327;
    flex: 0 0 auto;
    transition: transform .2s ease;
}
.hp-faq__item[open] .hp-faq__q::after { content: "\2013"; }
.hp-faq__a { padding: .1rem 1.3rem 1.15rem; }
.hp-faq__a p { margin: 0 0 .6rem; }
.hp-faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .hp-faq__q { font-size: 1.05rem; padding: .9rem 1.05rem; }
    .hp-faq__a { padding: .1rem 1.05rem 1rem; }
}

/* Leistungsseiten: Inhalts-h3 kleiner + mehr Abstand nach oben (RaketenCreative) */
.single-leistung .dynamic-entry-content h3 {
    font-size: 1.5rem;        /* vorher ~35px */
    line-height: 1.3;
    margin-top: 2rem;         /* Abstand zum vorherigen Absatz */
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .single-leistung .dynamic-entry-content h3 {
        font-size: 1.35rem;
        margin-top: 1.6rem;
    }
}
