/* Seitenspezifische Ergänzungen – nur ueber-mich.html */

/* =========================================================
   HERO – abgeschlossen, nicht verändern
========================================================= */
.about-page.about-hero {
    padding-top: 170px;
    padding-bottom: 100px;
}
.about-page.about-hero .container {
    width: min(calc(100% - 80px), var(--container, 1180px));
    margin-inline: auto;
}
.about-page.about-hero .statement-content {
    width: 100%;
    max-width: none;
    min-width: 0;
}
.about-page.about-hero .statement-content h1.hero-title {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    overflow-wrap: normal;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: clamp(3rem, 6.5vw, 6.3rem);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -.045em;
}
.about-page.about-hero .statement-content h1.hero-title > span {
    display: inline;
    color: #fff;
    white-space: nowrap;
}
.about-page.about-hero .statement-content h1.hero-title > span:first-child {
    color: var(--accent);
}

/* =========================================================
   STATIONEN & ERFAHRUNG – konsolidierte Fassung
========================================================= */
.about-page .career-section {
    background: var(--off-white);
}

.about-page .career-section .career-heading {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
}
.about-page .career-section .career-heading .section-kicker {
    color: var(--primary);
}
.about-page .career-section .career-heading .section-title {
    display: block;
    margin: 0;
    color: var(--dark);
}
.about-page .career-section .career-heading .section-title span {
    display: inline;
    color: var(--primary);
}

/* Die PNG-Weltkarte nutzt das Seitenverhältnis der Quelldatei.
   Das Bild füllt die Containerbreite ohne künstliche SVG-Zuschnitte. */
.about-page .career-section .career-map-wrap,
.about-page .career-section .about-career-map {
    width: 100%;
    margin: 0;
    background: transparent;
}
.about-page .career-section .career-world-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1774 / 887;
    overflow: visible;
    background: transparent;
}
.about-page .career-section .world-map-art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.about-page .career-section .map-point {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .24);
    cursor: pointer;
    transform: translate(-50%, -50%);
}
.about-page .career-section .map-point::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 2px solid rgba(255, 255, 255, .78);
    border-radius: inherit;
    pointer-events: none;
    animation: careerPointPulse 2.4s ease-out infinite;
}
.about-page .career-section .map-point span {
    display: block;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: var(--white);
}
.about-page .career-section .map-point:focus-visible,
.about-page .career-section .map-point.is-active {
    box-shadow: 0 0 0 10px rgba(23, 135, 127, .25);
    outline: 2px solid var(--white);
    outline-offset: 2px;
}
.about-page .career-section .map-point.is-active::after {
    animation-play-state: paused;
    opacity: 0;
}

/* Markerpositionen bezogen auf den bereinigten SVG-Ausschnitt. */
.about-page .career-section .point-new-york { left: 24.0%; top: 27.0%; }
.about-page .career-section .point-bremen { left: 46.7%; top: 20.0%; }
.about-page .career-section .point-stuttgart { left: 47.0%; top: 23.0%; }
.about-page .career-section .point-bengaluru { left: 67.0%; top: 47.2%; }

