/* ===== Grundlegende Styles ===== */
body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== Header & Navigation ===== */
header {
    background-color: #f4f4f4;
    padding: 10px 0 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: inherit;
    text-decoration: none;
}

.img-Logo {
    height: 70px;
}

.img-Unterstrich {
    height: 23px;
}

.img-Unterstrich2 {
    max-width: 60%;
    height: auto;
}

.img-socialmedia {
    height: 30px;
}

main {
    padding-top: 0;
    text-align: center;
    flex: 1; /* Nimmt den verfügbaren Platz ein und schiebt den Footer nach unten */
}

.img-Homepage {
    max-width: 50%;
    height: auto;
    border-radius: 20px;
    box-shadow: -20px 20px 8px rgba(0, 0, 0, 0.2);
}

.img-Homepage0 {
    max-width: 100%;
    height: auto;
    z-index: 100;
    margin-top: -30px;
}

.heights-distance-homepage {
    margin-top: -10%;
    margin-bottom: 30px;
}

.mail {
    color: #c4b040;
    text-decoration: none;
}

.OhneÜberschrift-container {
    text-align: center;
    max-width: 600px;
    margin: -80px auto;
    margin-bottom: 10px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffe96a;
}

.OhneÜberschrift2-container {
    text-align: center;
    max-width: 800px;
    margin: -80px auto;
    margin-bottom: 10px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ffe96a;
}

.linksbündig {
    text-align: left;
}

/* ===== Footer ===== */
footer {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
}

/* ===== Produktliste (Stuff.html) ===== */
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 11%;
    padding: 20px;
    width: calc(25% - 40px);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 11%;
}

.product h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.product .price {
    font-size: 1.2em;
    color: #939393;
    font-weight: bold;
}

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

.product a:hover {
    opacity: 0.8;
}

.amazon-logo img {
    height: 1em;
    width: auto;
    margin: 0 0.1em;
    position: relative;
    top: 10px;
}

/* ===== Dienstleistungssektionen ===== */
.dienstleistungen-heading,
.dienstleistungen-heading2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: -30px 20px;
    font-size: 3.2em;
}

.dienstleistungen-heading2 {
    margin: 20px 0 30px;
}

.dienstleistung-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.dienstleistung-section.reverse {
    flex-direction: row-reverse;
}

.dienstleistung-content {
    width: 45%;
    padding: 20px;
}

.dienstleistung-content h2 {
    font-size: 1.8em;
    margin-bottom: 50px;
}

.dienstleistung-list {
    list-style-type: none;
    padding: 0;
}

.dienstleistung-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

/* ===== Bilder-Stacks ===== */
.bilder-beispiele {
    width: 50%;
    position: relative;
}

.bilder-stack {
    position: relative;
    width: 100%;
    height: 300px;
}

.bilder-stack img {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

.bilder-stack img:nth-child(1) {
    width: 50%;
    height: 50%;
    top: 0;
    right: 0;
    z-index: 3;
}

.bilder-stack img:nth-child(2) {
    width: 65%;
    height: 65%;
    top: 40%;
    right: 50%;
    z-index: 2;
    opacity: 0.9;
}

.bilder-stack img:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 30%;
    right: 30%;
    z-index: 1;
    opacity: 0.8;
}

/* ===== Kontaktformular ===== */
.contact-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #1780e8;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h2 {
    font-size: 1.3em;
    margin-bottom: 12px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 5px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ddd;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #333;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

textarea, 
input[type="email"], 
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: none;
}

.submit-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #555;
}

.required-field {
    color: red;
    font-size: 0.8em;
}

.required-hint {
    text-align: right;
    font-size: 0.8em;
    color: #666;
    margin-top: 10px;
}

.error-message {
    margin-top: 5px;
    font-size: 0.85em;
    color: red;
    display: none;
}

/* ===== Contact-Button ===== */
.contact-button-container {
    text-align: center;
    margin: 20px 0 150px;
}

