/* Bee's Garden - Stylesheet
   Design: Modern, Naturverbunden, Abmahnsicher
*/

:root {
    --bg-dark: #1a1d1a;       /* Dunkles Anthrazit-Grün */
    --bg-card: #242924;       /* Etwas helleres Kartengrün */
    --accent-green: #8bc34a;  /* Ihr Haupt-Grün */
    --accent-gold: #c5a059;   /* Gold/Beige für Akzente */
    --text-light: #f0f0f0;    /* Cremeweiß für Texte */
    --text-dim: #a0a0a0;      /* Gedimmtes Grau für Muted-Texte */
    --max-width: 1200px;      /* Maximale Breite des Inhalts */
}

/* Basis-Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

strong {
    font-weight: 700;
    color: var(--accent-green);
}

/* Navigation */
nav {
    background: rgba(26, 29, 26, 0.98);
    padding: 1rem 10%; /* Großer Seitenabstand */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.logo-nav {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent-green);
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-green);
}

/* Sektions-Logik */
section {
    padding: 140px 12% 80px; /* Viel Platz zum Rand */
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
    display: none; /* Steuerung via JS */
}

section.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero / Startseite */
.hero {
    text-align: center;
}

.main-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(139, 195, 74, 0.2));
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent-green);
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-green);
    padding-left: 20px;
    text-align: left;
}

/* Karten-Design */
.card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #333;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-card {
    text-align: center;
}

.tech-list {
    list-style: none;
    text-align: left;
}

.tech-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.tech-list li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

/* Galerie / Referenzen */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px; /* Großer Abstand zwischen Projekten */
    margin-top: 20px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-item .info {
    padding: 20px;
}

.gallery-item .info span {
    display: block;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Kontaktformular */
form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
}

input, textarea, select {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    background: #1a1d1a;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus, textarea:focus {
    border-color: var(--accent-green);
    outline: none;
}

button {
    background: var(--accent-green);
    border: none;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    color: #1a1d1a;
    transition: all 0.3s ease;
}

button:hover {
    background: #a2d95d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 10%;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-top: 1px solid #333;
    margin-top: 50px;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
    cursor: pointer;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-green);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(139, 195, 74, 0.2);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--accent-green);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    section { 
        padding: 100px 5% 40px; 
    }
    
    .hamburger { 
        display: block !important; /* Zeigt das ☰ Symbol auf dem Handy */
    }

    nav ul { 
        display: none; /* Standardmäßig versteckt, bis toggleMenu() klickt */
        width: 100%;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    h1 { font-size: 2rem; }
    .card { padding: 20px; }
}

/* Lokale Schriftart Einbindung */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v18-latin-regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v18-latin-700.woff2') format('woff2');
  font-display: swap;
}