/* --- GLOBAL STYLES --- */
:root {
    --gold: #c5a059;
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --gold-gradient: linear-gradient(45deg, #c5a059, #e2c08d);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--white); 
    color: var(--black); 
    line-height: 1.8; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

/* --- NAVIGATION --- */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.8; /* Optional: Ein kleiner visueller Effekt beim Drüberfahren */
}
.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 90px; 
    /* Glasmorphismus Effekt */
    background: rgba(10, 10, 10, 0.9); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 110%; padding: 0 5%; }
.nav-logo-img { height: 80px; mix-blend-mode: screen; filter: brightness(1.1); }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { color: var(--white); text-decoration: none; font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase; padding: 10px 20px; transition: var(--transition); font-weight: 300; }
.nav-links li a:hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--gold); color: var(--gold) !important; margin-left: 20px; }
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 1100; padding: 10px; }
.bar { width: 25px; height: 2px; background: var(--gold); margin: 3px 0; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; display: block;}
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO --- */
.hero { height: 100vh; min-height: 600px; position: relative; background: url('images/glc_header.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); width: 90%; max-width: 1400px; padding: 0 20px; }
.hero-subtitle { font-size: clamp(0.6rem, 2vw, 0.8rem); letter-spacing: 5px; color: var(--gold); display: block; margin-bottom: 1rem; font-weight: 600; text-transform: uppercase; }
.hero h1 { font-family: 'Inter', sans-serif; font-size: clamp(2.5rem, 8vw, 5.5rem); letter-spacing: clamp(5px, 2vw, 15px); margin: 0; line-height: 1.1; font-weight: 800; }
.hero h2 { font-size: clamp(0.9rem, 3vw, 1.4rem); letter-spacing: clamp(3px, 1.5vw, 8px); font-weight: 200; margin-top: 10px; text-transform: uppercase; }
.hero-line { width: 60px; height: 1px; background: var(--gold); margin: clamp(15px, 4vw, 30px) auto; }
.hero-text { max-width: 600px; margin: 0 auto clamp(20px, 5vw, 40px); font-weight: 300; letter-spacing: 1px; color: #ccc; font-size: clamp(0.85rem, 2vw, 1rem); }

/* --- HERO BUTTONS --- */
.hero-btns .cta-button {
    background: transparent !important;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: var(--transition);
    font-weight: 300;
    display: inline-block;
}

.hero-btns .cta-button:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.hero-btns .cta-button.white {
    border-color: var(--white) !important;
    color: var(--white) !important;
}

.hero-btns .cta-button.white:hover {
    background: var(--white) !important;
    color: var(--black) !important;
}

/* --- SECTIONS --- */
.section-dark { background: var(--black); color: var(--white); padding: clamp(60px, 10vw, 120px) 0; }
.section-light { background: var(--white); color: var(--black); padding: clamp(60px, 10vw, 120px) 0; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.section-head { text-align: center; margin-bottom: clamp(40px, 8vw, 80px); }
.accent-text { color: var(--gold); font-size: 0.7rem; letter-spacing: 5px; font-weight: 700; text-transform: uppercase; }
.section-title { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: clamp(2px, 1vw, 5px); margin: 10px 0; font-weight: 700; line-height: 1.2; }
.title-underline { width: 50px; height: 2px; background: var(--gold); margin: 20px auto; }
.title-underline.left { margin: 20px 0; }

/* --- SERVICES --- */
.services-list { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: clamp(20px, 5vw, 40px); 
    margin: 20px 0 100px 0; 
}
.service-item { text-align: center; padding: 20px; transition: var(--transition); }
.service-item i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; display: block; }
.service-item h3 { font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 15px; text-transform: uppercase; font-weight: 600; }
.service-item p { font-size: 0.95rem; color: #555; }

/* --- SLIDER STYLES --- */
.comparison-container { margin-top: 80px; text-align: center; }
.comparison-slider { position: relative; width: 100%; max-width: 900px; height: 500px; margin: 0 auto; overflow: hidden; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); user-select: none; }

#leistungen .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-slider img { width: 100%; height: 500px; object-fit: cover; display: block; pointer-events: none; }
.image-after { position: relative; width: 100%; height: 100%; }
.image-before { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; z-index: 2; border-right: 2px solid var(--gold); }
.image-before img { width: 900px; max-width: none; } 
.slider-handle { position: absolute; top: 0; left: 50%; width: 0; height: 100%; z-index: 10; cursor: ew-resize; }
.handle-circle { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 44px; height: 44px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); box-shadow: 0 0 15px rgba(0,0,0,0.3); z-index: 11; }

.label { 
    position: absolute !important; 
    bottom: 20px !important; 
    top: auto !important; 
    padding: 6px 15px; 
    background: rgba(0,0,0,0.7); 
    color: #ffffff; 
    font-size: 0.7rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    z-index: 100; 
    pointer-events: none; 
}

.label-before { left: 20px !important; right: auto !important; }
.label-after { right: 20px !important; left: auto !important; }

@media (max-width: 900px) { .comparison-slider, .comparison-slider img, .image-before img { height: 400px; } }
@media (max-width: 600px) { .comparison-slider, .comparison-slider img, .image-before img { height: 300px; } }

/* --- STEPS --- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.step-card { 
    background: var(--dark-grey); 
    padding: clamp(40px, 6vw, 60px) clamp(30px, 5vw, 45px); 
    border: 1px solid rgba(255,255,255,0.05); 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
    height: 100%; 
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover { 
    border-color: rgba(197, 160, 89, 0.2); 
    transform: translateY(-8px); 
}

.step-card:hover::after {
    transform: scaleX(1);
}

.step-number { font-size: 4rem; color: rgba(197, 160, 89, 0.08); position: absolute; top: 15px; right: 20px; font-weight: 800; pointer-events: none; }
.step-icon { font-size: 2rem; color: var(--gold); margin-bottom: 25px; transition: transform 0.4s ease; display: inline-block; }
.step-card:hover .step-icon { transform: translate(5px, -5px); }

/* --- PORTFOLIO --- */
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    padding: 20px 0;
}

.portfolio-item { 
    position: relative; 
    aspect-ratio: 16/10; 
    overflow: hidden; 
    cursor: pointer; 
    background: var(--black);
}

.portfolio-img-wrap { 
    width: 100%; 
    height: 100%; 
    position: relative; 
}

.portfolio-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s ease;
    opacity: 0.9;
}

