/* ===========================
   1. Globale Einstellungen & Reset
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: 
        linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url(web/Hintergund\ Studio.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #111111;
    color: #ffffff;
    line-height: 1.6;
}

body, img {
    user-select: none;
    -webkit-user-select: none;
}

/* ===========================
   2. Dynamisch angepasste Trennlinien (Satz-/Wortlänge)
=========================== */
.title-with-line {
    display: inline-flex;
    flex-direction: column;
    align-items: center; 
    max-width: 100%;
    margin-bottom: 10px;
}

/* Design der leuchtenden Linien */
.glow-line {
    width: 100%; 
    min-width: 80px; 
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    margin-bottom: 25px;
}

/* Zentrierte Linie unter dem Willkommenstext */
.text-line-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
.text-line-wrapper .glow-line.welcome-line {
    width: 35%; 
    max-width: 300px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.black-title {
    font-size: 2.8rem;
    color: #ffffff; 
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ===========================
   3. Navigationsleiste (Navbar)
=========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px; 
    background-color: rgba(17, 17, 17, 0.25); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center; 
    align-items: center; 
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px; 
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #cccccc; 
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 10px 30px; 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    border-radius: 30px; 
    transition: all 0.25s ease;
}

.nav-links li a.nav-kontakt-link {
    font-weight: 500;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-links li a:hover {
    color: #ffffff; 
    border-color: #ffffff; 
    background-color: rgba(255, 255, 255, 0.05);
}

/* ===========================
   4. Alle Sektionen über die VOLLE BREITE
=========================== */
.hero-section, .portfolio-section-full, .footer-quote {
    width: 100%;
    padding: 140px 0 0 0; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-section-full {
    padding: 80px 0 0 0; 
}

.footer-quote {
    padding: 80px 0 0 0; 
}

.blur-box-full-width {
    background: rgba(0, 0, 0, 0.65); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 65px 40px;
    width: 100%; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-studio-titel {
    font-size: 4.4rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

.studio-welcome-text p {
    font-size: 1.25rem;
    color: #e4e4e4;
    margin-top: 15px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.studio-welcome-text .quote {
    color: #aaaaaa;
    font-style: italic;
    font-size: 1.15rem;
    margin-top: 20px;
}

/* ===========================
   5. Portfolio Slider (VERLÄNGERT FÜR LANGE BILDER)
=========================== */
.main-content {
    width: 100%; 
}

.horizontal-gallery-container {
    display: flex;
    gap: 25px;
    overflow-x: auto; 
    padding-bottom: 15px;
    margin-top: 20px;
    width: 100%; 
    max-width: 1400px; 
    scroll-snap-type: x mandatory;
}

.horizontal-gallery-container::-webkit-scrollbar {
    height: 8px;
}
.horizontal-gallery-container::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

.projekt-box {
    flex: 0 0 320px; 
    scroll-snap-align: start;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #222222;
    -webkit-touch-callout: none;
}

.projekt-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10;
    -webkit-touch-callout: none;
}

.projekt-box::after {
    content: attr(data-watermark);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    color: rgba(255, 255, 255, 0.18);
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.projekt-bild {
    width: 100%;
    /* DIE ANPASSUNG: Die Höhe wurde von 420px auf 480px erhöht, damit längere Tattoos perfekt hineinpassen */
    height: 480px; 
    object-fit: cover;
    display: block;
    filter: blur(0.4px); 
    -webkit-filter: blur(0.4px); 
    transform: translateZ(0);
    pointer-events: none;
}

.banner-quote-section {
    display: none;
}

/* ===========================
   6. Footer Einstellungen
=========================== */
.footer-quote h2.footer-titel {
    font-size: 2.4rem;
    font-weight: 500;
    color: #ffffff;
}

.footer-quote p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 6px 0;
    color: #dddddd;
}

.footer-quote .abschluss {
    margin-top: 15px; 
    color: #aaaaaa;
}

/* NEUER HILFS-CONTAINER FÜR DIE ABSOLUTE ZENTRIERUNG */
.footer-social-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Drückt die gesamte Button-Gruppe exakt in die Mitte */
    align-items: center;
    margin-top: 35px;
}

.footer-social-links {
    display: flex;
    flex-direction: row; 
    justify-content: center; /* Zentriert die drei Buttons innerhalb der Reihe */
    align-items: center;
    gap: 20px;
}



.social-button-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 12px 35px; 
    border-radius: 30px; 
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.social-button-card:hover {
    background: lab(100% 0.01 -0.01 / 0);
    border-color: hwb(0 100% 0% / 0);
    transform: translateY(-3px);
}

.footer-quote .copyright {
    font-size: 0.85rem;
    color: #555555;
    margin-top: 50px;
    width: 100%;
    text-align: center;
}

/* ===========================
   7. Responsive Design (Mobil-Optimierung)
=========================== */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 15px 0;
        background-color: rgba(17, 17, 17, 0.9); 
    }
    .nav-container {
        padding: 0 20px;
    }
    .nav-links {
        gap: 12px;
        flex-wrap: wrap; 
        justify-content: center;
    }
    .nav-links li a {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    .hero-section, .portfolio-section-full {
        padding-top: 180px; 
    }
    .blur-box-full-width {
        padding: 40px 20px;
    }
    .main-studio-titel {
        font-size: 2.8rem;
    }
    .studio-welcome-text p {
        font-size: 1.1rem;
    }
    .black-title {
        font-size: 2.2rem;
    }
    .projekt-bild {
        /* Mobil-Höhe proportional mitangepasst */
        height: 400px; 
    }
    .projekt-box {
        flex: 0 0 280px; 
    }
    .footer-social-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .social-button-card {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}
