/* ... (Alle Stile bis zum Ende bleiben unverändert) ... */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Oxanium:wght@700&display=swap');
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; background-color: #121212; color: #ffffff; line-height: 1.6; }
h1, h2 { font-weight: 700; }
a { color: #ffffff; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #aaaaaa; }
.main-header { display: flex; justify-content: flex-end; align-items: center; padding: 20px 50px; position: fixed; width: 100%; top: 0; z-index: 110; }
.hamburger-menu { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; padding: 0; z-index: 110; }
.hamburger-menu span { width: 100%; height: 3px; background-color: #ffffff; border-radius: 5px; transition: all 0.3s ease-in-out; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.overlay-menu { position: fixed; top: 0; left: 0; width: 100%; height: 33vh; background-color: rgba(18, 18, 18, 0.85); backdrop-filter: blur(10px); z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.overlay-menu.active { opacity: 1; visibility: visible; }
.overlay-menu nav ul { list-style: none; display: flex; padding: 0; align-items: center; }
.overlay-menu nav ul li { margin: 0 30px; }
.overlay-menu nav ul li a { font-size: 1.5rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.social-links { position: absolute; bottom: 20px; right: 50px; }
.social-links a { margin-left: 25px; }
.social-links svg { height: 24px; transition: transform 0.3s ease; }
.social-links a:hover svg { transform: scale(1.15); }
.login-link { font-size: 1rem !important; font-weight: normal !important; padding: 8px 18px; border: 1px solid #777; border-radius: 5px; transition: background-color 0.3s ease, color 0.3s ease; }
.login-link:hover { background-color: #fff; color: #121212 !important; }
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; padding: 0 20px; overflow: hidden; background-image: url('images/header.jpg'); background-size: cover; background-position: center center; background-attachment: fixed; animation: fadeIn 1.5s ease-in-out forwards; }
.hero-text { display: flex; flex-direction: column; align-items: center; opacity: 0; animation: fadeInAndUp 1.2s ease-out 0.5s forwards; }
.hero h1 { font-family: 'Oxanium', sans-serif; font-size: 14vw; letter-spacing: 2vw; font-weight: 700; text-transform: uppercase; color: #ffffff; padding-left: 2vw; margin-bottom: 20px; opacity: 0.85; }
.button { display: inline-block; padding: 10px 30px; border: 1px solid #ffffff; border-radius: 5px; font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 2px; transition: background-color 0.3s ease, color 0.3s ease; }
.button:hover { background-color: #ffffff; color: #121212; }
main#portfolio { padding: 100px 50px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.grid-item { display: block; height: 300px; border-radius: 10px; background-size: cover; background-position: center; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.grid-item:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.grid-item:nth-child(1) { background-image: url('images/web (1).jpg'); }
.grid-item:nth-child(2) { background-image: url('images/web (2).jpg'); }
.grid-item:nth-child(3) { background-image: url('images/web (3).jpg'); }
.grid-item:nth-child(4) { background-image: url('images/web (4).jpg'); }
.grid-item:nth-child(5) { background-image: url('images/web (5).jpg'); }
.grid-item:nth-child(6) { background-image: url('images/web (6).jpg'); }
.grid-item:nth-child(7) { background-image: url('images/web (7).jpg'); }
.grid-item:nth-child(8) { background-image: url('images/web (8).jpg'); }
.grid-item:nth-child(9) { background-image: url('images/web (9).jpg'); }
.grid-item:nth-child(10) { background-image: url('images/web (10).jpg'); }
.grid-item:nth-child(11) { background-image: url('images/web (11).jpg'); }
.grid-item:nth-child(12) { background-image: url('images/web (12).jpg'); }
.grid-item:nth-child(13) { background-image: url('images/web (13).jpg'); }
.grid-item:nth-child(14) { background-image: url('images/web (14).jpg'); }
.grid-item:nth-child(15) { background-image: url('images/web (15).jpg'); }
.grid-item:nth-child(16) { background-image: url('images/web (16).jpg'); }
.grid-item:nth-child(17) { background-image: url('images/web (17).jpg'); }
.grid-item:nth-child(18) { background-image: url('images/web (18).jpg'); }
.grid-item:nth-child(19) { background-image: url('images/web (20).jpg'); }
.grid-item:nth-child(20) { background-image: url('images/web (21).jpg'); }
.lightbox { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.85); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { position: relative; }
.lightbox-content img { max-width: 90vw; max-height: 80vh; object-fit: contain; display: block; }
.lightbox-close { position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.3); border: none; color: white; font-size: 2rem; cursor: pointer; border-radius: 50%; width: 40px; height: 40px; line-height: 40px; text-align: center; }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInAndUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.scroll-to-top-btn { position: fixed; bottom: 30px; right: 30px; z-index: 500; background-color: rgba(255, 255, 255, 0.2); width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease; }
.scroll-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top-btn:hover { background-color: rgba(255, 255, 255, 0.4); }
.scroll-to-top-btn svg { width: 20px; height: 20px; }
.contact-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(18, 18, 18, 0.5); backdrop-filter: blur(15px); z-index: 1200; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.contact-overlay.active { opacity: 1; visibility: visible; }
.contact-form-container { background-color: #1e1e1e; padding: 40px 50px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); width: clamp(320px, 66vw, 800px); text-align: center; position: relative; }
.contact-close { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.1); border: none; color: white; font-size: 1.5rem; cursor: pointer; border-radius: 50%; width: 35px; height: 35px; line-height: 35px; text-align: center; }
.contact-form-container h2 { font-size: 2.5rem; margin-bottom: 10px; }
.contact-form-container p { font-size: 1.1rem; margin-bottom: 40px; color: #aaaaaa; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-size: 0.9rem; color: #aaaaaa; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; color: #ffffff; font-family: 'Montserrat', sans-serif; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #ffffff; }
form button[type="submit"] { background-color: #ffffff; color: #121212; border: none; padding: 15px 40px; border-radius: 5px; cursor: pointer; font-weight: bold; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; transition: background-color 0.3s ease; }
form button[type="submit"]:hover { background-color: #cccccc; }
.about-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(18, 18, 18, 0.5); backdrop-filter: blur(15px); z-index: 1200; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; padding: 5vh 5vw; }
.about-overlay.active { opacity: 1; visibility: visible; }
.about-content { background-color: #1e1e1e; padding: 40px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); width: clamp(320px, 60vw, 900px); max-height: 75vh; position: relative; display: flex; gap: 30px; align-items: center; }
.about-close { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.1); border: none; color: white; font-size: 1.5rem; cursor: pointer; border-radius: 50%; width: 35px; height: 35px; line-height: 35px; text-align: center; }
.about-text-column { flex: 1.5; }
.about-image-column { flex: 1; }
.about-image-column img { width: 100%; height: auto; max-height: calc(75vh - 80px); object-fit: contain; border-radius: 10px; }
.about-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.about-header h2 { font-size: 2.2rem; }
.lang-switcher button { background: none; border: 1px solid #555; color: #aaa; padding: 5px 10px; border-radius: 5px; cursor: pointer; margin-left: 10px; }
.lang-switcher button.active { background-color: #fff; color: #121212; border-color: #fff; }
.about-text-content { overflow-y: auto; max-height: calc(75vh - 80px - 70px); }
.about-text-column p { margin-bottom: 15px; color: #cccccc; }
.lang-content { display: none; opacity: 0; transition: opacity 0.3s ease-in-out; }
.lang-content.active { display: block; }
.lang-content.visible { display: block; }
.lang-content.fade-in { opacity: 1; }

/* ----- 12. MOBILE STYLES (NEU) ----- */
@media (max-width: 768px) {

    /* Menü für Mobile anpassen */
    .overlay-menu {
        height: 100vh; /* Volle Höhe für mehr Platz */
    }
    .overlay-menu nav ul {
        flex-direction: column; /* Menüpunkte untereinander stapeln */
        gap: 30px;
        align-items: center;
    }
    .overlay-menu nav ul li {
        margin: 0;
    }
    .social-links {
        position: static; /* Position zurücksetzen für Zentrierung */
        margin-top: 40px;
    }

    /* About-Fenster für Mobile anpassen */
    .about-content {
        flex-direction: column; /* Spalten untereinander stapeln */
        overflow-y: auto; /* Das ganze Fenster scrollbar machen */
        padding: 50px 20px 20px 20px; /* Padding anpassen */
    }
    .about-image-column {
        order: -1; /* Bild nach oben verschieben */
        margin-bottom: 30px;
        max-width: 80%; /* Bild nicht über die volle Breite */
        margin-left: auto;
        margin-right: auto;
    }

    /* Kontakt-Formular für Mobile anpassen */
    .contact-form-container {
        width: clamp(300px, 90vw, 500px); /* Breite anpassen */
        padding: 30px 20px;
    }
}