/* =========================================================
   Basis / Module
   ========================================================= */

.lc-module {
    margin: 2rem 0;
}

.lc-module-title,
.lc-detail-title,
.lc-section-title {
    margin: 0 0 1rem;
    line-height: 1.15;
}

.lc-empty,
.lc-message {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
}

.lc-message--error {
    background: rgba(180, 0, 0, 0.08);
}

/* =========================================================
   Status Workshop off oder online
   ========================================================= */

.lc-status-badge {
    display: inline-flex;
    align-items: center;
    padding: .32rem .65rem;
    border-radius: 999px;
    font-size: .85rem;
    line-height: 1;
    font-weight: 700;
}

.lc-status-badge.is-online {
    background: rgba(20, 140, 60, .12);
    color: #148c3c;
}

.lc-status-badge.is-offline {
    background: rgba(120, 120, 120, .14);
    color: #666;
}

/* =========================================================
   Swiper Home
   ========================================================= */

.member-swiper-wrap .swiper-container {
    position: relative;
    padding-bottom: 90px;
}

.member-swiper-card {
    text-align: center;
}

.member-swiper-image-link,
.member-swiper-name a {
    text-decoration: none;
}

.member-swiper-image {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin: 0 auto 1rem;
}

.member-swiper-name {
    margin: 0 0 .35rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.member-swiper-name a:hover {
    text-decoration: underline;
}

.member-swiper-location {
    opacity: .75;
}

.member-swiper-wrap .member-swiper-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    z-index: 20;
    pointer-events: none;
}

