/* ── _shared.css ── */
/* ════════════════════════════════════════════════
   SECTION-BASIS  (.wy-section)
   Genutzt von: allen Section-Components
   ════════════════════════════════════════════════ */

.wy-section {
    max-width: 100%;
    padding: var(--wy-section-padding);
}

.wy-section-desc {
    font-size: 1rem;
    color: var(--wy-color-slate);
    max-width: 600px;
    margin: -1.5rem auto 2.5rem;
    text-align: center;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════
   GEMEINSAMES KARTEN-GRID  (.wy-cards-grid)
   Genutzt von: [wy_angebote_section], [wy_cross_links_section]
   ════════════════════════════════════════════════ */

.wy-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 2rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}
@media (max-width: 540px) {
    .wy-cards-grid { grid-template-columns: 1fr; }
}

/* ── wy_ablauf_section.css ── */
.wy-ablauf-section {
    background: var(--wy-color-white);
}
.wy-ablauf-card {
    background: var(--wy-color-snow);
    overflow: hidden;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}
.wy-ablauf-card.wy-ablauf-card-img { padding: 0 0 20px; }
.wy-ablauf-card-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.wy-ablauf-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 14px 16px 6px;
    color: var(--wy-color-forest);
}
.wy-ablauf-card p {
    font-size: 1rem;
    color: var(--wy-color-slate);
    margin: 0 16px 0;
}
.wy-ablauf-note {
    text-align: center;
    color: var(--wy-color-slate);
    font-size: 0.95rem;
    margin-top: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.wy-ablauf-note a {
    margin-left: 4px;
}

/* ── wy_angebot_card.css ── */
.wy-angebot-card {
    background: var(--wy-color-snow);
    border: 1px solid var(--wy-color-sage-light);
    border-radius: var(--wy-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.wy-angebot-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.wy-angebot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.wy-angebot-card:hover .wy-angebot-img-wrap img { transform: scale(1.03); }
.wy-angebot-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wy-angebot-body h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--wy-color-forest);
    margin: 0.3rem 0 0.8rem;
}
.wy-angebot-body p {
    font-size: 0.95rem;
    color: var(--wy-color-slate);
    margin-bottom: 1.5rem;
    flex: 1;
}
.wy-angebot-body .wp-block-button { margin-top: auto; width: 100%; display: block; }
.wy-angebot-body .wp-block-button__link {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* ── wy_angebote_section.css ── */
.wy-angebote-section {
    max-width: 100%;
    background: var(--wy-color-white);
}

.wy-angebote-section .wy-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .wy-angebote-section .wy-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .wy-angebote-section .wy-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ── wy_banner_section.css ── */
.wy-page-banner {
    height: clamp(var(--wy-banner-height-min), var(--wy-banner-height-vw), var(--wy-banner-height-max));
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}
.wy-page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--wy-banner-position, center);
    display: block;
}
@media (max-width: 768px) {
    .wy-page-banner {
        display: block;
        height: 200px;
        overflow: hidden;
    }
    .wy-page-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* ── wy_contact.css ── */
/* Styles für [wy_contact] leben in wy_contact_form_section.css */

/* ── wy_contact_form_section.css ── */
/* ════════════════════════════════════════════════
   WY CONTACT FORM SECTION
   ════════════════════════════════════════════════ */

.wy-contact-form-section {
    background-color: var(--wy-color-snow);
    padding: 80px 5%;
}

.wy-contact-form-section-inner {
    max-width: var(--wy-content-max-width, 1200px);
    margin: 0 auto;
}

.wy-contact-subtext {
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.wy-contact-form-section .wy-h2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ════════════════════════════════════════════════
   FORMULAR-LAYOUT — zentriert, eigene max-width
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════
   FELDER — Label im Overline-Stil
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.wy-contact .wy-contact-field label {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--wy-color-dark-teal);
    line-height: 1.4;
    margin: 0;
}

.wy-contact .wy-required {
    color: #c0392b;
    letter-spacing: 0;
}

.wy-contact .wy-contact-field input[type="text"],
.wy-contact .wy-contact-field input[type="email"],
.wy-contact .wy-contact-field textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--wy-color-sage-light);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: var(--wy-color-white);
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin: 0;
}

