/* Profil: aus der freigegebenen Über-mich-Vorlage.
   Baut auf css/styles.css (Header, Buttons, Formular) und css/service-experience.css
   (Raster, Überschriften, Kapitelleiste, Footer) auf.
   Leitidee: Technik und Zuhören. Die Überschrift setzt beides in zwei Schriftbreiten,
   eine feine Linie aus Balken reagiert auf Bewegung und Tippen. */

.pf-page {
    --pf-pad: clamp(2.8rem, 4vw, 3.6rem);
}

.pf-page main p a:not(.button, .gx-link) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
    text-underline-offset: 0.22em;
    transition: text-decoration-color 180ms ease, color 180ms ease;
}

.pf-page main p a:not(.button, .gx-link):hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ */
/* 1 Einstieg                                                           */
/* ------------------------------------------------------------------ */
.pf-hero {
    position: relative;
    display: flex;
    min-height: max(100svh, 760px);
    flex-direction: column;
    overflow: clip;
    background:
        radial-gradient(ellipse 42% 56% at 76% 62%, rgba(34, 230, 189, 0.09), transparent 70%),
        radial-gradient(ellipse 70% 60% at 82% 110%, rgba(9, 49, 70, 0.85), transparent 70%),
        var(--space);
    color: var(--white);
    isolation: isolate;
}

.pf-hero__grid {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 5rem);
    padding-top: 116px;
}

.pf-hero__copy { align-self: center; padding-block: clamp(1.5rem, 5vh, 4rem); }

