/* ==========================================================================
   FARBPALETTE & GLOBALE VARIABLEN
   ========================================================================== */
:root {
    --primary-blue: #1c5a93;
    --secondary-cyan: #6ecee6;
    --light-cyan: #bcecf7;
    --accent-red: #D62828;
    --text-color: #ffffff;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(135deg, rgba(28, 90, 147, 0.9) 0%, rgba(28, 90, 147, 0.75) 100%), 
                url('dinesten (2).jpeg') center/cover no-repeat fixed;
    overflow-x: hidden;
}

/* ==========================================================================
   CUSTOM SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
::-webkit-scrollbar-thumb { background: var(--secondary-cyan); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--light-cyan); }

/* ==========================================================================
   HEADER & NAVIGATION (Desktop)
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.logo img {
    height: 64px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-5px) scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    margin-left: 30px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s, transform 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-cyan);
    transition: width 0.3s ease;
}

nav a:hover { color: var(--secondary-cyan); }
nav a:hover::after { width: 100%; }

/* Hamburger Menü Icon (Auf Desktop versteckt) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   HERO / BANNER BEREICH
   ========================================================================== */
.hero {
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 22px;
    max-width: 750px;
    margin: 0 auto 45px auto;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Dynamisches Hero Logo */
.hero-logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 100%;
    max-width: 85vw; 
    max-height: 45vh; 
    object-fit: contain;
}

.cta-btn {
    background: linear-gradient(90deg, var(--accent-red) 0%, #F77F00 100%);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(214, 40, 40, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 40, 40, 0.6);
}

/* ==========================================================================
   ALLGEMEINE SEKTIONEN & DIENSTLEISTUNGEN
   ========================================================================== */
section { padding: 100px 5%; }

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-cyan);
    font-size: 15px;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 6px solid var(--secondary-cyan);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:nth-child(even) {
    flex-direction: row-reverse;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 6px solid var(--secondary-cyan);
}

.service-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(110, 206, 230, 0.25);
}

.service-content { flex: 1.2; }
.service-content h3 { font-size: 28px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 12px; }
.service-content p { font-size: 17px; font-weight: 300; }

.service-image-wrapper {
    flex: 0.8;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
}
.service-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-block:hover .service-image-wrapper img { transform: scale(1.05); }

/* ==========================================================================
   ALBUM / SLIDER / LIGHTBOX
   ========================================================================== */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; height: 400px; }
.slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28, 90, 147, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
}
.slider-btn:hover { background: var(--secondary-cyan); }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.lightbox {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center; align-items: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 8px; animation: zoomIn 0.3s ease; }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: white; font-size: 40px; cursor: pointer; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ==========================================================================
   Styling für den Statistik-Bereich
   ========================================================================== */
.stats-section {
    padding: 60px 20px;
    background-color: #f8f9fa; /* Sehr helles Grau, ähnlich wie im Screenshot */
}

.stats-container {
    display: grid;
    /* Erstellt automatisch so viele Spalten wie passen, ideal für Responsive Design */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    /* Die blaue Linie an der Seite */
    border-left: 4px solid #1a4b82; /* Passe diesen HEX-Code an das Blau im Logo an */
    padding-left: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111;
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

@media (max-width: 600px) {
    .stats-container {
        /* Erzwingt 2 Spalten nebeneinander auf dem Handy */
        grid-template-columns: repeat(2, 1fr);
        /* Reduziert den Abstand zwischen den Elementen */
        gap: 20px; 
    }

    .stat-item {
        /* Etwas weniger Innenabstand zur blauen Linie */
        padding-left: 12px; 
    }

    .stat-item h3 {
        /* Kleinere Zahlen für mobile Ansicht */
        font-size: 1.8rem; 
        margin-bottom: 4px;
    }

    .stat-item p {
        /* Kleinerer Text für mobile Ansicht */
        font-size: 0.9rem; 
    }
}

/* ==========================================================================
Styling für das Kundenfeedback
========================================================================== */
.feedback-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.feedback-title {
    font-size: 2rem;
    color: #1a4b82; /* Passend zum Blau im Logo */
    margin-bottom: 40px;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
    /* position, height und overflow wurden hier entfernt */
}

/* Neue Regel für den Slider-Wrapper hinzufügen */
.feedback-slider {
    position: relative;
    height: 150px; 
    overflow: hidden;
}

.feedback-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.feedback-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.feedback-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.feedback-author {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a4b82;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 600px) {
    .feedback-slider {
        height: 200px; /* Klasse hier zu .feedback-slider geändert */
    }
    .feedback-text {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: rgba(28, 90, 147, 0.85); 
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    padding: 80px 5% 40px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
footer h4 { color: var(--secondary-cyan); margin-bottom: 25px; position: relative; }
footer h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px; background-color: var(--accent-red); }
footer a { color: #bcecf7; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
.footer-bottom { background-color: rgba(18, 60, 100, 0.95); text-align: center; padding: 20px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }


/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 46px; }
    .hero p { font-size: 18px; }
    
    /* Layout für Dienstleistungen untereinander statt nebeneinander */
    .service-block, .service-block:nth-child(even) {
        flex-direction: column;
        padding: 30px; 
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-top: 6px solid var(--secondary-cyan);
    }
    .service-image-wrapper { width: 100%; height: 250px; }
}

@media screen and (max-width: 768px) {
    /* Header & Navigation (Hamburger Menü) */
    header {
        padding: 15px 20px;
    }

    .logo {
        margin: 0 auto; 
        padding-left: 0; /* Entfernt das alte Padding, damit das Logo vollen Platz hat */
    }

    .logo img { 
        height: 75px; /* Vorher 50px - teste hier gerne Werte zwischen 70px und 90px */
    }
    .logo span { display: none; } /* Text verstecken */

    .hamburger { display: flex; }

    /* Slide-in Menü */
    nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%; 
        height: 100vh;
        background-color: rgba(28, 90, 147, 0.98); 
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    nav.active { right: 0; }
    
    nav a { margin: 20px 0; font-size: 22px; padding: 10px 20px; }
    nav a::after { display: none; } /* Unterstrich-Animation im Mobile-Menü ausblenden */

    /* Hamburger Animation zum "X" */
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Anpassungen für kleinere Bildschirme */
    .hero { padding: 60px 20px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; margin-bottom: 30px; }
    .cta-btn { padding: 14px 30px; font-size: 16px; }
    .section-title { font-size: 30px; }
    
    .slide { height: 250px; }
    footer { padding: 50px 20px 30px 20px; gap: 30px; }
}

/* ==========================================================================
   NEUES ALBUM BUTTONS DESIGN (UNTER DEM SLIDER)
   ========================================================================== */
.album-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Abstand zwischen den beiden Buttons */
    margin-top: 30px; /* Abstand zum Bild darüber */
}

.modern-slider-btn {
    background-color: var(--primary-blue); /* Nutzt die Hauptfarbe #1c5a93 */
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px; /* Schöne abgerundete Kanten */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modern-slider-btn:hover {
    background-color: var(--secondary-cyan); /* Helles Cyan beim Drüberfahren */
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 206, 230, 0.4);
}

.modern-slider-btn:active {
    transform: translateY(0);
}