/* ═══════════════════════════════════════════════════════════════
   "Über uns"
   Loaded ONLY on the Über-uns page template (inc/about-page.php) and scoped to .pp-about, so no global heading,
   container or button style is touched and no other page changes.
   ═══════════════════════════════════════════════════════════════ */

.pp-about {
    --ab-gold:      #2676A3;               /* the site's muted brand gold */
    --ab-gold-dark: #1E6085;               /* gold text: ≥ 4.5:1 on white and on the ivory strip */
    --ab-ink:       #1A1A1A;
    --ab-text:      #3A3A3A;
    --ab-mute:      #5C5C5C;
    --ab-line:      #D5E8F3;
    --ab-ivory:     #F2F8FC;
    --ab-serif:     'Playfair Display', Georgia, serif;
    --ab-sans:      var(--font-body, 'Barlow', system-ui, sans-serif);

    background: #fff;
    color: var(--ab-ink);
    font-family: var(--ab-sans);
    padding-top: calc(var(--header-h, 140px) + 14px);
}
.pp-about a { text-decoration: none; }
.pp-about :focus-visible { outline: 2px solid var(--ab-gold); outline-offset: 3px; }

.pp-about__wrap { box-sizing: border-box; max-width: 1320px; margin: 0 auto; padding-inline: var(--gap, 1.5rem); }

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.pp-about__crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--ab-mute); }
.pp-about__crumbs li + li::before { content: '/'; margin: 0 10px; color: #A9A296; }
.pp-about__crumbs a { color: var(--ab-mute); }
.pp-about__crumbs a:hover { color: var(--ab-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.pp-about__crumbs [aria-current] { color: var(--ab-text); }

/* ── Introduction: text ≈ 46 %, photograph ≈ 54 % ───────────────── */
.pp-about__intro { padding-bottom: clamp(40px, 5vw, 64px); }
.pp-about__intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);   /* fr units: the gap is already deducted */
    column-gap: clamp(48px, 4.2vw, 60px);
    align-items: center;
    margin-top: clamp(28px, 3.5vw, 48px);
}
.pp-about__intro-text { min-width: 0; }

.pp-about__eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-gold-dark); }
.pp-about__title {
    margin: 18px 0 0;
    font-family: var(--ab-serif); font-weight: 400;
    font-size: clamp(2rem, 4.1vw, 3.75rem);     /* 32px phone → 60px large desktop */
    line-height: 1.14; letter-spacing: -.005em; color: var(--ab-ink);
    overflow-wrap: break-word;
}
.pp-about__title em { font-style: italic; font-weight: 400; }

.pp-about__intro-text > p:not(.pp-about__eyebrow) {
    margin: 22px 0 0; max-width: 34em;
    font-size: clamp(1rem, 1.15vw, 1.125rem);   /* ≥ 16px on phones, 18px on desktop */
    line-height: 1.6; color: var(--ab-text); text-wrap: pretty;
}