.wy-contact .wy-contact-field input:focus,
.wy-contact .wy-contact-field textarea:focus {
    outline: none;
    border-color: var(--wy-color-teal);
    box-shadow: 0 0 0 2px rgba(61, 122, 110, 0.15);
}

.wy-contact .wy-contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* ════════════════════════════════════════════════
   SUBMIT — ast-button Primary
   ════════════════════════════════════════════════ */

.wy-contact .ast-button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════
   HONEYPOT
   ════════════════════════════════════════════════ */

.wy-contact-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ════════════════════════════════════════════════
   MELDUNGEN
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-success {
    background: rgba(61, 122, 110, 0.08);
    border: 1px solid var(--wy-color-teal);
    padding: 1.5rem 2rem;
    color: var(--wy-color-teal);
}

.wy-contact .wy-contact-success p {
    margin: 0 0 0.5rem;
}

.wy-contact .wy-contact-success p:last-child {
    margin-bottom: 0;
}

.wy-contact .wy-contact-errors {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid #c0392b;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.wy-contact .wy-contact-errors p {
    margin: 0 0 0.25rem;
    color: #c0392b;
    font-size: 0.9rem;
}

.wy-contact .wy-contact-errors p:last-child {
    margin-bottom: 0;
}

.wy-contact-error {
    color: #c0392b;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .wy-contact-form-section {
        padding: 60px 24px;
    }

    .wy-contact .ast-button {
        width: 100%;
        text-align: center;
    }
}

/* ── wy_contact_intro_section.css ── */
.wy-contact-intro-section {
    background-color: var(--wy-color-white);
}

.wy-contact-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}

.wy-contact-intro-text .wy-h2 {
    text-transform: uppercase;
}

.wy-contact-intro-body p {
    color: var(--wy-color-forest);
    line-height: 1.7;
}

.wy-contact-intro-card {
    background: var(--wy-color-snow);
    padding: 2rem;
    align-self: start;
}

.wy-contact-intro-card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
}

.wy-contact-intro-card-name {
    margin: 0 0 1rem;
}

.wy-contact-intro-card-details {
    color: var(--wy-color-forest);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .wy-contact-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ── wy_cross_links_section.css ── */
.wy-crosslinks-section {
    max-width: 100%;
    background-color: var(--wy-color-sage-light);
}
/* Karten-Overrides für CrossLinks-Kontext */
.wy-crosslinks-section .wy-angebot-card {
    background: var(--wy-color-white);
    border: 1px solid var(--wy-color-sage);
}
.wy-crosslinks-section .wy-angebot-img-wrap { aspect-ratio: 16/9; }

/* ── wy_cta_banner_section.css ── */
.wy-cta-banner {
    max-width: 100%;
    background-color: var(--wy-color-dark-teal);
    padding: 60px 5%;
    text-align: center;
}
.wy-cta-banner h2 {
    color: var(--wy-color-white);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 1rem;
}
.wy-cta-banner p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
}
.wy-cta-banner .wp-block-buttons { justify-content: center; }

/* ── wy_details_section.css ── */
.wy-details-section {
    background-color: var(--wy-color-snow);
}
.wy-details-header {
    text-align: center;
    margin-bottom: 3rem;
}
.wy-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}
@media (max-width: 900px) {
    .wy-details-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .wy-details-grid { grid-template-columns: 1fr; }
}
.wy-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--wy-color-sage-light);
    border-radius: var(--wy-radius-sm);
    background: var(--wy-color-white);
}
.wy-detail-icon {
    flex-shrink: 0;
    color: var(--wy-color-teal);
}
.wy-detail-label {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wy-color-dark-teal);
    margin-bottom: 4px;
}
.wy-detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--wy-color-forest);
}

/* ── wy_exclusive_inquiry_section.css ── */
.wy-exclusive-inquiry-section {
    background-color: var(--wy-color-snow);
}

