/* Über uns nach XD 04 (Review-Board Themen 15/16, 3.11.2026).
   Desktop: Bild in der Inhaltsbreite, Titel und Einleitung Bold 33 in einem
   Block (ab x 418, 1114 breit), Text Medium 25 / Zeile 27 links (514 breit),
   Teamfoto rechts. Handy: Bilder hoch 386 x 681, Titel Bold 20,
   Einleitung Medium 20, Text Medium 17. Nur auf dieser Seite: die Klassen
   about-split/about-photo nutzt auch die Startseite.
   Seit Nick 2.12.2026 gelten unten die Masse der Service-Seiten (Titel und
   Einleitung am linken Rand des Pfads, Text Regular). */
.about-page .dbj-breadcrumb { margin-bottom: var(--dbj-space-3); }
/* Punkt 14 (25.11.2026): das Bild oben ist der Banner (.dbj-banner in
   components.css) und steht vor der Sektion.
   r14-1 (Nick 25.11.2026 spät): der Titel steht 24 px unter dem Pfad, wie
   auf News und im Shop. Vorher 40 px am Handy und 64 px ab 768 px. */
.about-page { padding-top: 0; }
.about-page .about-intro { margin-block: var(--dbj-space-4) var(--dbj-space-5); }
.about-page .about-intro h1 { font-size: var(--dbj-fs-sub); font-weight: 700; margin: 0 0 var(--dbj-space-3); }
.about-page .about-intro p { font-size: var(--dbj-fs-sub); font-weight: 500; line-height: 1.25; margin: 0; }
.about-page .about-split { display: grid; gap: var(--dbj-space-4); margin: 0; }
.about-page .about-text p { font-size: var(--dbj-fs-emph); font-weight: 400; line-height: 1.35; color: var(--dbj-text); }
.about-page .about-split img.about-photo { width: 100%; max-height: none; aspect-ratio: 386 / 681; object-fit: cover; margin: 0; }

@media (min-width: 768px) {
    /* Nick 2.12.2026: Titel und Einleitung beginnen am linken Rand wie der
       Pfad (vorher ein mittiger Block, 139 px weiter rechts). */
    .about-page .about-intro { margin: var(--dbj-space-4) 0 var(--dbj-space-7); padding-left: 0; }
    .about-page .about-intro h1 { font-size: 2.0625rem; font-weight: 700; line-height: 1.06; }   /* Bold 33 */
    .about-page .about-intro p { max-width: 59rem; }
    .about-page .about-intro h1 { margin-bottom: var(--dbj-space-5); }
    .about-page .about-split { grid-template-columns: minmax(0, 32rem) minmax(0, 59rem); justify-content: space-between; align-items: start; gap: var(--dbj-space-5); }
    .about-page .about-split img.about-photo { order: 2; aspect-ratio: 944 / 691; }
}

/* Abgleich 4.11. (XD 25.10. Desktop/Mobile 04): kein sichtbarer Brotkrumen (seit
   Nick 25.11.2026, e14-2, wieder sichtbar wie auf allen Seiten mit Banner),
   "Fotograf" sieht aus wie der Text (bleibt ein Link). Handy: Fotos randlos
   (375 x 500 und 375 x 425), Reihenfolge Foto, Titel, Teamfoto, Text;
   Titel Bold 20 / 20, Einleitung Medium 20 / 20, Text Medium 17 / 18.
   Desktop: Inhalt bei x 192, Titel und Einleitung Bold 33 / 33. */
.about-page .dbj-prose a.about-plainlink { color: inherit; font-weight: inherit; }
.about-page .about-intro h1, .about-page .about-intro p { line-height: 1.25rem; }
.about-page .about-text p { line-height: 1.125rem; margin-bottom: 1.125rem; }
@media (max-width: 767px) {
    .about-page { padding-top: 0; }
    .about-page .about-split img.about-photo {
        width: calc(100% + 2 * var(--dbj-space-3)); max-width: none;
        margin-inline: calc(-1 * var(--dbj-space-3));
    }
    .about-page .about-split img.about-photo { order: -1; aspect-ratio: 375 / 425; }
}
@media (min-width: 768px) {
    .about-page .about-intro h1 { line-height: 2.0625rem; }
}
/* Nick 2.12.2026: Einleitung und Text wie auf den Service-Seiten (.svc-intro
   und .svc-split-copy in faq.css): Handy Einleitung Medium 20 / 20, Text
   Regular 17 / 20; ab 992 px Einleitung Bold 25, Text Regular 25. Das
   Teamfoto bleibt rechts neben dem Text. */
.about-page .about-text p { font-size: 1.0625rem; font-weight: 400; line-height: 1.25rem; margin: 0 0 1.25rem; }
@media (min-width: 992px) {
    .about-page .about-intro p { font-size: var(--dbj-fs-h3); font-weight: 700; line-height: 1.2; }
    .about-page .about-text p { font-size: var(--dbj-fs-h3); line-height: 1.3; margin: 0 0 1.625rem; }
}
@media (min-width: 1200px) {
    .about-page .dbj-container { max-width: calc(var(--dbj-container) + 2 * var(--dbj-space-4)); }
}

/* Nick 2.12.2026: Über uns schmaler (Spalte wie FAQ und Preise), Teamfoto
   rechts kleiner, Text kleiner. */
@media (min-width: 992px) {
    .about-page .dbj-container { max-width: 64rem; }
    .about-page .about-intro { margin-bottom: var(--dbj-space-5); }
    .about-page .about-intro p { max-width: none; font-size: 1.25rem; line-height: 1.3; }
    .about-page .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; gap: 3rem; }   /* Nick 2.12.2026: Foto grösser, zwei gleiche Spalten */
    .about-page .about-text p { font-size: 1.25rem; line-height: 1.4; margin: 0 0 1.25rem; }
}
@media (min-width: 1200px) {
    .about-page .dbj-container { max-width: 64rem; }
}

/* Nick 2.12.2026: echtes Teamfoto im Hochformat, ganz zeigen (kein Ausschnitt) */
.about-page .about-split img.about-photo--team { aspect-ratio: 1920 / 2896; height: auto; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 767px) { .about-page .about-split img.about-photo--team { aspect-ratio: 4 / 5; } }

/* Nick 2.12.2026 abends: Text wie auf Service Entwicklung / Scannen.
   Einleitung wie «Professionelle Entwicklung …», die Absätze wie «Im gleichen Zug …». */
.about-page .about-intro p { font-size: 1.25rem; font-weight: 500; line-height: 1.25rem; color: var(--dbj-text-2); }
.about-page .about-text p { font-size: 1.0625rem; font-weight: 400; line-height: 1.25rem; color: var(--dbj-text-2); margin: 0 0 1.25rem; }
@media (min-width: 992px) {
    .about-page .about-intro p { font-size: 1.5625rem; font-weight: 500; line-height: 1.5625rem; }
    .about-page .about-text p { font-size: 1.5625rem; line-height: 1.6875rem; margin: 0 0 1.6875rem; }
}