@keyframes careerPointPulse {
    0% { transform: scale(1); opacity: .72; }
    70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* Die Infofläche erzeugt im geschlossenen Zustand keinen zusätzlichen Abstand. */
.about-page .career-section .map-info-area {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}
.about-page .career-section .map-info {
    box-sizing: border-box;
    width: 100%;
    padding: 22px 26px;
    margin: var(--section-space) 0 0;
    overflow: hidden;
    color: var(--white);
    /* Hero-Farbverlauf auf die geringere Panelbreite abgestimmt. */
    background:
        radial-gradient(ellipse 75% 110% at 82% 42%, rgba(36, 210, 198, .28) 0%, transparent 100%),
        linear-gradient(135deg, #10201f 0%, #193331 55%, #0d4d49 100%);
    border-radius: 18px;
    transform-origin: top;
    animation: aboutPanelOpen 1s ease both;
}
.about-page .career-section .map-info[hidden] {
    display: none !important;
}
.about-page .career-section .map-info .section-kicker,
.about-page .career-section .map-info h3,
.about-page .career-section .map-info p {
    color: inherit;
}
.about-page .career-section .map-info .section-kicker {
    margin: 0 0 8px;
}
.about-page .career-section .map-info h3 {
    margin: 0 0 8px;
}
.about-page .career-section .map-info .map-detail {
    margin: 8px 0 0;
}
.about-page .career-section .map-info.is-closing {
    animation: aboutPanelClose 1s ease both;
}

@keyframes aboutPanelOpen {
    from { clip-path: inset(0 0 100% 0); opacity: .65; }
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes aboutPanelClose {
    from { clip-path: inset(0 0 0 0); opacity: 1; }
    to { clip-path: inset(100% 0 0 0); opacity: .65; }
}

/* =========================================================
   WERTE & HALTUNG – nur Übergangsabstand aus Punkt 8
========================================================= */
.about-page .values-section {
    padding-top: 125px;
}
.about-page .values-section .values-heading {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

@media (prefers-reduced-motion: reduce) {
    .about-page .career-section .map-point::after {
        animation: none;
    }
    .about-page .career-section .map-info,
    .about-page .career-section .map-info.is-closing {
        animation-duration: .01ms;
    }
}

@media (max-width: 700px) {
    .about-page.about-hero {
        padding-top: 145px;
        padding-bottom: 65px;
    }

    .about-page.about-hero .container {
        width: calc(100% - 40px);
    }
    .about-page.about-hero .statement-content h1.hero-title {
        font-size: clamp(2.6rem, 11vw, 4rem);
        line-height: .99;
    }

    .about-page .career-section .career-world-map {
        aspect-ratio: 1774 / 887;
    }
    .about-page .career-section .map-point {
        width: 18px;
        height: 18px;
    }
    .about-page .career-section .map-info {
        padding: 18px;
    }

    .about-page .values-section {
        padding-top: 90px;
    }
}


/* =========================================================
   HERO – feste Dreizeiligkeit und gezielte Kontrastwörter
   Geometrie, Positionierung und Abstände bleiben unverändert.
========================================================= */
.about-page.about-hero .statement-content h1.hero-title > .hero-line {
    display: block;
    color: #fff;
    white-space: nowrap;
}

.about-page.about-hero .statement-content h1.hero-title > .hero-line:first-child {
    color: #fff;
}

.about-page.about-hero .statement-content h1.hero-title .hero-accent {
    display: inline;
    color: var(--accent);
    white-space: inherit;
}


/* =========================================================
   WERTE-KARTEN – gleiche Karten-/Rahmenlogik wie Turnaround
   .service-card stellt die Flex-Kartenstruktur bereit.
   Der Rahmen bleibt 285px hoch und füllt die Kartenspalte;
   das zusätzliche globale 16:9-Seitenverhältnis entfällt.
   Alle Bilder füllen die verfügbare Breite proportional;
   Überstand wird nur vertikal mittig abgeschnitten.
========================================================= */
.about-page .values-section .services-grid > .service-card {
    min-width: 0;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.about-page .values-section .services-grid > .service-card > .service-image-wrap {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 285px;
    aspect-ratio: auto;
}

.about-page .values-section .services-grid > .service-card > .service-image-wrap > .service-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(0.8) saturate(0.66);
    transform: none !important;
}


/* =========================================================
   MEIN WEG – Positionsdarstellung
   Kontrastfarbe vor dem Komma und kompakter Abstand zur Beschreibung.
========================================================= */
.about-page .career-section .map-info .position-accent {
    color: var(--accent);
}

.about-page .career-section .map-info .map-detail {
    margin-top: 4px;
}

/* =========================================================
   WELTKARTE – Trennung zwischen mehreren Karriereeinträgen
   Nur weitere Einträge erhalten einen zentrierten Designstrich.
========================================================= */
.about-page .career-section .map-positions .career-entry + .career-entry::before {
    content: "";
    display: block;
    width: 50%;
    margin: 26px auto;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}


/* =========================================================
   STANDARDISIERTE INHALTSSEKTIONEN
========================================================= */
.about-page .career-section.content-section,
.about-page .values-section.content-section {
    padding: var(--section-space-y) 0;
}

.about-page .career-section .career-heading,
.about-page .values-section .values-heading {
    margin: 0;
}

/* Die Einleitungstexte in „Mein Weg“ und „Meine Einstellung“ nutzen
   dieselbe Textbreite wie die Leistungssektion der Hauptseite. */
.about-page .career-section .section-text > .intro-text,
.about-page .values-section .section-text > .intro-text {
    max-width: 860px;
}

.about-page .career-section .career-heading .section-title,
.about-page .values-section .values-heading .section-title {
    margin: 0;
}

.about-page .career-section .career-heading .section-title span {
    display: block;
}

.about-page .career-section .career-heading + .career-map-wrap {
    margin-top: var(--section-space);
}

.about-page .values-section .values-heading + .services-grid {
    margin-top: var(--section-space);
}

/* Werte-Karten nutzen den globalen .service-card-Standard.
   Nur die bereits etablierte Geometrie der Werte-Sektion bleibt lokal. */
.about-page .values-section .services-grid > .service-card {
    border-radius: var(--radius);
}

.about-page .values-section .services-grid > .service-card > .service-image-wrap {
    height: 285px;
    aspect-ratio: auto;
    border-radius: 0;
}

.about-page .values-section .services-grid > .service-card > .service-content {
    height: 100%;
    padding: 28px 28px 26px;
}


.about-page .values-section .services-grid > .service-card > .service-image-wrap > .service-image {
    position: static;
    inset: auto;
}

@media (max-width: 1000px) {
    .about-page .values-section .services-grid > .service-card > .service-image-wrap {
        height: 320px;
    }
}

@media (max-width: 700px) {
    .about-page .values-section .services-grid > .service-card > .service-image-wrap {
        height: 270px;
    }
}

@media (max-width: 700px) {
    .about-page .career-section.content-section,
    .about-page .values-section.content-section {
        padding: var(--section-space-y-mobile) 0;
    }
}
/* Portrait in „Meine Person“ */
.about-page .personality-section .about-image {
    object-position: 45% center;
    filter: contrast(0.8) saturate(0.66);
}


/* Mobile: Hero-Zeilen dürfen innerhalb ihrer semantischen Zeilen umbrechen. */
@media (max-width: 700px) {
    .about-page.about-hero .statement-content h1.hero-title,
    .about-page.about-hero .statement-content h1.hero-title > .hero-line {
        white-space: normal;
    }
}
