/* eTermin CSS */

.etwidgetBtn>svg {
    display: none;
}

.etwidgetBtn {
    display: inline-block !important;
    background-color: var(--primary-red) !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 2px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 2px solid var(--primary-red) !important;
    margin-top: 5px !important;
}

.rightPosBtn {
    right: 50px !important;
    bottom: 50px !important;
}

#p_booking::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

body:has(dialog[open]) {
    overflow: hidden;
}


/* --- CSS VARIABLEN & RESET --- */

 :root {
    --primary-red: #8E1600;
    /* Klassisches TCM Rot */
    --primary-red-dark: #661000;
    --secondary-gold: rgba(196, 154, 108, 1);
    --secondary-gold-nonrgba: 196, 154, 108;
    /* Gold/Bronze Akzent */
    --bg-cream: #FDFBF7;
    --bg-cream: #FFF2C5;
    /* Papier/Naturweiß */
    --bg-white: rgba(255, 255, 255, 0.9);
    --bg-content-white: rgba(255, 255, 255, 0.9);
    --text-dark: #333333;
    --text-light: #666666;
    --nav-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    font-family: "Nunito Sans", sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Philosopher", sans-serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}


/* Dekorative Linie unter Überschriften */

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 10px auto 0;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 2rem;
}

h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.2rem;
}

h6 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

p {
    margin-top: 10px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

p.big {
    font-size: 1.1rem;
    font-weight: 500;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto !important;
    display: block;
}


/* --- NAVIGATION --- */

header {
    background-color: var(--bg-white);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    gap: 5px;
}

.mobile-nav-toggle span {
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.nav-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container-mobile {
    display: none;
}

.nav-container-mobile ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: fixed;
    top: 60px;
    right: 18px;
    width: 220px;
    padding: 20px;
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-container-mobile ul li {
    width: 100%;
}

.nav-container-mobile a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: -5px;
    border-bottom: 2px solid transparent;
    line-height: 3.25rem;
}

.nav-container-mobile-marker {
    width: 100%;
    display: block;
    text-align: center;
    color: var(--bg-white) !important;
    background-color: var(--primary-red);
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 2px;
    margin-top: 30px;
}

.nav-container-mobile a:hover,
.nav-container-mobile a.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.logo {
    font-family: "Philosopher", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5rem;
}

.logo span {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1.2rem;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    text-align: center;
    padding-left: 30px;
}

.main-nav a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /*padding-bottom: 5px;*/
    border-bottom: 2px solid transparent;
}

.main-nav-marker {
    color: var(--bg-white) !important;
    background-color: var(--primary-red);
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 2px solid transparent;
    border-radius: 2px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.main-nav-marker:hover {
    background-color: var(--primary-red-dark) !important;
    border-bottom: 2px solid var(--primary-red-dark) !important;
}


/* Mobile Menu Toggle */

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* --- SECTIONS ALLGEMEIN --- */

.page-section {
    padding: 100px 0 60px;
    /* Top padding für fixed header */
    min-height: 100vh;
    display: none;
    /* Standardmäßig ausgeblendet, JS blendet ein */
    animation: fadeIn 0.5s ease-in-out;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* ZENTRIERUNG FÜR DEN WILLKOMMEN-TEXT (H2 ist bereits zentriert) */

.intro-text {
    text-align: center;
    /* Zentriert den Text innerhalb des Containers */
}


/* --- STARTSEITE --- */

.hero {
    position: relative;
    /*height: 60vh;*/
    background: rgba(105, 105, 105, .6);
    background: linear-gradient(90deg, rgba(77, 77, 77, .75) 0%, rgba(105, 105, 105, .6) 50%, rgba(82, 82, 81, .75) 100%);
    /*            background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1545952288-06103b41595c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');*/
    background-image: url('china_background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: 0 0 5px 5px;
    margin-bottom: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-content h1 {
    color: var(--primary-red);
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 1px rgba(255, 255, 255, 1), 0 0 2px rgba(255, 255, 255, 1), 0 0 3px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1);
    margin-bottom: 1rem;
}

.hero-content img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    margin-top: -40px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p,
.hero-contentdetails p {
    font-size: 1.3rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.5rem;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--bg-content-white);
}

.hero-contentdetails {
    background-color: rgba(var( --secondary-gold-nonrgba), 0.9);
    padding: 15px;
    padding-top: 20px;
    border-radius: 3px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-red);
    margin-top: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: white;
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
}

.btn-gold {
    background: white;
    color: var(--secondary-gold);
    border: 2px solid var(--secondary-gold);
}

.btn-gold:hover {
    background-color: var(--secondary-gold);
    color: white;
    border: 2px solid white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 4rem;
    align-items: center;
}

.intro-grid .intro-text h2 {
    text-align: center;
}

.intro-grid .intro-text p {
    text-align: left;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.intro-image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-content-white);
    padding: 30px;
    border-top: 4px solid var(--secondary-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-red);
    font-size: 1.4rem;
}

