/* Basisstile für den Desktop */

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    scroll-behavior: smooth;
    cursor: none;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
}

#header-logo {
    width: 200px;
    max-width: 800px;   /* maximale Größe auf großen Screens */
    height: auto;       /* Proportionen beibehalten */
    margin-top: 25px;
}

/* Für Tablets */
@media (max-width: 768px) {
    #header-logo {
        max-width: 400px;
    }
}

/* Für Smartphones */
@media (max-width: 480px) {
    #header-logo {
        max-width: 200px;
    }
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin-top: 10px; /* zusätzlicher Abstand nach oben */
}

.nav-left,
.nav-right {
    flex: 1;
}

#header-logo-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.nav-left {
    justify-content: flex-start;
    display: flex;
}

.nav-right {
    justify-content: flex-end;
    display: flex;
}

.nav-links ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links:last-child {
    margin-right: 40px;
}

.nav-links a {
    color: gold;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::before, .nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: gold;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links a::before {
    top: 0;
    left: 0;
    transform-origin: right;
}

.nav-links a::after {
    bottom: 0;
    right: 0;
    transform-origin: left;
}

.nav-links a:hover::before, .nav-links a:hover::after {
    transform: scaleX(1);
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: gold;
    padding: 0 20px;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
    }
    100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
}

.hero h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Hinzugefügter Textschatten */
    animation: glow 1.5s ease-in-out infinite;
}

.hero p {
    font-size: 1.2em;
    margin: 20px 0;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); /* Hinzugefügter Textschatten */
    animation: glow 1.5s ease-in-out infinite;
}

main {
    position: relative;
}

@media screen and (max-width: 768px) {
    .cursor-glow {
        display: none; /* Komplett ausblenden auf mobilen Geräten */
    }
}


.cursor-glow {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px 15px rgba(255, 215, 0, 0.5);
    z-index: 3000;
}

.latest-works {
    background-color: rgba(0, 0, 0, 0.9); /* Dunkler Hintergrund für mehr Tiefe */
    border: 2px solid gold; /* Goldene Umrandung für mehr Eleganz */
    border-radius: 10px; /* Abgerundete Ecken für ein modernes Design */
    padding: 20px;
    margin: 20px 0; /* Abstand zu anderen Elementen */
    color: white;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); /* Leichter goldener Schein */
}

.section-title {
    color: gold;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7); /* Schöner Textschatten */
    margin-bottom: 15px;
    text-align: center;
}

footer {
    background-color: black;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    margin: 20px 0;
    flex-basis: calc(33.333% - 40px);
    text-align: center; /* Zentriert den Text innerhalb der Sektion */
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: gold;
}

.footer-section p, .footer-section ul, .footer-section a {
    color: white;
    font-size: 1em;
    text-decoration: none;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid gold;
    margin-top: 20px;
    font-size: 0.9em;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Erlaubt es den Buttons, auf mehrere Zeilen zu brechen */
    width: 100%; /* Erlaubt den Buttons die volle Breite einzunehmen */
    gap: 10px; /* Abstand zwischen den Buttons */
}

.social-button {
    flex: 1 1 auto;
    background-color: gold;
    border: none;
    padding: 10px 20px;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 150px; /* Einheitliche Breite für alle Buttons */
    max-width: 100%;
    text-align: center;
}

.social-button:hover {
    background-color: darkgoldenrod;
}

.wa-button {
    display: inline-block;
    background-color: gold;
    color: black; /* Textfarbe sollte hier schwarz sein */
    padding: 15px 20px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none; /* Entfernt den Standardrahmen des Buttons */
    cursor: pointer; /* Zeigt an, dass es sich um einen klickbaren Button handelt */
    margin-top: 20px; /* Abstand zum Text darüber */
}

.wa-button:hover {
    background-color: darkgoldenrod;
    transform: scale(1.05); /* Leichter Vergrößerungseffekt beim Hover */
}

/* Burger-Menue */
.open-menu, .close-menu {
    color: gold;
    cursor: pointer;
    font-size: 30px;
    display: none;
}

.open-menu, .close-menu {
    margin: 20px 20px 20px 40px;
}



@media screen and (max-width: 768px) {
    .nav-links ul {
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        display: none;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
    }

    .nav-links ul li {
        margin-top: 40px;
    }

    .open-menu {
        display: flex;
    }
}
/* Media Queries */

/* Tablets und kleine Laptops im Querformat (min-width: 768px und max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .navbar .logo img {
        height: 100px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .cta-button {
        font-size: 1em;
        padding: 8px 16px;
    }

}

/* Smartphones und Tablets im Hochformat (max-width: 768px) */
@media screen and (max-width: 768px) {

    .navbar .logo img {
        height: 80px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .social-links {
        justify-content: center; /* Zentriert die Buttons auch auf kleineren Bildschirmen */
        gap: 5px; /* Reduziert den Abstand auf mobilen Geräten */
    }

    .social-button {
        flex: 0 1 100%; /* Nimmt die volle Breite des Containers ein, um zentriert zu bleiben */
        max-width: 300px; /* Optional: maximale Breite für die Buttons */
        margin: 5px auto;  /* Zentriert die Buttons durch automatischen linken und rechten Rand */
    }

    .wa-button {
        font-size: 12px;
    }
}

/* Kleine Smartphones (max-width: 480px) */
@media screen and (max-width: 480px) {

    .navbar .logo img {
        height: 60px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .open-menu, .close-menu {
        font-size: 20px;
    }
}

/* --- Burger-Button und Overlay-Menü --- */
.burger {
    display: none;
    position: absolute;
    right: 30px;
    top: 18px;
    z-index: 2101;
    background: none;
    border: none;
    color: gold;
    font-size: 2.3em;
    cursor: pointer;
    transition: color 0.2s;
}

.menu-overlay {
    display: none;
    position: fixed;
    z-index: 3002;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-overlay.active {
    display: flex;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-overlay ul li {
    margin: 30px 0;
}

.menu-overlay ul li a {
    color: gold;
    font-size: 2em;
    text-decoration: none;
    transition: color 0.2s;
}

.menu-overlay ul li a:hover {
    color: #fffbe6;
}

.menu-overlay .close-menu-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5em;
    color: gold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 3100;
}

/* --- Responsive: Desktop vs. Mobile --- */
@media screen and (max-width: 900px) {
    .burger {
        display: block;
    }
    .nav-left,
    .nav-right,
    .nav-links {
        display: none !important;
    }
    #header-logo-container {
        position: static;
        transform: none;
        margin: 0 auto;
        top: unset;
        left: unset;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        max-width: 100vw;
    }
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        margin-top: 0;
        padding: 0 0;
        box-sizing: border-box;
        height: 70px;
        position: relative;
    }
    header {
        padding: 0;
        min-width: 0;
        width: 100vw;
        max-width: 100vw;
        height: 70px;
    }
    .burger {
        right: 16px;
        top: 20px;
    }
}

/* Optimierung für 900px bis 769px: Logo kleiner, Burger besser positioniert */
@media screen and (max-width: 900px) and (min-width: 769px) {
    .burger {
        font-size: 2em;
        top: 22px;
    }
}

/* Fix für kleine Smartphones: Header und Navbar volle Breite, kein Overflow */
@media screen and (max-width: 480px) {
    header,
    .navbar {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #header-logo-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}