/* ============================================================
   Gärtners Imkerei – Honig-Finder & Bestell-Tool
   ============================================================ */

.tool-hero {
    position: relative;
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: calc(110px + clamp(3rem, 7vw, 6rem)) 0 clamp(3rem, 7vw, 6rem);
    overflow: hidden;
    text-align: center;
}
.tool-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(200,146,42,.16) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 90%, rgba(200,146,42,.08) 0%, transparent 50%);
}
.tool-hero .container { position: relative; z-index: 1; }
.tool-hero .hero-badge { margin-bottom: 1.5rem; }
.tool-hero h1 { color: var(--color-white); font-size: var(--text-4xl); font-weight: 700; line-height: 1.12; margin-bottom: 1.6rem; }
.tool-hero h1 em { font-style: italic; color: var(--color-primary); }
.tool-hero p { font-size: var(--text-lg); color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto; line-height: 1.7; font-weight: 300; }

/* Step rail */
.tool-section { background: var(--color-bg); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.tool-section.alt { background: var(--color-bg-alt); }
.tool-narrow { max-width: 920px; margin: 0 auto; }

.step-label {
    display: flex; align-items: center; gap: 14px; margin-bottom: 1.8rem;
}
.step-num {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
    background: var(--color-primary); color: var(--color-white);
    font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg);
    display: flex; align-items: center; justify-content: center;
}
.step-label h2 { font-size: var(--text-2xl); }
.step-label h2 em { font-style: italic; color: var(--color-primary); }
.step-sub { font-size: var(--text-base); color: var(--color-text-muted); margin: -.6rem 0 2.4rem 58px; line-height: 1.6; }

/* ===== FINDER QUIZ ===== */
.finder { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.finder-progress { height: 5px; background: var(--color-bg-warm); }
.finder-progress span { display: block; height: 100%; width: 0; background: var(--color-primary); border-radius: 0 3px 3px 0; transition: width .5s cubic-bezier(.22,1,.36,1); }
.finder-body { padding: clamp(1.8rem, 4vw, 3rem); }

.finder-step { display: none; animation: fadeUp .45s ease both; }
.finder-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.finder-count { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .6rem; }
.finder-q { font-family: var(--font-heading); font-size: var(--text-xl); margin-bottom: 1.8rem; line-height: 1.25; }

.finder-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.finder-option {
    background: var(--color-bg); border: 2px solid var(--color-border);
    border-radius: var(--radius-md); padding: 1.6rem 1.3rem; cursor: pointer;
    text-align: left; transition: all var(--transition-base); font-family: var(--font-body);
    display: flex; flex-direction: column; gap: 6px; min-height: 100%;
}
.finder-option:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.finder-option.selected { border-color: var(--color-primary); background: var(--color-primary-light); }
.finder-option .opt-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.finder-option.selected .opt-icon { background: var(--color-primary); color: var(--color-white); }
.finder-option .opt-title { font-weight: 700; font-size: var(--text-base); color: var(--color-text); }
.finder-option .opt-desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }

.finder-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.finder-back { background: none; border: none; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); cursor: pointer; padding: 8px 4px; transition: color var(--transition-fast); }
.finder-back:hover { color: var(--color-text); }
.finder-back:disabled { opacity: 0; pointer-events: none; }
.finder-hint { font-size: var(--text-sm); color: var(--color-text-light); }

/* Result */
.finder-result { display: none; }
.finder-result.active { display: block; animation: fadeUp .5s ease both; }
.result-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.result-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); margin-bottom: .6rem; }
.result-name { font-size: var(--text-3xl); margin-bottom: .8rem; }
.result-desc { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.4rem; }
.result-traits { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.result-traits span { font-size: var(--text-sm); font-weight: 600; color: var(--color-primary); background: var(--color-primary-light); padding: 6px 14px; border-radius: 100px; }
.result-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.result-restart { background: none; border: none; color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm); cursor: pointer; text-decoration: underline; }
.result-restart:hover { color: var(--color-primary); }