.flyer-banner {
    background-color: var(--secondary-gold);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    margin-top: 4rem;
}


/* Flyer-Banner in der Kolleg Sektion (angepasst an Kolleg-Design) */

.kolleg-flyer-banner {
    background-color: var(--primary-red);
    /* Rot statt Gold */
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    margin-top: 4rem;
}

.flyer-banner h3,
.kolleg-flyer-banner h3 {
    color: white;
    margin-bottom: 10px;
}


/* --- TCM KOLLEG --- */

.kolleg-header {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 20px;
}

.logo-placeholder-kolleg {
    width: 200px;
    height: 100px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #888;
    font-weight: bold;
}

.kolleg-content {
    background: var(--bg-content-white);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


/* Style für Info-Boxen im Kolleg */

.kolleg-info-card {
    background: var(--bg-white);
    padding: 25px;
    border-top: 4px solid var(--secondary-gold);
    /* Linie oben in Gold */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
}

.kolleg-list li,
.wp-block-list li {
    /*margin-bottom: 10px;*/
    padding-left: 20px;
    position: relative;
}

.kolleg-list li::before,
.wp-block-list li::before {
    content: "•";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* --- TUINA MASSAGE (Original Stand) --- */

.tuina-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.tuina-text {
    font-size: 1.1rem;
    /* Leicht größerer Font als Startseite */
    color: var(--text-light);
}

.tuina-highlight {
    font-family: "Philosopher", sans-serif;
    font-size: 1.4rem;
    color: var(--primary-red);
    margin: 1.5rem 0;
    line-height: 1.4;
    border-left: none;
    padding-left: 0;
}


/* Preis Box wieder im Original-Design (Weiß, leichter Rand und Schatten) */

.price-box {
    background-color: var(--bg-white);
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.hours-box {
    margin-top: 30px;
    background: var(--bg-cream);
    padding: 20px;
    border-left: 4px solid var(--text-dark);
}


/* --- IMPRESSUM --- */

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-content-white);
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-text h3 {
    margin-top: 2rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}


/* --- FOOTER --- */

footer {
    background-color: var(--text-dark);
    color: #aaa;
    padding: 40px 0;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: underline;
}


/* --- RESPONSIVE --- */

@media (max-width: 820px) {
    .nav-container {
        width: 97%;
    }
}

@media (max-width: 820px) {
    .mobile-nav-toggle {
        display: flex;
    }
    .main-nav ul {
        display: none;
    }
    .nav-container-mobile {
        display: block;
    }
    .nav-container-mobile ul.active {
        display: block;
    }
    .nav-container {
        /*                flex-direction: column;*/
        width: 90%;
        padding: 10px 0;
    }
    header {
        height: auto;
        /*position: relative;*/
    }
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-top: 15px;
    }
    .intro-grid,
    .tuina-layout {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    /*.page-section {*/
    /*padding-top: 20px;*/
    /*}*/
    .intro-grid .intro-text p {
        text-align: left;
    }
}


/* Neue Layout-Klassen für Text+Bild-Absätze */

.content-row {
    display: flex;
    gap: 36px;
    align-items: stretch;
    /* wichtig: Bild passt sich der Text-Höhe an */
    margin: 1.2rem 0;
}

.content-text {
    flex: 1 1 auto;
    min-width: 0;
    /* verhindert Overflow bei flex */
}

.content-image {
    flex: 0 0 auto;
    /*    width: 40%;
    max-width: 48%;*/
    width: 35%;
    max-width: 40%;
    min-width: 140px;
    display: block;
}

.content-image img {
    width: auto;
    height: 100%;
    /* passt Bildhöhe an die Text-Box an */
    display: block;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}


/* Links / Rechts Steuerung */

.img-left .content-image {
    order: 0;
}

.img-left .content-text {
    order: 1;
}

.img-right .content-image {
    order: 1;
}

.img-right .content-text {
    order: 0;
}


/* Mobile: Bild über/unter Text, fixe Höhe für bessere UX */

@media (max-width: 800px) {
    .content-row {
        flex-direction: column;
    }
    .content-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 220px;
        /* feste Höhe auf Mobile, Bild skaliert */
    }
    .content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}