/* Allgemeine Stile */
body {
    font-family: Calibri, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: url('../bilder/Background.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

/* Main Content Styles */
.main-content {
    margin: 20px auto;
    padding: 0 5%;
    max-width: 1800px;
    min-height: calc(100vh - 200px); /* Verhindert Footer-Überlappung */
    max-width: 1800px;
    margin: 0 auto;
    padding: 40px 5%;
    flex: 1;
    margin-top: 120px; /* Höhe von Header (60px) + Navbar (~60px) */
}

.welcome-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    width: 100%;
    max-width: 1800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.text-box {
    max-width: 1000px;
    width: 90%;
    background-color: #ffffffb2;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
    padding: 30px;
    margin: 20px 0;
}

.text-box h1 {
    color: #1a1a1a;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
}

.text-box h2 {
    color: #0850d4;
    font-size: clamp(20px, 2.5vw, 28px);
    margin: 30px 0 15px 0;
}

.text-box p {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-box ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.text-box li {
    margin-bottom: 10px;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.5;
}

.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px auto;
    width: 100%;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.cards-section {
    margin-top: 60px;
}

/* Flex-Container für Pentest-Box und Slider */
.content-container {
    display: none; /* oder entfernen Sie diese Klasse komplett */
}

/* Box-Wrapper Anpassungen */
.box-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 0 5%;
    margin: 40px 0;
    max-width: 1800px;
    width: 100%;
}

/* Container für Services und Slider */
.services-slider-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0;
    padding: 0 20px;
}

/* Services Box und Slider Container */
.services-box,
.slider-container {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 15px);
    margin: 0;
    padding: 20px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    background-color: #fff;
    height: fit-content;
}

.services-box h3 {
    text-align: center;
    font-size: clamp(18px, 2.5vw, 24px);
}

.services-box ul {
    list-style-type: none;
    padding: 0;
}

.services-box ul li {
    margin-bottom: 10px;
}

.services-box ul li ul {
    list-style-type: disc;
    margin-left: 20px;
}

.services-box p {
    font-size: clamp(14px, 1.8vw, 16px);
}

/* Responsive Anpassung für kleinere Bildschirme */
@media screen and (max-width: 768px) {
    .container {
        width: 95%; /* Erhöht die Breite für kleinere Bildschirme */
    }
    .swiper-slide {
        font-size: 14px; /* Verringert die Schriftgröße für bessere Darstellung */
        padding: 15px; /* Reduziert das Padding */
    }
    .swiper-button-next, .swiper-button-prev {
        width: 10px; /* Kleinere Navigationspfeile */
        height: 10px;
    }
    .main-content {
        padding: 20px 15px;
        margin-top: 100px; /* Angepasst für mobile Ansicht */
    }

    .text-box {
        padding: 20px;
    }
}
/* Slider Styles */
.slider-container {
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 15px);
    margin: 0;
    position: relative;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    background-color: #fff;
    width: calc(50% - 40px); /* Dynamische Breite mit Abstand */
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, left 0.5s ease-in-out;
}

.slider-text {
    max-width: 80%;
}

.slider-text h3 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: clamp(18px, 2.5vw, 24px);
}

.slider-text p {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
}

.slider-text i {
    margin-right: 10px;
    color: #0066cc;
}

.slider-content.active {
    left: 0;
    opacity: 1;
}

.slider-content::-webkit-scrollbar {
    width: 8px;
}

.slider-content::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-radius: 4px;
}

.slider-content::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 4px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #0066cc, #0052a3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    margin: 0 15px;
}

.nav-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.pagination span {
    width: 12px;
    height: 12px;
    margin: 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue, 0 0 40px blue;
}

.pagination span.active {
    background-color: blue; /* Hellblau */
    box-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue, 0 0 40px blue;
}

/* Container für gleichen Abstand zwischen Header und Footer */
.content-container {
    display: none; /* oder entfernen Sie diese Klasse komplett */
}