/* actions: gold button + underlined text link, one row where it fits */
.pp-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.pp-about__btn {
    display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px;
    background: var(--ab-gold); color: #fff; border-radius: 4px;
    font: 500 16px/1.2 var(--ab-sans); letter-spacing: .01em; transition: background .2s;
}
.pp-about__btn:hover { background: var(--color-accent-dark, #1E6085); color: #fff; }
.pp-about__link { font-size: 16px; color: var(--ab-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pp-about__link:hover { color: var(--ab-gold-dark); }

/* ── The owner photograph ───────────────────────────────────────── */
.pp-about__photo {
    position: relative; display: block; margin: 0; overflow: hidden;
    aspect-ratio: 5 / 4; background: var(--ab-ivory); border-radius: 6px;
}
.pp-about__photo-img { display: block; width: 100%; height: 100%; object-fit: cover; }   /* object-position is set per page */
/* light feathered edge: only the outer ≈ 1.5 % blends (and never to fully transparent) – two masks intersected = all
   four sides, soft corners; everything else stays fully clear. Same box, same position. */
.pp-about__photo:has(.pp-about__photo-img) { background: transparent; }
.pp-about__photo-img {
    --ab-feather: clamp(5px, 1.5%, 10px);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.35) 0, #000 var(--ab-feather), #000 calc(100% - var(--ab-feather)), rgba(0,0,0,.35) 100%),
                        linear-gradient(to bottom, rgba(0,0,0,.35) 0, #000 var(--ab-feather), #000 calc(100% - var(--ab-feather)), rgba(0,0,0,.35) 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, rgba(0,0,0,.35) 0, #000 var(--ab-feather), #000 calc(100% - var(--ab-feather)), rgba(0,0,0,.35) 100%),
                        linear-gradient(to bottom, rgba(0,0,0,.35) 0, #000 var(--ab-feather), #000 calc(100% - var(--ab-feather)), rgba(0,0,0,.35) 100%);
            mask-composite: intersect;
}
.pp-about__photo-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8CC8E8; }
/* editors only – customers never see this */
.pp-about__photo-hint { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ab-mute); }
.pp-about__photo-hint a { color: var(--ab-gold-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ── Three photo cards: one row on desktop, stacked on phones ──── */
.pp-about__cards {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(20px, 2.4vw, 32px);
    padding-block: clamp(8px, 1vw, 16px) clamp(44px, 4.6vw, 60px);
}
.pp-about__card { margin: 0; min-width: 0; }
.pp-about__card-img {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%;
    background: var(--ab-ivory); border-radius: 6px;
}
.pp-about__card figcaption { padding-top: clamp(16px, 1.6vw, 22px); }
.pp-about__item-title { margin: 0; font-family: var(--ab-serif); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; color: var(--ab-ink); }
.pp-about__item-text { margin: 6px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ab-mute); text-wrap: pretty; }
.pp-about__cards + .pp-about__section { border-top: 1px solid var(--ab-line); }

/* ── Editorial sections: advice and craftsmanship ──────────── */
.pp-about__section {
    display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    column-gap: clamp(48px, 4.2vw, 60px); align-items: start;
    padding-block: clamp(44px, 4.6vw, 60px);
}
.pp-about__section + .pp-about__section { border-top: 1px solid var(--ab-line); }
.pp-about__section-title { margin: 0; font-family: var(--ab-serif); font-weight: 400; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.2; color: var(--ab-ink); text-wrap: balance; }
.pp-about__section-text { min-width: 0; }
.pp-about__section-text p { margin: 0; font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.65; color: var(--ab-text); text-wrap: pretty; }
.pp-about__section-text p + p { margin-top: 18px; }
.pp-about__section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }

/* ── Lower editorial section ────────────────────────────────────── */
.pp-about__closing {
    display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    column-gap: clamp(48px, 4.2vw, 60px); align-items: start;
    padding-block: clamp(48px, 5vw, 64px);
}
.pp-about__closing-title { margin: 0; font-family: var(--ab-serif); font-weight: 400; font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.2; color: var(--ab-ink); }
.pp-about__closing-text { min-width: 0; }
.pp-about__closing-text p { margin: 0; font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.6; color: var(--ab-text); text-wrap: pretty; }
.pp-about__closing-text p + p { margin-top: 20px; }
.pp-about__more { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; color: var(--ab-gold-dark); text-decoration: underline; text-underline-offset: 5px; }
.pp-about__more:hover { color: #1E6085; }

/* ── Tablet / phone ─────────────────────────────────────────────── */
@media (max-width: 899px) {
    .pp-about__intro-grid, .pp-about__closing, .pp-about__section { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
    .pp-about__section { row-gap: 18px; }
    .pp-about__intro-text > p:not(.pp-about__eyebrow) { max-width: none; }
    .pp-about__closing { row-gap: 20px; }
}
@media (max-width: 699px) {
    .pp-about__cards { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}
@media (max-width: 640px) {
    .pp-about { padding-top: calc(var(--header-h, 98px) + 10px); }
    .pp-about__title { margin-top: 14px; }
    .pp-about__actions { margin-top: 26px; gap: 14px 20px; }
    .pp-about__btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pp-about * { transition: none !important; } }

/* The site's invisible mobile-menu overlay swallows taps at ≤ 768px unless the menu is open (pre-existing;
   same scoped fix the other pages already carry) – without it the buttons here cannot be tapped on a phone. */
body.pp-about-page .mobile-nav-overlay:not(.open) { pointer-events: none; }
