/**
 * clean.css — Extracted inline styles from original pages
 * This file replaces all inline style="" attributes used in the original code
 * with clean CSS classes, preserving the exact same visual appearance.
 */

/* === CSS Variables (from service pages) === */
:root {
    --nd-primary: #c5a059;
    --nd-secondary: #b8860b;
    --nd-green: #2e7d32;
}

/* === Header inline styles === */
.top-bar-icon-phone {
    margin-right: 5px;
    vertical-align: middle;
    color: #ff3333;
}

.top-bar-icon-bolt {
    margin-right: 5px;
    vertical-align: middle;
    color: #ffcc00;
}

.top-bar-icon-price {
    margin-right: 5px;
    vertical-align: middle;
    color: #2ecc71;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.logo-brand {
    font-weight: 900;
    color: #051a2e;
    font-size: 1.3rem;
    text-shadow: none;
}

.logo-highlight {
    color: #d32f2f;
    text-shadow: none;
}

.logo-sub {
    font-weight: 900;
    color: #051a2e;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: none;
}

.cta-phone-icon {
    margin-right: 8px;
}

/* === Footer inline styles === */
.footer-tagline {
    margin-top: 15px;
}

.footer-logo {
    margin-top: 20px;
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-location-count {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.footer-all-locations {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 0.95rem;
}

/* === Service Page Section === */
.nd-section {
    background: #fbfbfb;
    padding: 100px 0;
}

.nd-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start;
}

.nd-content-col {
    color: #333;
}

.nd-content-col h2 {
    color: var(--nd-primary);
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nd-content-col .lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #444;
    font-weight: 300;
}

/* === Premium Feature Grid === */
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.premium-feature-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.premium-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: #c5a059;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--nd-primary);
}

.feature-icon svg,
.feature-icon div {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.premium-feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

.premium-feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* === Content Sections (h3, lists, info boxes) === */
.nd-content-col h3 {
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #1a1a1a;
}

.content-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #444;
}

.check-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    color: var(--nd-primary);
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.highlight-info-box {
    background: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: var(--radius-sm);
    border-left: 5px solid #ffcc00;
    margin-bottom: 30px;
}

.ordered-list-custom {
    margin-left: 20px;
}

.ordered-list-custom li {
    margin-bottom: 5px;
}

.phone-link {
    font-weight: bold;
    color: #000;
}

/* === Process Steps (in content) === */
.process-steps {
    background: #f8f9fa;
    padding: 30px;
    border-radius: var(--radius-sm);
    border-left: 5px solid var(--accent-red);
    margin-bottom: 30px;
}

.process-step-item {
    margin-bottom: 15px;
}

.process-step-item:last-child {
    margin-bottom: 0;
}

.process-step-item h4 {
    margin-bottom: 5px;
    color: var(--accent-red);
}

/* === Sidebar === */
.sidebar-benefits-card {
    margin-bottom: 40px;
    border-radius: 20px;
    background: white;
    padding: 35px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.sidebar-benefits-card h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
}

.sidebar-benefits-card .benefits-list {
    display: grid;
    gap: 20px;
}

