/* === GRUNDLAGEN & VARIABLEN === */
:root {
    --primary-color: #f0a500; /* Gold/Gelb Akzent */
    --bg-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-muted-color: #888;
    --border-color: #333;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-family: 'Poppins', sans-serif;
    --container-width: 1140px;
    --section-padding: 5rem 1rem;
}

/* === ALLGEMEINE STYLES & RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Verhindert horizontales Scrollen, das durch Animationen entstehen kann */
}

body {
   background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted-color);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(240, 165, 0, 0.25) 0%, rgba(240, 165, 0, 0) 35%);
    animation: spotlight-rotate 20s linear infinite;
}

@keyframes spotlight-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    max-width: 250px;
    margin: 0 auto;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin: 1rem 0 0.5rem 0;
    text-shadow: 0 0 15px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* === KALENDER === */
.calendar-container {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#month-year {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.calendar-nav {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-name, .day {
    text-align: center;
    padding: 0.5rem;
}

.day-name {
    font-weight: 700;
    color: var(--text-muted-color);
}

.day {
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 1rem;
}

.day.other-month {
    color: var(--text-muted-color);
    opacity: 0.5;
    cursor: default;
}

.day:not(.other-month):hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

.day.today {
    border: 2px solid var(--primary-color);
}

.day .slots {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.day .slot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}
.slot.available { background-color: var(--success-color); }
.slot.booked { background-color: var(--error-color); }

.legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}
.legend > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.available { background-color: var(--success-color); }
.dot.partial { background: linear-gradient(45deg, var(--success-color) 50%, var(--error-color) 50%); }
.dot.booked { background-color: var(--error-color); }

/* === BOOKING FORM === */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.3);
}

.form-group-inline {
    display: flex;
    gap: 1rem;
}
.form-group-inline .form-group {
    flex: 1;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}
.form-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
    display: block;
}
.form-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: var(--error-color);
    display: block;
}

/* === ABOUT SECTION === */
.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: -15px -15px 0 var(--primary-color);
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface-color);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.contact-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* === MyMjeshter Powered Section === */
.mm-powered-section {
    background: linear-gradient(135deg, #6a11cb 0%, #f0a500 100%); /* Lila zu Orange Verlauf */
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.mm-powered-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.mm-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.mm-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 10px;
}

.mm-text h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.mm-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.btn-mm {
    display: inline-block;
    background: #fff;
    color: #6a11cb; /* Lila Text */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-mm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #f0f0f0;
    color: #f0a500; /* Orange Text */
}

@media (min-width: 768px) {
    .mm-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .mm-text {
        flex: 1;
        margin-left: 3rem;
        text-align: left;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }
    .mm-text h3 {
        font-size: 2.2rem;
    }
}

/* === FOOTER === */
.main-footer {
    background-color: var(--surface-color);
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted-color);
    font-size: 0.9rem;
}
.main-footer p {
    margin-bottom: 0.5rem;
}

/* === MEDIA QUERIES (Mobile First) === */
@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
    .hero-image {
        max-width: 350px;
    }
    .about-container {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 8rem;
    }
}