/* Extracted from interim-hr-berlin.php. Edit here, not in PHP. */

/* ============================================================
   INTERIM-HR-BERLIN.PHP, Seiten-spezifische Styles (Prefix: ihb-)
   Design-Konzept: Navy Hero (flat #1e3a5f), Akzent #34d399 (grün-Mint),
   Light-Sections, Berlin-Stadtsilhouette SVG, 5-Schritt-Prozess
   ============================================================ */

/* ---------- Hero ---------- */
.ihb-hero {
    background: #1e3a5f;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.ihb-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(52,211,153,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.ihb-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(37,99,235,0.09) 0%, transparent 70%);
    pointer-events: none;
}

.ihb-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ihb-hero-badge {
    display: inline-block;
    background: rgba(52,211,153,0.18);
    border: 1px solid rgba(52,211,153,0.35);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.ihb-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 22px;
}

.ihb-highlight {
    color: #34d399;
}

.ihb-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin: 0 0 30px;
    max-width: 520px;
}

.ihb-hero-trust {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 34px;
}

.ihb-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.96rem;
}

.ihb-trust-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(52,211,153,0.18);
    border: 1px solid rgba(52,211,153,0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 700;
}

.ihb-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ihb-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.ihb-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.ihb-btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.ihb-btn-outline-white:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.07);
}

/* ---- Hero Visual ---- */
.ihb-hero-content {
}
.ihb-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ihb-berlin-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4));
}

/* ---------- Trust / Stats Bar ---------- */
.ihb-stats {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0;
}

.ihb-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.ihb-stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 5px;
}

.ihb-stat-label {
    font-size: 0.82rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- Section Gemeinsam ---------- */
.ihb-section {
    padding: 80px 0;
}

.ihb-section-light {
    background: #f0f9ff;
}

.ihb-section-white {
    background: #ffffff;
}

.ihb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ihb-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.ihb-section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 14px;
}

.ihb-section-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- Berlin-Markt Section (2 cols) ---------- */
.ihb-berlin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.ihb-berlin-text h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1.25;
}

.ihb-berlin-text p {
    font-size: 1.02rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 16px;
}

.ihb-berlin-text p:last-child {
    margin-bottom: 0;
}

.ihb-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ihb-feature-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ihb-feature-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
}

.ihb-feature-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: #2563eb;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ihb-feature-card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 5px;
}

.ihb-feature-card-body p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Szenarien Grid ---------- */
.ihb-szenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ihb-szenario-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ihb-szenario-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}

.ihb-szenario-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ihb-szenario-icon svg {
    width: 24px;
    height: 24px;
    stroke: #2563eb;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ihb-szenario-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

.ihb-szenario-card p {
    font-size: 0.91rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Prozess Steps ---------- */
.ihb-prozess {
    background: #f0f9ff;
    padding: 80px 0;
}

.ihb-prozess-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 52px;
}

.ihb-prozess-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 14px);
    right: calc(10% + 14px);
    height: 2px;
    background: linear-gradient(90deg, #bfdbfe, #2563eb, #bfdbfe);
    z-index: 0;
}

.ihb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.ihb-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}

.ihb-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.ihb-step p {
    font-size: 0.86rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 10px;
}

.ihb-step-timing {
    display: inline-block;
    background: #1e3a5f;
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-top: auto;
}

/* ---------- Interne Verlinkung ---------- */
.ihb-related {
    background: #f0f9ff;
    padding: 60px 0;
    border-top: 1px solid #e0f2fe;
}

.ihb-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.ihb-related-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 28px 24px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ihb-related-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 24px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}

.ihb-related-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.ihb-related-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #2563eb;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ihb-related-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.ihb-related-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

.ihb-related-card-arrow {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
}

/* ---------- FAQ ---------- */
.ihb-faq {
    background: #ffffff;
    padding: 80px 0;
}

.ihb-faq-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.ihb-faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ihb-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ihb-faq-item.ihb-faq-open {
    border-color: #bfdbfe;
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}

.ihb-faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    text-align: left;
}

.ihb-faq-question-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

.ihb-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.25s;
}

.ihb-faq-icon svg {
    width: 16px;
    height: 16px;
    stroke: #2563eb;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: transform 0.25s;
}

.ihb-faq-item.ihb-faq-open .ihb-faq-icon {
    background: #2563eb;
}

.ihb-faq-item.ihb-faq-open .ihb-faq-icon svg {
    stroke: #ffffff;
    transform: rotate(45deg);
}

.ihb-faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.ihb-faq-item.ihb-faq-open .ihb-faq-answer {
    display: block;
}

.ihb-faq-answer p {
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 0 12px;
}

.ihb-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ---------- CTA Final ---------- */
.ihb-cta {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ihb-cta::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.ihb-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.ihb-cta-inner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
}

.ihb-cta-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin: 0 0 32px;
}

.ihb-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.ihb-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.ihb-btn-white:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.ihb-cta-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 28px;
}

.ihb-cta-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.ihb-cta-contact-item:hover {
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ihb-szenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ihb-szenario-card:last-child:nth-child(2n+1) {
        grid-column: 1 / -1;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .ihb-prozess-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .ihb-prozess-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .ihb-hero {
        padding: 70px 0 56px;
    }
    .ihb-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ihb-hero-content {
        text-align: center;
    }
    .ihb-berlin-svg {
        max-width: 280px;
    }
    .ihb-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .ihb-berlin-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ihb-szenario-grid {
        grid-template-columns: 1fr;
    }
    .ihb-prozess-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ihb-prozess-steps::before {
        display: none;
    }
    .ihb-related-grid {
        grid-template-columns: 1fr;
    }
    .ihb-cta-contact {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .ihb-szenario-card:last-child {
        grid-column: 1;
    }
}
