/* --- 1. GRUNDLAGEN & FARBEN --- */
:root {
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --gold: #c5a059;
    --text-white: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body { 
    background-color: var(--bg-dark); 
    color: var(--text-white); 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6;
    overflow-x: hidden; 
}

/* SKIP-LINK (Sauber unter der fixen Navigation positioniert) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--gold);
    color: #000;
    padding: 10px 15px;
    font-weight: bold;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s ease;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 110px;
}

/* TASTATUR-FOKUS OPTIMIERUNG */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 3px !important;
}

/* --- 2. NAVIGATION & LOGO --- */
.navbar {
    background: rgba(18, 18, 18, 0.98);
    height: 100px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

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

.logo-area { 
    position: relative; 
    width: 190px;
    height: 100%; 
}

.main-logo {
    position: absolute;
    top: 10px;
    height: 190px;
    width: auto;
    border: 2px solid var(--gold);
    background: #000;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.main-logo:hover {
    transform: scale(1.02);
}

/* Flexibles Gap statt starrem margin-left */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: clamp(15px, 2.5vw, 35px);
}

.nav-links li { 
    margin-left: 0; 
}

.nav-links a { 
    color: #ffffff !important; 
    background-color: transparent !important;
    background: none !important;
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 14px; 
    letter-spacing: 2px; 
    transition: color 0.3s ease;
    padding: 0;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="location"],
.nav-links a[aria-current="page"] {
    color: var(--gold) !important;
    background-color: transparent !important;
    background: none !important;
}

/* --- 3. HERO SEKTION --- */
.hero { 
    min-height: 100vh;
    min-height: 100svh; /* Mobil-freundliche Viewport-Höhe */
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('mood.jpg') center/cover no-repeat; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 20px;
}

.hero h1 { 
    font-family: 'Fraunces', 'Cooper Medium', 'Cooper Black', Georgia, serif; 
    font-size: clamp(3rem, 8vw, 5.5rem); 
    font-weight: 600; 
    letter-spacing: 1px; 
    color: #fff; 
    text-transform: none; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.subtitle {
    color: var(--gold);
    font-size: 1.3rem;
    letter-spacing: 4px;
    margin-top: 15px;
    text-transform: uppercase;
}

/* --- 4. CONTENT SECTIONS --- */
/* Verhindert das Verdecken der Überschriften durch die Navbar beim Scrollen */
section, .content-section, .gear-section { 
    scroll-margin-top: 110px;
}

.content-section, .gear-section { 
    padding: 140px 5% 80px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.section-title { 
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-align: center; 
    color: var(--gold); 
    text-transform: uppercase; 
    margin-bottom: 50px; 
    letter-spacing: 4px; 
    font-size: 2rem;
}

.section-intro {
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 30px;
}

/* --- 5. SLIDER --- */
.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.slider-container { 
    width: 100%; 
    position: relative; 
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    aspect-ratio: 1.5 / 1; 
    touch-action: pan-y; /* Wichtig für spätere Mobile Swipe Gesten */
}

.photo-credit {
    text-align: right;
    font-size: 0.75rem;
    color: #aaaaaa; /* Leicht erhellt für besseren Kontrast */
    margin-top: 6px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.slide { 
    display: none; 
    width: 100%;
    height: 100%;
    position: relative;
}

/* Sichtbarkeits-Steuerung über JS-Klasse */
.slide.active {
    display: block;
}

.slide img { 
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block; 
}

.prev, .next { 
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 50px; 
    height: 50px; 
    background: rgba(0,0,0,0.7); 
    color: var(--gold); 
    border: 1px solid var(--gold); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10;
    font-size: 1rem;
}

.prev { left: 15px; } 
.next { right: 15px; }

.dot-container { 
    text-align: center; 
    padding: 15px 0 25px; 
}

/* Optimaler Touch-Klickbereich (44x44px), optisch weiterhin 12px Dot */
.dot { 
    width: 44px;
    height: 44px;
    margin: 0 2px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.dot::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background-color 0.3s;
}

.dot.active::before { 
    background-color: var(--gold); 
}

.fade { animation: fadeAnim 0.8s; }
@keyframes fadeAnim { from {opacity: 0.4} to {opacity: 1} }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- 6. GEAR GRID --- */
.gear-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; 
}

.gear-card { 
    background: var(--card-bg); 
    border: 1px solid #333; 
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.gear-card img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    display: block;
}

.card-text { 
    padding: 25px; 
    border-top: 3px solid var(--gold); 
}

.card-text h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Nur Hover-Effekte aktivieren, wenn echtes Zeigegerät vorhanden (Desktop) */
@media (hover: hover) {
    .gear-card:hover {
        border-color: var(--gold);
    }
    .about-card:hover {
        transform: translateY(-5px);
        border-color: var(--gold);
    }
}

/* --- 7. GRUNDRISS / FLOORPLAN --- */
.floorplan-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.floorplan-container {
    width: 100%;
    border: 1px solid #333;
    background: var(--card-bg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.floorplan-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.floorplan-caption {
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* --- 8. ÜBER UNS SEKTION --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-top: 3px solid var(--gold);
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: block;
}

.about-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.about-card .role {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.about-card .description {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 25px;
}

.specialties {
    text-align: left;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 4px;
    border-left: 2px solid var(--gold);
}

.specialties h4 {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.specialties ul {
    list-style: none;
    padding: 0;
}

.specialties li {
    font-size: 0.9rem;
    color: var(--text-white);
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.specialties li::before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 0.9rem;
}

/* --- 9. KONTAKT SEKTION & FORMULAR --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid #333;
    border-top: 3px solid var(--gold);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.contact-info h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info .address {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hp-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group textarea {
    background: #121212;
    border: 1px solid #444;
    color: #fff;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.submit-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--gold);
    color: #000;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-status:focus {
    outline: none;
}

.form-status.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* --- 10. FOOTER --- */
footer { 
    padding: 60px; 
    text-align: center; 
    background: #0a0a0a;
    border-top: 1px solid #333;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.85rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* --- 11. MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    section, .content-section, .gear-section { 
        scroll-margin-top: 80px; 
    }
    .navbar { height: 70px; }
    .logo-area { width: 120px; }
    .main-logo { height: 120px; top: 5px; padding: 0; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; letter-spacing: 1px; }
    .subtitle { font-size: 1rem; }
    .content-section, .gear-section { padding: 100px 5% 40px; }
    .prev, .next { width: 40px; height: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; padding: 25px; gap: 30px; }
}

@media (max-width: 480px) {
    .contact-grid {
        padding: 20px 16px;
    }
}