/* =========================================================
   THE YARD BOOKING TOOL
   Design System Version
   Datei: assets/frontend.css
========================================================= */


/* =========================================================
   01 BRAND TOKENS
========================================================= */

:root {
    --ty-black: #121212;
    --ty-white: #ffffff;
    --ty-blue: #2929ab;
    --ty-pink: #ff78d1;
    --ty-orange: #ff6133;
    --ty-yellow: #ffcc40;
    --ty-mint: #40ccb0;
    --ty-cream: #f7f3e8;

    --ty-font-headline: "komet", sans-serif;
    --ty-font-copy: "Work Sans", Arial, sans-serif;
    --ty-font-condensed: "Bebas Neue", "Arial Narrow", Impact, sans-serif;

    --ty-border: 4px solid var(--ty-black);
    --ty-border-small: 3px solid var(--ty-black);

--ty-shadow-small: 4px 4px 0 var(--ty-black);
--ty-shadow: 6px 6px 0 var(--ty-black);
--ty-shadow-large: 8px 8px 0 var(--ty-black);
--ty-shadow-hover: 4px 4px 0 var(--ty-black);

    --ty-max: 1480px;
}


/* =========================================================
   02 BASE / SAFETY
========================================================= */

html,
body {
    overflow-x: hidden;
}

#activities-booking-widget {
    width: min(var(--ty-max), calc(100vw - 48px));
    max-width: var(--ty-max);
    margin: 0 auto;

    font-family: var(--ty-font-copy);
    color: var(--ty-black);
}

#activities-booking-widget *,
#activities-booking-widget *::before,
#activities-booking-widget *::after {
    box-sizing: border-box;
}

#activities-booking-widget input,
#activities-booking-widget select,
#activities-booking-widget button {
    font-family: var(--ty-font-copy) !important;
}


/* =========================================================
   03 DIVI FULLWIDTH FIX
========================================================= */

.ty-booking-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ty-booking-row .et_pb_column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 981px) {
    .ty-booking-row {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
}


/* =========================================================
   04 MAIN LAYOUT
========================================================= */

.ty-booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: start;

    max-width: var(--ty-max);
    margin: 0 auto;
}

.ty-booking-main {
    min-width: 0;

    padding: 42px;

    border: var(--ty-border);
    background: var(--ty-white);
    box-shadow: var(--ty-shadow);
}

.ty-summary {
    align-self: start;
}


/* =========================================================
   05 HERO
========================================================= */

.ty-hero {
    position: relative;
    overflow: hidden;

    padding: 46px;

    border: var(--ty-border);
    background: var(--ty-yellow);
}

.ty-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;

    width: 260px;
    height: 260px;

    border-radius: 50%;
    background: var(--ty-mint);

    opacity: .65;
    pointer-events: none;
}

.ty-kicker {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;

    min-height: 42px;
    margin: 0 0 22px;
    padding: 0 14px;

    border: var(--ty-border-small);
    background: var(--ty-white);
    color: var(--ty-black);

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ty-hero h2 {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: 0;

    font-family: var(--ty-font-headline);
    font-size: clamp(52px, 7vw, 96px);
    line-height: .9;
    letter-spacing: -3px;
    font-weight: 900;
    color: var(--ty-black);
}

.ty-hero p {
    display: none;
}


/* =========================================================
   06 SECTION HEADINGS
========================================================= */

.ty-section {
    margin-top: 56px;
}

.ty-section-head {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 24px;
}

.ty-section-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;
    height: 46px;

    border: var(--ty-border-small);
    background: var(--ty-black);
    color: var(--ty-white);

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.ty-section-head h3 {
    margin: 0;

    font-family: var(--ty-font-headline);
    font-size: clamp(30px, 3vw, 46px);
    line-height: .95;
    letter-spacing: -1px;
    font-weight: 900;
    color: var(--ty-black);
}


/* =========================================================
   07 PACKAGE GRID
========================================================= */

.ty-package-grid {
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.ty-package-card {
    position: relative;

    display: grid !important;
    grid-template-rows:
        92px
        auto
        minmax(120px, 1fr)
        auto
        auto;

    min-height: 560px;
    padding: 34px 30px 30px;

    overflow: hidden;

    border: var(--ty-border);
    border-radius: 0;

    background: var(--ty-cream);
    color: var(--ty-black);

    text-align: left;
    cursor: pointer;

    box-shadow: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.ty-package-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(circle at 16px 16px, rgba(18,18,18,.08) 2px, transparent 2px);
    background-size: 32px 32px;

    opacity: .22;
    pointer-events: none;
}

.ty-package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ty-shadow-hover);
}