/* ===== ORDER / CART ===== */
.order-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.order-list { display: flex; flex-direction: column; gap: 1rem; }
.order-card {
    display: grid; grid-template-columns: 92px 1fr auto; gap: 1.2rem; align-items: center;
    background: var(--color-card); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 1rem 1.2rem; transition: all var(--transition-base);
}
.order-card.in-cart { border-color: var(--color-primary); box-shadow: var(--shadow-glow); }
.order-card-img { width: 92px; height: 92px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.order-card-img img { width: 100%; height: 100%; object-fit: cover; }
.order-card-info h4 { font-family: var(--font-heading); font-size: var(--text-lg); margin-bottom: 2px; }
.order-card-info .oc-tagline { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.4; margin-bottom: 6px; }
.order-card-info .oc-price { font-family: var(--font-body); font-weight: 700; color: var(--color-primary); font-size: var(--text-base); }
.order-card-info .oc-price small { color: var(--color-text-light); font-weight: 400; font-size: .8em; }

.stepper { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--color-border); border-radius: 100px; overflow: hidden; background: var(--color-bg); }
.stepper button { width: 38px; height: 38px; border: none; background: none; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--color-primary); font-family: var(--font-body); transition: background var(--transition-fast); display: flex; align-items: center; justify-content: center; }
.stepper button:hover { background: var(--color-primary-light); }
.stepper button:disabled { color: var(--color-text-light); cursor: not-allowed; }
.stepper .qty { min-width: 34px; text-align: center; font-weight: 700; font-size: var(--text-base); color: var(--color-text); }

/* Summary */
.order-summary { position: sticky; top: 110px; background: var(--color-bg-dark); color: var(--color-white); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); }
.order-summary h3 { color: var(--color-white); font-size: var(--text-xl); margin-bottom: 1.2rem; }
.summary-lines { display: flex; flex-direction: column; gap: .7rem; min-height: 60px; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary-empty { color: rgba(255,255,255,.45); font-size: var(--text-sm); line-height: 1.6; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); }
.summary-line .sl-name { color: rgba(255,255,255,.85); }
.summary-line .sl-name span { color: var(--color-primary); font-weight: 700; }
.summary-line .sl-price { color: var(--color-white); font-weight: 700; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.summary-total .st-label { font-size: var(--text-base); color: rgba(255,255,255,.7); }
.summary-total .st-value { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: var(--color-primary); }
.summary-note { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.5; margin-top: .8rem; }
.summary-cta { width: 100%; justify-content: center; margin-top: 1.4rem; }

/* ===== ORDER FORM ===== */
.order-form-section { background: var(--color-bg-alt); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.order-form-wrap { max-width: 720px; margin: 0 auto; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: clamp(1.8rem, 4vw, 3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.form-field label .req { color: var(--color-primary); }
.form-field input, .form-field textarea {
    font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text);
    background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
    padding: 13px 16px; transition: all var(--transition-fast); width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.order-readout { background: var(--color-bg-warm); border: 1px dashed var(--color-border); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.order-readout h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: .8rem; }
.order-readout ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.order-readout li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); color: var(--color-text-muted); }
.order-readout li.total { border-top: 1px solid var(--color-border); margin-top: .4rem; padding-top: .6rem; font-weight: 700; color: var(--color-text); font-size: var(--text-base); }
.order-readout .empty { font-size: var(--text-sm); color: var(--color-text-light); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 1.4rem 0; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-primary); flex-shrink: 0; }
.form-submit { width: 100%; justify-content: center; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: var(--text-sm); line-height: 1.5; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(31,138,91,.1); border: 1px solid rgba(31,138,91,.3); color: #1F8A5B; }
.form-status.error { background: rgba(190,60,40,.08); border: 1px solid rgba(190,60,40,.25); color: #B23A2A; }

@media (max-width: 1023px) {
    .order-grid { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .result-grid { grid-template-columns: 1fr; }
    .result-img { max-width: 320px; }
}
@media (max-width: 767px) {
    .finder-options { grid-template-columns: 1fr; }
    .finder-q { font-size: var(--text-lg); }
    .order-card { grid-template-columns: 70px 1fr; grid-template-rows: auto auto; }
    .order-card-img { width: 70px; height: 70px; }
    .order-card .stepper { grid-column: 1 / -1; justify-content: center; margin-top: .4rem; }
    .form-grid { grid-template-columns: 1fr; }
    .step-sub { margin-left: 0; }
}
