/* --- Variablen --- */
:root {
    --primary: #ff7300; 
    --dark: #111111;
    --light: #FFFFFF;
    --gray: #F4F4F4;
    --text: #333333;
}

/* --- Reset & Basis --- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); line-height: 1.6; background-color: var(--light); overflow-x: hidden; }

/* --- Glassmorphism (Apple Style) --- */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-dark {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Scroll Animationen --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
.main-nav { padding: 1rem 5%; position: fixed; width: 100%; top: 0; z-index: 1000; transition: 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { color: var(--primary); font-weight: 900; font-size: 1.8rem; text-decoration: none; text-transform: uppercase; }
.logo span { color: var(--light); }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { color: var(--light); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; padding: 10px 0; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 2rem; color: var(--light); cursor: pointer; }

/* --- Hero --- */
.hero { 
    height: 100vh; 
    min-height: 600px; 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('/pics/HERO1.webp') center/cover no-repeat; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--light); 
    padding: 80px 20px 0; 
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); text-transform: uppercase; font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); margin: 30px auto; max-width: 600px; font-weight: 400; }
.btn-main { background: var(--primary); color: var(--dark); padding: 16px 44px; text-decoration: none; font-weight: 900; text-transform: uppercase; border-radius: 50px; display: inline-block; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(255,115,0,0.3); border: none; cursor: pointer;}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255,115,0,0.4); background: var(--light); color: var(--primary); }

/* --- Sektionen --- */
.section { padding: 120px 5%; max-width: 1200px; margin: 0 auto; }
.bg-yellow { background-color: var(--primary); max-width: 100%; color: var(--dark); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; font-weight: 900; margin-bottom: 50px; text-align: center; letter-spacing: -1px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: var(--light); padding: 50px 30px; border-radius: 24px; text-align: center; transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.02); }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card h3 { font-weight: 900; margin-bottom: 15px; font-size: 1.2rem; }

/* --- Über uns --- */
.split-content {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto;
}
.text-block h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; color: var(--primary); }
.highlight-stats { display: flex; gap: 2rem; margin: 2rem 0; background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); padding: 2rem; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2); }
.stat { text-align: center; flex: 1; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.stat span { font-size: 0.9rem; opacity: 0.8; }

.btn-secondary {
    display: inline-block; 
    background: var(--primary); 
    color: var(--dark); 
    padding: 1rem 2rem;
    border-radius: 50px; 
    font-weight: 900; 
    text-transform: uppercase;
    border: none;
    box-shadow: 0 10px 20px rgba(255,115,0,0.3);
    transition: all 0.3s ease; 
    margin-top: 1rem;
    text-decoration: none;
}
.btn-secondary:hover { background: var(--light); color: var(--primary); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(255,115,0,0.4); }

.team-img { width: 100%; height: 400px; object-fit: cover; border-radius: 24px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

/* --- NEUES Popup (Action Menu Style) --- */
#contact-popup { position: fixed; bottom: 30px; right: 30px; width: 340px; color: var(--light); border-radius: 28px; padding: 35px; z-index: 2000; transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.popup-hidden { transform: translateY(150%) scale(0.9); opacity: 0; pointer-events: none; }
.close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #888; font-size: 30px; cursor: pointer; transition: 0.3s; padding: 10px; line-height: 1; }
.close-btn:hover { color: var(--primary); }
.popup-header { margin-bottom: 25px; text-align: center; }
.popup-header h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 5px; }
.popup-header p { font-size: 0.85rem; color: #ccc; }

.popup-actions { display: flex; flex-direction: column; gap: 12px; }

.btn-action {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* WhatsApp Button */
.btn-whatsapp { background: #25D366; color: #FFFFFF; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #1EBE5A; transform: translateY(-2px); }

/* Call Button */
.btn-call { background: var(--primary); color: var(--dark); box-shadow: 0 5px 15px rgba(255, 115, 0, 0.3); }
.btn-call:hover { background: var(--light); color: var(--primary); transform: translateY(-2px); }

/* Email Button */
.btn-email { background: rgba(255,255,255,0.05); color: var(--light); border: 1px solid rgba(255,255,255,0.1); }
.btn-email:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.text-link { color: var(--primary); text-decoration: underline; transition: 0.3s; }
.text-link:hover { color: var(--light); }

/* --- Reopen Button --- */
#popup-reopen { position: fixed; bottom: 30px; right: 30px; color: var(--light); border: none; padding: 16px 30px; border-radius: 50px; font-weight: 900; cursor: pointer; z-index: 1999; transition: 0.4s; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
#popup-reopen:hover { background: var(--primary); color: var(--dark); }
.reopen-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }

/* --- Cookie Banner --- */
.cookie-banner { position: fixed; bottom: 30px; left: 30px; width: 300px; color: var(--light); border-radius: 16px; padding: 20px; z-index: 2000; transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 50px rgba(0,0,0,0.4); font-size: 0.85rem; }
.cookie-banner-hidden { transform: translateY(150%) scale(0.9); opacity: 0; pointer-events: none; }

/* --- Footer --- */
.main-footer { background: var(--dark); color: #888; padding: 60px 20px; text-align: center; font-size: 0.9rem; line-height: 2; }
.footer-link { color: #888; text-decoration: none; transition: 0.3s; margin: 0 5px; }
.footer-link:hover { color: var(--primary); text-decoration: underline; }

/* --- Mobile Optimierung (Smartphones) --- */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; max-width: 300px; background: var(--dark); flex-direction: column; justify-content: center; align-items: center; transition: 0.4s ease-in-out; }
    .nav-links.nav-active { right: 0; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
    .nav-links a { color: var(--light); font-size: 1.2rem; padding: 15px 20px; width: 100%; text-align: center; }
    
    .section { padding: 80px 5%; }
    .card-grid { grid-template-columns: 1fr; }
    
    .split-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .team-img { height: 250px; }
    .highlight-stats { flex-direction: column; gap: 1.5rem; }
    
    #contact-popup { width: calc(100% - 40px); bottom: 20px; right: 20px; padding: 25px; }
    
    .cookie-banner { width: calc(100% - 40px); bottom: 20px; left: 20px; }
}