/**
 * Lichtfeld Yoga – Premium Wellness UI
 * Farben: Primary #7A9E7E, Secondary #F4EDE4, Accent #D6B98C, Text #2D2D2D, Section #FAF8F5
 */

:root {
    --yw-primary: #7a9e7e;
    --yw-primary-deep: #5f7f63;
    --yw-secondary: #f4ede4;
    --yw-accent: #d6b98c;
    --yw-text: #2d2d2d;
    --yw-muted: #5c5c5c;
    --yw-bg: #faf8f5;
    --yw-white: #ffffff;
    --yw-glass: rgba(255, 255, 255, 0.72);
    --yw-glass-dark: rgba(45, 45, 45, 0.45);
    --yw-shadow: 0 18px 50px rgba(45, 45, 45, 0.08);
    --yw-shadow-soft: 0 10px 36px rgba(122, 158, 126, 0.15);
    --yw-radius: 1.35rem;
    --yw-radius-sm: 1rem;
    --yw-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --yw-serif: "Playfair Display", Georgia, serif;
    --yw-sans: "Poppins", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.yw-body {
    font-family: var(--yw-sans);
    color: var(--yw-text);
    background: var(--yw-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

.yw-font-serif {
    font-family: var(--yw-serif);
}

/* Scroll-Fortschritt */
.yw-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 1100;
    background: linear-gradient(90deg, var(--yw-primary), var(--yw-accent));
    pointer-events: none;
    transition: width 0.12s linear;
}

/* ---------- Navbar ---------- */
.yw-navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.4s var(--yw-ease), box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.yw-navbar--transparent {
    background: transparent !important;
    border-bottom-color: transparent;
    box-shadow: none;
}

.yw-navbar--transparent .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.yw-navbar--transparent .yw-brand__name,
.yw-navbar--transparent .yw-brand__tag {
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.yw-navbar--transparent .yw-brand__icon {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.yw-navbar--transparent .yw-btn-cta {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.yw-navbar--transparent .yw-btn-cta:hover {
    background: #fff;
    color: var(--yw-primary-deep) !important;
    border-color: #fff;
}

.yw-navbar--transparent .yw-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.yw-navbar--transparent .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.yw-navbar--solid {
    background: var(--yw-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(122, 158, 126, 0.2);
    box-shadow: var(--yw-shadow-soft);
}

.yw-navbar--solid .nav-link {
    color: var(--yw-text) !important;
    text-shadow: none;
}

.yw-navbar--solid .yw-brand__name {
    color: var(--yw-text) !important;
    text-shadow: none;
}

.yw-navbar--solid .yw-brand__tag {
    color: var(--yw-muted) !important;
    text-shadow: none;
}

.yw-navbar--solid .yw-brand__icon {
    background: linear-gradient(145deg, var(--yw-primary), var(--yw-primary-deep));
    border: none;
}

.yw-navbar--solid .yw-toggler {
    border-color: rgba(45, 45, 45, 0.12);
    background: var(--yw-secondary);
}

.yw-navbar--solid .navbar-toggler-icon {
    filter: none;
}

.yw-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.yw-brand__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--yw-radius-sm);
    background: linear-gradient(145deg, var(--yw-primary), var(--yw-primary-deep));
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.yw-brand__icon::after {
    content: "";
    position: absolute;
    inset: 22%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50% 50% 0 50%;
    transform: rotate(-45deg);
}

.yw-brand__icon--footer::after {
    border-color: rgba(255, 255, 255, 0.9);
}

.yw-brand__icon--footer {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.yw-brand__name {
    font-family: var(--yw-serif);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    line-height: 1.15;
    color: var(--yw-text);
}

.yw-brand__tag {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yw-muted);
}

.yw-nav-links .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
    position: relative;
}

.yw-nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--yw-accent), var(--yw-primary));
    transform: scaleX(0);
    transition: transform 0.35s var(--yw-ease);
}

.yw-nav-links .nav-link:hover::after,
.yw-nav-links .nav-link.active::after {
    transform: scaleX(1);
}

.yw-nav-links .nav-link.active {
    color: var(--yw-primary-deep) !important;
}

.yw-btn-cta {
    font-family: var(--yw-sans);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.5rem 1.35rem;
    background: var(--yw-primary);
    color: #fff !important;
    border: 1px solid transparent;
    box-shadow: var(--yw-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.yw-btn-cta:hover {
    background: var(--yw-primary-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(122, 158, 126, 0.35);
}

.yw-btn-outline-light {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border: 2px solid rgba(255, 255, 255, 0.75);
    color: #fff;
    background: transparent;
    transition: all 0.3s ease;
}

.yw-btn-outline-light:hover {
    background: #fff;
    color: var(--yw-primary-deep);
}

.yw-toggler {
    border-radius: var(--yw-radius-sm);
}

/* ---------- Glass ---------- */
.yw-glass {
    background: var(--yw-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--yw-shadow);
}

/* ---------- Hero ---------- */
.yw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    overflow: hidden;
}

.yw-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.yw-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.yw-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(45, 45, 45, 0.55) 0%, rgba(122, 158, 126, 0.35) 45%, rgba(214, 185, 140, 0.25) 100%);
    z-index: 1;
}

.yw-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.yw-hero__inner {
    position: relative;
    z-index: 3;
}

.yw-hero__eyebrow {
    display: inline-block;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--yw-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.yw-hero h1 {
    font-family: var(--yw-serif);
    font-size: clamp(2.15rem, 5vw, 3.6rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.12;
    max-width: 640px;
}

.yw-hero__lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 1.25rem 0 1.75rem;
    font-weight: 300;
}

/* Page hero (inner pages) */
.yw-page-hero {
    position: relative;
    padding: 9rem 0 4rem;
    min-height: 48vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.yw-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.yw-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.15) 0%, rgba(250, 248, 245, 0.92) 90%);
    z-index: 1;
}