.contact-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-button:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ===== Thank-You-Seite ===== */
.thank-you-container {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.thank-you-message {
    margin: 2rem 0;
    line-height: 1.6;
}

.thank-you-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.back-to-home-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.back-to-home-btn:hover {
    background-color: #333;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    /* Allgemeine Mobile-Anpassungen */
    .img-Homepage0 {
        content: url("img/Wolken-mobile.png");
        margin-top: -7%;
    }

    .img-Homepage {
        max-width: 90%;
    }

    /* Produktliste */
    .product {
        width: calc(100% - 40px);
    }

    /* Dienstleistungssektionen */
    .dienstleistung-section, 
    .dienstleistung-section.reverse {
        flex-direction: column;
    }
    
    .dienstleistung-content, 
    .bilder-beispiele {
        width: 100%;
    }
    
    .bilder-stack {
        height: 250px;
        margin-top: 20px;
    }

    /* Kontaktformular */
    .contact-form {
        padding: 15px;
        width: calc(100% - 30px);
        margin: 15px;
        margin-top: 30px;
    }

    .contact-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    
    .contact-button-container {
        margin: 25px 0 40px;
    }
}

@media (min-width: 768px) {
    /* Desktop-spezifische Anpassungen */
    .contact-form {
        padding: 30px;
        margin: 40px auto;
    }
    
    .form-section h2 {
        font-size: 1.5em;
    }
    
    .checkbox-group {
        gap: 10px;
    }
    
    .submit-btn {
        width: auto;
        padding: 15px 30px;
    }
    
    textarea {
        min-height: 150px;
    }
}

/* Spezielle Styles für Fehlerzustände */
input:invalid, 
textarea:invalid {
    border-color: #ff9999;
}

#services-group {
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

#services-error[style*="display:block"] + #services-group {
    border-color: #ff9999;
    background-color: #fff9f9;
}



/* ===== Kontaktmethoden Container ===== */
.contact-methods-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px; /* Verringerte maximale Breite */
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 40px;
}

/* Gemeinsame Stile für alle Kontaktboxen */
.contact-method-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 300px; /* Deutlich schmalere Boxen */
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    min-height: 80px;
}

/* Rest bleibt gleich ... */

.contact-method-container:hover {
    background-color: #dedede;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Spezifische Farben für jede Box */
.mail-box {
    border: 1px solid #1e80aa;
}

.whatsapp-box {
    border: 1px solid #25D366;
}

.instagram-box {
    border: 1px solid #de275e;
}

/* Inhalt der Boxen */
.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.whatsapp-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.whatsapp-info {
    flex-grow: 1;
    text-align: center;
}

/* Textstile */
.mail-number, 
.whatsapp-number, 
.instagram-number {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0;
}

.mail-number {
    color: #1e80aa;
}

.whatsapp-number {
    color: #25D366;
}

.instagram-number {
    color: #de275e;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .contact-methods-container {
        padding: 0 15px;
        gap: 15px;
    }
    
    .contact-method-container {
        padding: 15px;
        min-height: 70px;
    }
    
    .whatsapp-logo {
        width: 35px;
        height: 35px;
    }
    
    .mail-number, 
    .whatsapp-number, 
    .instagram-number {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    /* Alternative wenn heights-distance-Überschriften nicht existiert */
    .dienstleistungen-heading {
        margin-top: 20px; /* Oder den gewünschten Wert */
    }
}








@media (max-width: 768px) {
    /* Spezifisch für Datenschutz-Seite */
    .OhneÜberschrift-container {
        margin-top: -50px;
        margin-left: 20px;
        margin-right: 20px;
        width: auto; /* Damit es nicht auf 100% gesetzt wird */
        max-width: calc(100% - 40px); /* 20px Abstand links + 20px rechts */
        padding: 1.5rem;
    }
      .OhneÜberschrift2-container {
        margin-top: -50px;
        margin-left: 20px;
        margin-right: 20px;
        width: auto; /* Damit es nicht auf 100% gesetzt wird */
        max-width: calc(100% - 40px); /* 20px Abstand links + 20px rechts */
        padding: 1.5rem;
    }

    /* Der Rest bleibt unverändert */
    .img-Homepage0 {
        content: url("img/Wolken-mobile.png");
        margin-top: -7%;
    }
    /* ... andere bestehende Mobile-Styles ... */
}








.kmpm-design {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    text-decoration: none;
}

.text2 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif ;
    margin: 20px 0;
    font-size: 20px;
    color: #333;
}

.amazon-logo img {
    height: 1em; /* Passt die Höhe des Bildes an die Schriftgröße der h2 an */
    width: auto; /* Behält das Seitenverhältnis des Bildes bei */
    margin-left: 0.1em; /* Fügt einen kleinen Abstand zwischen "über" und dem Bild ein */
    margin-right: 0.1em; /* Fügt einen kleinen Abstand zwischen dem Bild und dem "?" ein */
    position: relative;
    top: 10px; /* Verschiebt das Bild um 4 Pixel nach unten */
}

