/**
 * Drone Pricing Calculator – Styles
 * Gescope auf .dq-scope, um Konflikte mit Themes/Elementor zu vermeiden.
 */

/* Grundstruktur & 2-Spalten-Layout */
.dq-scope .dq-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.dq-scope .dq-inputs {
    flex: 2;
    min-width: 0;
}
.dq-scope .dq-summary {
    flex: 1;
    min-width: 0;
}
.dq-scope .sticky-box {
    position: sticky;
    top: 50px;
}

/* Responsive: Untereinander auf Mobilgeräten */
@media (max-width: 768px) {
    .dq-scope .dq-wrapper {
        flex-direction: column;
        gap: 0;
    }
}

/* Allgemeine Stile */
.dq-scope #drone-quote { font-family: system-ui, sans-serif; }
.dq-scope #drone-quote .box {
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding: 20px;
    margin-bottom: 20px;
}
.dq-scope #drone-quote h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}
.dq-scope #drone-quote .h6 {
    font-weight:600;
    margin-bottom:12px;
    font-size: 16px;
}
.dq-scope #drone-quote label {
    font-size: 14px;
    font-weight: 500;
}
.dq-scope #drone-quote .row {
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}
.dq-scope #drone-quote .flex-1 { flex:1; min-width:150px; }
.dq-scope #drone-quote .fld { display:flex; flex-direction:column; gap:6px; }

/* Aggressives Button-Styling gegen Themes/Elementor */
.dq-scope #drone-quote button {
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s !important;
}
.dq-scope #drone-quote .seg {
    all: unset !important;
    font-family: system-ui, sans-serif !important;
    box-sizing: border-box !important;
    border: 2px solid #111827 !important;
    border-radius: 9999px !important;
    padding: 9px 14px !important;
    background: #fff !important;
    color: #111827 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.dq-scope #drone-quote .seg:hover {
    background: #f3f4f6 !important;
}
.dq-scope #drone-quote .seg.seg-active {
    background: #111827 !important;
    color: #fff !important;
}
.dq-scope #drone-quote .ico { font-size: 16px; }

/* Input-Felder & Add-ons Layout */
.dq-scope #drone-quote input[type="text"],
.dq-scope #drone-quote input[type="tel"],
.dq-scope #drone-quote input[type="email"],
.dq-scope #drone-quote input[type="date"],
.dq-scope #drone-quote input[type="number"] {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    font-size: 14px;
    width: 100%;
}
.dq-scope #drone-quote input:focus {
    outline: 2px solid #3b82f6;
    border-color: #3b82f6;
    background: #fff;
}
.dq-scope #drone-quote .ck {
    display: block;
    margin-bottom: 0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dq-scope #drone-quote .addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px 25px;
    align-items: center;
}
.dq-scope #drone-quote .addon-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dq-scope #drone-quote .addon-input-group input { max-width: 80px; }

/* Preis & CTA */
.dq-scope #drone-quote .btn {
    width: 100%;
    text-align:center;
    padding: 14px 20px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}
.dq-scope #drone-quote .btn:hover { background: #374151; }
.dq-scope #drone-quote .total {
    font-size: 2.5rem;
    font-weight: 800;
    color: #16a34a;
    transition: transform 0.2s;
    line-height: 1.2;
}
.dq-scope #drone-quote .breakdown {
    color: #374151;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}
.dq-scope #drone-quote .hint {
    color: #6b7080;
    font-size: 13px;
    margin-top: 6px;
}
.dq-scope #drone-quote .pill {
    display: inline-block;
    background: #eef2ff;
    color: #374151;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 12px;
    margin-left: 6px;
}

/* Tooltips */
.dq-scope #drone-quote .tip {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:#e5e7eb;
    color:#374151;
    cursor:pointer;
    font-size:12px;
    font-weight: 700;
    position:relative;
}
.dq-scope #drone-quote .tip:after {
    content:attr(data-tip);
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:130%;
    background:#111827;
    color:#fff;
    padding:8px 12px;
    border-radius:8px;
    font-size:12px;
    line-height:1.4;
    display:none;
    z-index:10;
    width:max-content;
    max-width:240px;
    text-align: center;
}
.dq-scope #drone-quote .tip:hover:after { display:block; }

/* Preis-Zusatz (Netto/Brutto) */
.dq-scope #drone-quote .total .price-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    vertical-align: middle;
    margin-left: 5px;
}