.wy-exclusive-inquiry-section-inner {
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}

.wy-exclusive-inquiry-section .wy-h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.wy-exclusive-inquiry-desc {
    text-align: center;
    color: var(--wy-color-slate);
    margin-bottom: 2.5rem;
}

.wy-inquiry-form-wrap {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

/* ── wy_extras_grid.css ── */
.wy-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 3rem;
}
@media (max-width: 600px) {
    .wy-extras-grid { grid-template-columns: 1fr; }
}
.wy-extra-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--wy-radius-md);
}
.wy-extra-icon {
    flex-shrink: 0;
    color: var(--wy-color-teal-light);
    margin-top: 2px;
}
.wy-extra-item strong {
    display: block;
    color: var(--wy-color-white);
    font-weight: 600;
    margin-bottom: 4px;
}
.wy-extra-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* ── wy_faq_section.css ── */
.wy-faq-section {
    background: var(--wy-color-white);
}
.wy-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}
@media (max-width: 900px) { .wy-faq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .wy-faq-grid { grid-template-columns: 1fr; } }
.wy-faq-card {
    background: var(--wy-color-snow);
    border-left: 3px solid var(--wy-color-teal);
    padding: 2rem;
    border-radius: 0 var(--wy-radius-sm) var(--wy-radius-sm) 0;
}
.wy-faq-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wy-color-forest);
    margin-bottom: 0.8rem;
}
.wy-faq-card p {
    font-size: 0.95rem;
    color: var(--wy-color-slate);
    margin: 0;
}

/* ── wy_foto_rondell.css ── */
/* wy_foto_rondell — Vollbild-Fotoslider */

.wy-rondell-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

.wy-rondell-header .wy-overline {
    color: var(--wy-color-white);
}

.wy-rondell-header .wy-h2 {
    color: var(--wy-color-white);
}

.wy-foto-rondell {
    /* Aus Astra-Container rausbrechen */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    width: 100vw;
    overflow: hidden;
    background: #0a0a0a;
    /* Seitenverhältnis: 16:9 Desktop, quadratisch Mobile */
    aspect-ratio: 16 / 7;
}

@media (max-width: 768px) {
    .wy-foto-rondell {
        aspect-ratio: 4 / 3;
    }
}

/* Track */
.wy-rondell-track {
    display: flex;
    width: 100vw !important; /* muss exakt dem Rondell entsprechen, nicht dem Astra-Container */
    max-width: 100vw !important;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Slides */
.wy-rondell-slide {
    min-width: 100vw;
    width: 100vw;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.wy-rondell-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--wy-rondell-position, center);
    display: block;
}

/* Prev / Next Buttons */
.wy-rondell-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    padding: 0.5rem 0.9rem;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

.wy-rondell-btn:hover {
    background: rgba(0, 0, 0, 0.65);
}

.wy-rondell-prev { left: 1rem; }
.wy-rondell-next { right: 1rem; }

@media (max-width: 768px) {
    .wy-rondell-btn {
        font-size: 1.5rem;
        padding: 0.35rem 0.7rem;
    }
    .wy-rondell-prev { left: 0.5rem; }
    .wy-rondell-next { right: 0.5rem; }
}

/* Dots */
.wy-rondell-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    z-index: 10;
}

.wy-rondell-dot {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.wy-rondell-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: background 0.2s, transform 0.2s;
}

.wy-rondell-dot.active::after {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.3);
}

/* Credit */
.wy-rondell-credit {
    position: absolute;
    bottom: 2.5rem; /* above dots */
    right: 1rem;
    margin: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.wy-rondell-credit a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.wy-rondell-credit a:hover {
    color: #fff;
}

/* ── wy_hero_section.css ── */
.wy-hero-section { display: block; width: 100%; }
.wy-hero-section .wp-block-cover { min-height: 92vh; aspect-ratio: unset; }
.wy-hero-section .wp-block-cover__background { background-color: var(--wy-color-forest); }
.wy-hero-section .wp-block-cover__inner-container { padding: 0; }
.wy-hero-section .wp-block-cover.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}
.wy-hero-section .wp-block-cover__inner-container {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: stretch;
}
.wy-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 92vh;
}
/* Pille: etwas höher */
.wy-hero-inner .wy-overline {
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}
/* H1: etwas höher als Mitte */
.wy-hero-inner h1.wp-block-heading {
    position: absolute;
    top: 44%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
}
/* Buttons: 3/4 von oben */
.wy-hero-inner .wp-block-buttons {
    position: absolute;
    top: 75%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}
