/* ==========================================================================
   Glober Font Face Definitions (OTF)
   ========================================================================== */

@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Thin%20Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Light%20Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Book.otf') format('opentype');
    font-weight: 350;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Book%20Italic.otf') format('opentype');
    font-weight: 350;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Regular%20Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20SemiBold%20Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Bold%20Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20xBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20xBold%20Italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Heavy.otf') format('opentype');
    font-weight: 850;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Heavy%20Italic.otf') format('opentype');
    font-weight: 850;
    font-style: italic;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Glober';
    src: url('../fonts/glober/Glober%20Black%20Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* Global font override */
body, html, p, span, a, h1, h2, h3, h4, h5, h6, input, button, textarea, select, .navbar-brand, .nav-link {
    font-family: 'Glober', sans-serif !important;
}

/* Tischlerei Collin - Premium Gallery Styles
   Modern & Elegant
*/

/* --- Abschnitts-Styling --- */
/* Ein ganz leichter Grauton für den Hintergrund, damit sich die weißen Bilderrahmen abheben */
.gallery-section {
    background-color: #fcfcfc; 
    padding-top: 80px;
    padding-bottom: 80px;
}

/* --- Das einzelne Galerie-Element --- */
.gallery-item {
    /* Mehr Abstand zwischen den Reihen für einen luftigeren Look */
    margin-bottom: 40px; 
    /* Wichtig für den Zoom-Effekt, damit nichts übersteht */
    overflow: hidden; 
    /* Runde Ecken für den Container */
    border-radius: 12px; 
    /* Ein sehr weicher, moderner Schatten, der das Bild "schweben" lässt */
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1); 
    /* Damit der Container selbst auch sanft animiert wird */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Das Bild selbst --- */
.gallery-item img {
    width: 100%;
    height: 320px; /* Etwas höher als vorher für mehr Präsenz */
    object-fit: cover; /* Perfekter Zuschnitt */
    /* WICHTIG: Das Bild muss etwas größer sein als der Rahmen, 
       damit beim Hover keine weißen Ränder entstehen */
    transform: scale(1.01); 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Hover-Effekte (Der "Wow"-Moment) --- */
/* Wenn man über den Container fährt... */
.gallery-item:hover {
    /* ...hebt er sich sanft um 8 Pixel nach oben */
    transform: translateY(-8px);
    /* ...und der Schatten wird tiefer und weicher */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* ...und gleichzeitig zoomt das Bild ganz sanft */
.gallery-item:hover img {
    transform: scale(1.06);
}


/* --- Lightbox Anpassungen --- */
/* Macht die Bildunterschrift in der Lightbox eleganter */
.lb-data .lb-caption {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #eee;
    line-height: 1.4;
}
.lb-data .lb-number {
    opacity: 0.5;
    font-weight: 300;
}

/* --- Responsive Anpassung --- */
/* Auf Handys etwas kompakter, aber immer noch elegant */
@media (max-width: 768px) {
    .gallery-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .gallery-item {
        margin-bottom: 25px;
        /* Auf kleinen Screens etwas weniger Schatten für bessere Performance */
        box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
    }
    .gallery-item:hover {
        transform: translateY(-4px);
    }
    .gallery-item img {
        height: 220px;
    }
}

/* --- Index-Spezifische Optimierungen --- */

/* Sanfterer Hero-Bereich */
.header h1 {
    letter-spacing: 4px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* FAQ Styling - Modern & Clean */
.wm-faq {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.wm-faq h2 {
    background-color: #fff !important;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 25px !important;
    margin-bottom: 10px;
    font-size: 1.2rem !important;
    font-family: 'Glober', sans-serif;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wm-faq h2:hover {
    background-color: #f9f9f9 !important;
    border-color: #ccc;
}

.wm-faq h2::before {
    content: '+' !important; /* Plus statt Pfeil wirkt moderner */
    order: 2;
    font-size: 1.5rem;
    color: #888;
}

.wm-faq h2.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    background-color: #f4f4f4 !important;
}

.wm-faq h2.active::before {
    content: '−' !important;
    transform: none !important;
}

.wm-faq > div > div {
    border: 1px solid #eee;
    border-top: none;
    padding: 20px 25px;
    margin-bottom: 10px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #fff;
    line-height: 1.6;
}

/* Buttons verschönern */
.btn-outline-primary {
    border-radius: 50px; /* Voll abgerundet wirkt moderner */
    padding: 10px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}