.pillar-hero-section {
    --pha-orange: #ff7e0c;
    --pha-brand-50: #fef6ee;
    --pha-brand-100: #fff4da;
    --pha-brand-200: #ffe6b5;
    --pha-brand-700: #cd4b17;
    --pha-gray-100: #f2f4f7;
    --pha-gray-200: #eaecf0;
    --pha-gray-300: #d0d5dd;
    --pha-gray-400: #98a2b3;
    --pha-gray-500: #667085;
    --pha-gray-600: #475467;
    --pha-gray-700: #344054;
    --pha-gray-900: #101828;
    --pha-green: #17b26a;
    --pha-vc-title: #999999;

    container-type: inline-size;
    container-name: pillar-hero;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 680 / 600;
    min-height: clamp(280px, 42vw, 480px);
    margin: 0 auto;
    overflow: visible;
}

.pillar-hero-section,
.pillar-hero-section *,
.pillar-hero-section *::before,
.pillar-hero-section *::after {
    box-sizing: border-box;
}

.pillar-hero-section .pha-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.pillar-hero-section .pha-scene-canvas {
    position: relative;
    width: 680px;
    height: 600px;
    flex-shrink: 0;
    transform: scale(calc(100cqw / 680px));
    transform-origin: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse 75% 70% at 50% 45%, #fff4ed 0%, #fff 70%);
}

.pillar-hero-section .pha-scene-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(208, 213, 221, 0.55) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 35%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 35%, transparent 75%);
    pointer-events: none;
}

.pillar-hero-section .pha-blob {
    position: absolute;
    z-index: 1;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 126, 12, 0.2), rgba(255, 126, 12, 0) 70%);
    filter: blur(6px);
    pointer-events: none;
}

.pillar-hero-section .pillar-hero-anim {
    position: relative;
    z-index: 2;
    width: 320px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pillar-hero-section .pha-particles {
    position: absolute;
    top: -80px;
    left: -80px;
    z-index: 6;
    pointer-events: none;
}

/* 1 — Papier-Visitenkarte */
.pillar-hero-section .pha-paper {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 290px;
    height: 176px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
    border: 1px solid var(--pha-gray-200);
    border-radius: 14px;
    box-shadow:
        0 18px 40px rgba(16, 24, 40, 0.16),
        0 2px 6px rgba(16, 24, 40, 0.08);
    padding: 22px 24px;
}

.pillar-hero-section .pha-paper::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 64px;
    height: 1px;
    background: var(--pha-gray-200);
}

.pillar-hero-section .pha-paper .pp-logo {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
}

.pillar-hero-section .pha-paper .pp-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--pha-gray-900);
    letter-spacing: -0.2px;
}

.pillar-hero-section .pha-paper .pp-role {
    font-size: 12px;
    font-weight: 500;
    color: var(--pha-gray-500);
    margin-top: 2px;
}

.pillar-hero-section .pha-paper .pp-lines {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pillar-hero-section .pha-paper .pp-line {
    height: 7px;
    border-radius: 4px;
    background: var(--pha-gray-200);
}

.pillar-hero-section .pha-paper .pp-line.w1 {
    width: 70%;
}

.pillar-hero-section .pha-paper .pp-line.w2 {
    width: 55%;
}

.pillar-hero-section .pha-paper .pp-stamp {
    position: absolute;
    right: 18px;
    bottom: 16px;
    font-size: 10px;
    font-weight: 600;
    color: var(--pha-gray-400);
    border: 1px dashed var(--pha-gray-300);
    border-radius: 6px;
    padding: 3px 7px;
}

/* 2 — Smartphone + digitale Karte */
.pillar-hero-section .pha-phone {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    font-size: 17px;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.pillar-hero-section .pha-frame {
    position: relative;
    width: 13.5em;
    background: #111;
    border-radius: 2.7em;
    padding: 0.48em;
    box-shadow:
        0 0 0 0.09em #222,
        inset 0 0 0 0.06em rgba(255, 255, 255, 0.07),
        0 10px 50px rgba(0, 0, 0, 0.5),
        0 30px 30px rgba(0, 0, 0, 0.28);
}

.pillar-hero-section .pha-frame::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 50%;
    transform: translateX(-50%);
    width: 31%;
    height: 0.88em;
    background: #111;
    border-radius: 0 0 0.65em 0.65em;
    z-index: 30;
}

.pillar-hero-section .pha-frame::after {
    content: "";
    position: absolute;
    bottom: 0.72em;
    left: 50%;
    transform: translateX(-50%);
    width: 27%;
    height: 0.22em;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    z-index: 30;
}

.pillar-hero-section .pha-frame-screen {
    border-radius: 2.22em;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5;
}

.pillar-hero-section .pha-vc-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(151deg, #ff7e0c -2%, #f24b2d 101%);
}

.pillar-hero-section .pha-vc-card {
    position: absolute;
    top: 9%;
    left: 0.55em;
    right: 0.55em;
    bottom: 0.45em;
    z-index: 5;
    background: #fff;
    border-radius: 1.55em 1.55em 1.35em 1.35em;
    display: flex;
    flex-direction: column;
    padding: 1em 0.95em 0.85em;
    overflow: hidden;
}

.pillar-hero-section .pha-vc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: 0.55em;
}

.pillar-hero-section .pha-vc-avatar {
    position: relative;
    width: 3.5em;
    height: 3.5em;
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-ring {
    position: absolute;
    inset: -0.15em;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b8b 0%, #ff7e0c 65%, #ffa336 100%);
}

.pillar-hero-section .pha-vc-avatar-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 0.1em solid #fff;
    overflow: hidden;
    background: var(--pha-gray-300);
}

