/* ===== GLASSMORPHISM FIXES ===== */

/* ===== TITEL FARBEN ANPASSUNG - HELLES DESIGN ===== */
:root {
    /* Sanfteres Gold für helles Design */
    --title-gradient-start: #2A2A3E;
    --title-gradient-mid: #8B7845;
    --title-gradient-end: #A89360;
}

[data-theme="dark"] {
    /* Kräftiges Gold für dunkles Design bleibt */
    --title-gradient-start: #FFFFFF;
    --title-gradient-mid: #B8984E;
    --title-gradient-end: #C9A75F;
}

/* Hero Title mit angepassten Farben */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg,
        var(--title-gradient-start) 0%,
        var(--title-gradient-mid) 50%,
        var(--title-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg,
        var(--title-gradient-start) 0%,
        var(--title-gradient-mid) 70%,
        var(--title-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Text */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg,
        var(--title-gradient-start) 0%,
        var(--title-gradient-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== WILLKOMMEN BADGE ENTFERNEN ===== */
.hero-badge {
    display: none !important;
}

/* ===== ROTIERENDE ELEMENTE ENTFERNEN ===== */
.hero-placeholder::before,
.service-icon::before {
    display: none !important;
    animation: none !important;
}

/* Entferne Rotation Animation */
@keyframes rotate {
    /* Deaktiviert */
}

@keyframes iconShine {
    /* Deaktiviert */
}

/* ===== THEME TOGGLE NEUPOSITIONIERUNG ===== */
.theme-toggle {
    position: fixed;
    top: auto;
    bottom: 30px;
    right: 30px;
    left: auto;
    width: 56px;
    height: 56px;
    background: var(--glass-primary);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.theme-toggle:hover {
    transform: scale(1.15);
    border-color: var(--gold);
    box-shadow:
        0 12px 48px var(--glass-shadow),
        0 0 30px var(--gold-glow),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover::before {
    opacity: 0.3;
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    transition: all var(--transition-normal);
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

/* ===== MOBILE THEME TOGGLE ===== */
@media (max-width: 768px) {
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* Stelle sicher, dass Toggle über Mobile Menu ist */
    .theme-toggle {
        z-index: 1001;
    }

    /* Verhindere Überlappung mit Mobile Menu */
    .nav-menu {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        bottom: 15px;
        right: 15px;
        width: 46px;
        height: 46px;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== HERO PLACEHOLDER - Kein Border, Bild versteckt ===== */
.hero-placeholder {
    display: none;
}

/* ===== HERO SECTION MIT HINTERGRUNDBILD ===== */
.hero {
    position: relative;
    background-image: url('../images/theman.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 40%,
        rgba(255, 255, 255, 0.3) 70%,
        transparent 100%
    );
    z-index: 1;
}

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

[data-theme="dark"] .hero::before {
    background: linear-gradient(
        to right,
        var(--bg-primary) 0%,
        var(--bg-primary) 40%,
        rgba(0, 0, 0, 0.5) 70%,
        transparent 100%
    );
}

/* ===== SERVICE ICON OHNE ROTATION ===== */
.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(184, 152, 78, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

/* Statischer Licht-Effekt */
.service-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%);
    pointer-events: none;
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 12px 48px rgba(184, 152, 78, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.4);
}

/* ===== NAVIGATION FIXES FÜR MOBILE ===== */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--glass-primary);
        backdrop-filter: blur(var(--blur-lg));
        -webkit-backdrop-filter: blur(var(--blur-lg));
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 30px var(--glass-shadow);
        transition: left var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
        text-align: left;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    /* Hero Spacing für Mobile */
    .hero {
        padding-top: 100px;
    }
}

/* ===== WEITERE ANPASSUNGEN ===== */

/* Hero Content Spacing ohne Badge */
.hero-content {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    margin-top: 0;
}

/* Entferne Shine Animation vom Badge (Badge wird eh nicht angezeigt) */
@keyframes shine {
    /* Deaktiviert */
}

/* Sanfterer Shadow für Light Theme */
:root {
    --shadow-soft: rgba(0, 0, 0, 0.06);
}

.service-card,
.review-card {
    box-shadow:
        0 8px 32px var(--shadow-soft),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.service-card:hover,
.review-card:hover {
    box-shadow:
        0 16px 64px rgba(0, 0, 0, 0.12),
        0 0 80px rgba(184, 152, 78, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

/* Dark Theme behält kräftige Schatten */
[data-theme="dark"] .service-card,
[data-theme="dark"] .review-card {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .review-card:hover {
    box-shadow:
        0 16px 64px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(184, 152, 78, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
}

/* ===== ACCESSIBILITY ===== */
.theme-toggle:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.theme-toggle:focus:not(:focus-visible) {
    outline: none;
}
