/* ═══════════════════════════════════════════════════════
   INMICON – Page-Specific Styles
   ═══════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────
   HERO (Landing Page)
   ──────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px var(--space) 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--clr-accent-glow) 0%, transparent 70%);
    filter: blur(100px);
    animation: pulse 8s ease-in-out infinite alternate;
}

.hero-content {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--clr-accent-dim);
    border: 1px solid rgba(0, 201, 167, 0.2);
    color: var(--clr-accent);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--clr-accent);
    border-radius: 50%;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--clr-heading);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease-out 0.1s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--clr-accent);
}

.hero-text {
    max-width: 640px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

/* ────────────────────────────────────────────────────
   VALUES BAR
   ──────────────────────────────────────────────────── */
.values-bar {
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: clamp(40px, 6vw, 70px) var(--space);
}

.values-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--clr-heading);
    margin-bottom: 0.4rem;
}

.value-item p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

.value-item .val-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ────────────────────────────────────────────────────
   LEISTUNGEN SECTION (Landing)
   ──────────────────────────────────────────────────── */
#leistungen {
    background: var(--clr-surface);
}

/* ────────────────────────────────────────────────────
   PROJEKTE SECTION (Landing)
   ──────────────────────────────────────────────────── */
#projekte .branchen-text {
    color: var(--clr-text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* ────────────────────────────────────────────────────
   KONTAKT SECTION
   ──────────────────────────────────────────────────── */
#kontakt {
    background: var(--clr-surface);
}

/* ────────────────────────────────────────────────────
   PAGE HERO (Subpages)
   ──────────────────────────────────────────────────── */
.page-hero {
    padding: 140px var(--space) 60px;
    background: var(--clr-bg);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--clr-accent-glow) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.3;
}

.page-hero .section-inner {
    position: relative;
    z-index: 1;
}

/* ────────────────────────────────────────────────────
   WHY INMICON (Landing)
   ──────────────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.why-card {
    padding: 2rem;
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s;
}

.why-card:hover {
    border-color: rgba(0, 201, 167, 0.3);
}

.why-card .why-icon {
    width: 48px;
    height: 48px;
    background: var(--clr-accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.why-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--clr-heading);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: var(--clr-text-muted);
    font-size: 0.925rem;
    line-height: 1.7;
}

/* ────────────────────────────────────────────────────
   PROCESS STEPS (Landing)
   ──────────────────────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    text-align: center;
    counter-increment: step;
}

.process-step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--clr-heading);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ────────────────────────────────────────────────────
   CASE STUDY CARDS (Projekte)
   ──────────────────────────────────────────────────── */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.case-card {
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.case-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 201, 167, 0.3);
}

.case-card .case-tag {
    display: inline-block;
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.case-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--clr-heading);
    margin-bottom: 1rem;
}

.case-card dl {
    display: grid;
    gap: 0.75rem;
}

.case-card dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-accent);
    margin-bottom: 0.1rem;
}

.case-card dd {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ────────────────────────────────────────────────────
   RESPONSIVE (Page-Specific)
   ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px var(--space) 60px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px var(--space) 40px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}