.pillar-hero-section .pha-vc-photo {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 32%, #ffb877 0%, #ff8a3c 55%, #e0691c 100%);
}

.pillar-hero-section .pha-vc-photo::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.pillar-hero-section .pha-vc-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 50%;
    border-radius: 50% 50% 0 0;
    background: rgba(255, 255, 255, 0.42);
}

.pillar-hero-section .pha-vc-logo {
    width: 2.05em;
    height: 2.05em;
    flex-shrink: 0;
    margin-top: 0.25em;
}

.pillar-hero-section .pha-vc-logo svg {
    width: 100%;
    height: 100%;
}

.pillar-hero-section .pha-vc-name {
    font-size: 1.02em;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -0.03em;
    line-height: 1.25;
    flex-shrink: 0;
    white-space: nowrap;
}

.pillar-hero-section .pha-vc-subtitle {
    font-size: 0.5em;
    color: var(--pha-vc-title);
    line-height: 1.4;
    font-weight: 600;
    margin-top: 0.45em;
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-url {
    font-size: 0.52em;
    color: var(--pha-orange);
    font-weight: 700;
    margin-top: 0.3em;
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-divider {
    width: 100%;
    height: 1px;
    background: var(--pha-gray-300);
    border: 0;
    margin: 0.7em 0 0.5em;
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-lower {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.45em 0 0.2em;
}

.pillar-hero-section .pha-vc-clabel {
    font-size: 0.36em;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--pha-vc-title);
    text-transform: uppercase;
    margin-bottom: 0.3em;
}

.pillar-hero-section .pha-vc-crow {
    display: flex;
    align-items: center;
    gap: 0.55em;
}

.pillar-hero-section .pha-vc-cicon {
    width: 0.8em;
    height: 0.8em;
    fill: var(--pha-orange);
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-ctext {
    font-size: 0.65em;
    color: #0a0a0a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pillar-hero-section .pha-vc-socials {
    display: flex;
    gap: 0.5em;
}

.pillar-hero-section .pha-vc-linkedin {
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    border: 1.5px solid var(--pha-orange);
    background: color-mix(in srgb, var(--pha-orange) 5%, white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-hero-section .pha-vc-linkedin svg {
    width: 1.05em;
    height: 1.05em;
    fill: var(--pha-orange);
}

.pillar-hero-section .pha-vc-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
    padding-top: 0.5em;
    flex-shrink: 0;
}

.pillar-hero-section .pha-vc-btn {
    border-radius: 100px;
    background: var(--pha-orange);
    color: #fff;
    font-size: 0.44em;
    font-weight: 600;
    padding: 0.75em 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    box-shadow: 0 3px 12px rgba(255, 126, 12, 0.32);
}

.pillar-hero-section .pha-vc-btn svg {
    width: 0.9em;
    height: 0.9em;
    fill: #fff;
    flex-shrink: 0;
}

/* 3 — Glass-Info-Cards */
.pillar-hero-section .pha-badge {
    position: absolute;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(16, 24, 40, 0.12);
    padding: 9px 13px;
    opacity: 0;
}

.pillar-hero-section .pha-badge .b-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 13px;
    line-height: 1;
    background: var(--pha-brand-100);
    color: var(--pha-brand-700);
    border: 4px solid var(--pha-brand-50);
}

.pillar-hero-section .pha-badge .b-ico i {
    display: block;
}

.pillar-hero-section .pha-badge .b-ico.green {
    background: #dcfae6;
    color: var(--pha-green);
    border-color: #ecfdf3;
}

.pillar-hero-section .pha-badge .b-txt {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--pha-gray-700);
    line-height: 1.25;
    white-space: nowrap;
}

.pillar-hero-section .pha-badge .b-txt small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--pha-gray-500);
}

.pillar-hero-section .pha-badge.b1 {
    top: 40px;
    left: -66px;
}

.pillar-hero-section .pha-badge.b2 {
    top: 156px;
    right: -96px;
}

.pillar-hero-section .pha-badge.b3 {
    bottom: 74px;
    right: -84px;
}

@media (prefers-reduced-motion: reduce) {
    .pillar-hero-section .pha-paper {
        display: none;
    }

    .pillar-hero-section .pha-phone {
        opacity: 1 !important;
        transform: none !important;
    }

    .pillar-hero-section .pha-badge {
        opacity: 1 !important;
        transform: none !important;
    }

    .pillar-hero-section .pha-particles {
        display: none;
    }
}

@container pillar-hero (max-width: 540px) {
    .pillar-hero-section .pha-badge .b-txt {
        font-size: 10.5px;
    }

    .pillar-hero-section .pha-badge.b1 {
        left: -52px;
    }

    .pillar-hero-section .pha-badge.b2 {
        right: -78px;
    }

    .pillar-hero-section .pha-badge.b3 {
        right: -68px;
    }
}

@container pillar-hero (max-width: 360px) {
    .pillar-hero-section .pha-badge .b-txt {
        font-size: 10px;
        white-space: normal;
    }

    .pillar-hero-section .pha-badge.b1 {
        left: -40px;
    }

    .pillar-hero-section .pha-badge.b2 {
        right: -58px;
    }

    .pillar-hero-section .pha-badge.b3 {
        right: -48px;
    }
}

/* Feature section embed — badges dürfen über die Spalte hinausragen */
.pillar-hero-column {
    overflow: visible;
}

.section .columns:has(.pillar-hero-section) {
    overflow: visible;
}
