/* Root Variables angepasst an das neue Logo */
:root {
    --bg-dark: #050810;
    --bg-card: rgba(12, 18, 30, 0.7);
    /* Farben aus dem Logo: Cyan/Blau und strahlendes Grün */
    --primary: #00aeff; 
    --primary-glow: rgba(0, 174, 255, 0.3);
    --secondary: #39ff14; 
    --secondary-glow: rgba(57, 255, 20, 0.3);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Background Effects (Cyan & Green Orbs) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 30%, rgba(0, 174, 255, 0.05), transparent 30%),
                radial-gradient(circle at 85% 70%, rgba(57, 255, 20, 0.03), transparent 30%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.max-w-800 { max-width: 800px; margin-inline: auto; }

/* Typography & Colors */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 174, 255, 0.15);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Verhindert, dass das Logo über den Rand hinauswächst */
    max-width: 40%; 
}

.nav-logo {
    height: auto;
    max-height: 50px; /* Basishöhe leicht verringert */
    max-width: 100%; /* Macht das Logo responsive innerhalb des Containers */
    object-fit: contain; /* Stellt sicher, dass das Seitenverhältnis erhalten bleibt */
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: transform 0.3s ease;
}
.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-glow) inset;
}

.nav-btn:hover {
    background: var(--primary);
    color: #000 !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), #0088cc);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--primary-glow), 0 0 15px var(--secondary-glow);
    transform: translateY(-2px);
    background: linear-gradient(90deg, #0088cc, var(--primary));
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.2);
    margin-left: 15px;
}
.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow) inset;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    position: relative;
    text-align: center;
    background-color: var(--bg-dark);
    background-image: url('../images/hero-bg-placeholder.jpg'); /* Dein Hintergrundbild */
    background-position: center;
    background-size: contain; /* Sorgt dafür, dass das Bild komplett reinpasst und nicht riesig herangezoomt wird */
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(5,8,16,0.3) 0%, rgba(5,8,16,1) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-inline: auto;
}

/* Sections Global */
section { padding: 100px 0; }

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.align-center { align-items: center; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 174, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.border-gradient {
    position: relative;
    background-clip: padding-box;
    border: 1px solid transparent;
}
.border-gradient::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.3;
    transition: opacity 0.3s;
}
.border-gradient:hover::before { opacity: 0.8; }

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.card p { color: var(--text-muted); }

/* Hardware Grid */
.hardware-section {
    background: linear-gradient(0deg, rgba(5,8,16,1) 0%, rgba(12,18,30,0.5) 50%, rgba(5,8,16,1) 100%);
}

.hardware-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(57, 255, 20, 0.15); /* Greenish border */
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.hardware-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px var(--secondary-glow);
}

.hw-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.hardware-card h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.hardware-card p {
    font-weight: 600;
    color: #fff;
}

/* Lists */
ul.styled-list {
    list-style: none;
}
ul.styled-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-muted);
}
ul.styled-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
    top: -2px;
}

/* Highlight Box */
.highlight-box {
    background: rgba(0, 174, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    display: inline-block;
    color: var(--text-muted);
}
.highlight-box strong {
    color: #fff;
}


/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow-y: auto; 
    background-color: rgba(5, 8, 16, 0.7); 
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show-modal {
    opacity: 1;
}

.modal-content {
    background: #0a0f18; /* Statische Hintergrundfarbe */
    border: 1px solid rgba(0, 174, 255, 0.3); /* Cyan Rand */
    margin: 5% auto 50px auto; /* Etwas Abstand oben und unten */
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 174, 255, 0.1);
}

.modal.show-modal .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary);
    text-decoration: none;
}

.application-form-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

