/* style.css - Refined for exact match and original form styling */

:root {
    --primary: #d49e17;
    --primary-color: #d49e17; 
    --primary-hover: #c28d11; /* Slightly darker than new yellow */
    --navy: #162845;
    --navy-blue: #162845; 
    --navy-dark: #0f1c30; /* Slightly darker than new blue */
    --light-gray: #f9fafb;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e2e8f0;
    --border-color: #e5e7eb;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 80px 0; }

/* Navbar Redesign */
.navbar-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: #ffffff !important; /* Force overall white background */
}

.top-bar {
    background: var(--navy);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left { display: flex; gap: 25px; }
.top-left a { color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; opacity: 0.9; transition: opacity 0.2s; }
.top-left i, .top-right i { color: white; width: 14px; }
.top-left a:hover { opacity: 1; }
.top-right { display: flex; align-items: center; gap: 8px; opacity: 0.9; }

.main-nav {
    background: #ffffff !important; /* Force white background */
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    position: relative;
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Group */
.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-box {
    background: var(--navy);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-text { display: flex; flex-direction: column; }
.brand { color: var(--navy); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.tagline { color: #888; font-size: 0.75rem; font-weight: 500; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links li a { 
    color: var(--navy); 
    font-weight: 600; 
    font-size: 0.95rem; 
    text-decoration: none; 
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links li a:hover { color: var(--primary); }
.nav-links li a i { width: 14px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    top: 100%;
    left: 0;
    margin-top: 0; /* Remove physical gap */
    padding-top: 15px; /* Use padding to bridge the distance visual-wise */
    z-index: 1001;
    background-color: transparent; /* Make the container transparent to bridge the gap */
    border: none;
    box-shadow: none;
}

.dropdown-content .scroll-area {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
    padding: 10px 0;
}

.dropdown-content::after {
    content: '';
    position: absolute;
    top: 7px; left: 20px; /* Adjust arrow to sit on the scroll-area */
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.scroll-area {
    max-height: 300px;
    overflow-y: auto;
}

/* Custom Scrollbar */
.scroll-area::-webkit-scrollbar { width: 6px; }
.scroll-area::-webkit-scrollbar-track { background: #f9f9f9; }
.scroll-area::-webkit-scrollbar-thumb { background: #bbb; border-radius: 10px; }
.scroll-area::-webkit-scrollbar-thumb:hover { background: #999; }

.dropdown-content a {
    color: var(--navy);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--primary);
}

.dropdown:hover .dropdown-content { display: block; }

.btn-cta {
    background: var(--primary);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-cta:hover { background: var(--primary-hover); }

/* Hero */
.hero {
    background: var(--navy);
    padding: 180px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span { color: var(--primary); }

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item .val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.stat-item .lab { font-size: 0.85rem; opacity: 0.7; font-weight: 500;}

/* Features Section ("Wir begleiten Sie") */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.2rem; font-weight: 700; color: var(--navy); margin-bottom: 15px; }
.section-title p { color: var(--text-muted); max-width: 700px; margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }

/* Situation Section Redesign (Strategic Grid) */
.situation-section {
    background: #fff;
    padding: 100px 0;
}

.situation-header {
    text-align: left;
    margin-bottom: 60px;
}

.situation-header .tagline {
    display: block;
    color: #d49e17; /* Matches --primary */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.situation-header h2 {
    font-size: 2.8rem;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.situation-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 650px;
    line-height: 1.6;
}

.situation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #f1f5f9;
}

.situation-card {
    padding: 45px 40px;
    background: white;
    border: 1px solid #f1f5f9;
    margin: -0.5px; /* collapsing borders effect */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.situation-card:hover {
    background: #fcfcfc;
    border-color: #e2e8f0;
    z-index: 1;
}

.situation-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--navy);
    border-radius: 4px;
}

.situation-icon i {
    width: 22px;
    height: 22px;
}

.situation-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.situation-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Responsiveness for Situation Grid */
@media (max-width: 1024px) {
    .situation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .situation-grid {
        grid-template-columns: 1fr;
    }
    .situation-header h2 {
        font-size: 2.2rem;
    }
    .situation-card {
        padding: 30px;
    }
}

/* Support Section Redesign (Strategic Flex Grid) */
.support-section {
    background: #fff;
    padding: 100px 0;
}

.support-section .section-title {
    text-align: center;
    margin-bottom: 70px;
}

.support-section .section-title h2 {
    font-size: 2.8rem;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 20px;
}

.support-section .section-title p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    margin-bottom: 80px;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.support-icon-box {
    width: 52px;
    height: 52px;
    background: #fdfaf3; /* Very light beige/gold */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d49e17; /* --primary */
}

.support-icon-box i {
    width: 24px;
    height: 24px;
}

.support-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.support-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Legal Notice Box */
.support-legal-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.support-legal-box i {
    width: 24px;
    height: 24px;
    color: var(--navy);
    flex-shrink: 0;
}

.support-legal-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.support-legal-box strong {
    color: var(--navy);
    font-weight: 700;
}

/* Responsiveness for Support Grid */
@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .support-section .section-title h2 {
        font-size: 2.2rem;
    }
    .support-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .support-legal-box {
        padding: 25px;
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.step-card { position: relative; }
.step-num {
    background: var(--navy);
    color: var(--primary);
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    margin-bottom: 20px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

/* Standorte */
.locations-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.loc-list { list-style: none; }
.loc-list li { display: flex; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; align-items: center; }
.loc-list li i { color: var(--primary); font-size: 0.8rem; }

/* Testimonials */
.testimonial-box {
    background: #f1f5f9;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Original Final Form Styling - As requested "as it is" */
.form-section { background: #f0f2f5; padding: 100px 0; }
.form-wrapper { 
    display: grid; 
    grid-template-columns: 1.55fr 1fr; 
    gap: 30px; 
    align-items: flex-start; 
    width: 100%; 
    max-width: 1150px; 
    margin: 0 auto;
}
.main-container {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    display: block;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

/* Form sidebar new styles */
.bewertung-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bewertung-card {
    border-radius: 12px;
    padding: 35px 30px;
}

.bewertung-card.dark {
    background: var(--navy);
    color: white;
}

.bewertung-card.light {
    background: #fdfaf3;
    border: 1px solid #e5dbca;
    color: var(--navy);
}

.bewertung-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.b-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.b-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.b-icon i { width: 20px; height: 20px; color: white; }

.b-text {
    display: flex;
    flex-direction: column;
}

.b-label { font-size: 0.8rem; color: #94a3b8; margin-bottom: 2px; }
.b-val { font-size: 1.1rem; font-weight: 700; color: white; }
.b-sub { font-size: 0.8rem; color: #94a3b8; margin-top: 2px; }

.b-promises {
    margin-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.b-promises h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.b-promises ul { list-style: none; }
.b-promises li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.b-promises .check {
    color: var(--primary);
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.bewertung-card.light p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.form-area { padding: 40px; }
.progress-container { margin-bottom: 40px; }
.progress-bar { display: flex; justify-content: space-between; position: relative; }
.progress-bar::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--border-color); z-index: 1; }
.step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 60px; }
.step .circle { width: 32px; height: 32px; background: var(--white); border: 2px solid var(--border-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 600; font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.step span { font-size: 11px; margin-top: 8px; text-align: center; color: var(--text-muted); font-weight: 500; }
.step.active .circle { 
    background: var(--navy); 
    border-color: var(--navy); 
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary); 
    color: white; 
}
.step.active span { color: var(--text-dark); font-weight: 600; }
.step.completed .circle { background: var(--primary-color); border-color: var(--primary-color); color: var(--navy-blue); }

.form-step { display: none; animation: fadeIn 0.4s ease-out; }
.form-step.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 30px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.option-card { border: 1px solid var(--border-color); border-radius: 12px; padding: 24px; text-align: center; cursor: pointer; transition: var(--transition); }
.option-card:hover { border-color: var(--primary-color); background-color: rgba(212, 158, 23, 0.05); }
.option-card.selected { border-color: var(--primary-color); background-color: rgba(212, 158, 23, 0.1); box-shadow: 0 0 0 2px var(--primary-color); }
.option-card .icon { font-size: 32px; margin-bottom: 12px; }
.option-card .label { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.option-card .desc { font-size: 12px; color: var(--text-muted); }

.input-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 20px; }
.input-group.full { width: 100%; }
.input-group label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.bold-question { font-weight: 800 !important; color: var(--navy) !important; font-size: 16px !important; margin-bottom: 12px !important; display: block; }
.input-group input, .input-group textarea { padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--light-gray); font-size: 15px; transition: var(--transition); width: 100%; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }

.button-group { display: flex; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
.toggle-btn { padding: 10px 18px; border: 1px solid var(--border-color); background: var(--white); border-radius: 30px; cursor: pointer; font-size: 14px; font-weight: 500; transition: var(--transition); color: var(--text-dark); }
.toggle-btn:hover { border-color: var(--primary-color); background: rgba(212, 158, 23, 0.05); }
.toggle-btn.active { background: var(--white); border-color: var(--primary-color); box-shadow: 0 0 0 2px var(--primary-color); }

.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.checkbox-group label { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.form-navigation { display: flex; justify-content: flex-end; gap: 15px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.nav-btn { padding: 14px 28px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: var(--transition); border: none; }
.nav-btn.back { background: #f1f2f6; color: var(--text-dark); }
.nav-btn.next { background: var(--primary-color); color: var(--navy-blue); }

.sidebar { background: var(--navy-blue); padding: 40px; color: var(--white); display: flex; flex-direction: column; }
.sidebar .contact-card { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.sidebar h3 { font-size: 20px; margin-bottom: 24px; font-weight: 700; }
.contact-item { display: flex; gap: 16px; margin-bottom: 35px; align-items: center; }
.contact-item .icon-box { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 20px; flex-shrink: 0; }
.sidebar .contact-card .contact-item .text { display: flex !important; flex-direction: column !important; gap: 4px !important; align-items: flex-start !important; flex: 1 !important; }
.sidebar .contact-card .contact-item .label,
.contact-item span.label { display: block !important; font-size: 11px !important; color: #a4b0be !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 4px !important; line-height: 1 !important; }
.sidebar .contact-card .contact-item .value,
.contact-item span.value { display: block !important; font-size: 16px !important; font-weight: 600 !important; color: white !important; line-height: 1.3 !important; }
.commitments { margin-top: 32px; }
.commitments h4 { font-size: 14px; color: #a4b0be; margin-bottom: 16px; }
.commitments li { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.commitments .check { color: var(--primary-color); font-weight: 900; }
.reviews-box { background: var(--primary-color); color: var(--navy-blue); padding: 24px; border-radius: 12px; margin-top: auto; }

.f-text { opacity: 0.6; font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 992px) {
    .form-wrapper { grid-template-columns: 1fr; }
    .main-container { border-radius: 12px; }
}

/* Footer Redesign */
.main-footer {
    background: var(--navy);
    color: white;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.logo-group.inverted .logo-box {
    background: white;
    color: var(--navy);
}
.logo-group.inverted .brand {
    color: white;
}

.rasatmi-service {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    margin: 10px 0 0 0;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    opacity: 0.9;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: #8892a0;
    line-height: 1.4;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-links li a:hover {
    opacity: 1;
    color: var(--primary);
}
.footer-links li a i { width: 16px; color: white; }

.hours {
    font-size: 0.85rem;
    color: #8892a0;
    margin-top: 15px;
}

.standorte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.standorte-grid ul { list-style: none; }
.standorte-grid li { margin-bottom: 10px; }
.standorte-grid a { 
    color: white; 
    text-decoration: none; 
    font-size: 0.9rem; 
    opacity: 0.8; 
}
.standorte-grid a:hover { opacity: 1; color: var(--primary); }

/* Footer Bottom */
.footer-bottom {
    background: #0f1c30; /* Darker navy */
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-link a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.whatsapp-link i { color: #d49e17; width: 20px; }

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

.trust-line {
    font-size: 0.85rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.trust-line i { width: 14px; }

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Floating Elements */
.floating-contact-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
}

.fc-whatsapp {
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: relative;
    transition: var(--transition);
    margin-right: -10px;
    margin-bottom: -15px;
    z-index: 2;
}

.fc-whatsapp:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.fc-whatsapp::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #e2c073; /* Gold */
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.fc-whatsapp svg {
    margin-top: 2px;
    margin-left: 2px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
}

.fc-phone {
    background: #112d4e;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
    z-index: 1;
}

.fc-phone:hover {
    transform: translateY(-3px);
    background: #1a3f6c;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: white;
}

.fc-phone i {
    width: 20px;
    height: 20px;
    color: white;
}

/* Leistungen Page Styles */
.subpage .navbar-wrapper {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header {
    background: var(--navy);
    padding: 160px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}

.usp-bar {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0;
}

.usp-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.usp-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 158, 23, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.usp-text {
    display: flex;
    flex-direction: column;
}

.usp-text strong {
    font-size: 1.05rem;
    color: var(--navy);
}

.usp-text span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto;
}

.service-long-card {
    background: white;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 380px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.service-long-card:hover {
    transform: translateY(-5px);
}

.service-info {
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.icon-wrap {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    color: #4b5563;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-wrap i,
.icon-wrap svg {
    width: 28px;
    height: 28px;
}

.service-info .text h3 {
    font-size: 1.45rem;
    margin-bottom: 15px;
    color: var(--navy);
    font-weight: 700;
}

.service-info .text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-includes {
    background: #f8fafc;
    padding: 35px;
    margin: 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.service-includes h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--navy);
    font-weight: 700;
}

.service-includes ul {
    list-style: none;
}

.service-includes li {
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #4b5563;
    line-height: 1.5;
}

.service-includes li i,
.service-includes li svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-includes i {
    width: 16px;
    color: var(--primary);
}

.legal-disclaimer-box {
    background: #f8fafc;
    padding: 30px 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.legal-disclaimer-box i,
.legal-disclaimer-box svg {
    color: var(--primary);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.bottom-cta {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bottom-cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.large-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    font-size: 1.1rem;
    background: var(--primary);
    color: var(--navy);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}


/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
    transition: var(--transition);
}
.mobile-toggle i { width: 28px; height: 28px; }
.mobile-toggle.active { color: var(--primary); transform: rotate(90deg); }

@media (max-width: 992px) {
    section { padding: 60px 0; }
    
    .top-bar { display: none; } /* Hide top bar on mobile for cleaner look */
    
    .navbar-wrapper { padding: 5px 0; }
    
    .mobile-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        padding: 40px;
    }
    
    .nav-links.mobile-active { right: 0; }
    
    .nav-links li { width: 100%; text-align: center; }
    .nav-links li a { font-size: 1.25rem; justify-content: center; }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        background: #f8fafc !important;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .dropdown:hover .dropdown-content { display: none; } /* Disable hover on mobile */
    .dropdown.active .dropdown-content { display: block; }
    
    .nav-content > .btn-cta { display: none; } /* Hide only navbar header CTA on mobile */
    
    /* Hero adjustments */
    .hero { padding: 120px 0 50px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-text h1 { font-size: 2.2rem; line-height: 1.2; }
    .hero-text p { margin: 0 auto 30px; font-size: 1rem; }
    .hero-stats { justify-content: center; gap: 20px; flex-wrap: wrap; }
    .stat-item .val { font-size: 1.5rem; }
    
    /* Grids adjustments */
    .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .locations-grid { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .support-grid { grid-template-columns: 1fr; }
    
    /* Form adjustments */
    .main-container { border-radius: 0; }
    .form-area { padding: 30px 20px; }
    .sidebar { padding: 30px 20px; }
    .step span { display: none; } /* Hide step text on mobile */
    .step .circle { width: 36px; height: 36px; }
    .progress-bar::before { top: 18px; }
    .form-navigation { justify-content: space-between; }
    .nav-btn { flex: 1; padding: 12px 15px; font-size: 14px; }
    
    .footer-content { gap: 30px; }
    .footer-col h4 { margin-bottom: 15px; }
}

@media (max-width: 600px) {
    .hero { padding: 100px 0 40px; }
    .hero-text h1 { font-size: 1.7rem; }
    .hero-text p { font-size: 0.95rem; }
    .features-grid, .steps-grid, .locations-grid { grid-template-columns: 1fr; }
    .option-grid { grid-template-columns: 1fr; }
    .input-row { flex-direction: column; gap: 0; }
    .hero-stats { flex-direction: column; gap: 15px; align-items: center; }
    
    .footer-content { text-align: center; }
    .logo-group { justify-content: center; }
    .footer-links li a { justify-content: center; }
    .standorte-grid { grid-template-columns: 1fr; }
    .whatsapp-btn { width: 55px; height: 55px; bottom: 20px; right: 20px; font-size: 26px; }
    
    .page-header h1 { font-size: 1.8rem; }
    .form-navigation { flex-direction: column-reverse; gap: 10px; }
    .nav-btn { width: 100%; margin: 0; }
}



/* ========================================= */
/* ÜBER UNS PAGE                             */
/* ========================================= */

.ueberuns-mission .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .ueberuns-mission .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ueberuns-mission .mission-grid .mission-text {
        order: 2;
    }
    .ueberuns-mission .mission-grid .mission-image {
        order: 1;
    }
}

@media (max-width: 991px) {
    .ueberuns-cta .container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* Hero Trust Badge */
.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.hero-trust-badge i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hero-trust-badge {
        justify-content: center;
        font-size: 0.85rem;
        margin-top: 15px;
    }
}

/* --- Added Homepage Sections (4 Steps, Partner, Standorte) --- */

/* Support Info Box */
.support-info-box {
    animation: fadeIn 0.8s ease-out;
}

/* Process Section Redesign (Horizontal Steps) */
.process-section {
    background: #fff;
    padding: 100px 0;
}

.process-header {
    text-align: left;
    margin-bottom: 70px;
}

.process-header .tagline {
    display: block;
    color: #d49e17; /* --primary */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.process-header h2 {
    font-size: 2.8rem;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 650px;
    line-height: 1.6;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    padding-top: 20px;
}

/* Connecting line between steps */
.process-grid::before {
    content: "";
    position: absolute;
    top: 42px; /* Aligns with the middle of the step-id-box */
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--primary);
    z-index: 1;
}

.process-item {
    position: relative;
    z-index: 2;
}

.step-id-box {
    display: flex;
    align-items: center;
    background: var(--navy);
    padding: 10px 18px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 25px;
    gap: 12px;
}

.step-id-box i {
    color: #d49e17;
    width: 20px;
    height: 20px;
}

.step-id-box .divider {
    width: 1px;
    height: 20px;
    background: rgba(212, 158, 23, 0.4); /* Subdued gold divider */
}

.step-id-box .number {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.process-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.process-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Icon rotations to match reference */
.process-item:nth-child(1) .step-id-box i { transform: rotate(-15deg); }
.process-item:nth-child(2) .step-id-box i { transform: rotate(-15deg); }
.process-item:nth-child(4) .step-id-box i { transform: rotate(45deg); }

/* Responsiveness for Process Grid */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
    .process-grid::before {
        display: none; /* Hide horizontal line on mobile/tablet */
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .process-header h2 {
        font-size: 2.2rem;
    }
}

/* Partner Section Update */
.partner-section {
    padding: 100px 0;
    background: #fff;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.partner-content .tagline {
    display: block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.partner-content h2 {
    font-size: 2.8rem;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.section-desc {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 40px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}

.benefit-icon i {
    width: 20px;
    height: 20px;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.partner-image-wrapper {
    position: relative;
    border-radius: 12px;
}

.partner-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.promise-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--navy);
    padding: 35px;
    border-radius: 4px;
    color: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 10;
    min-width: 260px;
}

.promise-tag {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.promise-title {
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 800;
}

.gold-text {
    color: var(--primary);
}

@media (max-width: 991px) {
    .partner-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .partner-content {
        text-align: center;
    }
    
    .benefit-item {
        text-align: left;
    }
    
    .promise-box {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
        width: auto;
        min-width: 0;
        padding: 25px;
    }
}


/* Locations Section Redesign */
.locations-section {
    padding: 100px 0;
    background: #fff;
}

.locations-section .section-title.centered {
    text-align: center;
    margin-bottom: 60px;
}

.locations-section .section-title h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.locations-section .section-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

.locations-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.location-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--navy);
    font-size: 0.95rem;
}

.location-card i {
    width: 18px;
    height: 18px;
    color: var(--navy);
}

.location-card.dark {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.location-card.dark i {
    color: var(--primary);
}

.location-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.location-card:not(.dark):hover {
    border-color: var(--primary);
    color: var(--primary);
}

.location-card.dark:hover {
    box-shadow: 0 8px 15px rgba(22, 40, 69, 0.2);
}

/* Responsiveness for Locations Grid */
@media (max-width: 1200px) {
    .locations-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .locations-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .locations-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* LEISTUNGEN PAGE – MOBILE RESPONSIVE          */
/* ============================================ */

/* Tablet: 768px – 992px */
@media (max-width: 992px) {

    /* Page Header */
    .page-header {
        padding: 120px 0 60px;
        text-align: center;
    }
    .page-header h1 {
        font-size: 2.6rem;
    }
    .page-header p {
        font-size: 1.05rem;
    }

    /* USP Bar – wrap to 2 columns */
    .usp-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: start;
    }

    /* Service Stack */
    .service-stack {
        gap: 20px;
        margin: 30px auto;
    }

    /* Service Long Card – switch to column layout */
    .service-long-card {
        grid-template-columns: 1fr;
    }

    .service-info {
        padding: 30px;
    }

    .service-includes {
        border-left: none;
        border-top: none;
        padding: 25px;
        margin: 0 20px 20px;
    }

    /* Legal disclaimer */
    .legal-disclaimer-box {
        padding: 20px 25px;
        flex-direction: column;
        gap: 10px;
    }

    /* Bottom CTA */
    .bottom-cta {
        padding: 70px 20px;
    }
    .bottom-cta h2 {
        font-size: 2rem;
    }
    .bottom-cta p {
        font-size: 1rem;
    }
}

/* Mobile: below 640px */
@media (max-width: 640px) {

    /* Page Header */
    .page-header {
        padding: 110px 0 50px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .page-header p {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    /* USP Bar – single column */
    .usp-bar {
        padding: 25px 0;
    }
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .usp-item {
        gap: 12px;
    }
    .usp-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .usp-text strong {
        font-size: 0.95rem;
    }
    .usp-text span {
        font-size: 0.82rem;
    }

    /* Service Details Section */
    .service-details {
        padding: 40px 0;
    }

    /* Service Stack */
    .service-stack {
        max-width: 100%;
        margin: 20px auto;
        gap: 18px;
    }

    /* Service Long Card */
    .service-long-card {
        border-radius: 10px;
    }
    .service-long-card:hover {
        transform: none; /* Disable hover lift on mobile */
    }

    /* Service Info */
    .service-info {
        padding: 24px 20px;
        flex-direction: column;
        gap: 16px;
    }
    .icon-wrap {
        width: 46px;
        height: 46px;
        border-radius: 10px;
    }
    .service-info .text h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .service-info .text p {
        font-size: 0.9rem;
    }

    /* Service Includes */
    .service-includes {
        padding: 20px;
        margin: 0 15px 15px;
    }
    .service-includes h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .service-includes li {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }

    /* Legal Disclaimer */
    .legal-disclaimer-box {
        padding: 18px 20px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .legal-disclaimer-box i {
        width: 18px;
    }

    /* Bottom CTA */
    .bottom-cta {
        padding: 60px 20px;
    }
    .bottom-cta h2 {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    .bottom-cta p {
        font-size: 0.92rem;
        margin-bottom: 28px;
    }
    .large-cta {
        font-size: 0.95rem;
        padding: 13px 24px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Small phones: below 400px */
@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    .service-info {
        padding: 18px 15px;
    }
    .service-includes {
        padding: 16px 15px;
    }
    .bottom-cta h2 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* ÜBER UNS PAGE – STYLES & RESPONSIVE          */
/* ============================================ */

.ueberuns-hero {
    background: linear-gradient(135deg, rgba(20,33,61,0.95) 0%, rgba(20,33,61,0.85) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    padding: 140px 0 100px;
    text-align: center;
    color: white;
}

.ueberuns-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.ueberuns-hero .subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats-row {
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 60px 0;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-item .val {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.stat-item .lab {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.company-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.anspruch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cta-content-ueberuns {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Responsiveness for Über Uns Overhaul */
@media (max-width: 992px) {
    .ueberuns-hero { padding: 120px 0 80px; }
    .ueberuns-hero h1 { font-size: 2.8rem; }
    
    .mission-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .mission-text .accent-line { margin: 0 auto 30px; }
    .mission-image { position: relative; max-width: 500px; margin: 0 auto; }
    .mission-badge { right: -15px; bottom: 20px; transform: scale(0.9); }
    
    .cta-content-ueberuns { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .cta-content-ueberuns .accent-line { margin: 0 auto 30px; }
    .cta-image { max-width: 450px; margin: 0 auto; order: 1; }
    .cta-text { order: 2; }
    
    .details-grid { grid-template-columns: 1fr; gap: 40px; }
    .ueberuns-details { padding: 70px 0; }
}

@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
    .system-grid { grid-template-columns: 1fr; }
    .anspruch-grid { grid-template-columns: 1fr; }
    
    .hero-stats { 
        flex-direction: column; 
        gap: 25px; 
        text-align: center;
        border: none;
        padding-top: 0;
    }
    .stat-item { min-width: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
    .stat-item:last-child { border-bottom: none; }
    
    .company-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .ueberuns-hero { padding: 100px 0 60px; }
    .ueberuns-hero h1 { font-size: 2.1rem; line-height: 1.2; word-wrap: break-word; }
    .ueberuns-hero .subtitle { font-size: 1.05rem; }
    
    .mission-text h2 { font-size: 1.75rem; }
    .mission-badge { 
        position: static; 
        margin: 20px auto 0; 
        transform: none; 
        width: fit-content;
    }
    
    .detail-block h3 { font-size: 1.3rem; }
    .system-row-item { padding: 15px; }
    .anspruch-tag { width: 100%; text-align: center; }
}

/* ============================================ */
/* BLOG PAGES – STYLES & RESPONSIVE             */
/* ============================================ */

.blog-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: #f8fafc;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.blog-hero .subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.6;
}

#blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.blog-detail-view {
    padding-top: 140px;
    padding-bottom: 80px;
}

.blog-detail-container {
    max-width: 860px;
    margin: 0 auto;
}

.blog-article-header {
    margin-bottom: 40px;
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    transition: transform 0.2s;
}

.back-link:hover {
    transform: translateX(-5px);
}

.post-date {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.post-title h1 {
    font-size: 3rem;
    margin: 15px 0 30px;
    line-height: 1.2;
    color: var(--navy);
}

.post-main-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.post-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-cta-box {
    background: #f8fafc;
    padding: 50px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    margin-top: 60px;
}

.blog-cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.blog-cta-box p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* Responsiveness for Blog */
@media (max-width: 992px) {
    .blog-hero h1 { font-size: 2.5rem; }
    .post-title h1 { font-size: 2.4rem; }
    .blog-detail-view { padding-top: 100px; }
}

@media (max-width: 768px) {
    #blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .blog-hero { padding: 100px 0 50px; }
    .blog-hero h1 { font-size: 2rem; }
    .post-title h1 { font-size: 1.9rem; }
    .blog-cta-box { padding: 35px 25px; }
    .blog-cta-box h3 { font-size: 1.5rem; }
}

/* ============================================ */
/* LEGAL PAGES (AGB, IMPRESSUM, ETC.)           */
/* ============================================ */

.legal-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2d52 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.legal-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.legal-body {
    padding: 80px 0;
    background: #fff;
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--navy);
    font-weight: 700;
    margin: 50px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 600;
    margin: 35px 0 15px;
}

.legal-content p {
    color: #4a5568;
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
    color: #4a5568;
    line-height: 1.9;
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-info-box {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
}

.legal-info-box strong {
    color: var(--navy);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.legal-warning-box {
    background: #fff8f0;
    border-left: 4px solid #e07a00;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
}

.legal-warning-box strong {
    color: #e07a00;
    display: block;
    margin-bottom: 8px;
}

.legal-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 35px;
    margin-bottom: 50px;
}

.legal-toc h3 {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-toc ol {
    padding-left: 20px;
    margin: 0;
}

.legal-toc li a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.legal-toc li a:hover {
    color: var(--primary);
}

/* Responsiveness for Legal Pages */
@media (max-width: 992px) {
    .legal-hero h1 { font-size: 2.6rem; }
    .legal-body { padding: 60px 0; }
}

@media (max-width: 640px) {
    .legal-hero { padding: 100px 0 50px; }
    .legal-hero h1 { font-size: 2rem; }
    .legal-hero p { font-size: 1rem; }
    
    .legal-content h2 { font-size: 1.5rem; }
    .legal-content h3 { font-size: 1.2rem; }
    .legal-info-box, .legal-warning-box { padding: 20px; }
    .legal-toc { padding: 25px 20px; }
}

/* ============================================ */
/* RATGEBER (BLOG) PAGE – RECREATION            */
/* ============================================ */

.ratgeber-hero {
    background: var(--navy);
    padding: 160px 0 60px;
    text-align: center;
    color: white;
}

.ratgeber-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.ratgeber-hero p.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-wrap {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-wrap input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-wrap i, .search-wrap svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Category Filters */
.filter-section {
    padding: 40px 0 20px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.filter-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid #e5e7eb;
    background: white;
    font-weight: 500;
    color: #4b5563;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.pill-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pill-btn.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

/* Articles Grid */
.articles-intro {
    padding: 30px 0 10px;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0 80px;
}

.article-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 30px;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-tag-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
}

.card-tag i {
    width: 12px;
    height: 12px;
}

.article-card h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-card .excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.lesezeit {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lesezeit i {
    width: 14px;
    height: 14px;
}

.cta-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.article-card:hover .cta-link {
    color: var(--primary);
}

/* Noch Fragen? Section */
.noch-fragen-section {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.noch-fragen-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.noch-fragen-section p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 35px;
}

.btn-assessment {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--navy);
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.btn-assessment:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ratgeber-hero { padding: 120px 0 40px; }
    .ratgeber-hero h1 { font-size: 2rem; }
    .ratgeber-hero p.subtitle { font-size: 1.05rem; margin-bottom: 25px; }
    .articles-intro { text-align: center; }
    .articles-grid { grid-template-columns: 1fr; gap: 15px; padding-bottom: 50px; }
    .noch-fragen-section h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .article-card { padding: 20px; }
    .article-card h3 { font-size: 1.25rem; }
    .brand { font-size: 1.2rem; }
    .tagline { font-size: 0.65rem; }
}

@media (max-width: 350px) {
    .brand { font-size: 1.05rem; }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.testimonials-section .section-title {
    margin-bottom: 50px;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.testimonials-section p.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.testimonial-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonial-slider {
    position: relative;
    height: auto;
    min-height: 320px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-card {
    background: #fbfbfb;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    width: 100%;
}

.quote-icon {
    font-size: 40px;
    color: #e5e7eb;
    margin-bottom: 15px;
    line-height: 1;
}

.stars {
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.stars i, .stars svg {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author {
    font-weight: 800;
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.slider-btn:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.slider-btn i, .slider-btn svg {
    width: 24px;
    height: 24px;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

@media (max-width: 768px) {
    .testimonial-container { padding: 0 10px; }
    .testimonial-card { padding: 40px 30px; }
    .testimonial-text { font-size: 1.1rem; }
    .slider-btn { 
        width: 40px; 
        height: 40px;
        top: auto;
        bottom: -60px;
        transform: none;
    }
    .prev-btn { left: 30%; }
    .next-btn { right: 30%; }
    .testimonials-section { padding-bottom: 120px; }
}