.portfolio-item:hover img { 
    transform: scale(1.08); 
    opacity: 1;
}

.img-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.2) 50%, transparent 100%);
    display: flex; 
    align-items: flex-end; 
    justify-content: flex-start; 
    padding: 30px;
    opacity: 0; 
    transition: opacity 0.5s ease; 
}

.portfolio-item:hover .img-overlay { 
    opacity: 1; 
}

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.category-label { 
    color: var(--white); 
    font-size: 0.8rem; 
    letter-spacing: 4px; 
    text-transform: uppercase; 
    display: block;
    font-weight: 300;
}

.overlay-line {
    width: 0;
    height: 1px;
    background: var(--gold);
    margin: 12px 0;
    transition: width 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-item:hover .overlay-line {
    width: 40px;
}

.view-project {
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.portfolio-item:hover .view-project {
    opacity: 1;
}

.view-project i {
    margin-left: 8px;
    font-size: 0.8rem;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .img-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%); }
    .overlay-line { width: 40px; }
    .view-project { opacity: 1; }
    .overlay-content { transform: translateY(0); }
}

/* --- LIGHTBOX --- */
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 10, 0.98); z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(10px, 4vw, 30px); }
.lightbox-close { position: absolute; top: clamp(15px, 4vw, 30px); right: clamp(15px, 4vw, 40px); color: var(--white); font-size: clamp(2rem, 6vw, 3rem); cursor: pointer; z-index: 2100; transition: var(--transition); }
.lightbox-close:hover { color: var(--gold); }
.lightbox-main { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; position: relative; overflow: hidden; }
.lightbox-content { text-align: center; max-width: 95%; display: flex; flex-direction: column; align-items: center; user-select: none; }
#lightbox-img { max-height: 60vh; max-width: 100%; object-fit: contain; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 50px rgba(0,0,0,0.5); pointer-events: none; }
.lightbox-counter { color: var(--gold); margin-top: 15px; font-size: 0.85rem; letter-spacing: 3px; font-weight: 600; }
.lightbox-arrow { background: none; border: none; color: var(--white); font-size: clamp(1.5rem, 5vw, 2.5rem); cursor: pointer; padding: clamp(10px, 3vw, 20px); transition: 0.3s; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2100; }
.lightbox-arrow.prev { left: 0; }
.lightbox-arrow.next { right: 0; }
.lightbox-arrow:hover { color: var(--gold); scale: 1.1; }

@media (hover: none) and (pointer: coarse) { .lightbox-arrow { display: none !important; } }

.lightbox-footer { width: 100%; display: flex; justify-content: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); overflow-x: auto; scrollbar-width: none; }
.lightbox-footer::-webkit-scrollbar { display: none; }
.thumbnail-container { display: flex; gap: 15px; justify-content: flex-start; padding: 0 20px; flex-wrap: nowrap; }
.thumb { width: clamp(60px, 15vw, 90px); height: clamp(40px, 10vw, 60px); flex-shrink: 0; object-fit: cover; cursor: pointer; position: relative; opacity: 0.5; outline: 1px solid rgba(197, 160, 89, 0); transition: opacity 0.8s ease, outline-color 0.8s ease; }
.thumb:hover { opacity: 1; outline: 1px solid rgba(197, 160, 89, 1); }
.thumb.active { opacity: 1; outline: 1px solid rgba(197, 160, 89, 1); }

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 8vw, 80px); align-items: center; }

