/* Ausschliesslich Einstieg und obere Kontaktmoeglichkeiten. */

.hero.pf-hero-upgraded {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid #e7f2fa;
}

.pf-hero-upgraded .hero-grid {
    position: relative;
    z-index: 1;
}

/* Dekoration beginnt ganz oben, nicht erst an der Bildgalerie. */
.pf-hero-decoration {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: min(900px, 100%);
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(70,174,229,.20), transparent 45%),
        radial-gradient(ellipse at 100% 16%, rgba(255,171,96,.16), transparent 40%);
}

.pf-hero-decoration::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(67,130,168,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67,130,168,.16) 1px, transparent 1px);
    background-size: 78px 78px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 34%, transparent 66%, #000);
    mask-image: linear-gradient(90deg, #000, transparent 34%, transparent 66%, #000);
}

.pf-glass-shape {
    position: absolute;
    display: block;
    width: clamp(150px, 20vw, 320px);
    aspect-ratio: 1;
    border: 1px solid rgba(111,173,211,.29);
    border-radius: 30%;
    background:
        linear-gradient(140deg, rgba(255,255,255,.85), rgba(185,226,246,.16));
    box-shadow:
        inset 2px 2px 0 rgba(255,255,255,.9),
        0 22px 65px -40px rgba(39,113,155,.32);
}

.pf-glass-shape:first-child {
    top: 105px;
    left: -95px;
    transform: rotate(-24deg);
}

.pf-glass-shape:nth-child(2) {
    top: 290px;
    right: -115px;
    border-color: rgba(236,170,112,.29);
    background: linear-gradient(145deg, rgba(255,248,237,.8), rgba(255,218,185,.10));
    transform: rotate(23deg);
}

.pf-glass-shape:nth-child(3) {
    top: -155px;
    right: 9%;
    width: 230px;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 0 18px rgba(255,255,255,.45);
}

.pf-decor-star {
    position: absolute;
    width: 19px;
    height: 19px;
    background: #64a9c2;
    opacity: .5;
    clip-path: polygon(
        50% 0%, 61% 37%, 100% 50%, 61% 62%,
        50% 100%, 38% 62%, 0% 50%, 38% 37%
    );
}

.pf-decor-star:nth-of-type(4) {
    top: 180px;
    left: 18%;
}

.pf-decor-star:nth-of-type(5) {
    top: 95px;
    right: 18%;
    width: 13px;
    height: 13px;
    background: #d18a48;
}

.pf-decor-star:nth-of-type(6) {
    top: 460px;
    right: 13%;
    width: 26px;
    height: 26px;
}

/* Kleine Markenzeile bekommt einen klareren Akzent. */
.pf-hero-upgraded .eyebrow {
    box-shadow: 0 7px 24px rgba(15,90,137,.06);
    border-color: #c9e1f0;
}

/* Bestehende Buttons bleiben dieselben Elemente:
   ihre Chat-Eventhandler gehen nicht verloren. */
.hero.pf-hero-upgraded .button-row {
    align-items: stretch;
    gap: 12px;
}

.hero.pf-hero-upgraded .button-row .button {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 17px;
    min-height: 58px;
    padding: 8px 9px 8px 20px;
    border-radius: 17px;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.hero.pf-hero-upgraded .button-row .pf-cta-primary {
    border: 1px solid #ae3c0e;
    color: #fff;
    background: linear-gradient(135deg, #c74d14, #a9330d);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 10px 24px rgba(177,63,15,.18);
}

.hero.pf-hero-upgraded .button-row .pf-cta-primary:hover {
    background: linear-gradient(135deg, #b6410b, #942b09);
    box-shadow: 0 14px 30px rgba(177,63,15,.23);
    transform: translateY(-3px);
}

.hero.pf-hero-upgraded .button-row .pf-cta-assistant {
    border: 1px solid #bcd7e9;
    color: #103e64;
    background: linear-gradient(135deg, #fff, #edf7ff);
    box-shadow: 0 8px 23px rgba(20,79,123,.06);
}

.hero.pf-hero-upgraded .button-row .pf-cta-email {
    border: 1px solid #d2e2e8;
    color: #214e5b;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 23px rgba(20,79,123,.04);
}

.hero.pf-hero-upgraded .button-row .pf-cta-assistant:hover,
.hero.pf-hero-upgraded .button-row .pf-cta-email:hover {
    color: #123e5b;
    background: #e8f5fb;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20,79,123,.12);
}

.pf-cta-icon {
    display: grid;
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 12px;
    color: #154b70;
    background: #deedf7;
    font-size: 1.1rem;
    line-height: 1;
}

.pf-cta-primary .pf-cta-icon {
    color: #fff;
    background: rgba(255,255,255,.17);
}

.pf-cta-email .pf-cta-icon {
    color: #1c616d;
    background: #e6f3f3;
}

.pf-cta-icon svg {
    width: 19px;
    height: 19px;
}

.hero.pf-hero-upgraded .pf-direct-note {
    margin: 16px 0 0;
    color: #607889;
    font-size: .73rem;
    text-align: center;
}

.pf-header-contact {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pf-header-mail {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid #cbe0ed;
    border-radius: 100px;
    color: #184466;
    background: #f4faff;
    font-size: .8rem;
    text-decoration: none;
    white-space: nowrap;
}

.pf-header-mail:hover {
    background: #e5f3fb;
}

.pf-google-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pf-google-links a {
    padding: 9px 14px;
    border: 1px solid #d4e2eb;
    border-radius: 100px;
    color: #234b68;
    background: #fff;
    font-size: .78rem;
    text-decoration: none;
}

.pf-google-links a:hover {
    background: #eff7fc;
}

@media (max-width: 1050px) {
    .pf-header-contact .header-phone {
        display: none;
    }
}

@media (max-width: 760px) {
    .pf-header-contact {
        display: none;
    }

    .pf-hero-decoration {
        opacity: .7;
    }

    .pf-glass-shape:first-child {
        left: -135px;
    }

    .pf-glass-shape:nth-child(2) {
        right: -135px;
    }

    .pf-decor-star:nth-of-type(4) {
        left: 6%;
    }

    .pf-decor-star:nth-of-type(5) {
        right: 6%;
    }
}

@media (max-width: 480px) {
    .hero.pf-hero-upgraded .button-row {
        display: grid;
        grid-template-columns: 1fr;
        width: min(340px, 100%);
        margin-inline: auto;
    }

    .hero.pf-hero-upgraded .button-row .button {
        width: 100%;
        min-height: 55px;
        font-size: .85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero.pf-hero-upgraded .button-row .button {
        transition: none;
    }

    .hero.pf-hero-upgraded .button-row .button:hover {
        transform: none;
    }
}