.block-stuff {
    margin-top: 150px;
}



.datenschutz-links a {
    color: #7e7e7e !important;
    text-decoration: none;
}
.datenschutz-links a:hover {
    text-decoration: underline;
}









/* Services Section Improvements */
.services-intro {
    text-align: center;
    margin: 50px 0 40px;
    padding: 0 20px;
}

.services-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; 
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-subheading {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.service-card h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #c0b37f;
}

.dienstleistung-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 35px;
    line-height: 1.5;
    color: #444;
}

.service-icon {
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 1.2rem;
}

.service-highlight {
    margin-top: 25px;
    padding: 12px 15px;
    background: #f8f8f8;
    border-left: 4px solid #c0b37f;
    font-style: italic;
    color: #555;
    border-radius: 0 5px 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-heading {
        font-size: 2rem;
    }
    
    .services-subheading {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .dienstleistung-list li {
        font-size: 1rem;
        padding-left: 30px;
    }
    
    .service-highlight {
        margin-top: 20px;
        font-size: 0.9rem;
    }
}










/* Cloud Background for Headings */
.heading-with-cloud {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.heading-with-cloud h2 {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.cloud-bg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 1.8em; /* Relative to font size */
    opacity: 0.7;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.1));
}

/* Adjust cloud positioning for different headings */
.service-card h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.service-card h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #c0b37f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cloud-bg {
        height: 1.6em;
        opacity: 0.8;
    }
    
    .heading-with-cloud h2 {
        padding: 0 10px;
    }
    
    .service-card h2:after {
        width: 40px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .cloud-bg {
        height: 1.5em;
    }
    
    .heading-with-cloud {
        margin-bottom: 20px;
    }
}








/* Aktualisierter Bilder-Stack */
.bilder-stack {
    position: relative;
    width: 100%;
    height: 400px; /* Etwas höher für bessere Darstellung */
    display: flex;
    align-items: center;
}

.bilder-stack img {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: contain;
    background: white;
    opacity: 1; /* Keine Transparenz */
    border: 1px solid #eee;
}

.bilder-stack img:nth-child(1) {
    width: 50%;
    height: 70%;
    right: 0;
    z-index: 3;
}

.bilder-stack img:nth-child(2) {
    width: 60%;
    height: 70%;
    right: 30%;
    z-index: 2;
}

.bilder-stack img:nth-child(3) {
    width: 55%;
    height: 70%;
    right: 15%;
    z-index: 1;
}





/* Speziell für Webdesign-Bild */
.dienstleistung-section.webdesign-section .bilder-stack {
    height: auto;
    background: transparent;
}

.dienstleistung-section.webdesign-section .bilder-stack img {
    width: 100%;
    height: auto;
    max-height: 100%;
    position: relative;
    box-shadow: none;
    border: none;
    background: transparent;
}

/* Bilder-Stack mit Originalgröße */
.bilder-stack {
    position: relative;
    width: 100%;
    height: auto; /* Höhe basiert auf Inhalt */
    min-height: 300px; /* Mindesthöhe */
    display: flex;
    justify-content: center;
    align-items: center;
}

.bilder-stack img {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 1;
    background: transparent;
    max-width: none; /* Überschreibt Standard max-width */
    width: auto;
    height: auto;
}

.bilder-stack img:nth-child(1) {
    width: 250px;
    right: 0;
    z-index: 3;
}

.bilder-stack img:nth-child(2) {
    width: 280px;
    right: 30%;
    z-index: 2;
}

.bilder-stack img:nth-child(3) {
    width: 260px;
    right: 15%;
    z-index: 1;
}


/* Webdesign spezifisch */
.dienstleistung-section.webdesign-section .bilder-stack {
    height: auto;
    padding: 0;
}

.dienstleistung-section.webdesign-section .bilder-stack img {
    width: auto;
    max-height: 400px; /* Kann angepasst werden */
    box-shadow: none;
    position: relative;
    display: block;
    margin: 0 auto;
}