.image-frame {
    position: relative;
    padding: 15px;
    width: fit-content;
    margin: 0 auto;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    border-top: 2px solid var(--gold); 
    border-left: 2px solid var(--gold); 
    z-index: 1;
}

.image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    border-bottom: 2px solid var(--gold); 
    border-right: 2px solid var(--gold); 
    z-index: 1;
}

.about-img { 
    width: 100%; 
    max-width: 275px;
    height: auto; 
    transition: var(--transition);
    position: relative;
    z-index: 2; 
    display: block;
}

/* --- CONTACT GLASS DESIGN (OPTIMIZED) --- */
.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.contact-wrapper { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: clamp(40px, 8vw, 80px);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
}

.info-item { display: flex; gap: 20px; margin-bottom: 40px; align-items: flex-start; }
.info-item i { font-size: 1.2rem; color: var(--gold); margin-top: 5px; }
.info-item h4 { font-size: 0.8rem; letter-spacing: 2px; color: var(--gold); font-weight: 700; text-transform: uppercase; }

.contact-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.input-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

/* VERSTÄRKTE GLAS OPTIK FÜR FELDER */
.contact-form input, .contact-form textarea { 
    width: 100%; 
    padding: 20px; 
    background: rgba(255, 255, 255, 0.5); /* Glas-Transparenz */
    backdrop-filter: blur(5px); /* Eigener kleiner Blur */
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8); /* Helle Glaskante */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Leichter Schatten unten */
    outline: none; 
    transition: var(--transition); 
    font-family: inherit; 
    font-size: 0.9rem;
    color: var(--black);
    display: block;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); /* Tiefe nach innen */
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.input-group:hover .input-line,
.contact-form input:focus + .input-line, 
.contact-form textarea:focus + .input-line { 
    width: 100%; 
}

.contact-form input:focus, .contact-form textarea:focus { 
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: rgba(255, 255, 255, 1);
}

.form-button { background: var(--black); color: var(--white); border: none; padding: 20px; width: 100%; letter-spacing: 3px; text-transform: uppercase; font-size: 0.75rem; cursor: pointer; transition: var(--transition); font-weight: 700; margin-top: 10px; }
.form-button:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1.0s cubic-bezier(0.2, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 950px) {
    .navbar { height: 70px; }
    .nav-logo-img { height: 50px; }
    .menu-toggle { display: flex; }

    .nav-links { 
        position: fixed; 
        right: -100%; 
        top: 0; 
        height: 100vh; 
        width: 100%; 
        background: rgba(10, 10, 10, 0.98); 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        transition: 0.5s; 
        z-index: 1050; 
        padding: 0; 
    }

    .nav-links.active { right: 0; }

    .nav-links li { 
        margin: 15px 0; 
        width: 100%; 
        display: flex;
        justify-content: center; 
    }

    .nav-links li a { 
        font-size: 1.1rem; 
        text-align: center;
        padding: 10px 20px; 
        display: inline-block; 
    }

    .nav-links li a.nav-cta {
        margin-left: 0; 
        width: auto;
        min-width: 200px; 
        text-align: center;
    }
}    
    .nav-links li a[href*="datenschutz"] {
        word-break: keep-all; 
    }

@media (max-width: 600px) { 
    .portfolio-grid { grid-template-columns: 1fr; justify-items: center; } 
    .portfolio-item { width: 100%; max-width: 450px; margin: 0 auto; }
}

@media (min-width: 1800px) { .container { max-width: 1600px; } .hero h1 { font-size: 7rem; } }

.footer { background: var(--black); color: #555; text-align: center; padding: 40px 20px; font-size: 0.7rem; border-top: 1px solid #111; }
.contact-link { text-decoration: none; color: inherit; transition: var(--transition); }
.contact-link:hover { color: var(--gold); }

/* --- SCROLL PROGRESS --- */
#scroll-progress { 
    position: fixed; 
    top: 90px; 
    left: 0; 
    width: 0%; 
    height: 3px; 
    background: var(--gold); 
    z-index: 1001; 
    transition: width 0.1s ease-out, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform-origin: left;
}

body.no-scroll #scroll-progress {
    transform: scaleX(0);
    opacity: 0;
}

