/* ===== PRODUKTION 4.0 PAGE ===== */

.smart-tech-stack {
    margin-top: 64px;
}

.smart-dpp-data-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.smart-dpp-kicker {
    margin-bottom: 20px;
}

/* Promise */
.p4-promise {
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    border-radius: 20px; padding: 48px;
    margin-top: 16px;
}
.p4-promise__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.p4-promise__intro { font-size: .95rem; color: #555; line-height: 1.7; margin-bottom: 32px; max-width: 680px; }
.p4-promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p4-promise__item {
    background: var(--white); border-radius: 14px;
    padding: 24px; border: 1px solid var(--sand-dark);
}
.p4-promise__label {
    font-size: .72rem; font-weight: 700;
    font-family: var(--mono); color: var(--orange);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.p4-promise__text { font-size: .88rem; color: #555; line-height: 1.6; }

/* Projekte */
.p4-projekte { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.p4-projekt {
    display: grid; grid-template-columns: 140px 1fr;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px; overflow: hidden;
    transition: border-color .3s;
}
.p4-projekt:hover { border-color: rgba(216,180,255,.3); }
.p4-projekt__meta {
    background: rgba(0,0,0,.2);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-start;
    gap: 16px; padding: 32px 20px;
    border-right: 1px solid rgba(255,255,255,.06);
}
.p4-projekt__num {
    font-size: 2rem; font-weight: 800;
    font-family: var(--mono); color: rgba(255,255,255,.2);
}
.p4-projekt__status {
    font-size: .65rem; font-weight: 700;
    font-family: var(--mono); text-transform: uppercase;
    letter-spacing: .08em; padding: 5px 12px;
    border-radius: 100px; text-align: center; line-height: 1.4;
}
.p4-projekt__status--done { background: rgba(74,212,123,.15); color: #4AD47B; border: 1px solid rgba(74,212,123,.3); }
.p4-projekt__status--active { background: rgba(216,180,255,.15); color: var(--yellow); border: 1px solid rgba(216,180,255,.3); }
.p4-projekt__status--dev { background: rgba(74,127,212,.15); color: var(--blue); border: 1px solid rgba(74,127,212,.3); }

.p4-projekt__body { padding: 32px 36px; }
.p4-projekt__title { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.p4-projekt__text { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 20px; }

.p4-projekt__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p4-projekt__stat {
    background: rgba(255,255,255,.05); border-radius: 10px; padding: 16px;
}
.p4-projekt__stat-val {
    font-size: 2rem; font-weight: 800;
    font-family: var(--mono); color: var(--yellow); line-height: 1; margin-bottom: 6px;
}
.p4-projekt__stat-label { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }

.p4-projekt__feats { display: flex; flex-direction: column; gap: 12px; }
.p4-projekt__feat {
    display: grid; grid-template-columns: 100px 1fr; gap: 16px;
    font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6;
    background: rgba(255,255,255,.04); border-radius: 10px; padding: 14px 16px;
}
.p4-projekt__feat-label {
    font-weight: 700; color: var(--yellow);
    font-family: var(--mono); font-size: .72rem;
    text-transform: uppercase; letter-spacing: .05em; padding-top: 2px;
}

/* Szenarien */
.p4-szenarien { margin-bottom: 48px; }
.p4-szenarien__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; }
.p4-szenarien__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p4-szenario {
    background: var(--white); border: 1px solid var(--sand-dark);
    border-radius: 18px; padding: 32px;
    transition: all .3s;
}
.p4-szenario:hover { border-color: var(--orange); box-shadow: 0 8px 28px var(--orange-dim); transform: translateY(-4px); }
.p4-szenario__num {
    font-size: 1.8rem; font-weight: 800;
    font-family: var(--mono); color: rgba(0,0,0,.15);
    margin-bottom: 12px;
}
.p4-szenario__title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--black); }
.p4-szenario__text { font-size: .88rem; color: #555; line-height: 1.6; }

/* CTA row */
.p4-cta {
    display: flex; align-items: center; gap: 28px;
    flex-wrap: wrap;
}
.p4-cta__secondary {
    font-size: .92rem; font-weight: 700; color: var(--black);
    text-decoration: underline; text-underline-offset: 3px;
    transition: color .2s;
}
.p4-cta__secondary:hover { color: var(--orange); }

/* Smart tech 02 theme */
.smart-tech2 .pillar__num {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.smart-tech2 .pillar__title {
    color: var(--white);
}
.smart-tech2 .pillar__text,
.smart-tech2__feature-text {
    color: rgba(255,255,255,0.8);
}
.smart-tech2 .pillar__feat-icon {
    color: var(--yellow);
}
.smart-tech2__media {
    flex: 1 1 400px;
    background: #0b1114;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.smart-tech2__video {
    width: 100%;
    height: auto;
    display: block;
}

/* Smart DPP CTA */
.smart-dpp-cta { text-align: center; margin: 42px 0 8px; }

@media(max-width: 968px) {
    .p4-promise { padding: 28px 24px; }
    .p4-promise__grid { grid-template-columns: 1fr; }
    .p4-projekt { grid-template-columns: 1fr; }
    .p4-projekt__meta { flex-direction: row; padding: 20px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
    .p4-projekt__stats { grid-template-columns: 1fr; }
    .p4-projekt__feat { grid-template-columns: 1fr; gap: 4px; }
    .p4-szenarien__grid { grid-template-columns: 1fr; }
    .p4-cta { flex-direction: column; align-items: flex-start; }
}

/* p4 quote inside projekt card */
.p4-projekt__quote {
    font-style: italic;
    color: var(--yellow);
    font-size: .88rem;
    margin-bottom: 14px;
    opacity: .85;
}

/* Cockpit iframe frame */
.cockpit-wrap {
    flex: 1 1 520px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}
.cockpit-frame {
    position: relative;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 16 / 13.6;
    background: #121417;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 30px 60px rgba(8, 14, 28, 0.28),
        0 10px 20px rgba(8, 14, 28, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.cockpit-frame::before {
    display: none;
}
.cockpit-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: inherit;
    background: #121417;
}
@media (max-width: 768px) {
    .cockpit-frame { width: min(100%, 430px); height: min(720px, calc(100dvh - 96px)); max-width: 100%; aspect-ratio: auto; padding: 0; border-radius: 24px; }
    .cockpit-iframe { border-radius: inherit; }
}
@media (max-width: 480px) {
    .cockpit-frame { width: calc(100vw - 28px); height: min(700px, calc(100dvh - 84px)); max-width: none; aspect-ratio: auto; padding: 0; border-radius: 22px; }
    .cockpit-iframe { border-radius: inherit; }
}
