/* =============================================
   autoankauf-langenfeld.de – Stylesheet
   Farben: Dunkelblau #1a2e4a | Orange #FF9102
   Design: Zentrierter Hero, Steps-Sektion,
           linke Kartenakzente, Stats-Leiste
   ============================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    color: #333;
    background: #fff;
}

a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
header {
    background: #1a2e4a;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.logo-box img {
    height: 60px;
    width: auto;
    max-width: 240px;
}

.header-tel {
    text-align: center;
    color: #fff;
    flex: 1;
    padding: 0 10px;
}

.header-tel .tel-label {
    font-size: 12px;
    color: #aac4e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-tel a {
    display: block;
    color: #FF9102;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.header-tel a:hover { color: #ffc060; }

nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    border: 2px solid rgba(255, 145, 2, 0.45);
    background: rgba(255, 145, 2, 0.08);
    letter-spacing: 0.3px;
    transition: all 0.22s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

nav ul li a .nav-icon {
    font-size: 15px;
    line-height: 1;
}

nav ul li a:hover,
nav ul li a.aktiv {
    background: #FF9102;
    border-color: #FF9102;
    color: #fff;
    box-shadow: 0 3px 12px rgba(255, 145, 2, 0.45);
    transform: translateY(-1px);
}

/* ===== HERO – ZENTRIERT (anders als Köln) ===== */
.hero {
    background: linear-gradient(160deg, rgba(10, 22, 44, 0.88) 0%, rgba(26, 46, 74, 0.75) 100%),
                url('bilder/autoankauf-gummersbach.jpg') center center / cover no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    text-align: center;
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.hero-inner h1 {
    font-size: clamp(30px, 4.5vw, 54px);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-inner h1 span { color: #FF9102; }

.hero-badge {
    display: inline-block;
    background: rgba(255,145,2,0.2);
    border: 1px solid rgba(255,145,2,0.6);
    color: #FF9102;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-inner p {
    color: #d8e8f8;
    font-size: 18px;
    margin-bottom: 34px;
    line-height: 1.65;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.btn-primary {
    background: #FF9102;
    color: #fff;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background: #e07e00; transform: translateY(-2px); }

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-secondary:hover { background: #fff; color: #1a2e4a; }

/* ===== STATS BAR (statt Trust Bar) ===== */
.stats-bar {
    background: #1a2e4a;
    border-bottom: 3px solid #FF9102;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #FF9102;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #aac4e0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===== SECTION WRAPPER ===== */
.section { padding: 60px 20px; }
.section-dark { background: #1a2e4a; color: #fff; }
.section-light { background: #f4f7fb; }
.section-white { background: #fff; }

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(24px, 3vw, 36px);
    color: #1a2e4a;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title.white { color: #fff; }

.section-sub {
    text-align: center;
    color: #666;
    font-size: 17px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-sub.white { color: #aac4e0; }

/* ===== LEISTUNGEN CARDS – LINKER AKZENT (anders als Köln) ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 5px solid #FF9102;
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: rgba(255,145,2,0.05);
    border-radius: 0 10px 0 80px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}

.card-icon { font-size: 44px; margin-bottom: 14px; }

.card h3 {
    font-size: 20px;
    color: #1a2e4a;
    margin-bottom: 10px;
    font-weight: 700;
}

.card p { color: #555; font-size: 15px; line-height: 1.65; }

.card a.card-link {
    display: inline-block;
    margin-top: 16px;
    color: #FF9102;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.card a.card-link:hover { border-color: #FF9102; }

/* ===== ABLAUF / STEPS (NEU) ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
    position: relative;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
}

.step-item:hover { transform: translateY(-4px); }

.step-number {
    width: 56px;
    height: 56px;
    background: #FF9102;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(255,145,2,0.4);
}

.step-item h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-item p {
    color: #aac4e0;
    font-size: 14px;
    line-height: 1.6;
}

/* ===== FORMULAR ===== */
.form-section {
    background: linear-gradient(135deg, #1a2e4a 0%, #0f1e37 100%);
    padding: 60px 20px;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px;
}

.form-title {
    text-align: center;
    color: #FF9102;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-sub {
    text-align: center;
    color: #aac4e0;
    font-size: 16px;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-grid.triple {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    color: #aac4e0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}

.input-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

.input-wrap textarea ~ .input-icon,
.input-wrap .input-icon.top {
    top: 14px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px 12px 44px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #FF9102;
    background: rgba(255,145,2,0.08);
}

.form-group select option { background: #1a2e4a; color: #fff; }

.form-submit {
    width: 100%;
    padding: 18px;
    background: #FF9102;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 10px;
}

.form-submit:hover { background: #e07e00; transform: translateY(-2px); }

.form-hinweis {
    text-align: center;
    color: #aac4e0;
    font-size: 13px;
    margin-top: 14px;
}

/* ===== VORTEILE / CHECKMARKS ===== */
.vorteile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.vorteil-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid rgba(255,145,2,0.5);
}

.vorteil-item .check {
    color: #FF9102;
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.vorteil-item p {
    color: #d8e8f8;
    font-size: 15px;
    line-height: 1.5;
}

.vorteil-item strong { color: #fff; }

/* ===== ZWEISPALTIG ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.two-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.two-col h2 {
    font-size: 28px;
    color: #1a2e4a;
    margin-bottom: 16px;
}

.two-col p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
    background: linear-gradient(135deg, #FF9102 0%, #e07e00 100%);
    padding: 50px 20px;
    text-align: center;
}

.cta-block h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-block p { color: rgba(255,255,255,0.92); font-size: 18px; margin-bottom: 24px; }

.cta-block .btn-white {
    background: #fff;
    color: #1a2e4a;
    padding: 16px 40px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-block .btn-white:hover {
    background: #1a2e4a;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== STADTTEILE ===== */
.stadtteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.stadtteil-item {
    background: #fff;
    border: 1px solid #d0dce8;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a2e4a;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s;
}

.stadtteil-item:hover {
    background: #FF9102;
    color: #fff;
    border-color: #FF9102;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,145,2,0.3);
}

/* ===== BEWERTUNGEN ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-bottom: 3px solid #FF9102;
}

.review-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center 75%;
}

.review-info {
    padding: 14px;
}

.review-stars { color: #FF9102; font-size: 18px; }
.review-name { font-weight: 700; color: #1a2e4a; font-size: 15px; margin-top: 4px; }
.review-text { color: #555; font-size: 13px; margin-top: 6px; line-height: 1.5; }

/* ===== FLOATING BUTTONS ===== */
.float-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 999;
    transition: transform 0.2s;
}

.float-whatsapp:hover { transform: scale(1.1); }
.float-whatsapp svg { width: 32px; height: 32px; fill: #fff; }

.float-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: #FF9102;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255,145,2,0.5);
    z-index: 999;
    transition: transform 0.2s;
}

.float-phone:hover { transform: scale(1.1); }
.float-phone svg { width: 28px; height: 28px; fill: #fff; }

/* ===== FOOTER ===== */
footer {
    background: #0f1e37;
    color: #aac4e0;
    padding: 40px 20px 20px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }

footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }

footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #aac4e0; font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: #FF9102; }

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a { color: #FF9102; }
.footer-contact a:hover { color: #ffc060; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #6a84a0;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== MELDUNG ===== */
.meldung {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #25a244;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ===== PARTNER STÄDTE ===== */
.partner-staedte {
    max-width: 1100px;
    margin: 20px auto 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
}

.partner-staedte summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aac4e0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    list-style: none;
    user-select: none;
    width: fit-content;
}

.partner-staedte summary::-webkit-details-marker { display: none; }

.partner-staedte summary .ps-icon {
    width: 22px;
    height: 22px;
    background: rgba(255,145,2,0.15);
    border: 1px solid rgba(255,145,2,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF9102;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s;
}

.partner-staedte[open] summary .ps-icon {
    background: #FF9102;
    color: #fff;
    transform: rotate(45deg);
}

.partner-staedte summary:hover { color: #FF9102; }

.partner-staedte .ps-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 4px;
}

.partner-staedte .ps-links a {
    color: #aac4e0;
    font-size: 13px;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.partner-staedte .ps-links a:hover {
    color: #FF9102;
    border-color: #FF9102;
    background: rgba(255,145,2,0.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; gap: 30px; }
    .vorteile-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid.triple { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr 1fr !important; }
    .stadtteile-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    nav ul { gap: 2px; }
    nav ul li a { padding: 6px 10px; font-size: 12px; }
    /* Stats Bar: gleichmäßiges 3-Spalten Grid auf Tablet */
    .stats-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 10px;
        padding: 20px;
    }
    .stat-item { text-align: center; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    header { gap: 10px; }
    .logo-box img { height: 45px; }
    .header-tel { display: none; }
    .hero-inner h1 { font-size: 26px; }
    .btn-group { flex-direction: column; align-items: center; }
    .form-wrapper { padding: 24px 16px; }
    nav { order: 3; width: 100%; }
    nav ul { justify-content: center; }
    .nav-icon { display: none; }
    .stadtteile-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 40px 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    /* Stats Bar auf Handy: sauberes 3+2 Grid */
    .stats-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 8px;
        padding: 18px 14px;
    }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; letter-spacing: 0; }
    /* Letzten 2 Stats zentrieren in der 2. Reihe */
    .stat-item:nth-child(4) { grid-column: 1; }
    .stat-item:nth-child(5) { grid-column: 2; }
    /* Bewertungen: 1 Spalte auf kleinem Handy */
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card img { height: 180px; }
    /* Karten: 1 Spalte auf kleinem Handy */
    .cards-grid { grid-template-columns: 1fr !important; }
}
