/* =====================================================
   ptp700-custom.css
   Ergänzendes CSS für die PTP 700 Landingpage.
   Enthält NUR neue Klassen, die nicht im 4Networks
   Basis-CSS vorhanden sind.
   Einbinden in header.php oder direkt in die Seite:
   <link rel="stylesheet" href="css/ptp700-custom.css">
   ===================================================== */


/* ─── HERO: Seiten-spezifischer Hintergrund ─── */
/* Überschreibt nur den Hintergrund der bestehenden .hero-area Klasse */
.hero-area-ptp700 {
    background-image: url('../images/ptp700-hero-bg.jpg');
    /* Fallback falls kein Bild: gleicher Gradient wie andere Hero-Bereiche */
    background-color: #1b2a3b;
    background-size: cover;
    background-position: center center;
    margin-bottom: 0px !important;
}


/* ─── HERO BADGE ─── */
/* Kleine Pill-Kennzeichnung über dem H1 im Hero */
.hero-badge {
    display: inline-block;
    background: rgba(0, 170, 255, 0.15);
    border: 1px solid rgba(0, 170, 255, 0.4);
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
}


/* ─── HERO BUTTONS ─── */
/* Abstand zwischen den beiden Hero-CTA-Buttons */
.btn-hero {
    margin-left: 10px;
}

.btn-hero-sec {
    margin-right: 4px;
}


/* ─── CERT BAR ─── */
/* Zertifizierungs-Leiste direkt unterhalb des Hero */
.cert-bar {
    background: #162840;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(0, 170, 255, 0.2);
    border-bottom: 1px solid rgba(0, 170, 255, 0.1);
}

.cert-bar-inner {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cert-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00cc88;
    flex-shrink: 0;
}


/* ─── STATS GRID ─── */
/* Kennzahlen-Raster (6 Kacheln) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
    background: #d0dae6;
    border: 1px solid #d0dae6;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    padding: 1.4rem 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1565a8;
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: #6b7a8d;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ─── SPEC TABS & TABLE ─── */
/* Tabs für die Spezifikations-Tabelle */
.spec-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.spec-tab {
    padding: 7px 20px;
    border-radius: 4px;
    border: 1px solid #b8c8d8;
    background: transparent;
    color: #5a6a7a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.spec-tab:hover {
    border-color: #1a7abf;
    color: #1a7abf;
}

.spec-tab.active {
    background: #1565a8;
    border-color: #1565a8;
    color: #ffffff;
}

/* Spezifikations-Tabelle */
.spec-table {
    border: 1px solid #d0dae6;
    border-radius: 6px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    border-bottom: 1px solid #d0dae6;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    width: 45%;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5a6a7a;
    background: #f0f4f8;
    flex-shrink: 0;
}

.spec-val {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #1b2a3b;
    background: #ffffff;
}


/* ─── BILD-PLATZHALTER ─── */
/* Ersetzt <img> wenn noch kein echtes Bild vorhanden ist */
.img-placeholder {
    display: block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #1b2f45;
}

/* Sicherstellt dass die rechte Spalte nicht abgeschnitten wird */
.col-md-offset-1.col-md-5 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Abstand nach Cert-Bar vor erstem Section-Heading */
#leistung .block-heading.h2-heading {
    padding-top: 0.5rem;
}


/* ─── RESPONSIVE ANPASSUNGEN ─── */
@media (max-width: 767px) {
    .cert-bar-inner {
        gap: 1rem;
        justify-content: flex-start;
        padding: 0 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-row {
        flex-direction: column;
    }

    .spec-key {
        width: 100%;
        padding-bottom: 2px;
        border-bottom: none;
    }

    .spec-val {
        padding-top: 4px;
    }

    .btn-hero {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ─── MOBILE HERO OPTIMIERUNGEN ─── */
@media (max-width: 767px) {

    /* Badge: kleinere Schrift, einzeilig */
    .hero-badge {
        font-size: 10px;
        padding: 4px 12px;
        letter-spacing: 0.07em;
        white-space: nowrap;
    }

    /* H1: kleinere Schrift */
    .hero-area h1 {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    /* Buttons: gleiche Breite, untereinander, zentriert */
    .hero-area .align a.btn {
        display: block !important;
        width: 220px !important;
        margin: 6px auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .btn-hero,
    .btn-hero-sec {
        margin: 6px auto !important;
    }
}


/* ─── PARTNER-FACTS ─── */
.partner-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #d0dae6;
    border: 1px solid #d0dae6;
    border-radius: 6px;
    overflow: hidden;
}

.partner-fact {
    background: #ffffff;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.partner-fact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1565a8;
    line-height: 1.2;
    margin-bottom: 5px;
}

.partner-fact-label {
    font-size: 11px;
    color: #6b7a8d;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 767px) {
    .partner-facts {
        grid-template-columns: 1fr 1fr;
        margin-top: 1.5rem;
    }
}