/* ===== REQUESTS SECTION ===== */
.requests-section {
    max-width: 60%;
    margin: 0 auto;
    padding: 40px 20px 100px;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.request-headline {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #00d4ff, #7b2ffc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.request-subline {
    text-align: center;
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

/* ===== KACHELN (klein, flexibel) ===== */
.request-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}

.request-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
}

.request-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.request-card.request-card-selected {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.1);
}

.request-card.request-card-selected .request-check-mark {
    opacity: 1;
    transform: scale(1);
}

.request-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.request-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.request-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.request-check-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #0a0a1a;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

/* ===== AUSGEWÄHLTE KACHEL (Übernahme) ===== */
.request-selected-card {
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 50px;
}

.request-selected-card img {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.request-selected-card .request-selected-info {
    flex: 1;
}

.request-selected-card .request-selected-info h4 {
    font-size: 0.95rem;
    margin: 0 0 2px 0;
    color: #fff;
}

.request-selected-card .request-selected-info p {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

.request-selected-placeholder {
    opacity: 0.4;
    font-size: 0.9rem;
}

/* ===== FORMULAR ===== */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.request-form-section {
    background: #000000cf;
    border-radius: 14px;
    padding: 22px 26px;
    border: 1px solid #1a444a;
}

.request-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #00d4ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

/* ===== FORMULAR GRUPPEN ===== */
.request-form-group {
    margin-bottom: 14px;
}

.request-form-group:last-child {
    margin-bottom: 0;
}

.request-form-row {
    display: flex;
    gap: 16px;
}

.request-form-group-half {
    flex: 1;
}

.request-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    opacity: 0.8;
}

.request-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.request-input:focus {
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.05);
}

.request-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.request-textarea {
    resize: vertical;
    min-height: 70px;
}

/* ===== SERVICES GRID ===== */
.request-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.request-service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.request-service-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.request-service-item.request-service-selected {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
}

/* ===== PLACEHOLDER ===== */
.request-service-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    opacity: 0.4;
    padding: 20px;
    font-size: 0.9rem;
}

/* ===== CUSTOM CHECKBOX ===== */
.request-form-group-checkbox {
    margin-bottom: 16px;
}

.request-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    opacity: 0.8;
}

.request-checkbox {
    display: none;
}

.request-checkbox-custom {
    min-width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
}

.request-checkbox:checked+.request-checkbox-custom {
    background: linear-gradient(135deg, #00d4ff, #7b2ffc);
    border-color: #00d4ff;
}

.request-checkbox:checked+.request-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.request-checkbox-text {
    line-height: 1.4;
    text-transform: none;
}

/* ===== BUTTONS ===== */
.request-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.request-btn-submit {
    background: linear-gradient(135deg, #00d4ff, #7b2ffc);
    color: #fff;
    padding: 14px 48px;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
    width: 100%;
    max-width: 360px;
}

.request-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
}

.request-form-submit-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== RESPONSIVE ===== */

/* Tablet */

@media (max-width: 1200px) {}

/* Mobile */

@media (max-width: 700px) {
    .request-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .request-form-row {
        flex-direction: column;
        gap: 0;
    }

    .request-form-section {
        padding: 16px 14px;
    }

    .request-headline {
        font-size: 1.5rem;
    }

    .request-services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .request-btn-submit {
        max-width: 100%;
    }

    .requests-section {
        max-width: unset;
        width: 90%;
        padding: 0;
        margin-top: 60px;
    }

    .request-content {
        max-height: 70vh;
        overflow: auto;
        padding: 0 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .request-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .request-card-title {
        font-size: 0.7rem;
    }

    .request-services-grid {
        grid-template-columns: 1fr;
    }
}