.ty-package-card.is-selected {
    outline: 4px solid var(--ty-black);
    outline-offset: -4px;
    box-shadow: var(--ty-shadow-small);
}

.ty-package-card.ty-yellow {
    background: var(--ty-yellow);
}

.ty-package-card.ty-orange,
.ty-package-card.is-featured {
    background: var(--ty-orange);
}

.ty-package-card.ty-blue {
    background: var(--ty-cream);
    color: var(--ty-black);
}

/* Featured Basic */

.ty-package-card.is-featured {
    min-height: 610px;
    transform: translateY(-22px);
    box-shadow: var(--ty-shadow);
}

.ty-package-card.is-featured:hover {
    transform: translateY(-28px);
}


/* =========================================================
   08 PACKAGE CONTENT
========================================================= */

.ty-package-title-wrap,
.ty-package-subtitle,
.ty-package-text,
.ty-package-meta,
.ty-package-bottom {
    position: relative;
    z-index: 2;
}

.ty-package-title-wrap {
    display: flex;
    align-items: flex-start;
    min-height: 92px;
}

.ty-package-card h4 {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 18px !important;

    background: var(--ty-mint);
    color: var(--ty-black);

    font-family: var(--ty-font-condensed) !important;
    font-size: clamp(42px, 3.4vw, 54px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
}

.ty-package-card.ty-orange h4,
.ty-package-card.ty-blue h4 {
    background: var(--ty-yellow);
}

.ty-package-card.ty-yellow h4 {
    background: var(--ty-mint);
}

.ty-badge {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 5 !important;

    padding: 9px 13px !important;

    border: var(--ty-border-small);
    border-radius: 999px;

    background: var(--ty-black) !important;
    color: var(--ty-white) !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.ty-package-subtitle {
    margin: 0 0 20px !important;

    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

.ty-package-text {
    margin: 0 !important;

    font-size: 17px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

.ty-package-meta {
    display: grid !important;
    gap: 12px !important;

    margin: 26px 0 24px !important;
    padding-bottom: 22px !important;

    border-bottom: 2px solid rgba(18,18,18,.18) !important;
}

.ty-package-meta span::before {
    content: none !important;
}

.ty-package-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    font-size: 13px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

.ty-package-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 25px !important;
    height: 25px !important;

    border: 2px solid var(--ty-black) !important;
    border-radius: 50% !important;

    font-size: 13px !important;
    line-height: 1 !important;
}

.ty-package-bottom {
    align-self: end;
}

.ty-package-price {
    display: flex !important;
    align-items: flex-end !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.ty-package-price strong {
    display: inline-block !important;

    font-family: var(--ty-font-condensed) !important;
    font-size: 62px !important;
    font-weight: 400 !important;
    line-height: .9 !important;
    letter-spacing: .01em !important;
}

.ty-package-price span {
    display: inline-block !important;

    margin: 0 0 7px !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}

.ty-package-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 58px !important;

    margin: 24px 0 0 !important;
    padding: 0 16px !important;

    border: var(--ty-border-small) !important;
    background: var(--ty-black) !important;
    color: var(--ty-white) !important;

    font-family: var(--ty-font-condensed) !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    opacity: 1 !important;
}

.ty-package-cta::after {
    content: none !important;
}

.ty-package-card.is-selected .ty-package-cta {
    background: var(--ty-white) !important;
    color: var(--ty-black) !important;
}


/* =========================================================
   09 PERSONS
========================================================= */

.ty-person-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ty-person-button {
    width: 56px;
    height: 56px;

    border: var(--ty-border-small);
    border-radius: 0;

    background: var(--ty-white);
    color: var(--ty-black);

    font-size: 20px;
    line-height: 1;
    font-weight: 900;

    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ty-person-button:hover,
.ty-person-button.is-selected {
    background: var(--ty-mint);
    box-shadow: var(--ty-shadow-hover);
    transform: translateY(-2px);
}

.ty-small-note {
    margin: 14px 0 0;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: rgba(18,18,18,.72);
}


/* =========================================================
   10 DATE / INPUTS / BUTTONS
========================================================= */

.ty-date-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.ty-input,
.ty-form-grid input,
.ty-form-grid select {
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: var(--ty-border-small) !important;
    border-radius: 0 !important;

    background: var(--ty-white) !important;
    color: var(--ty-black) !important;

    font-family: var(--ty-font-copy) !important;
    font-size: 16px !important;
    line-height: 58px !important;
    font-weight: 700 !important;

    outline: none !important;
    box-shadow: none !important;
}

.ty-input:focus,
.ty-form-grid input:focus,
.ty-form-grid select:focus {
    background: #fff7df !important;
    box-shadow: var(--ty-shadow-hover) !important;
}

.ty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 0 24px;

    border: var(--ty-border-small);
    border-radius: 0;

    background: var(--ty-black);
    color: var(--ty-white);

    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ty-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--ty-shadow-hover);
}

.ty-button-dark,
.ty-button-primary {
    background: var(--ty-orange);
    color: var(--ty-white);
    box-shadow: var(--ty-shadow-small);
}

.ty-button:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   11 SLOTS
========================================================= */

.ty-slots {
    margin-top: 22px;
}

.ty-slot-group {
    margin-top: 26px;
}

.ty-slot-group h4 {
    display: inline-flex;
    align-items: center;

    min-height: 38px;
    margin: 0 0 14px;
    padding: 0 12px;

    border: var(--ty-border-small);
    background: var(--ty-black);
    color: var(--ty-white);

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ty-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    gap: 14px;
}

.ty-slot-button {
    min-height: 102px;
    padding: 16px;

    border: var(--ty-border-small);
    border-radius: 0;

    background: var(--ty-white);
    color: var(--ty-black);

    text-align: left;
    cursor: pointer;

    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ty-slot-button:hover,
.ty-slot-button.is-selected {
    background: var(--ty-mint);
    box-shadow: var(--ty-shadow-hover);
    transform: translateY(-2px);
}

.ty-slot-button strong {
    display: block;

    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.ty-slot-button span,
.ty-slot-button small {
    display: block;

    margin-top: 6px;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.ty-slot-button.is-selected::after {
    content: "Ausgewählt";

    display: inline-flex;
    margin-top: 10px;
    padding: 5px 8px;

    background: var(--ty-black);
    color: var(--ty-white);

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}


/* =========================================================
   12 FORM
========================================================= */

.ty-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px !important;
    row-gap: 24px !important;
    align-items: start !important;
}

.ty-form-grid label {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;

    margin: 0 !important;

    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

.ty-form-grid input::placeholder {
    color: #666 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.ty-trust-box,
.ty-payment-note,
.ty-booking-policy-note,
.ty-booking-legal-note {
    margin: 18px 0;
    padding: 18px 20px;

    border: var(--ty-border-small);
    background: #fff7df;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.ty-payment-note,
.ty-booking-policy-note {
    grid-column: 1 / -1;
}

.ty-trust-box strong,
.ty-payment-note strong,
.ty-booking-policy-note strong,
.ty-booking-legal-note strong {
    display: block;
    margin-bottom: 6px;

    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.ty-trust-box span,
.ty-payment-note span,
.ty-booking-policy-note span {
    display: block;
}

.ty-checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px !important;

    margin: 16px 0 8px !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.ty-checkbox-label input {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin-top: 1px !important;

    accent-color: var(--ty-orange);
}

.ty-checkbox-label a {
    color: var(--ty-black) !important;
    font-weight: 900;
    text-decoration: underline;
}


/* =========================================================
   13 SUMMARY
========================================================= */

.ty-summary-card {
    padding: 20px;

    border: var(--ty-border-small);
    background: var(--ty-pink);
    box-shadow: var(--ty-shadow-small);
}

.ty-summary-card h3 {
    margin: 0 0 18px;

    font-family: var(--ty-font-headline);
    font-size: 30px;
    line-height: .95;
    letter-spacing: -1px;
    font-weight: 900;
    text-transform: uppercase;
}

.ty-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    padding: 12px 0;

    border-top: 2px solid rgba(18,18,18,.35);
}

.ty-summary-row span {
    font-weight: 700;
}

.ty-summary-row strong {
    text-align: right;
    font-weight: 900;
}

.ty-summary-total {
    margin-top: 20px;
    padding: 16px;

    border: var(--ty-border-small);
    background: var(--ty-white);
}

.ty-summary-total span {
    display: block;
    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ty-summary-total strong {
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.ty-summary-note {
    margin: 14px 0 0;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   14 MOBILE BAR
========================================================= */

.ty-mobile-bar {
    display: none;
}

.ty-mobile-bar-price {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* =========================================================
   15 STATES
========================================================= */

.ty-message {
    margin-top: 22px;
}

.ty-error {
    color: #991b1b;
    font-weight: 900;
}

.ty-loading {
    font-weight: 900;
}

.ty-success,
.ty-empty {
    padding: 20px;

    border: var(--ty-border-small);
    background: var(--ty-yellow);

    font-weight: 800;
}

.ty-success span,
.ty-empty span {
    display: block;
    margin-top: 6px;
}


/* =========================================================
   16 EMPTY AVAILABILITY
========================================================= */

.ty-empty-availability {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;

    margin-top: 22px;
    padding: 24px;

    border: var(--ty-border-small);
    background: #fff7df;
    color: var(--ty-black);

    font-weight: 700;
}

.ty-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    border: var(--ty-border-small);
    border-radius: 50%;

    background: var(--ty-yellow);
    color: var(--ty-black);

    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.ty-empty-content strong {
    display: block;
    margin-bottom: 10px;

    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.ty-empty-content p {
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.ty-empty-hours {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;

    margin: 18px 0;
    padding-top: 14px;

    border-top: 2px solid rgba(18,18,18,.25);
}

.ty-empty-hours span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ty-empty-hours strong {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.ty-empty-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 4px;
    padding: 12px 18px;

    border: var(--ty-border-small);
    background: var(--ty-white);
    color: var(--ty-black) !important;

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none !important;
}

.ty-empty-link:hover {
    background: var(--ty-orange);
    color: var(--ty-white) !important;
    box-shadow: var(--ty-shadow-hover);
}


/* =========================================================
   17 SUCCESS PAGE
========================================================= */

.ty-success-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 16px;

    font-family: var(--ty-font-copy);
    color: var(--ty-black);
}

.ty-success-hero {
    margin-bottom: 28px;
    padding: 42px;

    border: var(--ty-border);
    background: var(--ty-yellow);
    box-shadow: var(--ty-shadow);
}

.ty-success-hero h1 {
    margin: 0 0 12px;

    font-family: var(--ty-font-headline);
    font-size: clamp(44px, 7vw, 86px);
    line-height: .9;
    letter-spacing: -3px;
    font-weight: 900;
}

.ty-success-hero p {
    max-width: 680px;
    margin: 0;

    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
}

.ty-success-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.ty-success-card {
    padding: 28px;

    border: var(--ty-border-small);
    background: var(--ty-cream);
}

.ty-success-main {
    background: var(--ty-pink);
}

.ty-success-card h2 {
    margin: 0 0 18px;

    font-family: var(--ty-font-headline);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.ty-booking-code {
    display: inline-block;

    padding: 12px 18px;

    border: var(--ty-border-small);
    background: var(--ty-white);

    font-size: 34px;
    font-weight: 900;
    letter-spacing: .06em;
}

.ty-success-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    padding: 12px 0;

    border-top: 2px solid rgba(18,18,18,.25);
}

.ty-success-row span {
    font-weight: 700;
}

.ty-success-row strong {
    text-align: right;
    font-weight: 900;
}

.ty-success-list {
    margin: 0;
    padding-left: 20px;

    font-weight: 800;
    line-height: 1.6;
}

.ty-success-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    margin-top: 14px;
    padding: 0 18px;

    border: var(--ty-border-small);
    background: var(--ty-orange);
    color: var(--ty-white) !important;
    box-shadow: var(--ty-shadow-hover);

    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none !important;
}


/* =========================================================
   18 FAILED PAGE
========================================================= */

.ty-failed-page {
    max-width: 1380px;
    margin: 0 auto;
    padding: 32px 16px 80px;
}

.ty-failed-hero {
    padding: 42px;

    border: var(--ty-border);
    background: var(--ty-orange);
    box-shadow: var(--ty-shadow);
}

.ty-failed-label {
    display: inline-flex;
    align-items: center;

    min-height: 42px;
    margin-bottom: 28px;
    padding: 0 14px;

    border: var(--ty-border-small);
    background: var(--ty-white);

    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.ty-failed-hero-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: center;
}

.ty-failed-copy h1 {
    margin: 0 0 18px;

    font-family: var(--ty-font-headline);
    font-size: clamp(58px, 8vw, 120px);
    line-height: .86;
    letter-spacing: -4px;
    font-weight: 900;
}

.ty-failed-copy p {
    max-width: 760px;
    margin: 0;
    padding-top: 20px;

    border-top: var(--ty-border-small);

    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
}

.ty-failed-x {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 220px;
    line-height: 1;
    font-weight: 900;
}

.ty-failed-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;

    margin-top: 24px;
}

.ty-failed-card {
    padding: 28px;

    border: var(--ty-border);
    background: var(--ty-cream);
}

.ty-failed-card h2 {
    margin: 0 0 18px;
    padding-bottom: 14px;

    border-bottom: var(--ty-border-small);

    font-family: var(--ty-font-headline);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.ty-failed-card p {
    margin: 0 0 28px;

    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
}

.ty-failed-note {
    margin-top: 24px;
    padding: 24px 28px;

    border: var(--ty-border);
    background: var(--ty-white);

    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
}


/* =========================================================
   19 RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .ty-booking {
        grid-template-columns: 1fr;
    }

    .ty-summary {
        display: none;
    }

    .ty-package-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ty-package-card.is-featured {
        transform: none;
    }

    .ty-package-card.is-featured:hover {
        transform: translateY(-4px);
    }
}


    @media (max-width: 980px) {
		
    body {
    padding-bottom: 150px !important;
}

    #activities-booking-widget {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .ty-booking {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .ty-booking-main {
        width: 100%;
        max-width: 100%;
        padding: 28px;
        overflow: hidden;
    }

    .ty-summary-card {
        display: none;
    }

    .ty-mobile-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(18px + env(safe-area-inset-bottom));
        z-index: 9999;

        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;

        min-height: 74px;
        max-width: calc(100vw - 24px);
        padding: 12px 14px;

        border: var(--ty-border-small);
        background: var(--ty-yellow);
        color: var(--ty-black);
        box-shadow: var(--ty-shadow-small);

        overflow: hidden;
    }

    .ty-mobile-bar > div:first-child {
        min-width: 0;
    }

    .ty-mobile-bar small {
        display: block;

        margin-bottom: 4px;

        font-size: 11px;
        line-height: 1;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;

        opacity: .7;
    }

    .ty-mobile-bar span {
        display: block;

        font-size: 14px;
        line-height: 1.1;
        font-weight: 900;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ty-mobile-bar strong {
        font-size: 24px !important;
        line-height: 1;
        white-space: nowrap;
    }

    .ty-mobile-bar-price button {
        min-height: 46px;
        padding: 10px 16px;

        border: var(--ty-border-small);
        background: var(--ty-orange);
        color: var(--ty-white);
        box-shadow: 4px 4px 0 var(--ty-black);

        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
    }

    footer,
    #main-footer,
    .et-l--footer {
        padding-bottom: 120px !important;
    }

    #ap-create-booking {
        margin-bottom: 110px !important;
    }
}

@media (max-width: 760px) {
    #activities-booking-widget {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ty-booking-main {
        padding: 18px;
        box-shadow: none;
    }

    .ty-hero {
        padding: 28px;
    }

    .ty-hero h2 {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .ty-package-grid,
    .ty-form-grid,
    .ty-slot-grid {
        grid-template-columns: 1fr !important;
    }

    .ty-package-card,
    .ty-package-card.is-featured {
        min-height: auto;
        transform: none;
    }

    .ty-package-card h4 {
        font-size: 42px !important;
    }

    .ty-date-action-row {
        grid-template-columns: 1fr;
    }

    #ap-date {
        width: 100% !important;
        max-width: 100% !important;

        text-align: center;
        font-size: 18px !important;
        font-weight: 900 !important;
    }

    #ap-load-slots {
        width: 100%;
        margin-top: 12px;
    }

    .ty-section-head h3 {
        font-size: 30px;
    }

    .ty-empty-availability {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .ty-empty-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .ty-success-grid,
    .ty-failed-cards,
    .ty-failed-hero-grid {
        grid-template-columns: 1fr;
    }

    .ty-failed-x {
        display: none;
    }

    .ty-success-hero,
    .ty-failed-hero {
        padding: 28px;
    }
}

@media (max-width: 520px) {
    .ty-person-button {
        width: 48px;
        height: 48px;
    }

    .ty-slot-grid {
        grid-template-columns: 1fr !important;
    }

    .ty-mobile-bar {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        max-width: calc(100vw - 16px);
    }
}

/* =========================================================
   PACKAGE SELECTED STATE - STRONGER VISIBILITY
========================================================= */

.ty-package-card.is-selected {
    outline: none !important;
    border-color: var(--ty-pink) !important;
    box-shadow:
        0 0 0 6px var(--ty-pink),
        var(--ty-shadow) !important;
}


.ty-package-card.is-featured.is-selected {
    box-shadow:
        0 0 0 6px var(--ty-pink),
        var(--ty-shadow-large) !important;
}
	
/* =========================================================
   PERFORMANCE FIX
========================================================= */

html {
    scroll-behavior: auto !important;
}

.ty-package-card,
.ty-slot-button,
.ty-person-button,
.ty-button,
.ty-home-button {
    transition: transform 0.12s ease, background 0.12s ease !important;
}

.ty-package-card:hover,
.ty-slot-button:hover,
.ty-person-button:hover,
.ty-button:hover {
    box-shadow: none !important;
}

.ty-package-card.is-selected {
    box-shadow: 0 0 0 6px var(--ty-blue) !important;
}

.ty-package-card.is-featured.is-selected {
    box-shadow: 0 0 0 6px var(--ty-blue), 8px 8px 0 var(--ty-black) !important;
}
	
	.ty-package-card,
.ty-slot-button,
.ty-person-button,
.ty-button {
    will-change: auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .ty-package-card:hover,
    .ty-slot-button:hover,
    .ty-person-button:hover,
    .ty-button:hover {
        transform: translateY(-2px);
    }
}

@media (hover: none) {
    .ty-package-card,
    .ty-slot-button,
    .ty-person-button,
    .ty-button {
        transition: none !important;
    }
}
	
	
	/* =========================================================
   DESKTOP: SUMMARY SIDEBAR ENTFERNEN
========================================================= */

@media (min-width: 981px) {
    .ty-booking {
        display: block !important;
        max-width: var(--ty-max);
    }

    .ty-booking-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ty-summary {
        display: none !important;
    }
}
	
	/* =========================================================
   INLINE SUMMARY ALS VOLLBREITER SETUP-BLOCK
========================================================= */

.ty-inline-summary.ty-summary-card {
    width: 100%;
    max-width: 100%;

    padding: 34px;

    border: var(--ty-border);
    background: var(--ty-pink);
    box-shadow: var(--ty-shadow);
}

.ty-inline-summary .ty-summary-total {
    max-width: 240px;
}

/* =========================================================
   COMMUNITY TICKET FLOW
   Eigenständige Ticketmaske für [theyard_community_ticket]
========================================================= */

#theyard-community-ticket-widget {
    width: min(var(--ty-max), calc(100vw - 48px));
    max-width: var(--ty-max);
    margin: 0 auto 80px;
    font-family: var(--ty-font-copy);
    color: var(--ty-black);
}

#theyard-community-ticket-widget *,
#theyard-community-ticket-widget *::before,
#theyard-community-ticket-widget *::after {
    box-sizing: border-box;
}

.ty-community-ticket-widget {
    width: 100%;
}

.ty-community-ticket-card {
    position: relative;
    overflow: hidden;

    padding: 42px;

    border: var(--ty-border);
    background: var(--ty-mint);
    box-shadow: var(--ty-shadow);
}

.ty-community-ticket-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;

    width: 260px;
    height: 260px;

    border-radius: 50%;
    background: var(--ty-pink);
    opacity: .45;
    pointer-events: none;
}

.ty-community-ticket-head,
.ty-community-ticket-grid,
.ty-community-ticket-note,
.ty-community-ticket-terms,
.ty-community-ticket-submit,
.ty-community-ticket-message {
    position: relative;
    z-index: 2;
}

.ty-community-ticket-head {
    max-width: 860px;
    margin-bottom: 34px;
}

.ty-community-ticket-head h3 {
    margin: 0 0 16px;

    font-family: var(--ty-font-headline);
    font-size: clamp(42px, 5vw, 78px);
    line-height: .9;
    letter-spacing: -3px;
    font-weight: 900;
    color: var(--ty-black);
}

.ty-community-ticket-head p {
    max-width: 720px;
    margin: 0;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.ty-community-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ty-community-ticket-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;

    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ty-community-ticket-input {
    width: 100%;
    min-height: 58px;

    border: var(--ty-border-small);
    border-radius: 0;

    padding: 0 16px;

    background: var(--ty-white);
    color: var(--ty-black);

    font-family: var(--ty-font-copy);
    font-size: 17px;
    font-weight: 800;

    outline: none;
}

.ty-community-ticket-input:focus {
    box-shadow: var(--ty-shadow-small);
}

.ty-community-ticket-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 104px;
    padding: 18px;

    border: var(--ty-border-small);
    background: var(--ty-yellow);
}

.ty-community-ticket-summary span {
    display: block;
    margin-bottom: 8px;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ty-community-ticket-summary strong {
    display: block;

    font-family: var(--ty-font-headline);
    font-size: 44px;
    line-height: .9;
    letter-spacing: -1px;
    font-weight: 900;
}

.ty-community-ticket-summary small {
    display: block;
    margin-top: 8px;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.ty-community-ticket-note {
    margin: 22px 0 18px;
    padding: 18px 20px;

    border: var(--ty-border-small);
    background: rgba(255, 255, 255, .58);
}

.ty-community-ticket-note strong {
    display: block;
    margin-bottom: 5px;

    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ty-community-ticket-note span {
    display: block;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.ty-community-ticket-terms {
    margin: 18px 0 !important;
}

.ty-community-ticket-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 62px;

    border: var(--ty-border-small);
    background: var(--ty-black);
    color: var(--ty-white);

    font-family: var(--ty-font-copy);
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;

    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.ty-community-ticket-submit:hover:not(:disabled) {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--ty-black);
}

.ty-community-ticket-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.ty-community-ticket-message {
    margin-top: 18px;
}

.ty-community-ticket-loading,
.ty-community-ticket-error {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}

.ty-community-ticket-error {
    background: var(--ty-yellow);
}

.ty-community-ticket-error strong,
.ty-community-ticket-error span {
    display: block;
}

.ty-community-ticket-error strong {
    margin-bottom: 6px;
    font-size: 22px;
}

@media (max-width: 760px) {
    #theyard-community-ticket-widget {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        margin-bottom: 60px;
    }

    .ty-community-ticket-card {
        padding: 28px;
    }

    .ty-community-ticket-grid {
        grid-template-columns: 1fr;
    }

    .ty-community-ticket-head h3 {
        font-size: clamp(36px, 11vw, 56px);
        letter-spacing: -2px;
    }

    .ty-community-ticket-head p {
        font-size: 18px;
    }

    .ty-community-ticket-summary strong {
        font-size: 36px;
    }
}

/* =========================================================
   EXCLUSIVE SLOTS
========================================================= */

.ty-slot-button.is-exclusive {
    background: var(--ty-yellow);
    border-color: var(--ty-black);
}

.ty-slot-button.is-exclusive em {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 5px 8px;
    border: 2px solid var(--ty-black);
    background: var(--ty-pink);
    color: var(--ty-black);
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ty-slot-button.is-exclusive small {
    font-weight: 900;
}

/* =========================================================
   FRONTEND SPLIT PAYMENT OPTIONS
========================================================= */

.ty-split-options {
    grid-column: 1 / -1;
}

.ty-split-count-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-weight: 900;
}

.ty-split-count-label input {
    width: 92px !important;
    max-width: 92px !important;
    text-align: center;
}

.ty-split-preview {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid rgba(18, 18, 18, 0.22);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.ty-split-preview strong {
    font-size: 16px;
    font-weight: 900;
}