.wy-hero-section .wy-overline { color: rgba(255,255,255,0.75); }
.wy-hero-section .wy-overline > span {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
}
.wy-hero-section h1.wp-block-heading {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.2;
    letter-spacing: 2px;
    color: var(--wy-color-white);
}
.wy-hero-section p.has-text-align-center {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}
.wy-hero-section p.has-text-align-center > span {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
}

/* ── wy_highlight_banner.css ── */
.wy-highlight-banner {
    --wy-highlight-accent: var(--wy-color-pink);
    background: color-mix(in srgb, var(--wy-highlight-accent) 6%, var(--wy-color-white));
}

.wy-highlight-card {
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
    background: var(--wy-color-white);
    border: 1px solid var(--wy-color-sage-light);
    border-left: 4px solid var(--wy-highlight-accent);
    border-radius: 0 var(--wy-radius-sm) var(--wy-radius-sm) 0;
    padding: 2rem 2.5rem;
    text-align: center;
}

.wy-highlight-overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--wy-highlight-accent);
}

.wy-highlight-icon svg {
    width: 18px;
    height: 18px;
}

.wy-highlight-h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--wy-color-forest);
}

.wy-highlight-body {
    font-size: 0.95rem;
    color: var(--wy-color-slate);
    line-height: 1.6;
}

.wy-highlight-body p {
    margin: 0 0 0.75rem;
}

/* wy_check Icon-Bullets */
.wy-check-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0.5rem 0 1rem;
    text-align: left;
}

.wy-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    flex: 1;
}

@media (max-width: 600px) {
    .wy-check-list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.wy-check-icon {
    flex-shrink: 0;
    color: var(--wy-highlight-accent);
    margin-top: 0.1rem;
}

.wy-check-icon svg {
    width: 18px;
    height: 18px;
}

.wy-highlight-cta {
    margin: 0;
}

.wy-btn--highlight {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--wy-highlight-accent);
    color: var(--wy-color-white) !important;
    text-decoration: none;
    border-radius: var(--wy-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.wy-btn--highlight:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .wy-highlight-card {
        padding: 1.5rem 1.25rem;
    }
    .wy-highlight-h2 {
        font-size: 1.25rem;
    }
}

/* ── wy_intro_section.css ── */
.wy-intro-section {
    background-color: var(--wy-color-sage-light);
}
.wy-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
    align-items: stretch;
}
@media (max-width: 768px) {
    .wy-intro-grid { grid-template-columns: 1fr; }
}
.wy-intro-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--wy-radius-sm);
    display: block;
}
.wy-intro-text h2 { color: var(--wy-color-forest); }
.wy-intro-text p  { color: var(--wy-color-forest); opacity: var(--wy-opacity-muted); }
.wy-intro-signature {
    font-size: 22px;
    font-style: italic;
    color: var(--wy-color-dark-teal);
    margin-top: 2rem;
}

/* ── wy_location_section.css ── */
.wy-location-section {
    max-width: 100%;
    background: var(--wy-color-snow);
}
.wy-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
    align-items: center;
}
@media (max-width: 768px) { .wy-location-grid { grid-template-columns: 1fr; } }
.wy-location-map { border-radius: var(--wy-radius-sm); overflow: hidden; min-height: 350px; }
.wy-location-map iframe {
    display: block;
    width: 100%;
    min-height: 350px;
    border: 0;
    border-radius: var(--wy-radius-sm);
}
.wy-location-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--wy-color-forest);
}
.wy-location-item .wy-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: var(--wy-color-teal);
}
.wy-location-note {
    font-size: 0.9rem;
    color: var(--wy-color-slate);
    margin-top: 1rem;
}