/* Navigation Container */
.navbar-container {
    padding: 10px 0; /* Abstand oben und unten innerhalb der Navigation */
    background: url('../bilder/navbar-bg.png') rgba(0, 0, 0, 0.041); /* Added transparency with rgba */
    position: fixed;
    top: 110px; /* Höhe des Headers */
    left: 0;
    width: 100%;
    margin-top: 0px;
    z-index: 999;
    backdrop-filter: blur(10px); /* Fügt einen Blur-Effekt hinzu */
}

.navbar {
    font-family: "Anonymous Pro", monospace; /* Hacker-Style Schriftart */
    text-transform: uppercase; /* Optional: Alle Buchstaben groß für mehr Cyber-Feeling */
    letter-spacing: 1px; /* Erhöht den Buchstabenabstand für besseren Look */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px; /* Innenabstand für mehr Platz */
}

.navbar a {
    color: rgb(0, 0, 0); /* Schriftfarbe der Links in der Navigation */
    text-decoration: none; /* Entfernt die Unterstreichung */
    border: 1px solid rgb(0, 0, 0); /* Fügt einen Rahmen um jeden Navigationspunkt hinzu */
    background-color: #f7a5008f;
    border-radius: 5px; /* Optional: Rundet die Ecken für ein weicheres Design */
    padding: 10px 10px; /* Abstand um die Links herum */
}

/* Fettschrift für alle Navigationspunkte */
.navbar a, #nav-links a, .dropdown-content a {
    font-weight: bold;
}

.navbar a:hover {
    background-color: #e24507b2; /* Hintergrundfarbe beim Hover */
    border-radius: 5px; /* Abgerundete Ecken für Hover-Effekt */
}

/* Dropdown-Menü */
.dropdown {
    position: relative; /* Positioniert das Dropdown relativ zum Eltern-Element */
    display: inline-block; /* Ermöglicht das Anzeigen als Blockelement */
}

.dropdown-content {
    margin-top: 10px; /* Abstand zwischen dem Dropdown-Menü und dem Eltern-Element */
    border-bottom-left-radius: 10px; /* Abrundung der unteren linken Ecke */
    border-bottom-right-radius: 10px; /* Abrundung der unteren rechten Ecke */
    border-top-right-radius: 10px; /* Abrundung der unteren linken Ecke */
    border-top-left-radius: 10px; /* Abrundung der unteren linken Ecke */
    display: none; /* Standardmäßig ausgeblendet */
    position: absolute; /* Absolut unterhalb des Dropdown-Menüs */
    background-color: #f794008f; /* Hintergrundfarbe des Dropdown-Menüs */
    min-width: 160px; /* Mindestbreite des Dropdowns */
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.534); /* Schatten für bessere Lesbarkeit */
    z-index: 1; /* Stellt sicher, dass es über anderen Elementen liegt */
    top: 100%; /* Stellt sicher, dass das Dropdown unter dem Menüpunkt erscheint */
}

.dropdown-content a {
    color: rgb(0, 0, 0); /* Schriftfarbe der Dropdown-Links */
    padding: 10px 15px; /* Innenabstand für mehr Platz */
    display: block; /* Jeder Link als eigener Block */
}

.dropdown:hover .dropdown-content {
    display: block; /* Zeigt das Dropdown-Menü bei Hover an */
}

/* Hamburger-Menü (Mobile Navigation) */
#menu-toggle {
    display: none; /* Standardmäßig ausgeblendet */
    font-size: 24px; /* Größe des Icons */
    color: #000000; /* Farbe des Icons */
    cursor: pointer; /* Zeigt eine Hand beim Hover */
}

/* Navigation für Mobile */
#nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; /* Änderung hier: Header (60px) + Navbar (100px) */
    left: 0;
    width: 100%;
    background: url('../bilder/navbar-bg.png')#f79400c5;
    backdrop-filter: blur(5px);
    text-align: center;
    padding: 10px 0;
    z-index: 998;
}

