/* Globale Einstellungen & Variablen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent-color: #00ff66; /* Knallgrüne Akzentfarbe für Logo & Buttons */
    --accent-hover: #00cc52;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header & Hero Section mit langsame Kamerabewegung */
.hero {
    height: 70vh;
    position: relative;
    overflow: hidden; /* Verhindert das Überstehen des vergrößerten Bildes */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    border-bottom: 3px solid var(--accent-color);
}

/* Hintergrundbild-Container für flüssige Pan-Animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.75)), 
                url('AAW_001.jpg') center/cover no-repeat;
    z-index: 1;
    animation: slowPan 40s ease-in-out infinite alternate;
}

/* Positionierung oben rechts für den "Wichtige Infos"-Button */
.top-bar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.btn-top {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: bold;
    color: #e0e0e0;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #444;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-top:hover {
    color: #121212;
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

/* Hero Content über das Hintergrundbild legen */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

/* Keyframes für das ganz langsame Schwenken von links nach rechts & zurück */
@keyframes slowPan {
    0% {
        transform: scale(1.05) translateX(-4%);
    }
    100% {
        transform: scale(1.05) translateX(4%);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-color);
    color: #121212;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.5);
    transform: translateY(-2px);
}

/* Sektionen */
.section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

/* LINIE UNTER ÜBERSCHRIFTEN (IN GRAU) */
.section h2::after {
    content: '';
    display: block;
    width: 150px; 
    height: 3px;
    background-color: #555555; /* Dezent dunkles Grau */
    margin: 8px auto 0;
    border-radius: 2px;
}

.bio p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: #aaa;
}

/* Leistungskarten */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    border-top: 3px solid var(--accent-color);
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background-color: #1a1a1a;
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Spezifische Behandlung für Bild 7, 8 und 9 */
.gallery-item:nth-child(7) img,
.gallery-item:nth-child(8) img,
.gallery-item:nth-child(9) img {
    object-fit: contain;
    background-color: #181818;
    aspect-ratio: 16 / 9;
}

/* Kontakt */
.contact-info {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #666;
}

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

footer a:hover {
    text-decoration: underline;
}