/* ── wy_main_cta_section.css ── */
.wy-main-cta-section {
    background-color: var(--wy-color-forest);
}
.wy-main-cta-inner {
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
    text-align: center;
}
.wy-main-cta-section .wy-overline {
    color: var(--wy-color-white);
    display: block;
    text-align: center;
    margin-bottom: 12px;
}
.wy-main-cta-section .wy-h2 {
    color: var(--wy-color-white);
    text-align: center;
    margin-bottom: 16px;
}
.wy-main-cta-text {
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.wy-main-cta-note {
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 1.5rem auto 0;
    text-align: center;
}
.wy-main-cta-link {
    margin-top: 2rem;
    text-align: center;
}
.wy-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.wy-cta-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none !important;
    background: transparent;
    color: var(--wy-color-white) !important;
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    transition: background 0.2s;
}
.wy-cta-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--wy-color-white) !important;
}
@media (max-width: 768px) {
    .wy-cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .wy-cta-btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* ── wy_preise_karten.css ── */
.wy-preise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    justify-content: center;
}
.wy-preis-card {
    display: block;
    border-radius: var(--wy-radius-md);
    padding: 28px 20px;
    text-align: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.wy-preis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    background: rgba(255,255,255,0.13);
    text-decoration: none;
}
.wy-preis-name {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,0.65);
    display: block;
    margin-bottom: 10px;
}
.wy-preis-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--wy-color-white);
    display: block;
    margin-bottom: 4px;
}
.wy-preis-unit {
    font-size: .82rem;
    color: rgba(255,255,255,0.65);
    display: block;
}

/* ── wy_termine.css ── */
.wy-termine-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.wy-termin-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--wy-radius-sm);
    background: rgba(255,255,255,0.06);
}
.wy-termin-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem 0.9rem;
    border-radius: 3px;
    background: var(--wy-color-teal);
    text-align: center;
}
.wy-termin-weekday {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--wy-color-white);
    line-height: 1;
}
.wy-termin-day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wy-color-white);
}
.wy-termin-month {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--wy-color-white);
}
.wy-termin-info { flex: 1; }
.wy-termin-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--wy-color-white);
    margin: 0 0 0.2rem;
}
.wy-termin-details {
    font-size: 0.9rem;
    color: var(--wy-color-sage-light);
    margin: 0;
}
.wy-termin-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}
.wy-termine-empty {
    color: rgba(255,255,255,0.50);
    text-align: center;
    padding: 2rem 0;
}
.wy-termine-stock--low { color: var(--wy-color-warning); font-weight: 600; }
.wy-termin-price { color: rgba(255,255,255,0.75); }

/* Neu-Badge */
.wy-termin-date {
    position: relative;
}
.wy-badge-new {
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--wy-color-white);
    /*border: 2px solid var(--wy-color-white);*/
    /*border-radius: 999px;*/
    padding: 0.05em 0.5em;
    transform: rotate(-15deg);
    line-height: 1;
    pointer-events: none;
}

/* Ausgebuchte Termine */
.wy-termin-row--out .wy-termin-date { background: var(--wy-color-error); }
.wy-termine-stock--out {
    color: #ff7a6a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .wy-termin-action {
        width: 100%;
    }
    .wy-termin-action .wy-btn {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .wy-termin-action .wy-btn--primary {
        background-color: transparent !important;
        color: var(--wy-color-teal-light) !important;
        border: 3px solid var(--wy-color-teal-light) !important;
        font-weight: 700 !important;
        font-size: 1.2rem !important;
    }
    .wy-termin-action .wy-btn--primary:hover {
        background-color: var(--wy-color-teal-light) !important;
        color: var(--wy-color-white) !important;
    }
}