.sidebar-benefits-card .benefit-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sidebar-benefits-card .checkmark-box {
    width: 24px;
    height: 24px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-benefits-card .checkmark-box span {
    color: var(--nd-green);
    font-weight: bold;
    font-size: 0.9rem;
}

.sidebar-benefits-card .benefit-item>span {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

/* Sidebar Phone CTA */
.sidebar-phone-cta {
    background: linear-gradient(135deg, #c5a059 0%, #b8860b 100%);
    color: #1a1a1a;
    text-align: center;
    border-radius: 28px;
    padding: 45px 30px;
    box-shadow: 0 25px 50px -12px rgba(197, 160, 89, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-phone-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 26, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.sidebar-phone-icon svg {
    width: 30px;
    height: 30px;
    fill: #1a1a1a;
}

.sidebar-phone-cta h3 {
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.sidebar-phone {
    font-weight: 900;
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sidebar-subtext {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 600;
    color: #1a1a1a;
}

.sidebar-call-btn {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    margin-top: 30px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-call-btn:hover {
    background: #000;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* === FAQ Styles === */
.faq-section {
    padding: 60px 20px;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #f8f9fa;
    color: #c5a059;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
    background: #f9f9f9;
    color: #555;
}

/* === Timeline Section === */
.timeline-section {
    background: #f8f9fa;
}

.timeline-desc {
    color: #666;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* === Service Tabs (from inline <style> block) === */
.service-nav-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 0 40px;
}

.service-nav-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 5px 0 15px;
    text-align: left;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.service-nav-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.service-nav-list {
    display: inline-flex;
    gap: 10px;
}

.service-nav-item {
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8f9fa;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.service-nav-item:hover {
    background: #e6f0fa;
    color: #0056b3;
    border-color: #0056b3;
}

.service-nav-item.active {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
    box-shadow: 0 2px 5px rgba(0, 86, 179, 0.3);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    font-size: 1.2rem;
    color: #333;
    user-select: none;
}

.scroll-btn:hover {
    background: #0056b3;
    color: white;
    border-color: #0056b3;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

/* === Homepage: Trust Section === */
.trust-cta-section {
    padding: 60px 20px;
    text-align: center;
}

.trust-cta-section p {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* === CTA Box Premium (from service pages) === */
.cta-box-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cta-box-premium h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: white;
}

.cta-box-premium p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 30px;
    color: white;
}

.cta-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--nd-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

.cta-btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #000;
}

.cta-btn-dark svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* === Icon Card Grid (from notdienst page) === */
.icon-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.icon-card {
    background: var(--white);
    padding: 25px 15px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(10, 37, 64, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.icon-circle svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.icon-circle.alert-icon {
    background: rgba(211, 47, 47, 0.1);
}

/* === Legal Pages === */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-page h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-page p,
.legal-page li {
    color: #555;
    line-height: 1.8;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

.legal-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* === 404 Page === */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light-bg);
    padding: 60px 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.error-page h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-page p {
    color: #666;
    margin-bottom: 25px;
}

/* === Einsatzgebiete Page === */
.einsatzgebiete-section {
    padding: 60px 20px;
}

.location-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.location-tab {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.location-tab:hover {
    color: #0056b3;
    background: #f8f9fa;
}

.location-tab.active {
    color: #0056b3;
    border-bottom: 3px solid #0056b3;
}

.location-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.location-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-heading {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-blue);
}

.location-subtext {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.district-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    color: inherit;
    text-decoration: none;
}

.district-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0056b3;
    color: #0056b3;
}

/* === Hero Home inline styles === */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-align: left;
    width: auto;
    max-width: 100%;
    margin: 0 0 20px 0;
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta-wrapper {
    margin-top: 30px;
}

.hero-img {
    width: 100%;
    height: auto;
}

/* === Leistungen grid === */
.leistungen-grid {
    padding-top: 60px;
}

/* === Quality Section === */
.quality-section {
    padding: 60px 20px;
}

/* === Services subtitle === */
.services-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

/* === Service Card Action === */
.service-card-action {
    margin-top: auto;
    padding-top: 20px;
}

/* === Notdienst: Glass Info Box === */
.glass-info-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 35px;
    border-radius: 24px;
    margin: 50px 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.glass-info-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.glass-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--nd-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.glass-info-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.glass-info-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.glass-info-box p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* === Notdienst: Section Heading === */
.section-heading {
    color: #1a1a1a;
    margin: 60px 0 30px;
    font-size: 1.8rem;
    font-weight: 800;
}

/* === Notdienst: Service List === */
.service-list-clean {
    display: grid;
    gap: 12px;
}

.service-list-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease;
}

.service-list-item .checkmark-box {
    width: 24px;
    height: 24px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.service-list-item .checkmark-box span {
    color: var(--nd-green);
    font-weight: bold;
    font-size: 0.9rem;
}

.service-list-item>span {
    font-weight: 500;
    color: #444;
}

/* === Notdienst: Gold CTA Box === */
.cta-box-gold {
    background: linear-gradient(135deg, #c5a059 0%, #b8860b 100%);
    padding: 50px;
    border-radius: 24px;
    margin-top: 70px;
    text-align: center;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.3);
}

.cta-box-gold-inner {
    position: relative;
    z-index: 1;
}

.cta-box-gold h3 {
    color: #1a1a1a;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.cta-box-gold p {
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    opacity: 0.9;
}

.cta-box-gold .cta-btn-dark {
    background: #1a1a1a;
    color: #e2c691;
    font-size: 1.4rem;
    padding: 18px 45px;
    gap: 12px;
}

/* === Notdienst: FAQ Premium Items === */
.faq-item-premium {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-answer-inner {
    padding: 0 15px 25px;
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* === Notdienst FAQ === */
.notdienst-faq {
    margin-top: 70px;
}

.notdienst-faq .faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.notdienst-faq .faq-question {
    padding: 22px 30px;
    font-size: 1.15rem;
    color: #1a1a1a;
    background: white;
}

.notdienst-faq .faq-answer {
    background: #fcfcfc;
}

/* === Responsive === */
@media (max-width: 992px) {
    .nd-section {
        padding: 60px 0;
    }

    .nd-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 30px;
    }

    .nd-sidebar {
        order: 2;
    }

    .nd-content-col {
        order: 1;
    }

    .nd-content-col h2 {
        font-size: 2rem;
    }

    .premium-feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-box-premium {
        padding: 30px;
    }

    .cta-box-premium h3 {
        font-size: 1.6rem;
    }
}