#nav-links a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: rgb(233, 114, 2); /* Semi-transparenter Hintergrund */
    margin: 5px 15px;
}

#nav-links a:hover {
    background-color: #ff7b00f6;
}

#nav-links.active {
    display: flex;
    flex-direction: column;
}

/* Mobile Ansicht */
@media screen and (max-width: 768px) {
    .navbar a {
        display: none;
    }
    .dropdown {
        display: none;
    }
    .header {
        display: none;
    }
    #menu-toggle {
        display: block;
    }
    #nav-links {
        display: none;
        position: fixed;
        top: 60px; /* Gleicher Wert wie oben */
    }
    #nav-links.active {
        display: flex;
    }
}

/* Hauptbereich */
.header {
    background: url('../bilder/Header2.png') no-repeat center center rgba(0, 0, 0, 0.041);
    background-size: cover; /* Ensures the image covers the entire area */
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 8px;
    height: 100px; /* Fixed height for header */
    display: flex;
    justify-content: right;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    z-index: 1000;
}

.header-content {
    text-align: auto;
    padding-right: 40px;
    margin-bottom: 20px;
}

.header h1 {
    margin-left: 20px; /* Verschiebt h1 weiter nach links */
    text-align: left; /* Text linksbündig */
    margin-bottom: 15px;
}

.header p {
    margin-top: 5px;
}

.header i {
    margin: 0 5px;
    color: #ffffff;
}

/* Leistungen */
.leistungen {
    font-family: "Anonymous Pro", monospace;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 0px 0px;
}

.card-container {
    font-family: "Anonymous Pro", monospace; /* Hacker-Style Schriftart */
    display: flex;    
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px 0;
}
.card-title {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-top: 5px; /* Abstand zur Karte */
    margin-bottom: 5px; /* Abstand zur Karte */
}

.card {
    width: 250px;
    height: 250px;
    perspective: 1000px;
    position: relative;
    background: transparent;
}

.card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    color: rgba(0, 0, 0, 0.616);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(6, 80, 165, 0.527);
    background: no-repeat center center;
    background-size: cover;
}

.card-back {
    transform: rotateY(180deg);    
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: radial-gradient(circle at center, #f8c256, #f7a600);
    box-shadow: 0 0 20px #b19207, 0 0 40px #c79a07;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgb(253, 198, 17);
    background-size: cover;
}

/* Footer Style */
.footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: url('../bilder/Footer.png') no-repeat center;
    background-size: 100% 100%; /* This ensures the image covers the full width and height */
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    z-index: 1000;
    height: 50px; /* Adjust this value to match your footer image height */
    min-height: fit-content; /* Ensures footer is at least as tall as the content */
}

/* Responsive Anpassungen */
@media screen and (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .services-box,
    .slider-container {
        width: 95%;
        margin: 20px auto;
    }

    .box-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .services-box,
    .slider-container {
        max-width: 100%;
        margin: 20px 0;
        width: 100%;
    }

    .services-slider-container {
        flex-direction: column;
    }

    .services-box,
    .slider-container {
        max-width: 100%;
        margin: 20px 0;
    }

    .welcome-container {
        padding: 0 15px;
    }

    .contact-form-container,
    .benefits-box {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .contact-form-container {
        order: 1;
    }

    .benefits-box {
        order: 2;
        margin-top: 30px;
    }
}

/* Anpassung der Schriftgrößen */
.services-box h3,
.slider-content h3 {
    font-size: clamp(18px, 2.5vw, 24px);
}

.services-box p,
.slider-content p {
    font-size: clamp(14px, 1.8vw, 16px);
}

/* Responsive Anpassungen */
@media screen and (max-width: 1200px) {
    .services-box, .slider-container {
        width: calc(100% - 40px);
        margin: 20px auto;
    }
}

/* Mindestabstand zum Rand */
@media screen and (min-width: 1201px) {
    .content-container {
        padding: 80px 5%;
    }
}

.expertise-box {
    max-width: 1000px; /* Etwas schmaler */
    width: 80%; /* Reduzierte Breite */
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
}

.expertise-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px 0;
}

