@tailwind base;
@tailwind components;
@tailwind utilities;



/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif; /* Hier kannst du die Schriftart ändern */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: url('../bilder/bg.png') no-repeat center center fixed;
    background-size: cover;
}

/* 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;
}

/* 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;
}

/* 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: 100px; /* Höhe des Headers */
    left: 0;
    width: 100%;
    margin-top: 0px;
    z-index: 999;
    backdrop-filter: blur(5px); /* 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(255, 255, 255); /* Schriftfarbe der Links in der Navigation */
    text-decoration: none; /* Entfernt die Unterstreichung */
    border: 1px solid rgb(55, 15, 148); /* Fügt einen Rahmen um jeden Navigationspunkt hinzu */
    background-color: #04176eb7;
    border-radius: 5px; /* Optional: Rundet die Ecken für ein weicheres Design */
    padding: 10px 10px; /* Abstand um die Links herum */
}

.navbar a:hover {
    background-color: #104aa1b2; /* 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: #0111589f; /* 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: white; /* 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: #3cff00; /* 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') rgba(0, 0, 0, 0.349);
    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: rgba(4, 23, 110, 0.718); /* Semi-transparenter Hintergrund */
    margin: 5px 15px;
}

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

#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: linear-gradient(to right, rgba(2, 98, 143, 0.664), rgb(2, 196, 202));
    color: white;
    text-align: center;
    padding: 20px;
    height: 60px; /* Einheitliche Höhe für den Header */
    display: flex;
    justify-content: left;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, rgba(7, 54, 155, 0.95), rgba(4, 231, 156, 0.795));
}

/* 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: 150px;
    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 rgb(2, 53, 129);
    background: no-repeat center center;
    background-size: cover;
    background-image: image-set(
        url('../bilder/card2-image.webp') type('image/webp'),
        url('../bilder/card2-image.png') type('image/png')
    );
}

.card-back {
    transform: rotateY(180deg);    
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgb(0, 60, 139);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgb(2, 53, 129);
}

/* Footer Style */
.footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: url('../bilder/navbar-bg.png');
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
    z-index: 1000;
}

/* 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;
    color: #fff !important;
    text-shadow: 0 1px 2px #0008;
}

.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);
}

/* 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: #5cb85c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    color: #fff !important;
    text-shadow: 0 1px 2px #0008;
}

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

/* 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(77, 207, 240, 0.842);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(3, 141, 151, 0.658);
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow-y: auto;
}

.post {
    background: rgba(97, 223, 255, 0.603);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 3px solid #1ed5e2;
}

.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(57, 223, 245, 0.95);
}

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

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



.news-item {
    background: rgba(48, 205, 245, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid #001aff;
    transition: transform 0.3s ease;
}

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

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

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

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

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

.news-source {
    color: #000000;
    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: #04d8fdc5;
}

.article-viewer {
    background: rgba(165, 227, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(63, 201, 255, 0.658);
    border: 1px solid rgba(0, 255, 255, 0.2);
    width: 100%;
    min-height: 800px;
}

.article-header {
    border-bottom: 2px solid #15ff00;
    box-shadow: #0026ff;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

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

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

.article-body {
    color: rgb(0, 0, 0);
    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: #00ff40;
    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 #00ff9d;
    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: #00ff9d;
    margin-top: 10px;
}

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

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

.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: #00cc7d;
}

/* 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;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-box img {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.refresh-button {
    padding: 8px;
    border: none;
    background: #f0f0f0;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.refresh-button:hover {
    background: #e0e0e0;
}

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

.g-recaptcha {
    margin: 20px 0;
}

.error {
    border-color: red !important;
}

.contact-form input.error,
.contact-form textarea.error {
    border: 1px solid red;
}

.main-content-container {
    background-color: #0a59a8a4; /* Marineblauer Hintergrund */
    color: rgb(0, 0, 0); /* Weißer Text */
    padding: 20px;
    border-radius: 10px;
    max-width: 1200px; /* Erhöhte Breite für zwei Spalten */
    margin: 0 auto; /* Zentriert den Container */
    display: flex; /* Flexbox für zwei Spalten */
    flex-direction: column; /* Standardmäßig Spaltenlayout */
}
.contact-section, .benefits-box {
    width: 100%; /* Jede Spalte nimmt 100% der Breite ein */
}
@media (min-width: 768px) {
    .main-content-container {
        flex-direction: row; /* Nebeneinander bei größeren Bildschirmen */
        justify-content: space-between; /* Platz zwischen den Spalten */
    }
    .contact-section, .benefits-box {
        width: 48%; /* Jede Spalte nimmt 48% der Breite ein */
    }
}

/* --- Performance & Accessibility Optimierungen --- */

/* Fokus-Styles für Barrierefreiheit */
a:focus, button:focus, .cta-button:focus, .card-link:focus {
    outline: 3px solid #00ff9d;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #00ff9d44;
    z-index: 2;
}

/* Bessere Kontraste für Buttons und Links */
.cta-button, .submit-btn, .navbar a, .card-link {
    color: #fff !important;
    text-shadow: 0 1px 2px #0008;
}

/* Minifizierungs-Hinweis für Deployment */
/*
 * HINWEIS: Für maximale Performance solltest du diese CSS-Datei mit einem Tool wie cssnano, clean-css oder dem VSCode-Plugin minifizieren.
 * Beispiel: npx clean-css-cli -o styles.min.css styles.css
 */