.yw-page-hero .container {
    position: relative;
    z-index: 2;
}

.yw-page-hero h1 {
    font-family: var(--yw-serif);
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ---------- Sections ---------- */
.yw-section {
    padding: 5rem 0;
}

.yw-section--cream {
    background: var(--yw-secondary);
}

.yw-section--light {
    background: var(--yw-bg);
}

.yw-divider {
    width: 64px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--yw-accent), var(--yw-primary));
    margin: 0 auto 1.5rem;
}

.yw-section-title {
    max-width: 640px;
}

.yw-section-title .lead {
    color: var(--yw-muted);
    font-weight: 400;
}

/* Benefit / cards */
.yw-benefit {
    border-radius: var(--yw-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(122, 158, 126, 0.14);
    box-shadow: var(--yw-shadow);
    transition: transform 0.4s var(--yw-ease), box-shadow 0.4s ease;
}

.yw-benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 55px rgba(122, 158, 126, 0.18);
}

.yw-benefit__icon {
    font-size: 1.5rem;
    color: var(--yw-primary-deep);
    margin-bottom: 1rem;
}

/* Service card with image */
.yw-class-card {
    border-radius: var(--yw-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--yw-shadow);
    height: 100%;
    border: 1px solid rgba(214, 185, 140, 0.2);
    transition: transform 0.4s var(--yw-ease);
}

.yw-class-card:hover {
    transform: translateY(-6px);
}

.yw-class-card__img {
    aspect-ratio: 16/11;
    overflow: hidden;
}

.yw-class-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.yw-class-card:hover .yw-class-card__img img {
    transform: scale(1.06);
}

.yw-class-card__body {
    padding: 1.5rem 1.5rem 1.65rem;
}

/* Testimonial carousel */
.yw-testimonial-slide {
    padding: 2rem 1rem;
}

.yw-testi-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
}

.yw-testi-card p {
    font-family: var(--yw-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--yw-text);
}

.yw-testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--yw-accent);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(35%) sepia(8%) saturate(1200%);
}

.yw-carousel-dot .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--yw-primary);
    opacity: 0.35;
}

.yw-carousel-dot .carousel-indicators .active {
    opacity: 1;
}