/* ── wy_testimonials_section.css ── */
.wy-testimonials-section {
    max-width: 100%;
    background-color: var(--wy-color-snow);
}
.wy-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}
@media (max-width: 900px) { .wy-testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .wy-testimonials-grid { grid-template-columns: 1fr; } }
.wy-testimonial-card {
    background: var(--wy-color-white);
    border-left: 3px solid var(--wy-color-teal);
    padding: 2rem;
    border-radius: 0 var(--wy-radius-sm) var(--wy-radius-sm) 0;
}
.wy-stars { color: var(--wy-color-warning); margin-bottom: 0.8rem; font-size: 1rem; }
.wy-testimonial-quote { font-style: italic; font-size: 0.95rem; color: var(--wy-color-slate); margin-bottom: 1.2rem; }
.wy-testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--wy-color-forest); margin: 0; }
.wy-testimonial-author span { font-weight: 400; color: var(--wy-color-slate); }

/* ── wy_tv_section.css ── */
.wy-tv-section {
    background: var(--wy-color-white);
}
.wy-tv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 600px) { .wy-tv-grid { grid-template-columns: 1fr; } }
.wy-tv-video-card { display: flex; flex-direction: column; gap: 1rem; }
.wy-tv-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--wy-radius-sm);
    background: var(--wy-color-forest);
}
.wy-tv-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
    display: block;
}
.wy-tv-lazy { cursor: pointer; }
.wy-tv-thumb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    object-fit: cover;
}
.wy-tv-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    transition: opacity 0.2s;
}
.wy-tv-lazy:hover .wy-tv-play { opacity: 0.85; }
.wy-tv-caption { padding: 0 0.2rem; }
.wy-tv-show {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wy-color-dark-teal);
    margin-bottom: 0.3rem;
    font-family: Arial, sans-serif;
}
.wy-tv-title {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--wy-color-forest);
    margin-bottom: 0.2rem !important;
    line-height: 1.4;
}
.wy-tv-meta {
    font-size: 0.8rem;
    color: var(--wy-color-slate);
    margin: 0 !important;
}

/* ── wy_uebermich_section.css ── */
/* wy_uebermich_section — Bio-Layout mit zwei Bild-Text-Paaren */

.wy-uebermich-section {
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.wy-uebermich-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.wy-uebermich-row:last-child {
    margin-bottom: 0;
}

/* Bild links: img | text */
.wy-uebermich-row--img-left {
    grid-template-areas: "img text";
}

/* Bild rechts: text | img */
.wy-uebermich-row--img-right {
    grid-template-areas: "text img";
}

.wy-uebermich-row--img-left .wy-uebermich-img  { grid-area: img; }
.wy-uebermich-row--img-left .wy-uebermich-text { grid-area: text; }
.wy-uebermich-row--img-right .wy-uebermich-text { grid-area: text; }
.wy-uebermich-row--img-right .wy-uebermich-img  { grid-area: img; }

.wy-uebermich-img img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.wy-uebermich-text .wy-overline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wy-color-teal, #3d7a6e);
    margin-bottom: 0.5rem;
}

.wy-uebermich-text h2 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 2rem;
    color: var(--wy-color-forest, #06140C);
}

