/* Grundlegende Stile und Variablen */
:root {
    --bg-color: #1a1a1a;
    --gold-color: #d4af37;
    --text-color: #f0f0f0;
    --header-bg: #111111;
    --color-open: #28a745;
    --color-closed: #dc3545;
    --font-serif: 'Garamond', 'Times New Roman', serif;
    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1100px;
}

/* Globale Resets & Sanftes Scrollen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    font-family: var(--font-serif);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    transition: background-color 0.3s;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--gold-color);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
.main-header {
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--gold-color);
    letter-spacing: 1px;
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-color);
    border-bottom-color: var(--gold-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 28px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    /* KORREKTUR: Hintergrundbild wieder eingefügt und Abdunkelung angepasst */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/hero.png') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

/* KORREKTUR: Status-Indikator neu positioniert und gestylt */
.status-indicator {
    display: inline-flex; /* Passt sich der Breite an */
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px; /* Abstand zum Logo */
    opacity: 0;
    animation: fadeInStatus 1s 1.5s ease-out forwards;
}

@keyframes fadeInStatus {
    to { opacity: 1; }
}

.status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #888;
}
.status-indicator.open .status-circle {
    background-color: var(--color-open);
    animation: blink 1.5s infinite;
}
.status-indicator.closed .status-circle {
    background-color: var(--color-closed);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Logo-Effekte */
.hero-logo {
    max-width: 280px;
    height: auto;
    margin: 0 auto 30px auto;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
    opacity: 0;
    animation: fadeInLogo 1.2s ease-out forwards;
}

@keyframes fadeInLogo {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px #000;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-family: var(--font-sans);
}

.btn {
    display: inline-block;
    background: var(--gold-color);
    color: #111;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #b89b31;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block; width: 30px; height: 50px;
    border: 2px solid var(--gold-color); border-radius: 15px;
    position: relative; opacity: 0.8;
}

.scroll-indicator span::before {
    content: ''; position: absolute; top: 10px; left: 50%;
    transform: translateX(-50%); width: 6px; height: 6px;
    background: var(--gold-color); border-radius: 50%;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0% { top: 10px; opacity: 1; }
    50% { opacity: 0.5; }
    100% { top: 25px; opacity: 0; }
}

/* Sektionen Allgemein */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 50px; }

/* Dienstleistungen */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}
.service-item {
    background: #222; padding: 30px; text-align: center;
    border: 1px solid #333; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
    transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--gold-color);
}
.service-item i { font-size: 3rem; color: var(--gold-color); margin-bottom: 20px; }

/* Über Uns Sektion */
.about-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center;
}
.about-content ul { list-style: none; margin-top: 20px; }
.about-content li {
    font-size: 1.1rem; margin-bottom: 10px;
    padding-left: 30px; position: relative;
}
.about-content li::before {
    content: '✔'; color: var(--gold-color);
    position: absolute; left: 0;
}
.about-image {
    width: 100%; height: 100%; object-fit: cover;
    border: 3px solid var(--gold-color);
}

/* Kontakt Sektion */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: start;
}
.opening-hours { margin: 30px 0; font-family: var(--font-sans); }
.opening-hours ul { list-style: none; color: var(--text-color); }
.opening-hours li {
    display: flex; justify-content: space-between; padding: 5px 0;
    border-bottom: 1px solid #333;
}
.opening-hours li span { color: #aaa; }
.social-icons { margin-top: 25px; }
.social-icons a {
    font-size: 2.5rem; margin-right: 25px; color: var(--text-color);
    transition: color 0.3s, transform 0.3s; display: inline-block;
}
.social-icons a:hover { color: var(--gold-color); transform: scale(1.1); }
.map-container {
    width: 100%; height: 350px; border: 2px solid var(--gold-color);
    overflow: hidden;
}

/* Footer */
.main-footer {
    background: var(--header-bg); color: #aaa; text-align: center;
    padding: 25px 0; font-family: var(--font-sans);
    font-size: 0.9rem; border-top: 1px solid #333;
}
.main-footer a { color: var(--gold-color); }
.main-footer a:hover { text-decoration: underline; }
.footer-legal-link { margin-top: 10px; }

/* ================================ */
/* START: MOBILE OPTIMIERUNG      */
/* ================================ */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }

    .menu-toggle { display: flex; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(8px);
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        opacity: 0; pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .nav-links.active {
        opacity: 1; pointer-events: all; transform: translateY(0);
    }
    .nav-links li { margin: 25px 0; }
    .nav-links a {
        font-size: 2rem; font-family: var(--font-serif);
        font-weight: 300; color: var(--gold-color);
    }
    .nav-links a:hover { color: var(--text-color); border-bottom: none; }

    .hero {
        height: 100vh; min-height: 0; padding: 20px;
        justify-content: center; /* Wichtig für vertikale Zentrierung */
    }
    
    .status-indicator {
        position: static; /* Zurück zum normalen Fluss */
        margin: 0 auto 25px auto; /* Zentriert und mit Abstand */
        padding: 6px 12px; font-size: 0.8rem;
    }

    .hero-logo {
        max-width: 220px; /* KORREKTUR: Logo vergrößert */
        margin: 0 auto 25px auto;
    }
    .hero-content h1 {
        font-size: 2.0rem; margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 1.0rem; line-height: 1.5;
        margin: 0 auto 25px; max-width: 95%;
    }
    .btn { padding: 12px 24px; font-size: 1rem; }
    .scroll-indicator { display: none; /* Auf Mobile ausblenden für mehr Platz */ }

    .about-content, .contact-grid {
        grid-template-columns: 1fr; gap: 40px; text-align: left;
    }
}