/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overscroll-behavior-y: none; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* ANIMATED BACKGROUND */
body {
    background: linear-gradient(135deg,
        #ff4f81, #ff9a3c, #5f5fff, #7df9ff, #ff4fa7);
    background-size: 600% 600%;
    animation: bgmove 30s ease infinite;
}
@keyframes bgmove {
    0% { background-position: 0 0; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0 0; }
}

/* HEADER */
.header {
    position: fixed;
    top: 0; width: 100%;
    padding: 14px 20px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(15px);
    display: flex; 
    justify-content: center; 
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.1);
    z-index: 3000;
    transition: .3s ease;
}
.header.scrolled {
    padding: 8px 20px;
    background: rgba(255,255,255,0.95);
}

/* LOGO */
.logo img {
    height: 42px;
    transition: .3s;
}
.header.scrolled .logo img { height: 34px; }

/* HAMBURGER */
.hamburger {
    position: absolute; right: 20px;
    width: 35px; height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 4000;
}
.hamburger div {
    width: 100%;
    height: 4px;
    background: black;
    border-radius: 6px;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    height: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    box-shadow: -5px 0 18px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    padding: 140px 40px;
    transition: .4s ease-in-out;
    z-index: 5000;
}
@media (min-width: 901px) { .mobile-menu { width: 350px; } }
@media (max-width: 900px) { .mobile-menu { width: 75%; } }

.mobile-menu.active { right: 0; }

.mobile-menu a {
    font-size: 1.8rem;
    margin-bottom: 28px;
    text-decoration: none;
    color: black;
}

.mm-close {
    font-size: 1.4rem;
    margin-bottom: 40px;
    cursor: pointer;
    color: black;
}

/* HERO */
.hero {
    height: 100vh;
    padding-top: 80px;
    position: relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}
.hero-video {
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    transform:scale(1.1);
}
.hero-content {
    position:relative;
    color:white;
    text-align:center;
}
.hero-logo {
    width:260px;
    filter:brightness(0) invert(1);
    margin-bottom:20px;
}
.hero-content p {
    font-size:1.6rem;
    text-shadow:0 0 8px rgba(0,0,0,.7);
}

/* SECTIONS */
section { padding:120px 50px; color:white; }
section h2 { text-align:center; margin-bottom:40px; }

/* LEISTUNGEN – 5 SPALTEN */
#leistungen .grid {
    margin-top:40px;
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap:40px;
}

/* MOBILE – 1 Spalte */
@media (max-width:900px) {
    #leistungen .grid {
        grid-template-columns:1fr;
        gap:25px;
    }
}

/* LEISTUNGEN – CARDS */
.card {
    background:rgba(255,255,255,0.25);
    border-radius:35px;
    padding:35px;
    text-align:center;
    backdrop-filter:blur(20px);
    box-shadow:0 8px 35px rgba(0,0,0,0.25);
    transition:.3s ease;
}
.card:hover { transform:translateY(-6px) scale(1.02); }

/* TRANSPARENT BUTTON */
.mehr-btn {
    margin-top:15px;
    padding:12px 22px;
    border:1px solid rgba(255,255,255,0.4);
    border-radius:25px;
    background:rgba(255,255,255,0.25);
    backdrop-filter:blur(10px);
    color:white;
    font-size:1.1rem;
    cursor:pointer;
    transition:0.3s;
}
.mehr-btn:hover {
    transform:scale(1.05);
}

/* AUSKLAPP TEXT */
.leistung-text {
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
    margin-top:15px;
    line-height:1.5;
    font-size:1.1rem;
}

/* PORTFOLIO */
.portfolio-grid {
    display:grid; gap:25px;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.img-box {
    height:260px;
    border-radius:30px;
    overflow:hidden;
    transform:scale(0.95);
    transition:.4s;
}
.img-box img {
    width:100%; height:100%; object-fit:cover;
}
.img-box:hover { transform:scale(1.0); }

/* ÜBER UNS */
#ueber-uns h2 { text-align:center; margin-bottom:40px; }

.about-container {
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.about-text {
    font-size:1.2rem;
    line-height:1.7;
    max-width:700px;
    margin:0 auto;
}

.about-text ul { list-style-position:inside; }
.about-text li { margin:4px 0; }

.about-badges {
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:25px;
}
.about-badges img {
    height:120px;
    width:auto;
    padding:8px;
    background:white;
    border-radius:12px;
}

/* KONTAKT */
.contact-form {
    max-width:600px;
    margin:40px auto 0;
    display:flex;
    flex-direction:column;
    gap:20px;
}
.contact-form input,
.contact-form textarea {
    padding:20px;
    border:none;
    border-radius:25px;
    font-size:1.1rem;
}
.contact-form button {
    padding:18px;
    border-radius:30px;
    background:white;
    border:none;
    font-size:1.3rem;
    cursor:pointer;
}

/* FOOTER */
footer {
    text-align:center;
    padding:40px;
    color:white;
}
footer a { color:white; }

/* MOBILE */
@media (max-width:900px){
    .hero-logo{ width:180px; }
    .hero-content p{ font-size:1.2rem; padding:0 20px; }
    .about-badges{ flex-direction:column; }
}

/* PREISE */
.preise-grid {
    margin-top:35px;
    display:grid;
    gap:40px;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.preis-card {
    background:rgba(255,255,255,0.22);
    border-radius:35px;
    padding:40px;
    backdrop-filter:blur(20px);
    box-shadow:0 8px 35px rgba(0,0,0,0.25);
}
.preis {
    font-size:2rem;
    font-weight:700;
    margin:15px 0;
}