/*
Theme Name: Kosmetik Elegance
Theme URI: https://example.com
Author: Dein Name
Description: Elegantes WordPress Theme für Kosmetikstudios
Version: 1.0.0
Text Domain: kosmetik
*/

/* === CSS Variables === */
:root {
    --color-primary: #D4A574; /* Gold */
    --color-secondary: #F5E6D3; /* Nude */
    --color-accent: #C9ADA7; /* Rose */
    --color-text: #2C2C2C;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-bg: #FAFAFA;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p { margin-bottom: var(--spacing-sm); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-primary);
    margin: var(--spacing-sm) auto 0;
}

/* === Button Styles === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-top {
    background: var(--color-secondary);
    padding: var(--spacing-xs) 0;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opening-hours {
    display: flex;
    gap: var(--spacing-sm);
}

.header-main {
    padding: var(--spacing-sm) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.site-logo img {
    max-height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .site-logo img {
        max-height: 60px;
    }
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

/* === Hero Slider === */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 120px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    z-index: 2;
}

.hero-slide-inner {
    max-width: 800px;
    padding: var(--spacing-md);
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-slide p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255,255,255,0.95);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--color-white);
    width: 30px;
    border-radius: 6px;
}

/* === Brand Philosophy === */
.brand-philosophy {
    background: var(--color-white);
    text-align: center;
}

.philosophy-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.philosophy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-item {
    padding: var(--spacing-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* === Team Section === */
.team-section {
    background: var(--color-bg);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.team-member-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
}

.team-member-info {
    padding: var(--spacing-md);
    flex: 1;
}

.team-member-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.team-member-position {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.team-member-bio {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.team-member-qualifications {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-style: italic;
    border-top: 1px solid var(--color-secondary);
    padding-top: var(--spacing-sm);
}
/* === Services Optimized === */
.services-section {
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
    
    /* Wichtig für die Zentrierung des Hintergrundbildes */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Vorbereitung für den Zoom-Effekt */
    transition: transform 0.4s ease, background-size 0.4s ease; 
}

/* Hover-Effekt: Da das Bild ein Hintergrund ist, nutzen wir einen Zoom-Effekt über transform oder Filter */
.service-item:hover {
    /* Ein leichter Zoom des gesamten Containers oder Hintergrund-Manipulation */
    transform: scale(1.02);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    color: var(--color-white);
    transition: var(--transition);
    z-index: 1;
}

/* Overlay-Farbe bei Hover ändern */
.service-item:hover .service-overlay {
    background: linear-gradient(to top, rgba(212,165,116,0.9) 0%, rgba(212,165,116,0.7) 100%);
}

.service-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 10px;
    transition: transform 0.4s ease;
    z-index: 3;
}

.service-item:hover .service-title {
    transform: translateY(-10px);
}

/* Preis/Dauer Details */
.service-hover-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-in-out;
    color: #ffffff;
    text-align: center;
    z-index: 2;
    margin-top: 15px;
}

.service-item:hover .service-hover-details {
    opacity: 1;
    transform: translateY(0);
}

/* Nicht benötigte Beschreibung ausblenden */
.service-overlay .service-description {
    display: none !important;
}

/* === Gallery === */
.gallery-section {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* === Contact Section === */
.contact-section {
    background: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info h3 {
    margin-bottom: var(--spacing-md);
}

.contact-detail {
    margin-bottom: var(--spacing-md);
    display: flex;
    gap: var(--spacing-sm);
}

.contact-detail i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Spam Protection */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Booking Calendar */
.booking-calendar {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking-date-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.booking-date {
    padding: var(--spacing-sm);
    text-align: center;
    border: 2px solid var(--color-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.booking-date:hover {
    border-color: var(--color-primary);
    background: var(--color-secondary);
}

.booking-date.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-xs);
}

.time-slot {
    padding: var(--spacing-sm);
    text-align: center;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-white);
}

.time-slot:hover {
    background: var(--color-secondary);
}

.time-slot.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.time-slot.booked {
    background: #eee;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.map-container {
    margin-top: var(--spacing-lg);
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.map-placeholder-content {
    text-align: center;
}

/* === Footer === */
.site-footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-widget h3,
.widget-title {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a,
.footer-widget p,
.footer-widget a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section a:hover,
.footer-widget a:hover {
    color: var(--color-primary);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-widget {
    margin-bottom: var(--spacing-md);
}

.footer-widget img {
    max-width: 100%;
    height: auto;
    margin-top: var(--spacing-sm);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.text-success {
    color: #28a745 !important;
}

.text-muted {
    color: rgba(255,255,255,0.5) !important;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.85rem;
}

/* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .header-top {
        display: none;
    }
    
    .main-navigation {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-slider {
        margin-top: 80px;
        height: 70vh;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .philosophy-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.header-top-right .top-link {
    transition: var(--transition);
}

.header-top-right .top-link:hover {
    color: var(--color-primary) !important;
}

/* Verstecken des Logins auf ganz kleinen Bildschirmen, falls es zu eng wird */
@media (max-width: 480px) {
    .header-top-right {
        display: none !important;
    }
}
/* WordPress Standard Block Alignments */

/* Zentrierung */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

/* Linksbündig mit Textumfluss */
.alignleft {
    float: left;
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

/* Rechtsbündig mit Textumfluss */
.alignright {
    float: right;
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

/* Falls Bilder innerhalb von Figure-Tags (Standard bei Gutenberg) stehen */
figure.aligncenter {
    display: table; /* Verhindert, dass die Caption die volle Breite einnimmt */
    margin: var(--spacing-md) auto;
}

figure.aligncenter img {
    display: block;
    margin: 0 auto;
}

/* Clearfix, damit nachfolgender Text nicht in die Floats rutscht */
.entry-content::after {
    content: "";
    display: table;
    clear: both;
}
/* === Korrektur für Listen (Auszählungen) === */
/* === 1. Optimierte Listen-Stile (Gutenberg Support) === */
.entry-content ul, 
.entry-content ol {
    display: table;            /* Zentriert den Block als Ganzes */
    margin: var(--spacing-md) auto; 
    text-align: left;          /* Text innerhalb bleibt linksbündig */
    padding-left: 1.5rem;
    list-style-position: outside;
}

.entry-content li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    text-align: left;
}

/* Goldene Rauten für ungeordnete Listen */
.entry-content ul {
    list-style-type: none;
}

.entry-content ul li::before {
    content: "◆"; 
    color: var(--color-primary);
    display: inline-block;
    width: 1.5rem;
    margin-left: -1.5rem;
    font-size: 0.8rem;
    vertical-align: middle;
}


/* Kleiner Button im Hover (optional) */
.btn-mini {
    margin-top: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid var(--color-primary);
    padding: 5px 15px;
    display: inline-block;
    color: var(--color-white);
    transition: var(--transition);
}

.btn-mini:hover {
    background: var(--color-primary);
}

/* === 3. Globale Hilfsfunktionen === */
html {
    scroll-behavior: smooth;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}
/* === SINGLE SERVICE REFINEMENT === */
/* === SINGLE SERVICE COMPLETE OVERHAUL === */
/* === SINGLE SERVICE RE-DESIGN === */

.single-service .site-main {
    padding-top: 180px; /* Platz für fixen Header */
    padding-bottom: 100px;
    background-color: var(--color-bg);
}

/* Titel-Bereich */
.service-header-top {
    margin-bottom: 50px;
    text-align: left;
}

.service-header-top h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
}

/* Layout Grid */
.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px; /* Text links, Sidebar rechts */
    gap: 60px;
    align-items: start;
}

/* Bild in der Sidebar */
.service-featured-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Meta-Karten farblich hervorheben */
.service-sidebar-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--color-secondary); /* Hintergrundfarbe für Meta */
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--color-primary); /* Goldener Akzent links */
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text);
    line-height: 1;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
}

/* Mobile Ansicht */
@media (max-width: 992px) {
    .service-detail-wrapper {
        grid-template-columns: 1fr;
    }
    .service-header-top h1 {
        font-size: 2.5rem;
    }
    .service-sidebar {
        order: -1; /* Bild und Info auf Mobile oben anzeigen */
    }
}
/* === RELATED PRODUCTS SHOWCASE (Single Service) === */

.related-products-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px dashed var(--color-primary); /* Elegante Trennlinie */
}

.related-products-section h3 {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--color-text);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.product-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 165, 116, 0.1); /* Goldener Schatten-Hauch */
}

