/* === base.css === */

/* Google Fonts Import via @font-face */

@font-face {font-family: 'Poppins'; src: url('/fonts/Poppins-Bold.woff2') format('woff2'), url('/fonts/Poppins-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap;}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Black.woff2') format('woff2'),
        url('/fonts/Poppins-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ExtraBold.woff2') format('woff2'),
        url('/fonts/Poppins-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ExtraLightItalic.woff2') format('woff2'),
        url('/fonts/Poppins-ExtraLightItalic.woff') format('woff');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-BlackItalic.woff2') format('woff2'),
        url('/fonts/Poppins-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-LightItalic.woff2') format('woff2'),
        url('/fonts/Poppins-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Light.woff2') format('woff2'),
        url('/fonts/Poppins-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-BoldItalic.woff2') format('woff2'),
        url('/fonts/Poppins-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Italic.woff2') format('woff2'),
        url('/fonts/Poppins-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ExtraLight.woff2') format('woff2'),
        url('/fonts/Poppins-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ExtraBoldItalic.woff2') format('woff2'),
        url('/fonts/Poppins-ExtraBoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Thin.woff2') format('woff2'),
        url('/fonts/Poppins-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-SemiBoldItalic.woff2') format('woff2'),
        url('/fonts/Poppins-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-ThinItalic.woff2') format('woff2'),
        url('/fonts/Poppins-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.woff2') format('woff2'),
        url('/fonts/Poppins-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-SemiBold.woff2') format('woff2'),
        url('/fonts/Poppins-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-MediumItalic.woff2') format('woff2'),
        url('/fonts/Poppins-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.woff2') format('woff2'),
        url('/fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Scrollbar */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

/* CSS Variablen */
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --surface-alt-color: #2a2a2a;
    --primary-text-color: #e0e0e0;
    --secondary-text-color: #aaaaaa;
    --accent-color: #00aaff;
    --nav-bg-color: #4a4a4a88;
    --nav-active-bg-color: #2a2a2a;
    --font-primary: 'Poppins', sans-serif;
    --font-logo: 'Orbitron', sans-serif; /* Orbitron @font-face auch hinzufügen! */
    --header-height: 70px;
}

/* Reset & Body */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: var(--font-primary); background-color: var(--bg-color); color: var(--primary-text-color); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
body.lightbox-open { overflow: hidden; }
main { flex-grow: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo-font { font-family: var(--font-logo); font-weight: bold; letter-spacing: 1px; }

/* Header & Navigation (Global) */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

#main-header .logo {
    height: 2rem;
    cursor: pointer;
    display: block;
}

/* #main-header a {
    line-height: 0;
} */

/* Für aria-label */
#main-nav ul {
    list-style: none;
    display: inline-flex;
    align-items: center;
    background-color: var(--nav-bg-color);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    overflow: hidden;
    margin: 0;
}

#main-nav ul li {
    margin: 0;
}

#main-nav ul li a {
    display: block;
    color: var(--primary-text-color);
    text-decoration: none;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    background-color: var(--nav-active-bg-color);
    color: var(--primary-text-color);
}

/* Allgemeine Sektionen (Basis) */
.content-section { padding: 80px 0; background-color: var(--surface-color); border-bottom: 1px solid var(--surface-alt-color); }
.content-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 10px; font-weight: 700; }
.section-intro { text-align: center; font-size: 1.15rem; color: var(--primary-text-color); margin-bottom: 15px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.content-section .subtitle { text-align: center; font-size: 1rem; color: var(--secondary-text-color); margin-bottom: 50px; font-weight: 400; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.5; }
/* Kein border-bottom für letzte Sektionen (global) */
#kontakt, #impressum-section, #privacy-section, #error-section, #full-photo-gallery { border-bottom: none; }

/* Allgemeiner Button-Stil */
.btn { display: inline-block; padding: 12px 30px; background-color: var(--accent-color); color: var(--bg-color); font-weight: 600; text-decoration: none; border-radius: 50px; border: none; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.btn:hover { background-color: #0088cc; transform: translateY(-2px); color: var(--primary-text-color); }
.btn-secondary { background-color: #555; color: var(--primary-text-color); border: 1px solid #777; }
.btn-secondary:hover { background-color: #777; border-color: #999; }

/* Basis-Styling für Galerien */
.gallery { max-width: 1200px; margin: 0 auto; }
.gallery-item { background-color: var(--surface-alt-color); border-radius: 8px; overflow: hidden; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
.gallery-item img { display: block; width: 100%; /* Höhe wird spezifisch gesetzt */ }

/* Basis für Video-Items (Container & Iframe) */
.gallery-item.video-item { position: relative; padding-top: 56.25%; height: 0; background-color: #000; /* Schwarz als Standard für Video */ }
.gallery-item.video-item iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
/* Basis Video Platzhalter */
.video-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; text-align: center; padding: 20px; flex-direction: column; cursor: pointer; transition: background-color 0.3s ease; }
.placeholder-content { color: var(--secondary-text-color); }
.placeholder-icon { width: 50px; height: auto; margin-bottom: 15px; opacity: 0.7; fill: currentColor; /* Nimmt Textfarbe an */}
.placeholder-content p { font-size: 0.9em; margin-bottom: 15px; line-height: 1.4; }
.btn-placeholder-accept { background-color: var(--accent-color); color: var(--bg-color); /* Nutzt .btn Basis */ }
.btn-placeholder-accept:hover { background-color: #0088cc; color: var(--primary-text-color); }


/* Footer (global) */
footer { background-color: var(--bg-color); padding: 40px 0; border-top: 1px solid var(--surface-alt-color); margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { height: 1.5rem; }
.footer-links a { color: var(--secondary-text-color); text-decoration: none; margin-left: 20px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-text-color); }

/* --- Basis Responsive Design --- */
@media (max-width: 992px) {
    .container { max-width: 90%; }
}
@media (max-width: 768px) {
     :root { --header-height: 60px; }
    html { scroll-padding-top: var(--header-height); }
    #main-header { padding: 0 15px; height: var(--header-height); }
    #main-header .logo { height: 1.8rem; }
    #main-nav ul { padding: 4px; }
    #main-nav ul li a { padding: 6px 15px; font-size: 0.8rem; }
    .content-section { padding: 60px 0; }
    .content-section h2 { font-size: 2rem; }
    .section-intro { font-size: 1.1rem; margin-bottom: 10px; }
    .content-section .subtitle { font-size: 0.95rem; margin-bottom: 40px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 10px; display: inline-block; margin-top: 10px; }
}
@media (max-width: 480px) {
    #main-nav { flex-grow: 1; display: flex; justify-content: center; }
    #main-nav ul li a { padding: 5px 10px; font-size: 0.7rem; }
    .footer-logo { height: 1.3rem; }
    .error-actions .btn, .error-actions .btn-secondary { display: block; width: 80%; max-width: 300px; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 10px; }
}