/* Farbvariablen & Basis-Setup */
:root {
    --bg-dark: #0f1113;
    --bg-card: #161a1e;
    --accent-cyan: #00d2ff;
    --accent-green: #8bc34a;
    --text-light: #e0e0e0;
    --text-dim: #a0a0a0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
    font-size: 14px;
}

/* Hervorhebung korrigiert */
strong {
    font-weight: 700;
    color: #ffffff;
}

/* Navigation */
nav {
    background: rgba(15, 17, 19, 0.98);
    padding: 0.6rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.logo-nav {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 18px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--accent-green);
}

/* Sektions-Logik */
section {
    padding: 80px 8% 40px;
    min-height: 100vh;
    display: none;
}

section.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home / Hero */
.hero {
    text-align: center;
    padding-top: 100px !important;
}

.main-logo {
    max-width: 130px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(0,210,255,0.2));
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
}

/* Karten-Design */
.card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 20px;
}

.about-card {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-card p {
    margin-bottom: 15px;
}

.tech-card {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.tech-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

/* Galerie */
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background: #1e2327;
    border: 1px solid #333;
    color: white;
    padding: 7px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
}

.filter-btn.active {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gallery-item .info {
    padding: 15px;
}

.gallery-item .info span {
    display: block;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Kontaktformular */
form {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #1e2327;
    border: 1px solid #333;
    color: white;
    border-radius: 6px;
}

button {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-green));
    border: none;
    padding: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    border-radius: 6px;
    color: #000;
    transition: 0.3s;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    color: var(--text-dim);
    border-top: 1px solid #222;
}

footer a {
    color: var(--accent-cyan);
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
    section { padding: 90px 5% 30px; }
    h1 { font-size: 1.6rem; }
}
	
/* Lightbox Styles */
.lightbox {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    z-index: 2000; /* Über der Navigation */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--accent-cyan);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover {
    color: var(--accent-green);
    text-decoration: none;
    cursor: pointer;
}