.product-card-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-card-image img {
    max-height: 100%;
    width: auto;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 0;
}
/* === HOME PRODUCTS SHOWCASE === */

.products-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.product-home-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-home-item:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-home-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fafafa; /* Leichter Kontrast zum weißen Hintergrund */
    border-radius: 8px;
    overflow: hidden;
}

.product-home-image img {
    max-height: 80%;
    width: auto;
    transition: transform 0.5s ease;
}

.product-home-item:hover .product-home-image img {
    transform: scale(1.1);
}

.product-home-title {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text);
}

.product-home-price {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-text {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--color-primary);
}
.opening-hours-status { display: flex; align-items: center; font-weight: 500; font-size: 0.9rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; display: inline-block; }

.status-green { color: #28a745 !important; }
.status-green .status-dot { background-color: #28a745; box-shadow: 0 0 8px rgba(40, 167, 69, 0.5); }

.status-red { color: #dc3545 !important; }
.status-red .status-dot { background-color: #dc3545; }

.status-yellow { color: #D4A574 !important; }
.status-yellow .status-dot { background-color: #f1c40f; box-shadow: 0 0 8px rgba(241, 196, 15, 0.5); }
/* === FIX FÜR ZEIT-BUTTONS NEBENEINANDER === */

/* Der Container für die Uhrzeiten */
#booking-times {
    display: flex !important;
    flex-wrap: wrap !important; /* Erlaubt das Umbrechen in die nächste Zeile */
    gap: 10px !important;       /* Abstand zwischen den Buttons */
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 20px;
}

/* Die Buttons selbst */
.time-select-btn, 
.t-btn {
    display: inline-block !important;
    width: auto !important;      /* Verhindert, dass sie 100% breit werden */
    min-width: 90px !important;  /* Mindestbreite für gute Klickbarkeit */
    padding: 10px 15px !important;
    margin: 0 !important;        /* Reset für Theme-Margins */
    white-space: nowrap !important; /* Verhindert Zeilenbruch im Button */
    text-align: center !important;
}

/* Verhindert, dass das Theme die Buttons auf volle Breite zwingt */
#booking-times button {
    flex: 0 1 auto !important;
}
/* Spezifischer Fix für die Zeit-Buttons */
#booking-times {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin-top: 20px !important;
}

#booking-times .time-select-btn {
    width: auto !important; /* Aufhebung der 100% */
    display: inline-block !important;
    flex: 0 1 auto !important;
    min-width: 90px;
    padding: 10px 15px !important;
    background: #fff;
    border: 1px solid var(--color-primary);
    cursor: pointer;
}