.wy-uebermich-body p {
    margin-bottom: 1.2em;
    line-height: 1.8;
    color: var(--wy-color-slate, #454F5E);
}

/* Signatur — gleicher Stil wie wy_intro_section */
.wy-uebermich-section .wy-intro-signature {
    font-size: 22px;
    font-style: italic;
    color: var(--wy-color-dark-teal);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .wy-uebermich-row {
        grid-template-columns: 1fr;
        grid-template-areas: "img" "text" !important;
    }
}

/* ── wy_video_section.css ── */
.wy-video-section {
    background: var(--wy-color-snow, #e9eee9);
    padding: 3rem 0;
}

.wy-video-section .wy-section-header {
    text-align: center;
    padding-bottom: 1.5rem;
}


.wy-video-section .wy-section-header .wy-h2 {
    color: var(--wy-color-forest, #06140C);
}

.wy-video-section .wy-video-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.wy-video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── wy_wc_preis.css ── */
/* wy_wc_preis — kein eigenes CSS */

/* ── wy_yoga_kurse.css ── */
/* ════════════════════════════════════════════════
   WY YOGA KURSE — Frontend Styles
   Sections sind direkte entry-content Kinder (alignfull).
   Layout-Tokens und wy-termin-* Basis kommen aus style.css / wy_termine.css
   ════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════ */

.wy-yoga-section--login,
.wy-yoga-section--buchbare-kurse {
    background: var(--wy-color-white);
    padding: var(--wy-section-padding) !important;
}

.wy-yoga-section--meine-kurse,
.wy-yoga-section--geplante-kurse {
    background: var(--wy-color-snow);
    padding: var(--wy-section-padding) !important;
}

/* Override Astra page-builder-template max-width: none */
.wy-yoga-section > .wy-yoga-section-inner {
    max-width: var(--wy-content-max-width);
    margin: 0 auto;
}

/* Karten-BG invertiert zur Section-BG */
.wy-cards--light .wy-termin-row { background: var(--wy-color-white) !important; }
.wy-cards--dark  .wy-termin-row { background: var(--wy-color-snow) !important; }

/* ════════════════════════════════════════════════
   LOGIN
   ════════════════════════════════════════════════ */

.wy-login-form {
    background: var(--wy-color-snow);
    border: 1px solid var(--wy-color-sage-light);
    border-radius: var(--wy-radius-sm);
    padding: 2rem;
    margin: 1.5rem 0 2rem;
}

.wy-login-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.wy-login-header label {
    width: 100%;
    font-weight: 600;
    color: var(--wy-color-forest);
    margin-bottom: 0.25rem;
}

.wy-login-header input[type="text"] {
    flex: 1;
    min-width: 180px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--wy-color-sage);
    border-radius: var(--wy-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--wy-color-white);
}

.wy-login-header input[type="text"]:focus {
    outline: none;
    border-color: var(--wy-color-teal);
}

.wy-login-header input.wy-input-invalid       { border-color: var(--wy-color-error); }
.wy-login-header input.wy-input-invalid:focus  { border-color: var(--wy-color-error); }

/* ════════════════════════════════════════════════
   KOMPAKTER HEADER (eingeloggt)
   ════════════════════════════════════════════════ */

.wy-compact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    background: var(--wy-color-snow);
    border: 1px solid var(--wy-color-sage-light);
    border-left: 4px solid var(--wy-color-teal);
    border-radius: 0 var(--wy-radius-sm) var(--wy-radius-sm) 0;
}

.wy-compact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 2rem;
}

.wy-compact-identity,
.wy-compact-credits {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.05rem;
    font-weight: 400;
}

.wy-compact-identity { color: var(--wy-color-forest); }
.wy-compact-credits  { color: var(--wy-color-dark-teal); }

.wy-compact-identity svg,
.wy-compact-credits svg { flex-shrink: 0; vertical-align: middle; }

.wy-compact-actions form { margin: 0; }

/* ════════════════════════════════════════════════
   KONTAKTDATEN (details/summary)
   ════════════════════════════════════════════════ */

.wy-contact-details {
    margin-bottom: 2rem;
    border: 1px solid var(--wy-color-sage-light);
    border-radius: var(--wy-radius-sm);
    overflow: hidden;
}

.wy-contact-details summary {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--wy-color-dark-teal);
    padding: 0.75rem 1rem;
    background: var(--wy-color-snow);
    user-select: none;
    list-style: none;
}

.wy-contact-details summary:hover        { background: var(--wy-color-sage-light); }
.wy-contact-details[open] summary        { border-bottom: 1px solid var(--wy-color-sage-light); }

#wy-contact-update-form {
    padding: 1.25rem 1rem;
    margin: 0;
}

.wy-contact-hint {
    font-size: 0.9rem;
    color: var(--wy-color-slate);
    margin: 0 0 1rem;
}

.wy-contact-fields-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 2rem;
    margin-bottom: 0.75rem;
}

.wy-contact-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wy-contact-field label {
    font-size: 0.9rem;
    color: var(--wy-color-slate);
    margin: 0;
    white-space: nowrap;
}