@media (max-width: 950px) { 
    #scroll-progress { top: 70px; } 
}
@media (max-width: 768px) {
    .services-list { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .title-underline.left { margin: 20px auto; }
}

/* --- LEGAL MODAL STYLES --- */
.footer-legal-links { margin-bottom: 15px; }
.footer-legal-links a { color: #888; text-decoration: none; font-size: 0.75rem; letter-spacing: 1px; transition: var(--transition); }
.footer-legal-links a:hover { color: var(--gold); }
.footer-legal-links .separator { color: #333; margin: 0 10px; }

.legal-modal { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(10, 10, 10, 0.95); 
    z-index: 3000; 
    padding: 20px; 
    overflow-y: auto; 
    backdrop-filter: blur(10px);
}
.legal-modal-content { 
    background: var(--dark-grey); 
    max-width: 800px; 
    margin: 40px auto; 
    padding: clamp(20px, 5vw, 60px); 
    position: relative; 
    border: 1px solid rgba(197, 160, 89, 0.2); 
    color: var(--white);
    text-align: left;
    word-wrap: break-word;
}
.legal-modal-close { position: absolute; top: 10px; right: 15px; color: var(--gold); font-size: 2.5rem; cursor: pointer; z-index: 3100; }

.legal-text-container h2 { color: var(--gold); margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; font-size: clamp(1.2rem, 6vw, 2rem); }
.legal-text-container h3 { color: var(--gold); margin: 30px 0 15px; font-size: 1.1rem; }
.legal-text-container p { margin-bottom: 15px; color: #ccc; font-size: 0.9rem; line-height: 1.6; }
.legal-text-container a { color: var(--gold); text-decoration: none; }

/* --- COMING SOON --- */
.coming-soon-container { position: relative; }
.coming-soon-wrapper { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Stellt sicher, dass Inhalt im Wrapper zentriert ist */
    gap: 8px; 
    width: 100%; 
    white-space: nowrap; /* Verhindert Zeilenumbruch auf sehr kleinen Screens */
}.coming-soon-badge { font-size: 0.65rem; color: var(--gold); letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.pulse-dot { width: 8px; height: 8px; background-color: var(--gold); border-radius: 50%; position: relative; }
.pulse-dot::before { content: ""; position: absolute; inset: 0; background-color: var(--gold); border-radius: 50%; animation: pulse-animation 2s infinite; }

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}
/* --- NUR ERGÄNZUNGEN FÜR DAS FEEDBACK --- */

/* Der Lade-Spinner im Button */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* Animation für das Ausblenden des Formulars */
.contact-form.fade-out {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    transition: all 0.6s ease;
}

/* Die Erfolgsmeldung vorbereiten */
#form-status {
    display: none; /* Standardmäßig aus */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

#form-status.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}
/* --- NUR ERGÄNZUNGEN FÜR DAS FEEDBACK --- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* Die Status-Box schick machen, ohne das Formular zu verdecken */
#form-status.success-style {
    display: block !important;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(5px);
    border-radius: 4px;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- SUCCESS MODAL STYLES --- */
.success-modal-overlay {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Abdunkelung */
    backdrop-filter: blur(5px); /* Dein gewünschter reduzierter Blur */
    -webkit-backdrop-filter: blur(5px);
    z-index: 4000; /* Liegt über allem anderen */
    display: flex; /* Hilft beim Zentrieren, wenn aktiv */
    align-items: center;
    justify-content: center;
}

/* Falls du das "display: flex" oben nutzt, muss das hier ergänzt werden 
   damit das Modal beim Laden nicht sofort erscheint: */
#success-modal {
    display: none;
}
/* --- PRIVACY CHECKBOX REFINED & ANIMATED --- */
.privacy-container {
    margin: 5px 0 25px 0;
    padding: 0 5px;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.privacy-label input {
    position: absolute;
    opacity: 0;
}

/* Kästchen etwas kleiner (18px statt 22px) */
.custom-checkbox {
    height: 18px;
    width: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    transition: border-color 0.3s ease;
    position: relative;
    margin-top: 4px;
}

.privacy-label:hover .custom-checkbox {
    border-color: var(--gold);
}

.privacy-label input:checked ~ .custom-checkbox {
    border-color: var(--gold);
    background: transparent;
}

/* Der animierte, längere Haken */
.custom-checkbox:after {
    content: "";
    position: absolute;
    /* Positionierung im kleinen Kasten */
    left: 5px;
    top: 1px;
    /* Proportionen: schmaler und nach oben länger */
    width: 5px;
    height: 10px;
    border: solid var(--gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); /* Start bei Größe 0 */
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}

/* Animation beim Anklicken */
.privacy-label input:checked ~ .custom-checkbox:after {
    transform: rotate(45deg) scale(1); /* Zoom-In Effekt */
    opacity: 1;
}

.privacy-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem; /* Schrift etwas kleiner für bessere Balance */
    line-height: 1.5;
    color: var(--black);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.gold-link {
    color: var(--gold);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gold-link:hover {
    text-decoration: underline;
}