/* Recipe / blog cards */
.yw-card-media {
    border-radius: var(--yw-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--yw-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.yw-card-media__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.yw-card-media__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.yw-card-media:hover .yw-card-media__img img {
    transform: scale(1.05);
}

.yw-card-media__body {
    padding: 1.35rem 1.4rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Newsletter strip */
.yw-news-strip {
    border-radius: calc(var(--yw-radius) + 0.2rem);
    padding: 2.75rem 2rem;
    background: linear-gradient(120deg, var(--yw-primary) 0%, #8fb394 40%, var(--yw-accent) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.yw-news-strip::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -80px;
    right: -40px;
}

.yw-news-strip .form-control {
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
}

/* FAQ */
.yw-faq .accordion-button {
    font-family: var(--yw-sans);
    font-weight: 500;
    background: #fff;
}

.yw-faq .accordion-button:not(.collapsed) {
    color: var(--yw-primary-deep);
    background: var(--yw-secondary);
    box-shadow: none;
}

.yw-faq .accordion-item {
    border: 1px solid rgba(122, 158, 126, 0.18);
    border-radius: var(--yw-radius-sm) !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

/* Counters */
.yw-counter {
    font-family: var(--yw-serif);
    font-size: clamp(2.2rem, 4vw, 2.85rem);
    font-weight: 700;
    color: var(--yw-primary-deep);
    line-height: 1;
}

/* Footer */
.yw-footer__top {
    background: linear-gradient(180deg, #3a4540 0%, #2a3230 100%);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 3.5rem;
}

.yw-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.yw-footer-brand__name {
    font-family: var(--yw-serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff;
}

.yw-footer__h {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.yw-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yw-footer__links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-block;
    padding: 0.15rem 0;
}

.yw-footer__links a:hover {
    color: var(--yw-accent);
}

.yw-footer__text,
.yw-footer__hint {
    color: rgba(255, 255, 255, 0.65);
}

.yw-footer__bottom {
    background: #232a28;
    color: rgba(255, 255, 255, 0.55);
}

.yw-footer__tagline {
    color: var(--yw-accent);
    font-weight: 500;
}
    background: var(--yw-secondary);
    color: var(--yw-primary-deep);
}

.yw-contact-tile .yw-social a:hover {
    background: var(--yw-primary);
    color: #fff;
}

.yw-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    margin-right: 0.35rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.yw-social a:hover {
    background: var(--yw-primary);
    color: #fff;
    transform: translateY(-2px);
}

.yw-foot-news .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.yw-foot-news .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Back to top */
.yw-backtop {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--yw-primary);
    color: #fff;
    box-shadow: var(--yw-shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
}

.yw-backtop:hover {
    background: var(--yw-primary-deep);
}

.yw-backtop--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Newsletter modal */
.yw-nl-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.yw-nl-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.yw-nl-modal[hidden] {
    display: none !important;
}

.yw-nl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 45, 45, 0.45);
    backdrop-filter: blur(4px);
}

.yw-nl-modal__card {
    position: relative;
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    border-radius: var(--yw-radius);
    z-index: 1;
    transform: translateY(16px);
    transition: transform 0.4s var(--yw-ease);
}

.yw-nl-modal.is-open .yw-nl-modal__card {
    transform: translateY(0);
}

.yw-nl-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: none;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--yw-muted);
}

/* Blog sidebar */
.yw-sidebar-card {
    border-radius: var(--yw-radius);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--yw-shadow);
    border: 1px solid rgba(122, 158, 126, 0.12);
}

/* Contact */
.yw-contact-tile {
    border-radius: var(--yw-radius);
    background: #fff;
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--yw-shadow);
    border: 1px solid rgba(214, 185, 140, 0.2);
}

.yw-map-placeholder {
    border-radius: var(--yw-radius);
    min-height: 320px;
    background: linear-gradient(145deg, var(--yw-secondary), var(--yw-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--yw-muted);
    border: 1px dashed rgba(122, 158, 126, 0.35);
}

/* Policy */
.yw-policy h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    font-family: var(--yw-serif);
}
.yw-policy h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
}

/* Reveal */
[data-yw-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--yw-ease), transform 0.65s var(--yw-ease);
}

[data-yw-reveal].yw-revealed {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .yw-hero {
        min-height: unset;
        padding-top: 6.5rem;
    }

    .yw-nav-links .nav-link::after {
        display: none;
    }
}

.letter-spacing-1 {
    letter-spacing: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
    }
    [data-yw-reveal] {
        opacity: 1;
        transform: none;
    }
}
