/* Figma 90:2319. Butler retains ownership of the form, controls, prices and validation. */
#buchung .websail{
  --ws-primary-color:var(--blue);--ws-primary-color-contrast:#fff;
  --ws-secondary-color:#5264df;--ws-secondary-color-contrast:#fff;
  --ws-link-color:var(--blue);--ws-link-hover-color:#5264df;
  --ws-wizard-nav-selected-bg:#dfd3c6;--ws-wizard-nav-disabled-opacity:1;
  --ws-button-border-radius:36px;--ws-button-font-size:18px;--ws-button-font-weight:500;--ws-button-padding:12px 24px;
  --ws-input-bg:rgba(255,255,255,.6);--ws-input-border-radius:36px;--ws-input-border-color:#d6cabe;
  --ws-input-label-color:var(--ink);--ws-required-hint:var(--ink);
  font-family:var(--font);font-size:16px;line-height:22px;
}
.booking .back-link{display:inline-flex;align-items:center;gap:4px;font-size:16px;line-height:14px;text-decoration:none;width:fit-content}
.booking .back-link img{width:12px;height:12px;flex:0 0 12px;transition:transform .25s ease}
.booking .back-link:hover img{transform:translateX(-4px)}
#buchung .ws-button:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
#buchung .ws-button-primary{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;
  padding:12px 24px;border:1px solid var(--ink);border-radius:36px;background:transparent;color:var(--ink);
  font-family:var(--font);font-size:18px;font-weight:500;line-height:22px;
  transition:background-color .22s ease,color .22s ease,box-shadow .22s ease,transform .25s cubic-bezier(.22,1,.36,1);
}
#buchung .ws-button-primary[data-booking-label] .ws-button-text{display:none}
#buchung .ws-button-primary[data-booking-label]::before{content:attr(data-booking-label)}
#buchung .ws-button-primary[data-booking-label]::after{content:"";width:20px;height:20px;flex:0 0 20px;background:url('/assets/booking-next.svg') center/20px 20px no-repeat;transition:transform .25s ease,filter .22s ease}
#buchung .ws-button-primary:focus-visible{background:var(--ink);color:#fff;transform:translateY(-2px)}
#buchung .ws-button-primary:focus-visible::after{filter:invert(1);transform:translateX(4px)}
@media(hover:hover) and (pointer:fine){
  #buchung .ws-button-primary:not(:disabled):not(.ws-button-disabled):hover{background:var(--ink);color:#fff;box-shadow:0 5px 14px #20202014;transform:translateY(-2px)}
  #buchung .ws-button-primary:not(:disabled):not(.ws-button-disabled):hover::after{filter:invert(1);transform:translateX(4px)}
}
#buchung .ws-button-primary:not(:disabled):active{transform:scale(.98);box-shadow:none}
#buchung .ws-powered-by{text-align:center;margin:80px 0 0;font-size:16px;line-height:22px}
#buchung .ws-powered-by-link{white-space:nowrap;font-size:16px;line-height:22px}
#buchung .ws-powered-by-link img{display:none}

