
    /* ── Wunschfarbe-Seite (01.06.2026, Wunsch Bulut): Kopfleiste (Logo/Menü/Lieferzeit)
       verhält sich GENAU wie auf der Startseite — bleibt beim Scrollen oben fixiert.
       EINZIGER seitenspezifischer Eingriff: die Hero-Kachel darf nicht kleben.

       Hintergrund: Das Theme hat in style.css eine Pauschal-Regel
       `header { position: sticky; top: 0 }`. Unsere Hero-Box ist technisch ein
       <header>-Element und wurde dadurch fälschlich sticky → blieb beim Scrollen
       kleben. Wir zwingen NUR den Hero auf static, die echte Kopfleiste bleibt sticky. */
    body.page-id-39247 .ehd-wf-hero,
    .ehd-wf .ehd-wf-hero {
        position: static !important;
        top: auto !important;
        z-index: auto !important;
    }
    .ehd-wf { max-width: 880px; margin: 0 auto; padding: 20px; font-family: inherit; color: #1a1a1a; }
    .ehd-wf-hero {
        text-align: center;
        padding: 30px 24px;
        margin: 0 0 26px 0;
        background: linear-gradient(135deg, var(--wp--preset--color--custom-weinrot-1, #632c3b), var(--wp--preset--color--custom-dunkelbraun-1, #2a0e12));
        color: #fff;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(42,14,18,0.18);
        transition: border-radius .15s;
    }
    /* Pin/Sticky komplett deaktiviert (01.06.2026). Selbst falls irgendein
       (z.B. im Browser gecachtes) Alt-Skript noch die Klasse .is-pinned setzt,
       darf der Hero NIE mehr fixiert werden — wir erzwingen position:static. */
    .ehd-wf-hero.is-pinned {
        position: static !important;
        z-index: auto !important;
        transform: none !important;
    }
    body.ehd-wf-body-pinned .site-header,
    body.ehd-wf-body-pinned .wp-block-template-part.site-header { visibility: visible !important; }
    .ehd-wf-hero-inner { max-width: 760px; margin: 0 auto; }
    .ehd-wf-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 6px; color: #fff; line-height: 1.2; }
    .ehd-wf-hero p { opacity: .88; font-size: 0.95rem; margin: 0 auto; line-height: 1.5; max-width: 640px; }
    .ehd-wf-badge { display: inline-block; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); padding: 5px 14px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
    .ehd-wf-hero-spacer { display: none; }
    .ehd-wf-hero .ehd-wf-hero-promise {
        display: inline-flex;
        align-items: flex-start;
        gap: 9px;
        margin: 14px auto 0;
        padding: 10px 16px;
        max-width: 640px;
        background: rgba(255,255,255,0.13);
        border: 1px solid rgba(255,255,255,0.22);
        border-radius: 10px;
        text-align: left;
        font-size: 0.86rem;
        line-height: 1.45;
        color: rgba(255,255,255,0.96);
    }
    .ehd-wf-hero .ehd-wf-promise-icon {
        flex-shrink: 0;
        width: 22px; height: 22px;
        border-radius: 50%;
        background: #fff;
        color: var(--wp--preset--color--custom-weinrot-1, #632c3b);
        font-weight: 800;
        font-size: 13px;
        display: inline-flex; align-items: center; justify-content: center;
        margin-top: 1px;
    }
    .ehd-wf-hero.is-pinned .ehd-wf-hero-promise { display: none !important; }
    @media (max-width: 600px) {
        .ehd-wf-hero { padding: 22px 18px; }
        .ehd-wf-hero .ehd-wf-hero-promise { font-size: 0.8rem; padding: 9px 12px; }
    }
    .ehd-wf-step { margin: 20px 0 14px; }
    .ehd-wf-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; color: var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-label span { font-weight: 400; font-size: 0.82rem; color: #888; }
    .ehd-wf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .ehd-wf-chip { padding: 8px 14px; border: 1.5px solid rgba(99,44,59,0.18); background: #fff; border-radius: 50px; font-size: 0.86rem; cursor: pointer; font-family: inherit; transition: all .15s; color: #333; }
    .ehd-wf-chip:hover { border-color: var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-chip.is-active { background: var(--wp--preset--color--custom-weinrot-1, #632c3b); color: #fff; border-color: var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-required { color: #c0392b; font-weight: 700; margin-left: 2px; }
    .ehd-wf-step.is-missing > .ehd-wf-chips,
    .ehd-wf-step.is-missing .ehd-wf-upload { outline: 2px solid #c0392b; outline-offset: 4px; border-radius: 8px; }
    .ehd-wf-step.is-missing > .ehd-wf-label { color: #c0392b; }
    .ehd-wf-input, .ehd-wf-textarea { width: 100%; padding: 10px 14px; border: 1.5px solid rgba(99,44,59,0.18); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: #fff; box-sizing: border-box; }
    .ehd-wf-input:focus, .ehd-wf-textarea:focus { outline: none; border-color: var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-textarea { resize: vertical; min-height: 80px; }
    .ehd-wf-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    .ehd-wf-upload-btn { padding: 10px 16px; background: #fff; border: 1.5px dashed var(--wp--preset--color--custom-weinrot-1, #632c3b); color: var(--wp--preset--color--custom-weinrot-1, #632c3b); border-radius: 8px; font-size: 0.9rem; cursor: pointer; font-family: inherit; display: inline-flex; gap: 6px; align-items: center; }
    .ehd-wf-upload-btn:hover { background: rgba(99,44,59,0.04); }
    .ehd-wf-upload-hint { color: #999; font-size: 0.78rem; }
    .ehd-wf-foto-tipp { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #faf7f2; border: 1px solid #efe6d6; color: #3b2a2e; font-size: 0.86rem; line-height: 1.5; }
    .ehd-wf-foto-tipp strong { color: #7a1f2b; }
    .ehd-wf-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .ehd-wf-photo { position: relative; width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: #eee; }
    .ehd-wf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ehd-wf-photo-remove { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,0.7); color: #fff; border: none; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; line-height: 1; }
    .ehd-wf-photo-loading { position: absolute; inset: 0; background: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: #555; }
    .ehd-wf-price-card { margin: 24px 0; padding: 18px 22px; background: var(--wp--preset--color--custom-hellbeige, #fdf9f6); border-left: 4px solid var(--wp--preset--color--custom-weinrot-1, #632c3b); border-radius: 8px; }
    .ehd-wf-price-head { font-weight: 700; color: var(--wp--preset--color--custom-weinrot-1, #632c3b); margin-bottom: 10px; font-size: 1rem; }
    .ehd-wf-price-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 4px 0; color: #333; }
    .ehd-wf-price-line.is-subtotal, .ehd-wf-price-line.is-total { border-top: 1px solid rgba(99,44,59,0.2); padding-top: 8px; margin-top: 4px; font-weight: 600; }
    .ehd-wf-price-line.is-total { font-size: 1.15rem; color: var(--wp--preset--color--custom-weinrot-1, #632c3b); font-weight: 800; }
    .ehd-wf-price-line.is-aufpreis { color: #888; font-style: italic; }
    .ehd-wf-price-loading { color: #888; font-size: 0.85rem; text-align: center; padding: 6px; }
    .ehd-wf-contact { margin: 20px 0; }
    .ehd-wf-row { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
    .ehd-wf-row > * { flex: 1 1 200px; }
    .ehd-wf-consent { margin: 16px 0; font-size: 0.88rem; }
    .ehd-wf-consent label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
    .ehd-wf-consent input { margin-top: 3px; }
    .ehd-wf-consent a { color: var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
    .ehd-wf-btn { flex: 1 1 180px; padding: 14px 20px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .15s; }
    .ehd-wf-btn-primary { background: var(--wp--preset--color--custom-weinrot-1, #632c3b); color: #fff; }
    .ehd-wf-btn-primary:hover { filter: brightness(1.1); }
    .ehd-wf-btn-ghost { background: #fff; color: var(--wp--preset--color--custom-weinrot-1, #632c3b); border: 1.5px solid var(--wp--preset--color--custom-weinrot-1, #632c3b); }
    .ehd-wf-btn-ghost:hover { background: rgba(99,44,59,0.06); }
    .ehd-wf-btn[disabled] { opacity: .55; cursor: not-allowed; filter: grayscale(50%); }
    .ehd-wf-actions-hint { text-align: center; margin-top: 10px; font-size: 0.78rem; color: #888; font-style: italic; }
    [data-step="methode"], [data-step="straehne"], [data-step="breite"] { transition: opacity .15s; }

    /* ── Fixierte Preisleiste (wie die Sticky-Bar auf den Produktseiten) ───────── */
    .ehd-wf-sticky{
        position:fixed; bottom:0; left:0; right:0; z-index:9990;
        /* Das Theme gibt Kindern im Inhaltsfluss einen Abstand mit (block gap). Bei einem
           fixierten Element schiebt genau der die Leiste 90 px über den unteren Rand —
           am Handy deutlich sichtbar. Deshalb hier hart auf 0. */
        margin:0 !important;
        background:linear-gradient(180deg,#ffffff 0%,#faf3e3 100%);
        border-top:1px solid #c9ad75;
        box-shadow:0 -6px 28px rgba(122,90,28,.18), inset 0 1px 0 rgba(255,255,255,.6);
        padding:10px 18px; display:flex; align-items:center; gap:14px;
    }
    .ehd-wf-sticky-price{ flex:1; min-width:0; display:flex; flex-direction:column; }
    .ehd-wf-sticky-label{
        font-size:10px; color:#7a5a1c; font-weight:700;
        text-transform:uppercase; letter-spacing:2px;
    }
    .ehd-wf-sticky-val{
        font-size:24px; font-weight:700; line-height:1.15; letter-spacing:-.3px; color:#28200f;
        background:linear-gradient(135deg,#d4ab5a 0%,#a07728 35%,#7a5a1c 70%,#a07728 100%);
        -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    }
    .ehd-wf-sticky-hint{
        font-size:10.5px; color:#5a4628; margin-top:1px; letter-spacing:.2px;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    }
    /* Auswahl-Chips in der Leiste */
    .ehd-wf-sticky-chips{
        display:flex; gap:6px; flex:1 1 auto; min-width:0;
        overflow-x:auto; overflow-y:hidden;
        scrollbar-width:none; -ms-overflow-style:none;
        -webkit-overflow-scrolling:touch;
    }
    .ehd-wf-sticky-chips::-webkit-scrollbar{ display:none }
    .ehd-wf-sticky-chips:empty{ display:none }
    .ehd-wf-sticky-chip{
        flex:0 0 auto; white-space:nowrap;
        font-size:11px; font-weight:700; color:#3a2c12; letter-spacing:.1px;
        background:linear-gradient(135deg,#f8ecd2,#ecd9ab);
        border:1px solid #d9c08a; border-radius:99px; padding:5px 10px;
    }
    .ehd-wf-sticky-btn{
        background:linear-gradient(135deg,#d4ab5a 0%,#a07728 35%,#7a5a1c 70%,#a07728 100%);
        color:#fff !important; border:0; padding:13px 26px; border-radius:99px;
        font-size:13px; font-weight:700; letter-spacing:.8px; text-transform:uppercase;
        cursor:pointer; white-space:nowrap; font-family:inherit;
        box-shadow:0 4px 16px rgba(160,119,40,.4), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.15);
        text-shadow:0 1px 1px rgba(0,0,0,.2);
        transition:transform .15s, box-shadow .15s, opacity .15s;
    }
    .ehd-wf-sticky-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(160,119,40,.5), inset 0 1px 0 rgba(255,255,255,.3); }
    .ehd-wf-sticky-btn:active{ transform:translateY(0); }
    .ehd-wf-sticky-btn.is-off{ opacity:.55; filter:grayscale(.4); box-shadow:none; }
    .ehd-wf-sticky-btn.is-off:hover{ transform:none; }
    /* Platz unten, damit die Leiste nichts verdeckt */
    body.ehd-wf-has-sticky{ padding-bottom:92px !important; }
    /* Chat-Knopf und Warenkorb-Blase über die Leiste heben. Die Höhe kommt per
       --ehd-wf-barh aus dem Skript, weil die Leiste auf Tablet und Handy um die
       Chip-Zeile wächst — eine feste Zahl würde dort wieder überlappen. */
    body.ehd-wf-has-sticky #ehd-cc-launch{ bottom:calc(var(--ehd-wf-barh, 92px) + 14px) !important; }
    body.ehd-wf-has-sticky footer .wp-block-woocommerce-mini-cart,
    body.ehd-wf-has-sticky footer .wc-block-mini-cart{ bottom:calc(var(--ehd-wf-barh, 92px) + 14px) !important; }
    /* Tablet und Handy: die Chips bekommen eine eigene Zeile ÜBER Preis und Knopf,
       sonst bleibt neben dem Preis kein lesbarer Platz. */
    @media (max-width:900px){
        .ehd-wf-sticky{ flex-wrap:wrap; row-gap:8px; }
        .ehd-wf-sticky-chips{ order:-1; flex:1 0 100%; }
    }
    @media (max-width:600px){
        .ehd-wf-sticky{ padding:9px 12px; gap:10px; }
        .ehd-wf-sticky-chip{ font-size:10.5px; padding:4px 9px; }
        .ehd-wf-sticky-val{ font-size:20px; }
        .ehd-wf-sticky-btn{ padding:12px 18px; font-size:12px; letter-spacing:.5px; }
        body.ehd-wf-has-sticky{ padding-bottom:88px !important; }
    }
    @media (max-width:360px){
        .ehd-wf-sticky-btn{ padding:11px 14px; font-size:11px; }
    }
    .ehd-wf-step.is-hidden { display: none; }
    /* Collapse-Steps (details/summary) */
    details.ehd-wf-collapse { padding: 0; margin: 12px 0; border: 1.5px solid rgba(99,44,59,0.12); border-radius: 8px; background: #fff; overflow: hidden; }
    details.ehd-wf-collapse[open] { border-color: rgba(99,44,59,0.25); }
    details.ehd-wf-collapse summary.ehd-wf-label { list-style: none; cursor: pointer; padding: 12px 16px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; user-select: none; transition: background .12s; }
    details.ehd-wf-collapse summary.ehd-wf-label::-webkit-details-marker { display: none; }
    details.ehd-wf-collapse summary.ehd-wf-label:hover { background: rgba(99,44,59,0.03); }
    .ehd-wf-collapse-title { flex: 1 1 auto; }
    .ehd-wf-collapse-value { font-weight: 500; color: #777; font-size: 0.86rem; padding: 2px 10px; background: rgba(99,44,59,0.06); border-radius: 50px; }
    details.ehd-wf-collapse[open] .ehd-wf-collapse-value { color: var(--wp--preset--color--custom-weinrot-1, #632c3b); background: transparent; }
    .ehd-wf-collapse-arrow { font-size: 0.9rem; color: #999; transition: transform .2s; flex-shrink: 0; }
    details.ehd-wf-collapse[open] .ehd-wf-collapse-arrow { transform: rotate(180deg); }
    details.ehd-wf-collapse .ehd-wf-chips { padding: 4px 16px 14px; }
    @media (max-width: 600px) {
        .ehd-wf { padding: 12px; }
        .ehd-wf-chip { font-size: 0.82rem; padding: 7px 12px; }
    }
    
