/* ==========================================================================
   about-location.css — "Über mich": Erde als Kuppel (wie ein Globus von schraeg oben),
   dezent grau, nach unten ausgeblendet, mit Markierung am Wohnort.
   ========================================================================== */
.aloc-section { overflow: hidden; }
.aloc {
    position: relative;
    max-width: 1100px;
    margin: 8px auto 0;
    aspect-ratio: 1260 / 620;
}
/* Kontinente als Maske, schlicht grau (wie die Vorlage): oben leicht heller, nach unten ausgeblendet */
.aloc-map {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .13) 8%, rgba(255, 255, 255, .09) 45%, rgba(255, 255, 255, .03) 72%, transparent 92%);
    -webkit-mask: url("/images/world-globe.svg") center / 100% 100% no-repeat, linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-composite: source-in;
    mask: url("/images/world-globe.svg") center / 100% 100% no-repeat intersect, linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

/* ---------- Markierung ---------- */
.aloc-pin { position: absolute; left: var(--px); top: var(--py); width: 0; height: 0; z-index: 2; }
.aloc-dot, .aloc-pulse { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.aloc-dot { width: 10px; height: 10px; background: #e4e4e7; box-shadow: 0 0 10px rgba(255, 255, 255, .35); }
.aloc-pulse { width: 10px; height: 10px; background: rgba(255, 255, 255, .22); animation: alocPulse 2.6s ease-out infinite; }
@keyframes alocPulse { from { width: 10px; height: 10px; opacity: .8; } to { width: 44px; height: 44px; opacity: 0; } }

.aloc-card {
    position: absolute; top: 0; transform: translateY(-50%);
    min-width: 170px; padding: 10px 14px; border-radius: 12px; white-space: nowrap;
    background: color-mix(in srgb, var(--surface, #17161b) 82%, transparent);
    border: 1px solid var(--border, rgba(255, 255, 255, .1));
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--text, #f4f4f6); font-size: .85rem; line-height: 1.45;
}
.aloc-side-right .aloc-card { left: 22px; }
.aloc-side-left .aloc-card { right: 22px; }
.aloc-card::before {                /* kleine Linie vom Punkt zur Karte */
    content: ""; position: absolute; top: 50%; width: 14px; height: 1px; background: rgba(255, 255, 255, .25);
}
.aloc-side-right .aloc-card::before { right: 100%; }
.aloc-side-left .aloc-card::before { left: 100%; }
.aloc-city { font-weight: 600; font-size: 1rem; }
.aloc-city i { color: var(--text-muted, #a1a1aa); margin-inline-end: 4px; }
.aloc-region { color: var(--text-muted, #a1a1aa); }
.aloc-time { margin-top: 4px; color: var(--text-muted, #a1a1aa); font-variant-numeric: tabular-nums; }
.aloc-time i { margin-inline-end: 4px; }
.aloc-time time { color: var(--text, #f4f4f6); font-weight: 600; }

/* Handy: Kuppel etwas groesser (seitlich angeschnitten wirkt sie sonst winzig), Karte unter dem Punkt */
@media (max-width: 575.98px) {
    .aloc { width: 160%; margin-left: -30%; max-width: none; }
    .aloc-card { top: 18px; transform: translateX(-50%); left: 0 !important; right: auto !important; font-size: .8rem; min-width: 0; }
    .aloc-card::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .aloc-pulse { animation: none; opacity: .35; width: 30px; height: 30px; }
}