/* Allgemeiner Bild-Stack - Vertikale Anordnung mit Überlappung nach unten */
.bilder-stack {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

/* Standard-Bilder im Stack (für alle außer Web-Design) */
.bilder-stack img {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: -50px;
    z-index: 1;
    transition: all 0.3s ease;
}

.bilder-stack img:nth-child(1) {
    z-index: 3;
    margin-top: 0;
}

.bilder-stack img:nth-child(2) {
    z-index: 2;
    margin-top: 50px;
}

.bilder-stack img:nth-child(3) {
    z-index: 1;
    margin-top: 50px;
}

/* Spezieller Stil für Web-Design-Bild (bleibt unverändert) */
.dienstleistung-section.webdesign-section .bilder-stack {
    height: auto;
    min-height: 0;
    display: block;
}

.dienstleistung-section.webdesign-section .bilder-stack img {
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    display: block;
    z-index: 1;
}

/* Video-Stack - Horizontale Anordnung mit seitlicher Überlappung */
.video-stack {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.video-stack video {
    position: relative;
    width: auto;
    height: 100%;
    max-width: 55%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.video-stack video:nth-child(1) {
    z-index: 1;
    transform: translateX(15%);
}

.video-stack video:nth-child(2) {
    z-index: 2;
    transform: translateX(-15%);
}

/* Hover-Effekte */
.bilder-stack img:hover,
.video-stack video:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}





.price-list {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .service {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
        .service:last-child {
            border-bottom: none;
        }
        .service-name {
            font-weight: bold;
        }
        .service-price {
            color: #c6b033;
        }
        .disclaimer {
            margin-top: 20px;
            font-style: italic;
            font-size: 0.9em;
            color: #7f8c8d;
            text-align: center;
        }





/* MOBILE-ANSICHT (max-width: 768px) */
@media (max-width: 768px) {
    /* Allgemeine Bild-Stacks (außer Web-Design) - Vertikal zentriert ohne Überlappung */
    .bilder-stack:not(.dienstleistung-section.webdesign-section .bilder-stack) {
        min-height: auto;
        flex-direction: column;
        gap: 20px; /* Abstand zwischen Bildern */
    }
    
    .bilder-stack:not(.dienstleistung-section.webdesign-section .bilder-stack) img {
        max-width: 100%;
        max-height: none;
        margin: 0 !important; /* Überschreibt alle Margins */
        position: static; /* Entfernt absolute Positionierung */
        transform: none !important;
        z-index: 1 !important;
    }
    
/* Mobile-Ansicht: Videos 4x größer (z.B. 400px Höhe) */
@media (max-width: 768px) {
    .video-stack {
        height: 100% !important; /* Container anpassen */
    }
    .video-stack video {
        height: 200% !important; 

    }
}
    
    .video-stack video:nth-child(2) {
        transform: translateX(-20%) !important;
    }
    
    /* Web-Design-Bild bleibt unverändert */
    .dienstleistung-section.webdesign-section .bilder-stack img {
        max-width: 100%;
    }
}

/* Feinabstimmung für sehr kleine Displays */
@media (max-width: 480px) {
    .video-stack {
        height: 150px !important;
    }
}





@media (max-width: 768px) {
    /* Spezifisch für die Video-Sektion in der mobilen Ansicht */
    .dienstleistung-section.reverse .bilder-beispiele {
        margin-top: 80px;    /* Mehr Abstand nach oben */
        margin-bottom: 80px;  /* Mehr Abstand nach unten */
    }
}









@media (max-width: 768px) {
    .video-stack {
      height: auto !important; /* Natürliche Höhe beibehalten */
    }
    
    .video-stack video {
      height: auto !important; /* Originalgröße beibehalten */
      max-width: 55%; /* Gleiche Überlappung wie Desktop */
      max-height: 100%;
    }
  }






/* Goldener Rand für alle Sektionen - Desktop und Mobile */
.dienstleistung-section {
    border: 2px solid #c0b37f;
    border-radius: 15px;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Mobile Ansicht - bestehende Abmessungen beibehalten */
@media (max-width: 768px) {
    .dienstleistung-section, 
    .dienstleistung-section.reverse {
        /* Behalte die originalen Margins/Paddings bei */
        margin: 30px 15px; /* Originalwert */
        padding: 0;   /* Originalwert */
        /* Flex-Layout bleibt gleich */
        flex-direction: column;
    }
    
    /* Inhalt anpassen für bessere Darstellung mit Rand */
    .dienstleistung-content {
        width: calc(100% - 30px);
        padding: 15px; /* Etwas mehr Platz im Inneren */
    }
    
    .bilder-beispiele {
        width: calc(100% - 30px);
        padding: 15px; /* Etwas mehr Platz im Inneren */
    }
}