/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7200a7;
    --secondary-color: #d1346e;
    --bg-color: #000;
    --text-color: #fff;
    --accent-color: #1c1c1c;
    --border-radius: 4px;
    --font-family: Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    background: url('/img/bg6.jpg') repeat-x; /* Horizontale Wiederholung */
  animation: scrollBackground 80s linear infinite;
    background-size: cover;
    color: var(--text-color);
}
@keyframes scrollBackground {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -1000px 0; /* Passe den Wert an die Breite deines Bildes an */
    }
  }

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Korrigiert die Ausrichtung */
    padding: 15px 20px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.logo img {
    width: 75px;
    height: auto;
    cursor: pointer;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: 18px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover,
nav ul li.active a {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    transform: scale(1.05);
}

/* Burger-Menü */
#menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color);
    text-align: center;
    padding: 200px 20px;
    overflow: hidden;
}


#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: grayscale(100%) blur(2px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero img {
    max-width: 10%;
    height: auto;
    border-radius: 4px;
    transform: translateY(-30px) scale(1.1);
}

.hero h1 {
    font-size: 48px;
    margin: 0;
}

.hero p {
    font-size: 24px;
    margin: 20px 0;
}

.hero .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #7200a7;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #4e0072;
}



.services {
    background-color: transparent;
    padding: 80px 0;
    color: white; /* Text bleibt lesbar */
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Nur 2 Boxen nebeneinander */
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.grid-item {
    background: rgba(0, 0, 0, 0.6); /* Schwarze Box mit 60% Transparenz */
    padding: 30px;
    border-radius: 15px; /* Abgerundete Ecken */
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #7200a7; /* Icons in Lila (#7200a7) */
}


/* Galerie-Stile */
.gallery {
    padding: 50px 20px;
    background-color: transparent;
    text-align: center;
    color: #fff;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drei Spalten */
    gap: 20px;
    justify-items: center;
}

.gallery-item {
    position: relative;
    margin: 10px;
    max-width: 300px;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Hover-Bilder und Overlay */
.image-container {
    position: relative;
    overflow: hidden;
}

.main-image, .hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hover-image {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
}

.gallery-item:hover .main-image {
    opacity: 0;
    transform: scale(1.1);
}

.gallery-item:hover .hover-image {
    opacity: 1;
    transform: scale(1);
}

/* Overlay-Text */
.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Pricing-Pläne */
.pricing-plans {
    padding: 50px 20px;
    background-color: transparent;
    color: #fff;
    text-align: center;
}

.pricing-plans h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #fff;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.plan {
    background-color: rgba(20, 20, 20, 0.8); /* 80% Deckkraft, sodass das Hintergrundbild leicht durchscheint */
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.plan:hover {
    transform: scale(1.05);
}

.plan h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 10px;
}

.plan .price {
    font-size: 28px;
    color: #7200a7;
    margin-bottom: 20px;
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan ul li {
    font-size: 16px;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.plan ul li i {
    margin-right: 10px;
    color: #7200a7;
}

.plan .cta-button {
    background-color: #7200a7;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.plan .cta-button:hover {
    background-color: #4e0072;
}

/* Kontaktbereich */
.contact {
    padding: 50px 20px;
    background-color: transparent;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.contact p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact form label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    color: #fff;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #222;
    color: #fff;
}

.contact form button {
    background-color: #7200a7;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact form button:hover {
    background-color: #4e0072;
}

/* Footer */
footer {
    background-color: rgba(21, 21, 21, 0.8);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer .social-links {
    margin: 10px 0;
}

footer .social-links a {
    font-size: 24px;
    margin: 0 10px;
    color: #fff;
}

footer .social-links a:hover {
    color: #4e0072;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        justify-content: space-between; /* Für mobile Geräte */
    }

    header h1 {
        font-size: 2em;
    }
  
    .content h3 {
      font-size: 1.8em;
    }
  
    .content p {
      font-size: 1em;
    }
  
    #menu-button {
      display: block;
    }
  
    nav {
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background-color: var(--bg-color);
      display: none;
      flex-direction: column;
      padding: 10px 0;
      overflow: hidden;
    }
  
    nav.open {
      display: block;
    }
  
    nav ul {
      flex-direction: column;
      width: 100%;
      text-align: center;
      margin: 0;
      padding: 0;
    }
  
    nav ul li {
      width: 100%;
    }
  
    nav ul li a {
      display: block;
      padding: 12px;
      font-size: 16px;
    }


    .hero p {
        font-size: 18px;
    }

    .pricing-plans h2,
    .gallery h2,
    .gallery-grid {
        grid-template-columns: 1fr; /* Eine Spalte, d.h. alle Galerie-Items übereinander */
    }
    .services h2 {
        font-size: 28px;
    }
    .services .grid {
        grid-template-columns: 1fr; /* Eine Spalte, d.h. alle Elemente übereinander */
    }
}
