@font-face {
    font-family: 'Jatura';
    src: url('../font/Jaturat.ttf') format('truetype');
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Jatura', sans-serif;
    background-color: #fff;
    color: #000;
    animation: fadeInUp 1s ease-out;
}

/* FadeInUp Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PopIn Animation */
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* FadeOutDown Animation */
@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

header {
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.074);
}

header img {
    max-width: 100%;
    height: auto;
}

nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 15px;
}

nav a {
    text-decoration: none;
    color: #000;
}

nav a:hover {
    color: #777;
}

.main-logo {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.angebot {
    font-weight: 400;
    text-align: center;
    text-shadow: 2px 2px 4px #0000001e;
    margin: 60px auto;
}

.angebot h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.angebot h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.angebot p {
    font-size: 20px;
    color: #777;
    margin-bottom: 40px;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.leistungen {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex: 1;
    align-items: flex-start;
    margin-left: 30%;
    padding-left: 0;
}

.leistung-item {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.leistung-item li {
    margin-left: 0;
    padding-left: 0;
    font-size: 24px;
}

.leistung-item .preis {
    color: red;
    text-decoration: none;
    font-size: 18px;
    margin-top: -4px;
}

.preis a {
    color: red;
    text-decoration: none;
}

.preis a:hover {
    color: rgb(166, 0, 0);
}

.galerie {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
    max-width: 100%;
    margin-top: 1%;
    margin-left: -50%;
    margin-right: auto;
}

.galerie img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.mehr-link {
    text-align: center;
    margin-top: 30px;
}

.mehr-link a {
    color: red;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.headerlogotext {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    text-shadow: 2px 2px 4px #00000019;
}

.image-container {
    text-align: center;
    margin: 5%;
    margin-left: 20%;
    margin-top: 60px;
}

.dm {
    max-width: 100%;
    margin-left: auto;
    height: auto;
}

.designinbg {
    height: 700px;
    margin-top: -5%;
    margin-left: -40%;
}

.galerie video {
    width: 220px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie video:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.no-right-click video {
    pointer-events: none;
}

video {
    pointer-events: all;
    max-width: 100%;
    height: 100%;
}


/* About Section */
.about-section {
    display: none;
    padding: 20px;
    text-align: center;
    background-color: #ffffff00;
    border-top: 2px solid #dddddd00;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.about-section.active {
    display: block;
    animation: fadeInUp 0.3s ease-out forwards;
}

.about-section.inactive {
    display: block;
    animation: fadeOutDown 1s ease-out forwards;
}

.about-section p,
.about-section ul {
    margin: 10px 0;
    color: #333;
}

/* Dropdown Button */
.dropdownaboutus-button,
.hide-section-button {
    all: unset;
    display: block;
    background-color: #fffcfc00;
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
}

.dropdownaboutus-button {
    color: #00000000;
    margin-left: 44%;
    margin-top: -5%;
    height: 150px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hide-section-button {
    color: rgb(111, 0, 0);
    margin-left: 46%;
}

.dropdownaboutus-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
    background-color: #00000000;
    color: #00000000;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    visibility: hidden;
    transition: width 0.5s ease;
    z-index: 1000;
}

body.blurred > *:not(#about-section) {
    filter: blur(5px);
    transition: filter 0.5s ease;
}

.jaboutus {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

h1, h2, p, li {
    font-family: 'Jatura', sans-serif;
    color: #333;
}

/* Button Hover Styles */
.hide-section-button {
    border: 1px solid red;
    color: black;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    display: block;
    margin: 20px auto;
    width: 80%;
}

.sidebar button:hover {
    background-color: #ff010159;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    position: absolute;
    top: auto;
    left: 43.3%;
    transform: translate(-50%, -50%);
}

th, td {
    padding: 15px;
    text-align: center;
}

th {
    color: rgb(0, 0, 0);
    font-size: 18px;
}

td {
    font-size: 16px;
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    text-decoration: none;
}

.newupdate {
    height: auto;
    width: auto;
    color: white;
    border-radius: 100px;
    background-color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blue {
    color: rgb(152, 152, 255);
}

.blue:hover {
    color: rgb(76, 76, 255);
}

.newupdates:hover {
    color: rgb(199, 197, 197);
}

.kundenprojekte {
    text-align: center;
    margin: 20px;
}

.profile-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.profile {
    text-align: center;
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile img:hover {
    transform: scale(1.1);
}

.profile p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.profile a {
    text-decoration: none;
    color: inherit;
}

.profile a:hover p {
    color: #333;
}

hr.divider {
    border: 0;
    border-top: 2px solid #ccc;
    margin: 30px 0;
    width: 100%;
}

.caption {
    font-size: 10px;
}

.middle, .whyus h1, .whycheap h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 1;  /* Setzt den Abstand oben und unten auf 0 */
    flex-shrink: 0;
}

.whyus {
    margin-left:  10%;
    text-align: left;
    display: flex;
    flex-direction: column; /* sorgt dafür, dass die Elemente untereinander bleiben */
}

.whycheap {
    margin-left: 10%;
    text-align: left;
    display: flex;
    flex-direction: column; /* sorgt dafür, dass die Elemente untereinander bleiben */
}

.whyus h1 {
    flex-shrink: 0; /* Verhindert, dass die Überschrift schrumpft */
}

.no{
    color: transparent;
}

.text-container {
    display: flex;
    flex-direction: column; /* Stellt sicher, dass h1 oben und p unten sind */
    align-items: flex-start; /* Verhindert, dass die Überschrift nach innen verschoben wird */
    margin-bottom: 30px;  /* Fügt Abstand unter dem gesamten Container hinzu */
}

.text-content {
    text-align: justify;
}

.text-content p {
    margin: 5px 0;
    color: #555;
    font-size: 18px;
    text-align: justify; /* Blocksatz für die Absätze */
    line-height: 1.6;
}
.footer {
    font-family:'Jatura', sans-serif;
    background-color: #ffffff;
    color: #000000;
    padding: 40px 20px;
    display: flex;
    text-align: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}
.footer h3 {
    font-size: 35px;

    padding-bottom: 10px;
}
.footer a {
    color: #000000;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}
.footer a:hover {
    color: #0000006e;
}
.footer .contact-info {
    margin: 10px 0;
}
.footer .contact-info p {
    margin: 5px 0;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    color: #000000;
    font-size: 24px;
    text-decoration: none;
}
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #333;
    margin-top: 20px;
    color: #000000;
}  

@media screen and (max-width: 768px) {
    .whyus,
    .whycheap,
    .text-container {
        display: flex;
        flex-direction: column; /* Vertikale Anordnung */
        align-items: center; /* Horizontale Zentrierung */
        justify-content: center; /* Vertikale Zentrierung */
        margin: 0 auto; /* Horizontale Zentrierung des Containers */
        text-align: center; /* Zentrierung des Textes */
        min-height: 100vh; /* Mindestens die Höhe des Ansichtsfensters */
    }
    }