.pf-kicker {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: clamp(1.2rem, 2.4vw, 1.7rem);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.pf-kicker .gx-hex { width: 1.05rem; }

/* Zwei Stimmen in einer Überschrift: Technik schmal und fest, Zuhören breit und leicht */
.pf-title {
    font-size: clamp(2.8rem, 5.3vw, 5.6rem);
    font-stretch: 78%;
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.pf-title__line { display: block; }

.pf-title__line--soft {
    position: relative;
    display: inline-block;
    margin-top: 0.1em;
    padding-bottom: 0.58em;
    color: #cfdcd7;
    font-size: 0.8em;
    font-stretch: 100%;
    font-weight: 400;
    letter-spacing: -0.03em;
}

/* Zuhör-Linie: ohne JavaScript eine ruhige gestrichelte Linie, mit JavaScript feine Balken */
.pf-listen {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: 0.46em;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(34, 230, 189, 0.55) 0 2px, transparent 2px 6px) center / 100% 2px no-repeat;
}

.pf-listen.is-live { background: none; }

.pf-listen i {
    flex: 1 1 0;
    min-width: 1px;
    height: 100%;
    border-radius: 1px;
    background: var(--accent);
    opacity: 0.88;
    transform: scaleY(0.08);
}

.pf-id {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0;
    margin-top: clamp(1.6rem, 3vw, 2.3rem);
    color: #dfe8e4;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.pf-id > * { display: inline-flex; align-items: center; }
.pf-id strong { color: var(--white); font-weight: 650; }

.pf-id > * + *::before {
    width: 0.55rem;
    aspect-ratio: 2 / 1.732;
    margin-inline: 0.85rem;
    background: var(--teal);
    clip-path: var(--hex);
    content: "";
}

.pf-lead {
    max-width: 54ch;
    margin-top: 1.1rem;
    color: var(--text-on-dark);
    font-size: clamp(1.02rem, 1.2vw, 1.14rem);
}

.pf-id + .pf-lead { margin-top: 1.5rem; }
.pf-lead a { color: var(--white); }

/* Porträt im Zeichen: unten folgt es den Kanten des Sechsecks, der Kopf ragt darüber hinaus */
.pf-portrait {
    --pf-mark-duration: 760ms;
    --pf-mark-delay: 380ms;
    position: relative;
    justify-self: end;
    width: min(100%, 540px, calc((max(100svh, 760px) - 230px) * 0.8));
    aspect-ratio: 4 / 5;
    margin: 0;
}

.pf-mark {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 146.62 / 126.98;
    overflow: visible;
}

.pf-mark__half {
    fill: url(#pf-mark-fill);
    stroke: rgba(51, 180, 162, 0.55);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
}

.pf-mark__slash { fill: var(--accent); transform-box: fill-box; transform-origin: 50% 50%; }

.pf-portrait__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    clip-path: polygon(0 0, 100% 0, 100% 65.36%, 75% 100%, 25% 100%, 0 65.36%);
}

.pf-chapters { margin-top: 0; }

/* Ein einziger, abgestimmter Auftritt beim Laden */
@media (prefers-reduced-motion: no-preference) {
    .pf-mark__half--left { animation: pf-from-left 900ms var(--ease-out) 60ms both; }
    .pf-mark__half--right { animation: pf-from-right 900ms var(--ease-out) 60ms both; }
    .pf-mark__slash { animation: pf-slash var(--pf-mark-duration) var(--ease-out) var(--pf-mark-delay) both; }
    /* Das letzte Logo-Teil endet nach 1140 ms. Erst danach erscheint das Porträt. */
    .pf-portrait__img { animation: pf-rise 640ms var(--ease-out) calc(var(--pf-mark-duration) + var(--pf-mark-delay) + 40ms) both; }
    .pf-hero__copy > *,
    .pf-title__line { animation: pf-line 820ms var(--ease-out) both; }
    .pf-hero__copy > .pf-kicker { animation-delay: 40ms; }
    .pf-title__line:nth-child(1) { animation-delay: 110ms; }
    .pf-title__line:nth-child(2) { animation-delay: 190ms; }
    .pf-title__line:nth-child(3) { animation-delay: 270ms; }
    .pf-hero__copy > .pf-title { animation: none; }
    .pf-hero__copy > .pf-id { animation-delay: 360ms; }
    .pf-hero__copy > .pf-lead { animation-delay: 420ms; }
    .pf-hero__copy > .gx-actions { animation-delay: 500ms; }
}

@keyframes pf-from-left { from { opacity: 0; transform: translateX(-9%); } }
@keyframes pf-from-right { from { opacity: 0; transform: translateX(9%); } }
@keyframes pf-slash { from { opacity: 0; transform: scaleY(0.15); } }
@keyframes pf-rise { from { opacity: 0; transform: translateY(4%); } }
@keyframes pf-line { from { opacity: 0; transform: translateY(0.7rem); } }

/* ------------------------------------------------------------------ */
/* 2 Geschichte                                                         */
/* ------------------------------------------------------------------ */
.pf-story { background: var(--white); }

.pf-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.pf-story__intro { position: sticky; top: 112px; }
.pf-story .gx-h2 { max-width: 12ch; }

.pf-timeline { position: relative; padding-left: var(--pf-pad); }
.pf-timeline ol { margin: 0; padding: 0; list-style: none; }

.pf-timeline__line {
    position: absolute;
    top: 1rem;
    bottom: 0.4rem;
    left: 0.95rem;
    width: 2px;
    overflow: hidden;
    background: var(--mist-strong);
}

.pf-timeline__line i { display: block; height: 100%; background: var(--teal); transform-origin: top; }
.pf-timeline[data-live] .pf-timeline__line i { transform: scaleY(0); }

.pf-stop { position: relative; padding-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.pf-stop:last-child { padding-bottom: 0; }

.pf-stop__when {
    color: var(--ink);
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    font-stretch: 80%;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
}

.pf-stop__node {
    position: absolute;
    top: clamp(0.85rem, 1.4vw, 1.3rem);
    left: calc(var(--pf-pad) * -1 + 0.95rem + 1px);
    width: 1.7rem;
    aspect-ratio: 2 / 1.732;
    background: var(--mist-strong);
    clip-path: var(--hex);
    transform: translate(-50%, -50%);
    transition: background-color 300ms ease;
}

.pf-stop__node::after {
    position: absolute;
    inset: 3px;
    background: var(--white);
    clip-path: var(--hex);
    content: "";
    transition: background-color 300ms ease 80ms;
}

.pf-timeline:not([data-live]) .pf-stop__node,
.pf-timeline:not([data-live]) .pf-stop__node::after,
.pf-stop.is-reached .pf-stop__node,
.pf-stop.is-reached .pf-stop__node::after { background: var(--teal); }

.pf-timeline:not([data-live]) .pf-stop--now .pf-stop__node,
.pf-timeline:not([data-live]) .pf-stop--now .pf-stop__node::after,
.pf-stop--now.is-reached .pf-stop__node,
.pf-stop--now.is-reached .pf-stop__node::after { background: var(--accent); }

.pf-stop p:not(.pf-stop__when) {
    max-width: 60ch;
    margin-top: 1.1rem;
    color: var(--text);
    font-size: clamp(1.03rem, 1.2vw, 1.13rem);
}

.pf-stop p.pf-stop__statement {
    max-width: 26ch;
    color: var(--ink);
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    font-weight: 520;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* ------------------------------------------------------------------ */
/* 3 Arbeitsweise                                                       */
/* ------------------------------------------------------------------ */
.pf-method { background: var(--space); color: var(--white); }
.pf-method__title { max-width: 16ch; }

.pf-method .pf-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3.5rem);
    margin: clamp(2.6rem, 5vw, 4.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.pf-step { position: relative; padding-top: 1.7rem; border-top: 1px solid var(--line-on-dark); }

.pf-step::before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 3.5rem;
    height: 2px;
    background: var(--accent);
    content: "";
}

.pf-step h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-stretch: 82%;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
}

.pf-step h3 .gx-hex { width: 1.9rem; }
.pf-step > p { max-width: 38ch; margin-top: 1.1rem; color: var(--text-on-dark); }
.pf-step a { color: var(--white); }

.pf-questions { display: grid; margin: 1.1rem 0 0; padding: 0; list-style: none; }

.pf-questions li {
    padding-block: 0.7rem;
    border-bottom: 1px solid var(--line-on-dark);
    color: var(--white);
    font-size: clamp(1.02rem, 1.2vw, 1.1rem);
    font-weight: 520;
    line-height: 1.4;
}

.pf-questions li:first-child { padding-top: 0; }

.pf-case {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.pf-screen {
    margin: 0;
    border: 1px solid rgba(195, 206, 201, 0.16);
    background: #0b1714;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.42);
}

.pf-screen__bar {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid rgba(195, 206, 201, 0.12);
    color: var(--muted-on-dark);
    font-size: 0.78rem;
}

.pf-screen__dots { display: inline-flex; gap: 0.35rem; }
.pf-screen__dots i { width: 0.55rem; aspect-ratio: 2 / 1.732; background: rgba(195, 206, 201, 0.3); clip-path: var(--hex); }
.pf-screen img { display: block; width: 100%; height: auto; }

.pf-case__copy h3 {
    font-size: clamp(1.7rem, 2.8vw, 2.5rem);
    font-stretch: 82%;
    font-weight: 580;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.pf-case__copy p { max-width: 46ch; margin-top: 1.2rem; color: var(--text-on-dark); }
.pf-case__copy .gx-link { margin-top: 1.6rem; }

/* ------------------------------------------------------------------ */
/* 4 Zusammenarbeit                                                     */
/* ------------------------------------------------------------------ */
.pf-together { background: var(--white); }

.pf-together__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6.5rem);
}

.pf-together .gx-h2 { max-width: 15ch; }

/* Sie und ich: zwei Flächen, getrennt vom Schrägstrich der Marke */
.pf-split {
    --cut: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    margin-top: clamp(2rem, 4vw, 2.8rem);
}

.pf-split p {
    margin: 0;
    padding: clamp(1.3rem, 2.4vw, 1.9rem);
    font-size: clamp(1.12rem, 1.5vw, 1.36rem);
    font-weight: 560;
    letter-spacing: -0.01em;
    line-height: 1.32;
}

.pf-split .pf-split__you {
    padding-right: calc(clamp(1.3rem, 2.4vw, 1.9rem) + var(--cut));
    background: var(--mist);
    color: var(--ink);
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
}

.pf-split .pf-split__me {
    margin-left: calc(var(--cut) * -1 + 6px);
    padding-left: calc(clamp(1.3rem, 2.4vw, 1.9rem) + var(--cut));
    background: var(--ink);
    color: var(--white);
    clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}

/* Längere echte Bewertungen bleiben im normalen Lesefluss, nicht als überhoher Sticky-Block. */
.pf-voices { display: grid; gap: 1.1rem; }

.pf-voices__intro {
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

.pf-quote {
    position: relative;
    margin: 0;
    padding: clamp(1.5rem, 2.4vw, 2rem);
    background: var(--mist);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 38px, 100% 100%, 0 100%);
}

.pf-quote blockquote { margin: 0; }
.pf-quote__stars { display: inline-flex; margin-bottom: 0.9rem; color: var(--teal); }
.pf-quote__stars svg { display: block; fill: currentColor; }

.pf-quote blockquote p {
    color: var(--ink);
    font-size: clamp(1.12rem, 1.45vw, 1.3rem);
    font-weight: 500;
    letter-spacing: -0.005em;
    line-height: 1.45;
}

.pf-quote figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem 1rem;
    margin-top: 1.2rem;
    font-size: 0.86rem;
}

.pf-quote figcaption strong { color: var(--ink); font-weight: 650; }
.pf-quote figcaption span { color: var(--muted); }
.pf-quote__author { display: grid; gap: 0.2rem; min-height: 44px; align-content: center; }
.pf-quote__source { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }
.pf-quote figcaption a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
.pf-quote figcaption a:hover { text-decoration-thickness: 2px; }
.pf-voices__previous { color: var(--muted); font-size: 0.86rem; }

/* ------------------------------------------------------------------ */
/* 5 Haltung und Familie                                                */
/* ------------------------------------------------------------------ */
.pf-values { background: var(--mist); }

.pf-values__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.pf-values .gx-h2 { max-width: 12ch; }

.pf-values__lead {
    color: var(--ink);
    font-size: clamp(1.4rem, 2.3vw, 2.05rem);
    font-weight: 520;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.pf-values__copy .gx-body { margin-top: 1.4rem; }

.pf-family {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1.3rem;
    margin-top: clamp(2.4rem, 4.5vw, 3.6rem);
    padding-top: clamp(1.6rem, 3vw, 2.2rem);
    border-top: 1px solid var(--line);
}

.pf-family__mark { width: 3.6rem; margin-top: 0.3rem; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linejoin: round; }

.pf-family p {
    max-width: 52ch;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.35vw, 1.24rem);
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* 6 Für wen und Ausblick                                               */
/* ------------------------------------------------------------------ */
.pf-fit { background: var(--white); }

.pf-fit__head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 6rem);
}