.wy-contact-field input {
    padding: 0.4rem 0.6rem;
    min-width: 220px;
    border-radius: var(--wy-radius-sm);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 400;
}

.wy-contact-field input[type="email"]    { min-width: 280px; }

.wy-contact-field input.wy-input-readonly {
    border: 1px solid transparent;
    background: transparent;
    padding-left: 0;
    color: var(--wy-color-forest);
}

.wy-contact-field input.wy-input-edit {
    border: 1px solid var(--wy-color-sage);
    background: var(--wy-color-white);
}

.wy-contact-form-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════
   KURSLISTE
   gap/flex-direction via wy-termine-list (wy_termine.css)
   ════════════════════════════════════════════════ */

.wy-course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Termin-Row Override für hellen Kontext */
.wy-yoga-section .wy-termin-row {
    border: 1px solid var(--wy-color-sage-light);
}

.wy-yoga-section .wy-termin-row:hover {
    border-color: var(--wy-color-sage);
}

/* Dreispaltiges Info-Layout: Uhrzeit | Titel | Plätze */
.wy-course-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.wy-course-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--wy-color-slate);
    white-space: nowrap;
    flex: 0 0 auto;
}

.wy-course-title {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    color: var(--wy-color-forest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wy-course-slots {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--wy-color-dark-teal);
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* ════════════════════════════════════════════════
   AKTIONEN
   ════════════════════════════════════════════════ */

.wy-course-actions {
    flex-shrink: 0;
    margin-left: auto;
}

.wy-action-form { margin: 0; }

/* Buttons — Outline (Secondary) */
.wy-yoga-section button,
.wy-yoga-section input[type="submit"] {
    background: transparent !important;
    color: var(--wy-color-teal) !important;
    border: 2px solid var(--wy-color-teal) !important;
}

.wy-yoga-section button:hover,
.wy-yoga-section input[type="submit"]:hover {
    background: var(--wy-color-teal) !important;
    color: var(--wy-color-white) !important;
}

/* Absagen-Button */
.wy-action-form button.wy-btn-cancel {
    background: transparent !important;
    border-color: rgba(192,57,43,0.5) !important;
    color: var(--wy-color-error) !important;
}

.wy-action-form button.wy-btn-cancel:hover {
    background: var(--wy-color-error) !important;
    border-color: var(--wy-color-error) !important;
    color: var(--wy-color-white) !important;
}

.wy-action-disabled {
    font-size: 0.85rem;
    color: var(--wy-color-slate);
    display: block;
}

.wy-no-courses {
    color: var(--wy-color-slate);
    opacity: var(--wy-opacity-muted);
    font-style: italic;
}

/* ════════════════════════════════════════════════
   VERGANGENE KURSE
   ════════════════════════════════════════════════ */

.wy-past-courses              { margin: 0.5rem 0 1.5rem; }

.wy-past-courses > summary {
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--wy-color-slate);
    padding: 0.4rem 0;
    user-select: none;
    opacity: var(--wy-opacity-muted);
}

.wy-past-courses > summary:hover         { opacity: 1; }
.wy-past-courses[open] > summary         { margin-bottom: 0.5rem; }

.wy-past-courses .wy-termin-row {
    opacity: var(--wy-opacity-muted);
    padding: 0.7rem 1.25rem;
    border-style: dashed;
}

.wy-past-courses .wy-termin-date { min-width: 44px; padding: 0.3rem 0.6rem; }
.wy-past-courses .wy-termin-day  { font-size: 16px; }
.wy-past-courses .wy-termin-month { font-size: 12px; }

/* ════════════════════════════════════════════════
   FEHLER
   ════════════════════════════════════════════════ */

.wy-error {
    color: var(--wy-color-error);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .wy-login-header input[type="text"] { width: 100%; }

    .wy-course-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .wy-course-title {
        text-align: left;
        white-space: normal;
    }

    .wy-yoga-section .wy-course-actions { flex-basis: 100%; }

    .wy-action-form,
    .wy-action-form button {
        width: 100%;
        box-sizing: border-box;
    }
}