.expertise-box h2 {
    color: #1a1a1a;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.expertise-box h3 {
    color: #333;
    font-size: clamp(16px, 2vw, 22px);
    margin: 20px 0 15px 0;
}

.expertise-content {
    line-height: 1.6;
}

.skills-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.skills-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-list i {
    color: #0066cc;
}

.lab-section, .quality-section, .awareness-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Icons allgemein */
.expertise-box i {
    color: #0066cc;
    margin-right: 8px;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .expertise-box {
        width: 90%;
        padding: 20px;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .welcome-container {
        padding: 0 10px;
    }

    .contact-form-container,
    .benefits-box {
        padding: 20px;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #0066cc;
}

.info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.format-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.format-item i {
    font-size: 2em;
    color: #0066cc;
    margin-bottom: 15px;
}

.cta-section {
    margin-top: 40px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.contact-form-container {
    flex: 1;
    width: 100%;
    max-width: 800px;
    min-width: 300px;
    margin: 0;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.contact-form {
    width: 100%;
    margin-top: 20px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 0; /* Verhindert Überlauf */
    margin-bottom: 15px; /* Reduzierter Abstand zwischen Formularfeldern */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px; /* Reduziertes Padding */
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #f8f9fa;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

textarea {
    min-height: 100px; /* Reduzierte Höhe des Textbereichs */
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0; /* Reduzierter Margin */
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.captcha {
    padding: 15px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    color: #fff; /* Stelle sicher, dass die Schriftfarbe nicht schwarz ist */
    font-size: 24px;
    letter-spacing: 6px;
    border-radius: 6px;
    margin-bottom: 15px;
    user-select: none;
}

#captchaInput {
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

#captcha-image {
    width: 120px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.refresh-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.refresh-button:hover {
    background: #0052a3;
}

#captcha {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    margin-top: 8px;
}

#captcha:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.submit-btn {
    background: linear-gradient(145deg, #0066cc, #0052a3);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-container {
        width: 80%;
        padding: 20px;
    }
}

.contact-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
    min-height: calc(80vh - 180px); /* Abzüglich Header und Footer */
    top:10px;
    align-items: flex-start; /* Ausrichtung am oberen Rand */
    position: relative;
}

.contact-info-container {
    flex: 0 1 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.contact-form-container {
    flex: 1;
    max-width: 700px;
    min-width: 300px;
    padding: 20px;
    margin-bottom: 20px;
    height: auto;
    overflow: visible;
}

/* Responsive Anpassungen */
@media screen and (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-container {
        display: none; /* Versteckt den Container auf kleineren Bildschirmen */
    }

    .contact-form-container {
        order: 1;
    }

    .contact-form-container::before {
        content: attr(data-info);
        display: block;
        margin-bottom: 20px;
        font-size: 1.2em;
        font-weight: bold;
    }

    .benefits-box {
        order: 2;
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .contact-form-container,
    .benefits-box {
        padding: 20px;
    }
}

.benefits-box {
    flex: 0 1 400px;
    width: 100%;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
    height: fit-content;
    box-sizing: border-box;
    position: sticky;
    top: 120px; /* Abstand zum oberen Rand */
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.benefits-list i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #0066cc;
}

/* Formular-Anpassungen */
.form-group {
    margin-bottom: 15px; /* Reduzierter Abstand zwischen Formularfeldern */
}

.form-group input,
.form-group textarea {
    padding: 8px; /* Reduziertes Padding */
}

textarea {
    min-height: 100px; /* Reduzierte Höhe des Textbereichs */
}

/* Captcha-Anpassungen */
.captcha {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    color: #ecc2c2;
    font-size: 24px;
    letter-spacing: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    user-select: none;
}

.captcha-container {
    width: calc(100% - 20px); /* Breite der Eingabefelder anpassen */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px; /* Abstand zwischen den Eingabefeldern */
    font-size: 16px;
}

#captcha-image {
    display: block;
    width: 120px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.refresh-button {
    padding: 8px 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.refresh-button:hover {
    background: #0052a3;
}

#captcha-image {
    display: block;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #dfe0e6;
}

.refresh-button {
    padding: 8px 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.refresh-button:hover {
    background: #0052a3;
}

#captcha {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 5px;
}

/* Captcha-Styling - Einzige und finale Version */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0; /* Reduzierter Margin */
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#captcha-image {
    width: 120px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.refresh-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.refresh-button:hover {
    background: #0052a3;
}

#captcha {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    margin-top: 8px;
}

#captcha:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .contact-section {
        flex-direction: column;
    }

    .contact-form-container,
    .benefits-box {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .benefits-box {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-section {
        min-height: auto; /* Automatische Höhe für mobile Ansicht */
        padding: 20px 15px;
    }

    .benefits-box {
        position: static; /* Keine sticky Position auf mobilen Geräten */
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 0 20px;
    }

    .contact-form-container,
    .benefits-box {
        padding: 20px;
    }
}

/* Contact Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert die Elemente horizontal */
    width: 100%;
    max-width: 600px; /* Optionale maximale Breite */
    margin: 0 auto; /* Zentriert das Formular horizontal */
}

.contact-form .form-group {
    width: 100%; /* Sorgt dafür, dass die Formulargruppen die volle Breite des Formulars einnehmen */
    margin-bottom: 10px; /* Fügt einen Abstand unter jedem Formularfeld hinzu */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: calc(100% - 20px); /* Breite der Eingabefelder anpassen */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px; /* Abstand zwischen den Eingabefeldern */
    font-size: 16px;
}

.contact-form .form-row {
    display: flex;
    justify-content: space-between; /* Verteilt den Platz zwischen den Elementen */
    width: 100%;
}

.contact-form .form-row .form-group {
    width: 48%; /* Anpassung für zwei Elemente pro Reihe mit etwas Abstand */
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form .submit-btn {
    background-color: #b8935c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.contact-form .submit-btn:hover {
    background-color: #ae944c;
}

/* Hier kannst du spezifische Stile für die Pentesting-Seite hinzufügen oder ändern */

/* Forensik Grid Layout */
.forensics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 5%;
    padding-top: 0px;
    max-width: 1400px;
    margin: 0 auto;
}

.forensics-box {
    background: #ffffffd5;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
}

.forensics-box h2 {
    color: #1a1a1a;
    font-size: clamp(20px, 2.5vw, 24px);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.forensics-content {
    position: relative;
}

/* Bildplatzhalter für später */
.forensics-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* CTA Container */
.cta-container {
    padding: 40px 5%;
    margin-top: 40px;
}

.cta-box {
    background: linear-gradient(145deg, #9225b9, #2abce9);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .forensics-grid {
        grid-template-columns: 1fr;
    }
}

/* Webdesign Page Specific Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 10px 10px 15px rgba(16, 0, 59, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.6);
}

.highlight-box {
    background: linear-gradient(145deg, #4000cc6e, #4a00a3);
    color: white;
}

.highlight-box h2 {
    color: white;
    border-bottom-color: white;
}

.qualification-banner {
    background: linear-gradient(145deg, #001f3f, #0066cc);
    color: white;
    padding: 40px;
    margin: 40px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 1400px;
}

.process-section {
    background: linear-gradient(145deg, #001f3f, #0066cc);
    padding: 40px 5%;
    border-radius: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.step {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.profile-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.profile-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.profile-image-container {
    width: 50%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Changed from 2 to 1 column */
    gap: 15px;
    padding: 10px; /* Reduced padding */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 60%; /* Added width to make it half size */
}

.cert-badge {
    width: 50%;
    height: auto;
    border-radius: 50%;
}

.career-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

.skill-category {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: relative;
        top: 0;
        max-width: 300px;
        margin: 0 auto;
    }
}

.impressum-section {
    padding: 20px 0;
}

.impressum-section h3 {
    color: #0066cc;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.impressum-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.impressum-section ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.impressum-section li {
    margin-bottom: 10px;
}

.impressum-section a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.impressum-section a:hover {
    color: #004999;
}

.impressum-section i {
    width: 25px;
    color: #0066cc;
}

/* Blog Styles */

.blog-container2 {
display: grid;
grid-template-columns: 55% 45%;
gap: 30px;
max-width: 1800px;
margin: 0 auto;
padding: 40px 5%;
min-height: calc(100vh - 200px);
margin-top: 130px;
}


.blog-container {
    width: 75%; /* Use percentage width instead of fixed max-width */
    max-width: 1800px; /* Maximum width for large screens */
    min-height: calc(100vh - 200px);
    margin: 120px auto 0; /* Center container and add top margin */
    padding: 40px 20px; /* Reduced side padding */
    flex: 1;
    box-sizing: border-box; /* Include padding in width calculation */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .blog-container {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .blog-container {
        width: 85%;
        padding: 10px 10px;
    }
}

.blog-posts, .news-feed {
    min-height: 800px;
    max-height: 1000px;
    background: rgba(8, 73, 110, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(1, 60, 187, 0.658);
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow-y: auto;
}

.post {
    background: rgba(112, 5, 201, 0.95);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 3px solid #3cff00;
}

.feed-status {
    text-align: center;
    color: #00ff9d;
    padding: 20px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Blog Scrollbar Styling */
.blog-posts::-webkit-scrollbar,
.news-feed::-webkit-scrollbar {
    width: 8px;
}

.blog-posts::-webkit-scrollbar-track,
.news-feed::-webkit-scrollbar-track {
    background: rgba(0, 20, 40, 0.95);
}

.blog-posts::-webkit-scrollbar-thumb,
.news-feed::-webkit-scrollbar-thumb {
    background: #ffd900;
    border-radius: 4px;
}

.blog-posts h2, .news-feed h2 {
    color: #ffbb00;
    font-family: 'Share Tech Mono', monospace;
    border-bottom: 2px solid #ff9100;
    padding-bottom: 10px;
    margin-bottom: 20px;
}



.news-item {
    background: rgba(0, 20, 40, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid #ffe600;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-item h3 {
    color: #ffd900;
    margin: 10px 0;
    font-size: 1.1em;
}

.news-item a {
    color: #ffc400;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item a:hover {
    color: #fff;
}

.news-date {
    color: #ff9900;
    font-size: 0.9em;
    opacity: 0.8;
}

.news-source {
    color: #ffc400;
    font-size: 0.8em;
    margin-top: 10px;
    opacity: 0.7;
}

.error-message {
    color: #ff4444;
    text-align: center;
    padding: 20px;
}

.retry-button {
    background: #0485dbe7;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.retry-button:hover {
    background: #a300cc;
}

.article-viewer {
    background: rgba(74, 6, 185, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(1, 60, 187, 0.658);
    border: 1px solid rgba(0, 255, 255, 0.2);
    width: 100%;
    min-height: 800px;
}

.article-header {
    border-bottom: 2px solid #ffa600;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.article-header h1 {
    color: #ffbb00;
    font-family: 'Share Tech Mono', monospace;
    margin-bottom: 10px;
}

.article-meta {
    color: #ffc400;
    font-size: 0.9em;
    opacity: 0.8;
}

.article-body {
    color: white;
    line-height: 1.8;
    font-size: 1.1em;
    padding: 20px;
    overflow-wrap: break-word;
    max-width: 100%;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: #ffd000;
    margin: 1.5em 0 1em;
}

.article-body ul,
.article-body ol {
    margin: 1em 0;
    padding-left: 2em;
}

.article-body li {
    margin-bottom: 0.5em;
}

.article-body pre,
.article-body code {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Share Tech Mono', monospace;
}

.article-body blockquote {
    border-left: 3px solid #ff9900;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-body figure {
    margin: 20px 0;
    text-align: center;
}

.article-body figcaption {
    font-size: 0.9em;
    color: #ffae00;
    margin-top: 10px;
}

.article-body a {
    color: #ffa600;
    text-decoration: none;
    border-bottom: 1px dotted #ffae00;
}

.article-body a:hover {
    border-bottom: 1px solid #ffc400;
}

.back-button {
    display: inline-block;
    background: #00ff9d;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.back-button:hover {
    background: #faa301;
}

/* Responsive Anpassungen */
@media screen and (max-width: 1024px) {
    .welcome-container {
        flex-direction: column;
    }

    .contact-form-container,
    .benefits-box {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin: 0;
    }

    .contact-form-container {
        order: 1; /* Erscheint zuerst */
    }

    .benefits-box {
        order: 2; /* Erscheint danach */
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px) {
    .contact-form-container,
    .benefits-box {
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row .form-group {
        width: 100%;
    }
}

.blog-header-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.blog-title {
    text-decoration: none;
    color: inherit;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.full-width-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: 20px 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.image-gallery img {
    width: 100%;
    height: auto;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Anonymous Pro', monospace;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .content-container {
        padding: 10px;
    }
}

/* Card-Titel für mobile Ansicht */
@media screen and (max-width: 768px) {
    .card-title {
        font-size: 16px; /* Kleinere Schriftgröße */
        margin-top: 10px; /* Abstand zur Karte */
        margin-bottom: 0; /* Kein zusätzlicher Abstand */
    }

    .card {
        width: 100%; /* Cards nehmen die volle Breite ein */
        max-width: 300px; /* Maximalbreite für bessere Darstellung */
        margin: 0 auto; /* Zentriert die Cards */
        margin-bottom: 40px;
    }
}

/* Header und Navbar für mobile Ansicht */
@media screen and (max-width: 1200px) {
    .header {
        height: 90px; /* Kleinere Höhe für den Header */
        padding: 10px; /* Weniger Padding */
        background-size: auto; /* Proportionale Skalierung des Hintergrunds */
        background-position: 10% center; /* Verschiebt den Hintergrund weiter nach links */
        position: fixed;
    }

    .navbar-container {
        top: 110px; /* Direkt unter dem Header */
    }
}
.footer {
    height: auto; /* Automatische Höhe */
    padding: 20px; /* Weniger Padding */
    background-size: auto; /* Proportionale Skalierung des Hintergrunds */
    background-position: left center;
    text-align: center; /* Zentriert den Text */
    display: flex;
    flex-direction: column; /* Text untereinander anordnen */
    justify-content: center;
    align-items: right;
}
.footer1 {
    height: auto; /* Automatische Höhe */
    padding: 0px; /* Weniger Padding */
    text-align: right; /* Text weiter nach rechts ausrichten */
    margin-right: 10px; 
    display: flex;
    flex-direction: column; /* Text untereinander anordnen */
    justify-content: center;
    align-items: flex-end; /* Elemente weiter nach rechts verschieben */
    word-wrap: break-word; /* Zeilenumbruch für lange Wörter */
    max-width: 100%; /* Breite auf 100% begrenzen */
    box-sizing: border-box; /* Padding und Border in der Breite berücksichtigen */
}

@media screen and (max-width: 500px) {
    .footer1 {
        flex-direction: row; /* Text und Bild nebeneinander */
        align-items: center; /* Vertikale Ausrichtung */
        text-align: right; /* Text rechts ausrichten */
        word-wrap: break-word; /* Zeilenumbruch für lange Wörter */
    }

    .footer1 img {
        max-width: 50%; /* Bildbreite auf 50% begrenzen */
        margin-right: 10px; /* Abstand zwischen Bild und Text */
    }
}

/* Elegante Schreibschrift für Unterschrift */
.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    font-weight: normal;
    margin-top: 20px;
    letter-spacing: 1px;
    color: #222;
}

