@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

/* ===== GASINSTALLATIONEN.CSS ===== */
/* Seitenspezifische Styles für gasinstallationen.html – Stirnimann AG */
/* Nutzt dieselben Design-Tokens wie navigation.css / variables.css */

:root {
    --primary-orange: #ff6b35;
    --primary-blue: #1e3a8a;
    --accent-yellow: #fbbf24;

    body {
        font-family: 'Montserrat', sans-serif;
        line-height: 1.6;
        color: var(--text-dark);
        background-color: var(--white);
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    --dark-blue: #0f172a;
    --light-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --red: #dc2626;

    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    --spacing-section: 80px;

    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 40px rgba(0,0,0,0.2);
}

/* ===== HERO ===== */
.hero {
    background:
        linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.5)),
        url('../../images/installationen/Gasstrasse.jpeg') center 45% / cover no-repeat;
    padding: 150px 0 80px 0;
    min-height: 55vh;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(251,191,36,0.5);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ===== SECTION BASICS ===== */
.section {
    padding: var(--spacing-section) 0;
}

.section.alt {
    background: var(--light-gray);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== INTRO / LEAD ===== */
.lead-section {
    padding: 70px 0;
    background: var(--white);
}

.lead-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.lead-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 18px;
}

.lead-text strong {
    color: var(--primary-blue);
}

.lead-facts {
    display: none;
}

.lead-media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.lead-image {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ===== CARD GRID (Leistungen / Anwendungen) ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent-yellow), var(--primary-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(251,191,36,0.3);
}

.info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.info-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.5;
}

.info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

/* ===== APPLICATIONS (image left, text right) ===== */
.app-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.app-media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.app-image {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.app-text {
    text-align: left;
}

.app-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.app-text strong {
    color: var(--primary-blue);
}

.app-line {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 10px 0;
}

@media (max-width: 900px) {
    .app-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== PROCESS STEPS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    counter-reset: step;
}

.process-step {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 34px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.process-step .step-num {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-blue);
    color: var(--accent-yellow);
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.process-step h4 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.why-item {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-yellow);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
}

.why-item h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-item p {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-section p {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 18px rgba(251,191,36,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 26px rgba(251,191,36,0.55);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GALERIE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-item {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    background: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 1.8rem; }
    .section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.6rem; }
}