.pf-fit__head .gx-h2 { max-width: 15ch; }
.pf-fit__head .gx-body { margin-top: 0; }

.pf-paths {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(0.8rem, 1.6vw, 1.25rem);
    margin-top: clamp(2.6rem, 5vw, 4.2rem);
}

.pf-path {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.8rem, 3.2vw, 2.8rem);
    overflow: hidden;
    background: var(--mist);
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 45px, 100% 100%, 0 100%);
}

.pf-path > * { position: relative; }

.pf-path--main { background: var(--ink); color: var(--white); }

/* Das Zeichen als stilles Wasserzeichen auf der webseo.one-Seite */
.pf-path--main::after {
    position: absolute;
    right: -3.5rem;
    bottom: -4.5rem;
    width: min(46%, 300px);
    aspect-ratio: 146.62 / 126.98;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 146.62 126.98'%3E%3Cg fill='none' stroke='%2333b4a2' stroke-opacity='.35' stroke-width='.8'%3E%3Cpolygon points='121.54 20.06 103.22 51.8 109.96 63.49 91.64 95.23 73.31 126.98 109.96 126.98 128.29 95.23 146.62 63.49 128.29 31.74 121.54 20.06'/%3E%3Cpolygon points='36.65 63.49 54.98 31.74 73.31 0 36.65 0 18.33 31.74 0 63.49 18.33 95.23 25.07 106.91 43.4 75.17 36.65 63.49'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
    pointer-events: none;
}