/* A shared grid places the native controls without moving React-owned DOM nodes. */
.booking-steps,.booking-overview,.booking-copy,.booking-required{display:none}
.page-booking .footer{display:none}
#buchung.booking-redesign{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:24px;row-gap:0;
  grid-template-rows:auto auto auto auto minmax(166px,auto) minmax(121px,auto) auto auto;
  width:var(--content-width);max-width:var(--content-max-width);padding:0;min-height:0;margin:167px auto 30px;
}
#buchung.booking-redesign>.back-link{grid-column:1/-1;grid-row:1;margin-left:5px}
#buchung.booking-redesign>h1{grid-column:1/-1;grid-row:2;font-size:54px;line-height:58px;font-weight:500;margin:55px 0 0}
#buchung.booking-redesign>#booking-status,#buchung.booking-redesign>#booking-error{grid-column:1/-1}
#buchung.booking-redesign .ws-element,
#buchung.booking-redesign .ws-widget-interaction,
#buchung.booking-redesign .ws-container-wsroot,
#buchung.booking-redesign .websail,
#buchung.booking-redesign .ws-booking-form,
#buchung.booking-redesign .ws-wizard,
#buchung.booking-redesign .ws-wizard-content,
#buchung.booking-redesign .ws-two-sided-column{display:contents}
#buchung.booking-redesign .ws-wizard-steps{
  grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;
  margin:55px 0 0 5px;padding:0;border:0;background:none;min-width:0;
}
#buchung.booking-redesign .ws-step-nav-group{flex:0 0 auto!important;width:auto;max-width:none;margin:0;padding:0}
#buchung.booking-redesign .ws-step-nav{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:50px;height:50px;width:auto;
  margin:0;padding:12px 24px;border:0;border-radius:36px;background:#e6dfd6!important;color:var(--ink);
  font-family:var(--font);font-size:18px;font-weight:500;line-height:14px;white-space:nowrap;box-shadow:none;opacity:1;
}
#buchung.booking-redesign .ws-step-nav-selected{background:#dfd3c6!important;color:var(--ink)}
#buchung.booking-redesign .ws-step-nav:disabled{opacity:1;cursor:default!important}
#buchung.booking-redesign .ws-step-nav .ws-button-icon{display:inline;min-width:0;min-height:0;width:auto;height:auto;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;font:inherit}
#buchung.booking-redesign .booking-steps .ws-button-icon::after{content:"."}
#buchung.booking-redesign .ws-step-nav-title{font:inherit;color:inherit;white-space:nowrap}
#buchung.booking-redesign .ws-element .ws-wizard-steps{display:none}
#buchung.booking-redesign .booking-overview{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:end;grid-column:1/-1;grid-row:4;
  min-height:170px;margin:65px 0 78px;padding-bottom:35px;
  background:url('/assets/booking-divider.svg') center bottom/100% 1px no-repeat;
}
.booking-course-heading{grid-column:1/span 3;min-width:0;align-self:start}
.booking-course-category{font-size:14px;line-height:17px;font-weight:600;text-transform:uppercase;margin:0 0 16px}
#buchung .booking-overview h2{max-width:370px;font-size:30px;line-height:34px;font-weight:500;margin:0;hyphens:none;word-break:normal;overflow-wrap:normal;text-wrap:wrap}
.booking-course-meta{grid-column:4;display:flex;flex-direction:column;gap:8px;min-width:0;font-size:16px;line-height:20px}
.booking-course-meta p{display:flex;gap:8px;align-items:center}
.booking-course-meta img{display:block;flex:0 0 20px;width:20px;height:20px}
.booking-course-meta span{min-width:0}
#buchung.booking-redesign .ws-course-meta{display:none}
#buchung.booking-redesign[data-booking-step=event] .ws-left-column,
#buchung.booking-redesign[data-booking-step=event] .ws-right-column,
#buchung.booking-redesign[data-booking-step=event] .ws-left-column>.ws-flex-column{display:contents}
#buchung.booking-redesign[data-booking-step=event] .booking-copy{display:block;min-width:0;padding:23px 23px 0 0;font-size:16px;line-height:22px}
#buchung.booking-redesign .booking-copy[hidden]{display:none}
.booking-copy h3,.booking-copy h4{font-size:14px;line-height:22px;font-weight:600;text-transform:uppercase;margin:0}
.booking-copy p{margin:0}
.booking-copy ul,.booking-copy ol{margin:0;padding-left:23px}
.booking-copy strong,.booking-copy b{font-weight:600}
.booking-copy a{color:var(--blue);text-decoration:underline}
.booking-copy img{max-width:100%;height:auto}
.booking-appointment-list{margin-top:22px}
#buchung.booking-redesign[data-booking-step=event] .booking-description{grid-column:1;grid-row:5/span 3}
#buchung.booking-redesign[data-booking-step=event] .booking-content{grid-column:2;grid-row:5/span 3}
#buchung.booking-redesign[data-booking-step=event] .booking-audience{grid-column:3;grid-row:5}
#buchung.booking-redesign.booking-no-description[data-booking-step=event] .booking-content{grid-column:1/span 2}
#buchung.booking-redesign.booking-no-content[data-booking-step=event] .booking-description{grid-column:1/span 2}
#buchung.booking-redesign[data-booking-step=event] .ws-left-column>.ws-flex-column>.ws-fieldset{grid-column:3;grid-row:6;align-self:start;min-width:0;margin:0;padding:0;border:0}
#buchung.booking-redesign[data-booking-step=event] .ws-fieldset-content{gap:0}
#buchung.booking-redesign[data-booking-step=event] .ws-select-label{display:block;margin:0 0 18px;font-size:14px;line-height:18px;font-weight:600;text-transform:uppercase;color:var(--ink)}
#buchung.booking-redesign[data-booking-step=event] .ws-input-group{margin:0}
#buchung.booking-redesign[data-booking-step=event] .ws-input-wrapper{margin:0;width:100%}
#buchung.booking-redesign[data-booking-step=event] select{
  appearance:none;width:100%;min-width:0;height:50px;min-height:50px;box-sizing:border-box;
  padding:12px 56px 12px 24px;border:0;border-radius:36px;outline-offset:4px;
  background:rgba(255,255,255,.6) url('/assets/booking-caret.svg') right 24px center/20px 20px no-repeat;
  color:var(--ink);font-family:var(--font);font-size:18px;font-weight:500;line-height:22px;
}
#buchung.booking-redesign[data-booking-step=event] .ws-form-buttons{grid-column:4;grid-row:7;display:flex;align-self:start;gap:0;margin:0;padding:0}
#buchung.booking-redesign[data-booking-step=event] .ws-form-buttons .ws-button-back{display:none}
#buchung.booking-redesign[data-booking-step=event] .ws-form-description,
#buchung.booking-redesign[data-booking-step=event] .ws-booking-login-prompt{display:none}
#buchung.booking-redesign[data-booking-step=event] .booking-required{display:block;grid-column:3;grid-row:7;align-self:start;margin:0;font-size:16px;line-height:22px}
#buchung.booking-redesign[data-booking-step=event] .ws-price-breakup{grid-column:4;grid-row:5/span 2;align-self:start}
#buchung.booking-redesign .ws-price-breakup{
  display:flex;flex-direction:column;gap:0;min-width:0;min-height:254px;width:100%;position:static;
  margin:0;padding:32px 24px 24px;border:0;border-radius:32px;background:#fff;box-shadow:none;
  container:booking-price/inline-size;
}
#buchung.booking-redesign .ws-price-breakup>div:first-child{margin:0 0 40px;padding:0}
#buchung.booking-redesign .ws-price-header{font-size:14px;line-height:20px;font-weight:600;text-transform:uppercase;margin:0;padding:0}
#buchung.booking-redesign .ws-price-row{display:flex;flex-wrap:nowrap;gap:24px;align-items:flex-start;margin:0;padding:0;font-size:16px;line-height:22px;border:0}
#buchung.booking-redesign .ws-price-row dt{display:flex;gap:24px;flex:1 1 0;min-width:0;width:auto;max-width:none;margin:0;padding:0}
#buchung.booking-redesign .ws-price-title-cell{flex:1 1 auto;min-width:0}
#buchung.booking-redesign .ws-price-title-cell p{margin:0;padding:0}
#buchung.booking-redesign .ws-price-title-cell .course2,
#buchung.booking-redesign .ws-price-title-cell .fromToAuto{display:none}
#buchung.booking-redesign .ws-count-of-participants{flex:0 0 auto;white-space:nowrap}
#buchung.booking-redesign .ws-price-line-total{flex:0 0 auto;min-width:0;width:auto;max-width:none;margin:0;padding:0;white-space:nowrap;text-align:right}
#buchung.booking-redesign .ws-price-total{
  margin-top:auto;padding-top:9px;font-size:14px;line-height:20px;font-weight:600;text-transform:uppercase;
  background:url('/assets/booking-price-divider.svg') center top/calc(100% - 3px) 1px no-repeat;
}
#buchung.booking-redesign .ws-powered-by{grid-column:1/-1;grid-row:8;align-self:start;margin:91px 0 0}
#buchung.booking-redesign[data-booking-step=form]{grid-template-rows:repeat(4,auto) auto auto}
#buchung.booking-redesign[data-booking-step=form] .ws-left-column{grid-column:1/span 3;grid-row:5;min-width:0;margin:0;padding-right:24px;gap:24px}
#buchung.booking-redesign[data-booking-step=form] .ws-right-column{grid-column:4;grid-row:5;min-width:0;margin:0;gap:24px}
#buchung.booking-redesign[data-booking-step=form] .ws-powered-by{grid-row:6}
#buchung.booking-redesign[data-booking-step=form] .ws-fieldset{min-width:0;border:0;padding:0;margin:0 0 24px}
#buchung.booking-redesign[data-booking-step=form] .ws-fieldset h3{font-size:18px;line-height:24px;font-weight:500}
#buchung.booking-redesign[data-booking-step=form] .ws-form-description{font-size:16px;line-height:22px}
#buchung.booking-redesign[data-booking-step=form] .ws-form-buttons{gap:16px;margin-top:24px}
@container booking-price (max-width:300px){
  #buchung.booking-redesign .ws-price-row:not(.ws-price-total){flex-wrap:wrap;gap:8px}
  #buchung.booking-redesign .ws-price-row:not(.ws-price-total) dt{flex-basis:100%}
  #buchung.booking-redesign .ws-price-row:not(.ws-price-total) dd{margin-left:auto}
}
@media(min-width:761px) and (max-width:1200px){
  #buchung.booking-redesign{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto) minmax(166px,auto) minmax(121px,auto) auto auto}
  #buchung.booking-redesign .booking-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
  .booking-course-heading{grid-column:1}.booking-course-meta{grid-column:2}
  #buchung.booking-redesign[data-booking-step=event] .booking-description{grid-column:1;grid-row:5;margin-bottom:32px}
  #buchung.booking-redesign[data-booking-step=event] .booking-content{grid-column:2;grid-row:5;margin-bottom:32px}
  #buchung.booking-redesign[data-booking-step=event] .booking-audience{grid-column:1;grid-row:6}
  #buchung.booking-redesign[data-booking-step=event] .ws-left-column>.ws-flex-column>.ws-fieldset{grid-column:1;grid-row:7}
  #buchung.booking-redesign[data-booking-step=event] .ws-price-breakup{grid-column:2;grid-row:6/span 2}
  #buchung.booking-redesign[data-booking-step=event] .ws-form-buttons{grid-column:2;grid-row:8}
  #buchung.booking-redesign[data-booking-step=event] .booking-required{grid-column:1;grid-row:8}
  #buchung.booking-redesign .ws-powered-by{grid-row:9}
  #buchung.booking-redesign[data-booking-step=form] .ws-left-column{grid-column:1;grid-row:5}
  #buchung.booking-redesign[data-booking-step=form] .ws-right-column{grid-column:2;grid-row:5}
  #buchung.booking-redesign[data-booking-step=form] .ws-powered-by{grid-row:6}
}
@media(max-width:760px){
  #buchung.booking-redesign{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;margin-top:156px;margin-bottom:32px}
  #buchung.booking-redesign>.back-link{margin-left:0}
  #buchung.booking-redesign>h1{font-size:40px;line-height:44px;margin-top:36px}
  #buchung.booking-redesign .ws-wizard-steps{margin:32px 0 0;max-width:100%;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;padding:4px 0}
  #buchung.booking-redesign .ws-step-nav{height:43px;min-height:43px;gap:8px;padding:10px 16px;font-size:16px}
  #buchung.booking-redesign .booking-overview{grid-template-columns:minmax(0,1fr);gap:24px;min-height:0;margin:44px 0 40px;padding-bottom:28px}
  .booking-course-heading,.booking-course-meta{grid-column:1}
  #buchung .booking-overview h2{max-width:none;font-size:30px;line-height:34px}
  #buchung.booking-redesign[data-booking-step=event] .booking-copy{grid-column:1;padding:0;margin-bottom:28px}
  #buchung.booking-redesign[data-booking-step=event] .booking-description{grid-row:5}
  #buchung.booking-redesign[data-booking-step=event] .booking-content{grid-row:6}
  #buchung.booking-redesign[data-booking-step=event] .booking-audience{grid-row:7}
  #buchung.booking-redesign.booking-no-description[data-booking-step=event] .booking-content,
  #buchung.booking-redesign.booking-no-content[data-booking-step=event] .booking-description{grid-column:1}
  #buchung.booking-redesign[data-booking-step=event] .ws-left-column>.ws-flex-column>.ws-fieldset{grid-column:1;grid-row:8}
  #buchung.booking-redesign[data-booking-step=event] .booking-required{grid-column:1;grid-row:9;margin:16px 0 28px}
  #buchung.booking-redesign[data-booking-step=event] .ws-price-breakup{grid-column:1;grid-row:10}
  #buchung.booking-redesign[data-booking-step=event] .ws-form-buttons{grid-column:1;grid-row:11;margin-top:24px}
  #buchung.booking-redesign .ws-price-breakup{min-height:220px;padding:24px}
  #buchung.booking-redesign .ws-price-breakup>div:first-child{margin-bottom:28px}
  #buchung.booking-redesign .ws-powered-by{grid-row:12;margin-top:48px}
  #buchung.booking-redesign[data-booking-step=form] .ws-left-column{grid-column:1;grid-row:5;padding:0}
  #buchung.booking-redesign[data-booking-step=form] .ws-right-column{grid-column:1;grid-row:6}
  #buchung.booking-redesign[data-booking-step=form] .ws-powered-by{grid-row:7}
}
@media(prefers-reduced-motion:reduce){
  #buchung .ws-button-primary,#buchung .ws-button-primary::after,.booking .back-link img{transition:none!important;transform:none!important}
}

