/* LUNA – dynamische ACF-Kursdurchgänge, für die weiße Kurs-Sidebar gestaltet */
.luna-kd-list{display:flex;flex-direction:column;gap:16px;font-family:Poppins,Arial,sans-serif;color:#382F2D}
.luna-kd-card{background:#FEF5EC;border:1px solid #E8D8CF;border-radius:20px;padding:22px;min-width:0}
.luna-kd-top{margin-bottom:13px}.luna-kd-status{display:inline-block;padding:6px 11px;border-radius:999px;font-size:12px;line-height:1.4;font-weight:600;background:#EEE6E0;color:#382F2D}
.luna-kd-status.is-open{background:#F6E5D5;color:#8C431C}
.luna-kd-title{font-family:Amaranth,Georgia,serif;font-size:clamp(21px,2vw,25px);line-height:1.25;color:#382F2D;margin:0 0 16px}
.luna-kd-line{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin:0 0 9px!important;font-size:14px;line-height:1.55}
.luna-kd-line>span:last-child,.luna-kd-line strong{text-align:right;font-weight:500}
.luna-kd-label{font-size:13px;color:#785F55;font-weight:500;flex-shrink:0}
.luna-kd-price{font-size:23px;font-weight:700;color:#382F2D;margin:16px 0 8px!important}
.luna-kd-note{font-size:12px;color:#68514A;line-height:1.65;margin:10px 0!important}
.luna-kd-options{margin-top:15px}.luna-kd-options ul{margin:5px 0 12px!important;padding:0!important;list-style:none!important}
.luna-kd-options li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 9px;padding:6px 0;font-size:13px;border-bottom:1px solid #E8D8CF}
.luna-kd-options li small{flex-basis:100%;font-size:12px;line-height:1.5}
.luna-kd-details{border-top:1px solid #E8D8CF;margin-top:18px;padding-top:15px}
.luna-kd-details summary{cursor:pointer;font-size:14px;font-weight:600;color:#8C431C;list-style:revert;padding:2px 0}
.luna-kd-details summary:focus-visible,.luna-kd-cta:focus-visible{outline:2px solid #8C431C;outline-offset:3px}
.luna-kd-details ol{padding:12px 0 0 20px!important;margin:0!important}
.luna-kd-details li{padding:6px 0;display:list-item;font-size:13px;line-height:1.5}
.luna-kd-details li span+span{display:block;color:#785F55}
.luna-kd-cta{display:flex;justify-content:center;align-items:center;text-align:center;gap:8px;margin-top:16px;padding:14px 18px;background:#8C431C;color:#FFFFFF!important;border-radius:999px;text-decoration:none!important;font-weight:600;font-size:14px;transition:background-color .2s}
.luna-kd-cta:hover{background:#713514;color:#FFF!important}
.luna-kd-empty{background:#FEF5EC;border:1px solid #E8D8CF;border-radius:16px;padding:18px;color:#382F2D;font-size:14px;line-height:1.6}
.luna-kd-warning{color:#8C431C;font-size:14px}
@media(max-width:767px){.luna-kd-card{padding:18px}.luna-kd-line{font-size:13px;gap:8px}.luna-kd-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.luna-kd-cta{transition:none}}

.luna-kd-form-button{width:100%;font-family:inherit;cursor:pointer;border:0;line-height:1.5}
.luna-kd-enquiry{scroll-margin-top:115px;margin-top:32px}
.luna-kd-enquiry h2{font-family:Amaranth,Georgia,serif;color:#382F2D;margin:0 0 10px}
.luna-kd-choice{border-left:3px solid #F47923;background:#FEF5EC;padding:12px 16px;border-radius:6px;font-size:14px;margin-bottom:20px}

/* v1.2: restrained LUNA detail card – all selectors scoped to this component. */
.luna-kd-list{gap:18px}
.luna-kd-card{background:#FEF5EC;border-color:#ECDCCF;border-radius:18px;padding:22px 24px;box-shadow:none}
.luna-kd-top{margin-bottom:10px}
.luna-kd-status{font-size:11px;padding:5px 11px}
.luna-kd-title{font-family:Amaranth,Georgia,serif;font-weight:700;font-size:clamp(20px,1.6vw,24px);line-height:1.3;margin:0 0 16px;color:#382F2D}
.luna-kd-facts{padding:0 0 12px;border-bottom:1px solid #E9D8CA}
.luna-kd-line{align-items:start;margin-bottom:7px!important;font-size:13px;line-height:1.5}
.luna-kd-label{font-size:12px;color:#856F63}
.luna-kd-line>span:last-child{max-width:68%;overflow-wrap:anywhere}
.luna-kd-price{font-family:Amaranth,Georgia,serif;font-size:25px;font-weight:700;margin:14px 0 8px!important}
.luna-kd-note{font-size:12px;line-height:1.55;margin:8px 0!important;color:#66584F}
.luna-kd-cta{margin-top:18px;min-height:45px;padding:11px 18px;background:#8C431C;font-family:Poppins,Arial,sans-serif;font-size:13px;font-weight:600}
.luna-kd-details{margin-top:16px;padding-top:12px}
.luna-kd-details summary{font-size:12px;font-weight:600}
.luna-kd-details li{font-size:12px}

/* Accessible centered modal; outside Divi's layout width / stacking contexts. */
.luna-kd-modal[hidden]{display:none!important}
.luna-kd-modal{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:18px;isolation:isolate;font-family:Poppins,Arial,sans-serif}
.luna-kd-backdrop{position:absolute;inset:0;background:rgba(35,29,28,.7);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.luna-kd-dialog{position:relative;z-index:1;width:min(100%,620px);max-height:min(92dvh,900px);overflow-y:auto;overscroll-behavior:contain;background:#FFFDF9;color:#382F2D;border-radius:22px;padding:30px 34px;box-shadow:0 22px 80px rgba(32,22,19,.22);outline:none}
.luna-kd-modal-head{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:16px}
.luna-kd-modal-head h2{font-family:Amaranth,Georgia,serif;font-weight:700;font-size:clamp(24px,3vw,31px);line-height:1.18;color:#382F2D;margin:6px 0 0;padding:0}
.luna-kd-eyebrow{font-size:10px;font-weight:700;letter-spacing:.11em;color:#8C431C}
.luna-kd-close{flex:none;display:grid;place-items:center;width:36px;height:36px;border:1px solid #E9D8CA;border-radius:50%;background:#FEF5EC;color:#382F2D;font-size:26px;line-height:1;cursor:pointer;padding:0}
.luna-kd-close:hover{background:#F5E5D7}
.luna-kd-close:focus-visible{outline:2px solid #F47923;outline-offset:3px}
.luna-kd-modal .luna-kd-choice{background:#FEF5EC;border:1px solid #E9D8CA;border-left:3px solid #F47923;border-radius:12px;padding:13px 15px;color:#382F2D;font-size:13px;line-height:1.5;margin:0 0 22px}
.luna-kd-form-body .ff-el-group{margin-bottom:15px}
.luna-kd-form-body .ff-el-input--label label{font-family:Poppins,Arial,sans-serif;font-weight:500;color:#382F2D;font-size:13px}
.luna-kd-form-body .ff-el-form-control{border:1px solid #E4D8D0;border-radius:9px;background:#fff;padding:11px 12px;font-family:Poppins,Arial,sans-serif;color:#382F2D;font-size:14px}
.luna-kd-form-body .ff-el-form-control:focus{border-color:#F47923;box-shadow:0 0 0 2px rgba(244,121,35,.12)}
.luna-kd-form-body .ff-btn-submit,.luna-kd-form-body button[type="submit"]{border:0;border-radius:100px!important;background:#8C431C!important;color:#fff!important;padding:13px 25px!important;font-family:Poppins,Arial,sans-serif;font-weight:600;font-size:14px;cursor:pointer}
.luna-kd-form-body .ff-btn-submit:hover,.luna-kd-form-body button[type="submit"]:hover{background:#713514!important}
@media(max-width:767px){.luna-kd-card{padding:18px}.luna-kd-dialog{width:100%;max-height:calc(100dvh - 20px);padding:22px 19px;border-radius:16px}.luna-kd-modal{padding:10px}.luna-kd-title{font-size:21px}}
@media(prefers-reduced-motion:reduce){.luna-kd-modal *{scroll-behavior:auto!important}}