.pf-path__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #24826f;
    font-size: 0.86rem;
    font-weight: 650;
}

.pf-path--main .pf-path__tag { color: var(--accent); }

.pf-path__tag::before {
    width: 0.6rem;
    aspect-ratio: 2 / 1.732;
    background: currentColor;
    clip-path: var(--hex);
    content: "";
}

.pf-path h3 {
    margin-top: 0.9rem;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-stretch: 80%;
    font-weight: 580;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.pf-path p:not(.pf-path__tag) { max-width: 44ch; margin: 1rem 0 2rem; color: var(--text); }
.pf-path--main p:not(.pf-path__tag) { color: var(--text-on-dark); }
.pf-path > :last-child { margin-top: auto; }

.pf-outlook {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(1rem, 4vw, 5rem);
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(1.6rem, 3vw, 2.4rem);
    border-top: 1px dashed rgba(7, 17, 15, 0.3);
}

.pf-outlook h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-stretch: 82%;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Ein offenes Sechseck: was noch kommt */
.pf-outlook h3::before {
    width: 1.25rem;
    aspect-ratio: 2 / 1.732;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34.64'%3E%3Cpolygon points='10 1.5 30 1.5 38.5 17.32 30 33.14 10 33.14 1.5 17.32' fill='none' stroke='%2333b4a2' stroke-width='3' stroke-dasharray='5 3.5'/%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
}

.pf-outlook p { max-width: 62ch; color: var(--text); font-size: clamp(1.04rem, 1.25vw, 1.15rem); }

/* ------------------------------------------------------------------ */
/* Kleinere Bildschirme                                                 */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .pf-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
    .pf-method .pf-steps { gap: 1.4rem; }
}