#buchung.booking-redesign .ws-price-breakup-toggle-button{display:none}
#buchung.booking-redesign[data-booking-step=event] .ws-input-wrapper>.ws-svg-arrow{display:none}

/* Comfortable inset for native Butler text fields; leave checkbox/radio hit areas intact. */
#buchung input:is(:not([type]),[type=text],[type=email],[type=tel],[type=number],[type=password],[type=url],[type=search],[type=date]),
#buchung textarea,#buchung select{padding-left:24px!important;padding-right:24px!important}
#buchung select{padding-right:48px!important}
@media(max-width:760px){
  #buchung.booking-redesign[data-booking-step=form] .ws-price-breakup{margin-top:32px}
}

/* Apply consistently across participant, billing and consent screens. */
#buchung .websail *{box-shadow:none!important}
#buchung .ws-textarea-container textarea{margin-top:12px}
#buchung .booking-agb-pending{display:block;margin-top:6px;font-size:14px;line-height:18px;color:#67605a;font-weight:400}
@media(max-width:760px){
  #buchung.booking-redesign .booking-steps{width:calc(100% + 32px);max-width:none;margin-left:-16px;margin-right:-16px;padding:4px 16px;scroll-padding-inline:16px}
}

/* Butler confirmation messages use the same heading rhythm as the booking page. */
#buchung .ws-message-body h1{font-family:var(--font)!important;font-size:36px!important;line-height:40px!important;font-weight:500!important;font-style:normal;margin:24px 0!important;letter-spacing:0;hyphens:none;overflow-wrap:normal}
#buchung .ws-message-body h2,#buchung .ws-message-body h3{font-family:var(--font)!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;font-style:normal;text-transform:uppercase;margin:28px 0 12px!important;letter-spacing:0}
#buchung .ws-message-body h2+ul,#buchung .ws-message-body h2+ol{margin-top:0}
@media(max-width:760px){#buchung .ws-message-body h1{font-size:30px!important;line-height:34px!important}}

/* A native quantity selector is optional: single-seat courses use the same grid. */
.booking-fixed-quantity{display:none}
#buchung.booking-redesign.booking-fixed-participant[data-booking-step=event] .booking-fixed-quantity{display:block;grid-column:3;grid-row:6;align-self:start;min-width:0}
.booking-fixed-quantity h3{font-size:14px;line-height:18px;font-weight:600;text-transform:uppercase;margin:0 0 18px}
.booking-fixed-quantity p{display:flex;align-items:center;min-height:50px;padding:12px 24px;margin:0;border-radius:36px;background:rgba(255,255,255,.6);font-size:18px;line-height:22px}
@media(min-width:761px) and (max-width:1200px){#buchung.booking-redesign.booking-fixed-participant[data-booking-step=event] .booking-fixed-quantity{grid-column:1;grid-row:7}}
@media(max-width:760px){#buchung.booking-redesign.booking-fixed-participant[data-booking-step=event] .booking-fixed-quantity{grid-column:1;grid-row:8}}
