/* ===== Grundgerüst – robust in Themes und Page-Buildern (Elementor, Divi …) ===== */
.hdb { box-sizing: border-box; width: 100%; min-width: 0; flex: 1 1 100%; align-self: stretch; }
.hdb *, .hdb *::before, .hdb *::after { box-sizing: border-box; }
.hdb [role="list"], .hdb [role="listitem"] { list-style: none; margin: 0; padding: 0; }
.hdb [role="listitem"]::before, .hdb [role="listitem"]::marker { content: none; }
.hdb ul.hdb-dates, .hdb ul.hdb-cal-legend { list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
.hdb ul.hdb-dates > li, .hdb ul.hdb-cal-legend > li { list-style: none !important; margin-left: 0 !important; }
.hdb ul.hdb-dates > li::before, .hdb ul.hdb-cal-legend > li::before { content: none !important; }
.hdb img { max-width: 100%; height: auto; }

.hdb { --hdb-accent: #3d6b4f; --hdb-accent-dark: #2c5039; --hdb-border: #e2ded6; --hdb-muted: #6b6760; max-width: 760px; }
.hdb-offer, .hdb-summary { border: 1px solid var(--hdb-border); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 0 0 1.5rem; background: #fff; }
.hdb-offer h3, .hdb-summary h3 { margin: .35rem 0 .5rem; }
.hdb-badge { display: inline-block; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; background: #eef3ef; color: var(--hdb-accent-dark); padding: .2rem .6rem; border-radius: 999px; }
.hdb-thumb { max-width: 100%; height: auto; border-radius: 8px; margin: .5rem 0; }
.hdb-facts { color: var(--hdb-muted); margin: 0 0 .75rem; }
.hdb-next { margin: 1rem 0 .5rem; }
.hdb-dates { list-style: none; margin: 0; padding: 0; }
.hdb-dates li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem 0; border-top: 1px solid var(--hdb-border); }
.hdb-when { font-weight: 600; }
.hdb-info, .hdb-free { color: var(--hdb-muted); font-size: .9rem; }
.hdb-dates .hdb-button { margin-left: auto; }
.hdb-full { color: #a33; font-size: .9rem; margin-left: auto; }
.hdb-button { display: inline-block; background: var(--hdb-accent); color: #fff !important; border: 0; border-radius: 6px; padding: .5rem 1.1rem; text-decoration: none; cursor: pointer; font-size: 1rem; }
.hdb-button:hover, .hdb-button:focus { background: var(--hdb-accent-dark); }
.hdb-form fieldset { border: 1px solid var(--hdb-border); border-radius: 10px; padding: 1rem 1.25rem; margin: 0 0 1rem; }
.hdb-form legend { font-weight: 600; padding: 0 .4rem; }
.hdb-form label { display: block; font-weight: 500; margin-bottom: .25rem; }
.hdb-form input[type=text], .hdb-form input[type=email], .hdb-form input[type=tel], .hdb-form textarea { width: 100%; box-sizing: border-box; padding: .55rem .7rem; border: 1px solid #c9c4ba; border-radius: 6px; font-size: 1rem; }
.hdb-consent label { font-weight: 400; }
.hdb-consent input { margin-right: .4rem; }
.hdb-small { color: var(--hdb-muted); font-size: .85rem; }
.hdb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hdb-notice { border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.hdb-success { background: #eef6f0; border: 1px solid #b9d8c2; }
.hdb-error { background: #fbeeee; border: 1px solid #e4b9b9; }
.hdb-error ul { margin: 0; padding-left: 1.2rem; }

.hdb-request { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed var(--hdb-border); border-radius: 10px; background: #faf8f4; }
.hdb-request .hdb-small { margin: 0; }
.hdb-button-alt { background: #fff; color: var(--hdb-accent-dark) !important; box-shadow: inset 0 0 0 2px var(--hdb-accent); }
.hdb-button-alt:hover, .hdb-button-alt:focus { background: var(--hdb-accent); color: #fff !important; }

/* ===== Bezahlung ===== */
.hdb-pay-choice .hdb-radio { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .85rem; margin: 0 0 .55rem; border: 1px solid var(--hdb-border); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 400; }
.hdb-pay-choice .hdb-radio:has(input:checked) { border-color: var(--hdb-accent); background: #f3f8f4; box-shadow: inset 3px 0 0 var(--hdb-accent); }
.hdb-pay-choice .hdb-radio input { margin-top: .25rem; }
.hdb-pay { margin: 0 0 1.75rem; padding: 1.1rem 1.25rem 1.2rem; border-radius: 12px; border: 1px solid #d9e6dd; background: #fbfdfb; }
.hdb-pay-title { margin: 0 0 .5rem; font-size: 1.15rem; }
.hdb-bank { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: .5rem 0 .9rem; padding: .85rem 1rem; border-radius: 10px; background: #fff; border: 1px dashed #c9d9cd; }
.hdb-bank div { display: contents; }
.hdb-bank dt { color: var(--hdb-muted); font-size: .85rem; }
.hdb-bank dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; user-select: all; }
.hdb .hdb-pay-paypal { background: #003087; }
.hdb .hdb-pay-paypal:hover, .hdb .hdb-pay-paypal:focus { background: #001f5c; }
.hdb-pay-alt summary { cursor: pointer; color: var(--hdb-accent-dark); font-weight: 600; margin: .4rem 0; }
@media (max-width: 480px) { .hdb-bank { grid-template-columns: 1fr; gap: .1rem; } .hdb-bank dd { margin-bottom: .45rem; } }