.member-swiper-wrap .member-swiper-nav .swiper-button-prev,
.member-swiper-wrap .member-swiper-nav .swiper-button-next {
    position: static;
    width: 46px;
    height: 46px;
    margin: 0;
    transform: none;
    pointer-events: auto;
    border-radius: 999px;
    background: #b08a3c;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.member-swiper-wrap .member-swiper-nav .swiper-button-prev:hover,
.member-swiper-wrap .member-swiper-nav .swiper-button-next:hover {
    opacity: .92;
}

.member-swiper-wrap .member-swiper-nav .swiper-button-prev::before,
.member-swiper-wrap .member-swiper-nav .swiper-button-next::before {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 46px;
    text-align: center;
}

.member-swiper-wrap .member-swiper-nav .swiper-button-prev::before {
    content: '‹';
}

.member-swiper-wrap .member-swiper-nav .swiper-button-next::before {
    content: '›';
}

.member-swiper-wrap .member-swiper-nav .swiper-button-prev::after,
.member-swiper-wrap .member-swiper-nav .swiper-button-next::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   Karten / Buttons / Meta
   ========================================================= */

.lc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.lc-card,
.lc-detail-card,
.lc-profile-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.lc-my-workshops .lc-card-grid,
.lc-profile-section--workshops .lc-card-grid {
    grid-template-columns: 1fr;
}

.lc-workshop-list .lc-card-grid {
    grid-template-columns: 1fr;
}

.lc-card-body,
.lc-detail-card,
.lc-profile-card {
    padding: 1.5rem;
}

.lc-card-footer,
.lc-detail-actions,
.lc-form-actions {
    padding: 1.5rem;
}

.lc-card-footer {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.lc-button--secondary {
    background: #666;
}

.lc-card-title {
    margin: 0 0 1rem;
    line-height: 1.2;
}

.lc-card-title a,
.lc-profile-website a,
.lc-content a {
    text-decoration: none;
}

.lc-card-title a:hover,
.lc-profile-website a:hover,
.lc-content a:hover {
    text-decoration: underline;
}

.lc-meta {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.lc-meta--stacked {
    margin-top: 1rem;
}

.lc-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.lc-meta-label {
    font-weight: 700;
    min-width: 70px;
}

.lc-card-text p:last-child,
.lc-content p:last-child {
    margin-bottom: 0;
}

.lc-button {
    display: inline-block;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    background: #111;
    color: #fff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lc-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
    text-decoration: none;
}

.lc-button--full {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* =========================================================
   Badges
   ========================================================= */

.lc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0;
}

.lc-badges--header {
    margin-top: 1.25rem;
}

.lc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.88rem;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.lc-badge--genre {
    background: rgba(17, 17, 17, 0.08);
    color: #111;
}

.lc-badge--target {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* =========================================================
   Formulare
   ========================================================= */

.lc-form-header {
    margin-bottom: 1.5rem;
}

.lc-form-intro {
    margin: 0.35rem 0 0;
    opacity: 0.8;
}

.lc-form-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lc-form-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.lc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.lc-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lc-field--full {
    grid-column: 1 / -1;
}

.lc-field label {
    font-weight: 600;
}

.lc-field input,
.lc-field textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    box-sizing: border-box;
}

.lc-field input:focus,
.lc-field textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.lc-error {
    color: #a40000;
}

.lc-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.lc-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* =========================================================
   Profilformular
   ========================================================= */

.lc-profile-upload {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 1.25rem;
    align-items: start;
}

.lc-profile-upload-preview img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Öffentliche Profilseite
   ========================================================= */

.lc-profile-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.lc-profile-sidebar {
    position: sticky;
    top: 1rem;
}

.lc-profile-sidebar-box {
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.lc-profile-sidebar-box .lc-fact {
    gap: 0.4rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lc-profile-sidebar-box .lc-fact:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.lc-profile-sidebar-box .lc-fact-label {
    margin-bottom: 0.15rem;
}

.lc-profile-sidebar-box .lc-badges {
    margin-top: 0.35rem;
}

.lc-profile-sidebar-box .lc-social-links {
    margin-top: 0.35rem;
}

.lc-profile-image {
    margin-bottom: 1.25rem;
}

.lc-profile-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.lc-profile-main {
    min-width: 0;
}

.lc-profile-teaser {
    font-size: 1.08rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.lc-profile-section {
    margin-top: 2rem;
}

.lc-profile-section--workshops {
    margin-top: 2.5rem;
}

/* =========================================================
   Social Icons
   ========================================================= */

.lc-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.lc-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.lc-social-link:hover {
    text-decoration: underline;
}

.lc-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lc-social-icon:hover {
    transform: translateY(-1px);
    opacity: 0.92;
    text-decoration: none;
}

.lc-social-icon svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
    fill: currentColor;
}

.lc-social-icon--facebook {
    background: #1877f2;
}

.lc-social-icon--instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* =========================================================
   Workshop-Detailseite
   ========================================================= */

.lc-workshop-layout {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.lc-workshop-sidebar {
    position: sticky;
    top: 1rem;
}

.lc-workshop-facts {
    display: grid;
    gap: 0.9rem;
}

.lc-fact-grid-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.lc-fact-grid-row--single {
    grid-template-columns: 1fr;
}

.lc-fact-card {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.lc-fact-card-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    opacity: 0.75;
    margin-bottom: 0.35rem;
}

.lc-fact-card-icon {
    width: 1.1rem;
    text-align: center;
}

.lc-fact-card-value {
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lc-fact-card-value a {
    text-decoration: none;
}

.lc-fact-card-value a:hover {
    text-decoration: underline;
}

.lc-coach-row {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.lc-coach-thumb img {
    width: 100px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.lc-coach-content {
    min-width: 0;
}

.lc-workshop-sidebar-action {
    margin-top: 1rem;
}

.lc-button--full {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.lc-workshop-main {
    min-width: 0;
}

@media (max-width: 900px) {
    .lc-workshop-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lc-workshop-sidebar {
        position: static;
    }

    .lc-fact-grid-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Allgemeine Fact-Boxen
   ========================================================= */

.lc-fact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lc-fact-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.75;
}

.lc-fact-icon {
    width: 1.1rem;
    text-align: center;
}

.lc-fact-value {
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lc-fact-value a {
    text-decoration: none;
}

.lc-fact-value a:hover {
    text-decoration: underline;
}

/* =========================================================
   Google Maps / Marker
   ========================================================= */

.gm-style .gm-style-iw {
    font-size: 15px;
    font-weight: 400;
}

.member-map-module {
    margin: 1.5rem 0;
}

#member-map {
    border-radius: 8px;
    overflow: hidden;
}

.custom-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-pin {
    width: 18px;
    height: 18px;
    background: #d00;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker_img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.marker-label {
    margin-top: 4px;
    background: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.coach-html-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-8px);
}

.coach-html-marker-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    background: #f2f2f2;
}

.coach-html-marker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coach-html-marker-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #b08a3c;
}

.coach-html-marker-name {
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    font-size: 13px;
    line-height: 1.2;
    color: #222;
    white-space: nowrap;
}

.coach-map-popup-inner {
    padding: 6px 8px;
    line-height: 1.4;
    color: #222;
    max-width: 260px;
}

.coach-map-popup-inner a {
    text-decoration: none;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
    .lc-profile-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lc-profile-sidebar,
    .lc-workshop-sidebar {
        position: static;
    }

    .lc-workshop-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lc-workshop-sidebar {
        position: static;
    }

    .lc-fact-grid-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .lc-profile-header {
        grid-template-columns: 1fr;
    }

    .lc-form-grid,
    .lc-profile-upload {
        grid-template-columns: 1fr;
    }
	    .lc-coach-row {
        grid-template-columns: 1fr;
    }

    .lc-coach-thumb img {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .lc-card-footer {
        flex-direction: column;
    }

    .lc-card-footer .lc-button {
        width: 100%;
        text-align: center;
    }
}