/* ==========================================================================
   FARBEN & VARIABLEN
   ========================================================================== */
:root {
    --bg-dark: #0b1120;
    --card-dark: #1e293b;
    --accent: #42f6ac;
    --accent-hover: #2ce096;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --input-bg: #161e2d;
}

/* ==========================================================================
   BASIS-STYLING (RESET & BODY)
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: system-ui, sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    line-height: 1.6; 
    
    /* Dezenter Matrix / Tech-Grid Hintergrund */
    background-image: 
        linear-gradient(rgba(66, 246, 172, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 246, 172, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 { 
    color: var(--text-main); 
    line-height: 1.2; 
}

/* ==========================================================================
   NAVIGATION & LOGO
   ========================================================================== */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; /* Vertikal zentrieren */
    padding: 25px 5%; 
    border-bottom: 1px solid var(--border); 
    background: rgba(11, 17, 32, 0.9); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    backdrop-filter: blur(10px); 
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    text-decoration: none; 
    color: var(--text-main); 
}

.logo .highlight { 
    color: var(--accent); 
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { 
    padding: 12px 28px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    cursor: pointer; 
    border: none; 
    transition: 0.2s; 
    display: inline-block; 
}

.btn-primary { 
    background: var(--accent); 
    color: #000; 
    box-shadow: 0 0 15px rgba(66, 246, 172, 0.2); 
}

.btn-primary:hover { 
    background: var(--accent-hover); 
    box-shadow: 0 0 25px rgba(66, 246, 172, 0.4); 
    transform: translateY(-2px); 
}

/* ==========================================================================
   HERO-BEREICH (STARTSEITE OBERER TEIL)
   ========================================================================== */
.hero { 
    padding: 80px 5% 40px; 
    text-align: center; 
    max-width: 900px; 
    margin: 0 auto; 
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 24px; 
}

.hero p { 
    font-size: 1.25rem; 
    color: var(--text-muted); 
    margin-bottom: 30px; 
}

.hero-actions { 
    margin-bottom: 50px; 
}

/* AI Image Styling */
.hero-image-container { 
    position: relative; 
    margin-top: 40px; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--border); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}

.hero-image { 
    width: 100%; 
    height: auto; 
    display: block; 
    opacity: 0.85; 
    transition: 0.3s; 
}

.hero-image:hover { 
    opacity: 1; 
}

.ai-badge { 
    position: absolute; 
    bottom: 15px; 
    right: 15px; 
    background: rgba(0,0,0,0.7); 
    backdrop-filter: blur(5px); 
    padding: 8px 15px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    border: 1px solid var(--border); 
    color: var(--accent); 
}

/* ==========================================================================
   SEKTIONEN & GRIDS (LAYOUT)
   ========================================================================== */
.section { 
    padding: 80px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 60px; 
}

.grid-2 { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Erzwingt exakt 3 Spalten */
    gap: 30px; 
}

/* ==========================================================================
   KARTEN & BOXEN
   ========================================================================== */
.card { 
    background: var(--card-dark); 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
}

.hardware-box { 
    border-left: 4px solid var(--accent); 
}

.hardware-box ul { 
    list-style: none; 
    margin-top: 25px; 
}

.hardware-box li { 
    margin-bottom: 15px; 
    color: var(--text-muted); 
}

.hardware-box li span { 
    color: var(--accent); 
    font-weight: bold; 
    margin-right: 10px;
}

/* Team Karten */
.team-card { 
    text-align: center; 
    padding: 30px; 
    background: var(--card-dark); 
    border-radius: 12px; 
    border: 1px solid var(--border); 
}

.team-avatar { 
    width: 80px; 
    height: 80px; 
    background: var(--border); 
    border-radius: 50%; 
    margin: 0 auto 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
}

.team-photo { 
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin: 0 auto 20px; 
    display: block; 
    border: 2px solid var(--border); 
    transition: 0.3s ease; 
}

.team-card:hover .team-photo { 
    border-color: var(--accent); 
    box-shadow: 0 0 15px rgba(66, 246, 172, 0.3); 
}

/* ==========================================================================
   LEGAL (AGB, IMPRESSUM, DATENSCHUTZ)
   ========================================================================== */
.legal-card { 
    text-align: left; 
    max-width: 800px; 
    margin: 0 auto; 
}

.legal-title { 
    color: var(--accent); 
    margin-bottom: 30px; 
}

.legal-text { 
    margin-top: 20px; 
    line-height: 1.6; 
    color: var(--text-muted); 
}

.legal-text strong { 
    color: var(--text-main); 
}

/* ==========================================================================
   FORMULAR & CAPTCHA STYLING
   ========================================================================== */
.form-group { 
    text-align: left; 
    margin-bottom: 15px; 
}

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

.form-control { 
    width: 100%; 
    padding: 14px; 
    background: var(--input-bg); 
    border: 1px solid var(--border); 
    border-radius: 6px; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 1rem; 
    transition: all 0.3s ease; 
}

.form-control:focus { 
    outline: none; 
    border-color: var(--accent); 
    box-shadow: 0 0 10px rgba(66, 246, 172, 0.1); 
    background: var(--card-dark); 
}

textarea.form-control { 
    min-height: 120px; 
    resize: vertical; 
}

.captcha-box { 
    background: rgba(255, 255, 255, 0.03); 
    padding: 15px; 
    border-radius: 8px; 
    border: 1px dashed var(--border); 
    margin-bottom: 25px; 
}

.success-message { 
    background: rgba(66, 246, 172, 0.1); 
    border: 1px solid var(--accent); 
    color: var(--accent); 
    padding: 15px; 
    border-radius: 6px; 
    margin-bottom: 20px; 
    font-weight: bold; 
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { 
    background: var(--card-dark); 
    border-top: 1px solid var(--border); 
    padding: 40px 5%; 
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.footer-text { 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    text-align: center; 
    padding: 20px; 
}

.swiss-badge { 
    display: inline-flex; 
    background: rgba(255,255,255,0.05); 
    padding: 10px 20px; 
    border-radius: 30px; 
    border: 1px solid var(--border); 
    margin-bottom: 20px; 
}

/* ==========================================================================
   MOBILE OPTIMIERUNG (SMARTPHONES & TABLETS)
   ========================================================================== */
@media(max-width: 768px) { 
    .grid-2, .grid-3 { 
        grid-template-columns: 1fr; 
    } 
    
    .hero h1 { 
        font-size: 2.5rem; 
    } 
    
    nav {
        padding: 15px 5%;
    }
    
    .logo {
        font-size: 1.4rem;
    }

    /* Den "We're Hiring" Badge auf dem Handy ausblenden */
    nav a:nth-child(2) {
        display: none;
    }

    /* Den Button in der Navigation kompakter machen */
    nav .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}