/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F7F7F7;
    color: #1A1A1A;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF8F2B;
    background: rgba(255, 143, 43, 0.1);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    color: #4A4A4A;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #FF8F2B;
    color: #1A1A1A;
    box-shadow: 0 8px 20px rgba(255, 143, 43, 0.25);
}

.btn-primary:hover {
    background: #E07A1E;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #FF8F2B;
    color: #FF8F2B;
}

.btn-outline:hover {
    background: #FF8F2B;
    color: #1A1A1A;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== SIDEBAR (DESKTOP) ORANGE ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #FF8F2B;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
    z-index: 100;
}

.sidebar-logo {
    text-align: center;
    padding: 0 20px;
}

.logo-icon {
    font-size: 2.5rem;
    display: block;
    color: #1A1A1A;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1A1A1A;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #1A1A1A;
    transition: all 0.2s;
    font-weight: 600;
}

.nav-item i {
    width: 24px;
    font-size: 1.2rem;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-footer {
    text-align: center;
    padding: 20px;
}

.sidebar-social a {
    color: #1A1A1A;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: 0.2s;
}
.sidebar-social a:hover { color: white; }

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FF8F2B;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    border-top: none;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #1A1A1A;
    font-size: 0.7rem;
    transition: 0.2s;
    font-weight: 600;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active {
    color: white;
}

.mobile-nav-item span {
    font-size: 0.65rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background-image: url('https://images.pexels.com/photos/20785313/pexels-photo-20785313.jpeg');
    background-size: cover;
    background-position: center 40%;
    padding: 100px 0 120px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-text {
    flex: 1.2;
    color: white;
}

.hero-badge {
    background: rgba(255, 143, 43, 0.9);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.accent {
    color: #FF8F2B;
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 550px;
    margin-bottom: 32px;
}

.hero-buttons .btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #FF8F2B;
}

.hero-stats {
    flex: 0.8;
    display: flex;
    gap: 32px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 32px 24px;
    border-radius: 48px;
    justify-content: space-around;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== SERVICES ===== */
.services {
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 32px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #EAEAEA;
}

.service-card:hover {
    border-color: #FF8F2B;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 2.8rem;
    color: #FF8F2B;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    color: #1A1A1A;
}

.service-price {
    margin-top: 16px;
    font-weight: 700;
    color: #FF8F2B;
    font-size: 1.2rem;
}

/* ===== GALLERY SLIDER ===== */
.gallery {
    background: #EFEFEF;
}

.gallery-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.gallery-slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-prev:hover, .slider-next:hover {
    background: #FF8F2B;
    color: #1A1A1A;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CCCCCC;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #FF8F2B;
    width: 24px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1rem; }
    .gallery-slide { aspect-ratio: 3 / 4; }
}

/* ===== BUCH-STYLES (Desktop: Doppelseiten, Mobil: Einzelseite mit Klickbereichen) ===== */
.book-container {
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1500px;
}

.book {
    display: flex;
    justify-content: center;
    background: #faf8f5;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    min-height: 500px;
}

.book-page {
    flex: 1;
    background: #fffef7;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.left-page {
    border-right: 1px solid #e0d6c8;
    cursor: pointer;
}

.right-page {
    border-left: 1px solid #e0d6c8;
    cursor: pointer;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FF8F2B;
    border-bottom: 2px solid #FF8F2B;
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    width: 100%;
}

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.price-entry {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed #e0d6c8;
    padding-bottom: 0.5rem;
    font-size: 1rem;
}

.price-entry .service-name {
    font-weight: 500;
    color: #1f1f1f;
}

.price-entry .service-price {
    font-weight: 700;
    color: #FF8F2B;
    font-size: 1rem;
}

/* 3D-Ecken */
.page-corner {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
}

.page-corner.active {
    opacity: 1;
}

.left-corner {
    left: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.08) 50%, transparent 50%, transparent 100%);
    border-bottom-left-radius: 16px;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.05);
}

.right-corner {
    right: 0;
    background: linear-gradient(225deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.08) 50%, transparent 50%, transparent 100%);
    border-bottom-right-radius: 16px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

/* Mobil: Einzelseite mit Klickbereichen (linke/rechte Hälfte) */
@media (max-width: 700px) {
    .book {
        flex-direction: column;
        min-height: auto;
        position: relative;
    }
    .book-spine {
        display: none;
    }
    /* Beide Seiten werden zunächst ausgeblendet, dann die aktive als Einzelseite dargestellt */
    .left-page, .right-page {
        display: none;
    }
    .mobile-single-page {
        display: flex !important;
        cursor: pointer;
        border: none;
        margin: 0;
    }
    .page-title {
        font-size: 1.3rem;
    }
    /* Klickbereiche: linke Hälfte = zurück, rechte Hälfte = vor */
    .mobile-single-page {
        position: relative;
    }
    .mobile-single-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        cursor: pointer;
        z-index: 5;
    }
    .mobile-single-page::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100%;
        cursor: pointer;
        z-index: 5;
    }
}

/* ===== TEAM ===== */
.team {
    background: #FFFFFF;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}
.team-card {
    background: #F9F9F9;
    padding: 32px 24px;
    border-radius: 32px;
    text-align: center;
    transition: 0.2s;
    border: 1px solid #EFEFEF;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
    border-color: #FF8F2B;
}
.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #FF8F2B;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.team-role {
    font-weight: 600;
    color: #FF8F2B;
    background: rgba(255, 143, 43, 0.15);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 16px;
}
.team-card p:last-of-type {
    color: #4A4A4A;
    line-height: 1.4;
}

/* ===== CONTACT ===== */
.contact {
    background: #EFEFEF;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}
.contact-card {
    text-align: center;
    background: white;
    padding: 28px 16px;
    border-radius: 32px;
    transition: 0.2s;
    border: 1px solid #EAEAEA;
}
.contact-card i {
    font-size: 2rem;
    color: #FF8F2B;
    margin-bottom: 16px;
}
.map-placeholder {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

/* ===== FOOTER (orange) ===== */
.site-footer {
    background: #FF8F2B;
    color: #1A1A1A;
    padding: 48px 0 24px;
    margin-top: 20px;
}
.footer-content {
    text-align: center;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 16px;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0;
}
.footer-social a {
    color: #1A1A1A;
    font-size: 1.5rem;
    transition: 0.2s;
}
.footer-social a:hover {
    color: white;
}
.footer-copy {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; width: 100%; }
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 70px; }
    .hero-text h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2rem; }
    .hero-stats { flex-direction: column; align-items: center; gap: 16px; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
}

@media (min-width: 901px) {
    .mobile-bottom-nav { display: none; }
}