/* Notdienst Premium Eco Design */

:root {
    --nd-primary: #051a2e;
    --nd-primary-light: #183b5e;
    --nd-gold: #c5a059;
    --nd-gold-light: #e6c88a;
    --nd-green: #2ecc71;
    --nd-green-dark: #27ae60;
    --nd-red: #d32f2f;
    --nd-red-light: #ffebEE;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Hero Section */
.nd-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
    overflow: hidden;
}

.nd-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.nd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nd-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--nd-primary);
}

.nd-highlight {
    color: var(--nd-gold);
    display: block;
}

.nd-hero-lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Trust Badges - Pill Style */
.nd-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.nd-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nd-primary);
}

.nd-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--nd-green);
}

/* Glass Card */
.nd-hero-visual {
    position: relative;
}

.nd-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.nd-stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nd-stat-row:last-child {
    border-bottom: none;
}

.nd-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--nd-primary), var(--nd-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(10, 37, 64, 0.2);
}

.nd-icon-box svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.nd-stat-text small {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 4px;
}

.nd-stat-text strong {
    font-size: 1.2rem;
    color: var(--nd-primary);
}

/* Pulse Button */
.nd-btn-pulse {
    position: relative;
    overflow: hidden;
    background: var(--nd-gold);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.nd-btn-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
    background: #ad8a4d;
}

/* Service Grid - Modern */
.nd-section {
    padding: 80px 0;
}

.nd-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.nd-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nd-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.2);
}

.nd-card-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.nd-card:hover .nd-card-icon {
    background: var(--nd-gold);
}

.nd-card:hover .nd-card-icon svg {
    fill: white;
}

.nd-card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--nd-primary);
    transition: fill 0.3s ease;
}

.nd-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--nd-primary);
}

.nd-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Emergency Box Redesign */
.nd-emergency-box {
    background: white;
    border-left: 4px solid var(--nd-red);
    padding: 40px;
    border-radius: 0 20px 20px 0;
    box-shadow: var(--shadow-premium);
    margin: 80px 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nd-emergency-content {
    flex: 1;
}

.nd-emergency-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.nd-emergency-title svg {
    width: 40px;
    height: 40px;
    fill: var(--nd-red);
}

.nd-step-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nd-step-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.nd-step-num {
    color: var(--nd-red);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Timeline */
.nd-process {
    text-align: center;
}

.nd-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.nd-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.nd-timeline-step {
    position: relative;
    z-index: 1;
    background: white;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.nd-step-circle {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--nd-gold);
    color: var(--nd-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: 0 0 0 5px white;
    transition: all 0.3s ease;
}

.nd-timeline-step:hover .nd-step-circle {
    background: var(--nd-gold);
    color: white;
    transform: scale(1.1);
}

.nd-step-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.nd-step-info p {
    font-size: 0.9rem;
    color: #777;
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .nd-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nd-hero-content {
        margin-bottom: 40px;
    }

    .nd-badges {
        justify-content: center;
    }

    .nd-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .nd-timeline::before {
        display: none;
    }

    .nd-emergency-box {
        flex-direction: column;
        border-left: none;
        border-top: 4px solid var(--nd-red);
        border-radius: 0 0 20px 20px;
    }
}

@media (max-width: 900px) {

    /* FORCE MOBILE READABILITY FIX */
    .nd-hero {
        background: #ffffff !important;
    }

    .nd-hero::before {
        display: none !important;
    }

    .hero-text-custom,
    .nd-hero-content {
        background: #ffffff !important;
        color: #051a2e !important;
    }

    .hero h1,
    .nd-hero-content h1,
    .nd-hero-content h1 span {
        color: #051a2e !important;
        text-shadow: none !important;
    }

    .hero span,
    .nd-hero-content span {
        color: #051a2e !important;
    }

    .hero p,
    .nd-hero-content p {
        color: #333333 !important;
        text-shadow: none !important;
    }
}
