/* style.css */
        :root {
            --bg: #0f172a;
            --bg-card: #161c2f;
            --text: #f8fafc;
            --primary: #38bdf8;
            --secondary: #1e293b;
            --gold: #fbbf24;
            --card: #1e293b;
        }
        :root { --bg: #0f172a; --text: #f8fafc; --primary: #38bdf8; --gold: #fbbf24; --card: #1e293b; }

       /* Standard-Zustand des Links */
a {
    color: #38bdf8;
    text-decoration: none; /* Entfernt die Unterstreichung, falls gewünscht */
}

/* Zustand, wenn man mit der Maus darüberfährt (Hover) */
a:hover {
    color: #fbbf24; /* Ein etwas dunklerer Ton für den Interaktions-Effekt */
    text-decoration: underline;
}

/* Bereits besuchte Links */
a:visited {
    color: #336699; 
} 
.container { max-width: 800px; margin: 0 auto; background: var(--card); padding: 40px; border-radius: 12px; }

        /* BASE */
        body {
            margin: 0;
            font-family: 'Inter', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            scroll-behavior: smooth;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: rgba(22, 28, 47, 0.8); /* Dein --bg-card mit Transparenz */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.7);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            color: var(--text);
        }

        .logo svg {
            width: 44px;
            height: 44px;
            fill: var(--primary);
        }

        .logo span {
            font-size: 1.4em;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: uppercase;
        }
/* Flexbox-Container für Logo und Adresse */
        .address-row {
            display: flex;
            align-items: flex-start; /* Oben bündig */
            gap: 30px; /* Abstand zwischen Logo und Text */
            margin-top: 15px;
        }

        .address-logo img {
            max-width: 120px; /* Größe des Logos neben der Adresse */
            height: auto;
            display: block;
        }

 .address-text {
            margin: 0;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        nav a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            opacity: 0.85;
            transition: 0.3s;
        }

        nav a:hover {
            color: var(--primary);
        }

        .cta-nav {
            padding: 10px 22px;
            border-radius: 25px;
            background: linear-gradient(135deg, #38bdf8, #0ea5e9);
            color: #00111a;
            font-weight: 700;
            transition: 0.3s ease;
        }

        .cta-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(56,189,248,0.6);
        }

        .hamburger {
            display: none;
            font-size: 1.7em;
            cursor: pointer;
            color: var(--primary);
        }

        main {
            max-width: 1100px;
            margin: 70px auto;
            padding: 0 20px;
        }

        h1, h2, h3 { color: var(--gold); }
        

        .subtitle {
            text-align: center;
            opacity: 0.7;
            margin-bottom: 55px;
            font-size: 1.1em;
        }

        section {
            margin-bottom: 100px;
        }


        /* CARDS */
        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 35px;
        }

        .card {
            background: var(--bg-card);
            border-radius: 12px; /* Abgerundete Ecken */
            padding: 30px;
            margin-bottom: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Dezenter Schatten */
            transition: transform 0.2s ease;
            border: 1px solid #696969;
            box-shadow: 0 25px 60px rgba(0,0,0,0.7);
            animation: fadeUp 0.9s ease forwards;
            display: flex;
            flex-direction: column;
            
        }

        .card:hover {
            transform: translateY(-8px);
            transition: 0.3s;
            border-color: var(--primary);
        }

        .card.featured {
            border: 2px solid var(--gold);
            position: relative;
        }

        .badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--gold);
            color: white;
            padding: 4px 15px;
            border-radius: 12px;
            font-size: 0.75em;
            font-weight: bold;
            text-transform: uppercase;
        }

        .card-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .card-header strong {
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9em;
            color: var(--primary);
        }

        .price {
            font-size: 2.2em;
            font-weight: 800;
            color: var(--text);
            margin: 10px 0;
        }

        .price span {
            font-size: 0.4em;
            opacity: 0.6;
        }

        .card ul {
            padding-left: 0;
            list-style: none;
            line-height: 2;
            opacity: 0.85;
            flex-grow: 1;
        }

        .card ul li::before {
            content: "✓";
            color: var(--primary);
            margin-right: 10px;
        }

        .card button, .btn-submit {
            margin-top: 22px;
            padding: 15px;
            width: 100%;
            border: none;
            border-radius: 16px;
            background: linear-gradient(135deg, #38bdf8, #0ea5e9);
            color: #00111a;
            font-size: 1em;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
        }

        .card button:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 35px rgba(56,189,248,0.6);
        }

        /* CONTACT SECTION */
        .contact-section {
            background: var(--bg-card);
            padding: 50px;
            border-radius: 22px;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 40px;
            box-shadow: 0 25px 60px rgba(0,0,0,0.5);
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-form input, .contact-form textarea {
            background: var(--bg);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 12px;
            color: var(--text);
            font-family: inherit;
        }

        .hp-field { display: none !important; }

        /* FAQ */
        .faq-item {
            background: var(--bg-card);
            border-left: 4px solid var(--gold);
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .faq-item strong {
            display: block;
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1em;
        }

        /* DOMAIN BOX */
        .domain-safe {
            text-align: center;
            padding: 40px;
            border: 2px dashed var(--gold);
            border-radius: 22px;
            margin-top: 50px;
        }
       
.domain-safe p.small-print {
    font-size: 0.85em;
    opacity: 0.7;
    margin-top: 5px;
}

        footer {
            text-align: center;
            padding: 50px;
            opacity: 0.55;
            font-size: 0.9em;
            background: var(--bg-card);
        }

        footer a { color: var(--text); text-decoration: none; margin: 0 10px; }

.footer-content { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; align-items: center; }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(35px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 850px) {
            .contact-section { grid-template-columns: 1fr; }
            header { padding: 20px; }
            nav {
                position: absolute;
                top: 85px; right: 20px;
                background: var(--bg-card);
                padding: 22px;
                border-radius: 18px;
                flex-direction: column;
                display: none;
                box-shadow: 0 25px 60px rgba(0,0,0,0.85);
            }
            nav.active { display: flex; }
            .hamburger { display: block; }
        }
/* Optimiertes Grid für die Webdesign-Sektion */
    #projekte .cards {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /* 6 Spalten für feineres Alignment */
        gap: 35px;
    }

    /* Die ersten drei Karten belegen jeweils 2 von 6 Spalten (1. Reihe) */
    #projekte .card:nth-child(1),
    #projekte .card:nth-child(2),
    #projekte .card:nth-child(3) {
        grid-column: span 2;
    }

    /* Die Enterprise-Karte (4. Karte) wird mittig in der 2. Reihe platziert */
    #projekte .card:nth-child(4) {
        grid-column: 3 / span 2; /* Startet in Spalte 3 und belegt 2 Spalten */
    }

    /* Responsive Anpassung für Tablets und Mobile */
    @media (max-width: 1100px) {
        #projekte .cards {
            grid-template-columns: repeat(2, 1fr);
        }
        #projekte .card:nth-child(1),
        #projekte .card:nth-child(2),
        #projekte .card:nth-child(3),
        #projekte .card:nth-child(4) {
            grid-column: span 1;
        }
    }

    @media (max-width: 700px) {
        #projekte .cards {
            grid-template-columns: 1fr;
        }
        #projekte .card:nth-child(4) {
            grid-column: auto;
        }
    }