@media (max-width: 900px) {
    .pf-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 96px; }
    .pf-portrait { order: -1; justify-self: center; width: min(52vw, 220px, 20svh); }
    .pf-hero__copy { padding-block: 1.2rem 2rem; }
    .pf-hero .gx-actions { margin-top: 1.4rem; gap: 0.6rem 1.5rem; }
    .pf-hero__detail { margin-top: 1.6rem; }
    .pf-kicker { margin-bottom: 1rem; }
    .pf-id { margin-top: 1.2rem; }

    .pf-story__grid,
    .pf-together__grid,
    .pf-values__grid,
    .pf-fit__head,
    .pf-paths,
    .pf-outlook,
    .pf-case { grid-template-columns: minmax(0, 1fr); }

    .pf-story__intro,
    .pf-voices { position: static; }

    .pf-method .pf-steps { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .pf-fit__head .gx-body { margin-top: 0.4rem; }
}

@media (max-width: 560px) {
    .pf-title { font-size: clamp(2.25rem, 9.4vw, 3.25rem); }
    .pf-id { font-size: 0.88rem; }
    .pf-id > * + *::before { margin-inline: 0.6rem; }

    .pf-split { --cut: 16px; grid-template-columns: minmax(0, 1fr); }
    .pf-split .pf-split__you { padding: 1.3rem 1.3rem calc(1.3rem + var(--cut)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
    .pf-split .pf-split__me { margin: calc(var(--cut) * -1 + 6px) 0 0; padding: calc(1.3rem + var(--cut)) 1.3rem 1.3rem; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }

    .pf-family { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .pf-path { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 32px, 100% 100%, 0 100%); }
}

/* Auf kurzen mobilen Bildschirmen kommen Person und CTA vor dem Porträt.
   Kein fixiertes Bild und kein erzwungener zusätzlicher Scrollweg. */
@media (max-width: 900px) and (max-height: 700px) {
    .pf-portrait { order: 0; margin-top: 0.5rem; }
    .pf-hero__copy { padding-top: 0.5rem; }
    .pf-hero .gx-actions { margin-top: 0.9rem; }
    .pf-kicker { margin-bottom: 0.7rem; }
    .pf-id + .pf-lead { margin-top: 1.1rem; }
}
@media (min-width: 901px) and (max-height: 800px) {
    .pf-hero__grid { padding-top: 100px; }
    .pf-hero__copy { padding-block: 1.25rem; }
    .pf-title { font-size: clamp(2.8rem, 4.6vw, 4.6rem); }
    .pf-kicker { margin-bottom: 1rem; }
    .pf-id { margin-top: 1.3rem; }
    .pf-hero .gx-actions { margin-top: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
    .pf-stop__node,
    .pf-stop__node::after { transition: none; }
}


/* Ausblick ist ein eigenes Sprungziel; ohne JavaScript bleibt die Navigation frei. */
.pf-outlook { scroll-margin-top: 110px; }
.pf-page:not(.service-enhanced) .pf-hero__grid { padding-top: 150px; }