/* FAQ Akkordeon Styling */
.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary);
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 20px;
    color: var(--text);
    opacity: 0.8;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Groß genug für den Text */
    padding: 0 20px 20px 20px;
}
/* Schwarz markierter Code gemäß deiner Präferenz */
.logo-svg {
    width: 44px;
    height: 44px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4)); /* Dezentes Leuchten */
    transition: all 0.3s ease;
}

.logo:hover .logo-svg {
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.8));
    transform: scale(1.05);
}

/* Schwarz markierter Code für die Datenschutz-Checkbox */
.form-privacy {
    margin: 20px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text);
    opacity: 0.9;
}

.checkbox-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start; /* Checkbox oben ausrichten bei langem Text */
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary); /* Nutzt deine Markenfarbe für den Haken */
}

.checkbox-wrapper label {
    cursor: pointer;
}

.privacy-note {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.checkbox-wrapper a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-wrapper a:hover {
    color: var(--primary);
}

/* Validierungs-Style: Wenn nicht angehakt und User will senden */
.checkbox-wrapper input[type="checkbox"]:invalid {
    outline: 1px solid rgba(255, 0, 0, 0.5);
}

/* Schwarz markierter Code für den Footer */
.main-footer {
    background: #0a0f1d; /* Etwas dunkler als der Rest für Abgrenzung */
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    margin-top: 15px;
    opacity: 0.6;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-legal h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 15px auto; }
}


/* Responsive Anpassung */
        @media (max-width: 600px) {
            .address-row {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            .card {
                padding: 20px;
            }
        }

/* Schwarz markierter Code für den Scroll-Up Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top .icon-svg {
    width: 20px;
    height: 20px;
}

/* Button Animation (Ergänzung) */
.btn-submit {
    position: relative;
    transition: all 0.3s ease;
}

.btn-submit.is-loading {
    color: transparent !important;
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
