/* * =========================================================
 * Projekt:     webstay Agentur
 * Inhaber:     L. Loewe
 * Beschreibung: Custom Design (Glassmorphism & Gold Accents)
 * Erstellt am: 2026-02-07
 * Version:     1.32
 * =========================================================
 */

/* style.css */
        :root {
           --bg: #0b1020;
            --bg-card: #161c2f;
            --text: #e5e7eb;
            --primary: #38bdf8;
            --secondary: #1e293b;
            --gold: #C5A059;
            --card: #1e293b;
        }
           
.hamburger { cursor: pointer; }
 /* Standard-Zustand des Links */
a {
    color: #38bdf8;
    text-decoration: none; /* Entfernt die Unterstreichung, falls gewünscht */
}
.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;
        }
        
        .space-32 {
    height: 32px;
}
.domain-safe ul li {
    line-height: 1.4;
}

.hosting-note {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

@media (max-width: 768px) {
    .domain-safe {
        margin: 20px 15px;
    }
}

/* 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);
        }


.card p, .card li {
    font-size: 0.93rem;      /* Etwas kleiner als Standard (1rem) */
    letter-spacing: 0.3px;   /* Erhöht den horizontalen Abstand der Buchstaben */
    line-height: 1.7;        /* Erhöht den vertikalen Abstand der Zeilen */
    opacity: 0.7;            /* Macht den Text weniger "grell" weiß, was die Lesbarkeit verbessert */
}
      /* Falls die Überschriften in den Cards auch zu gedrungen sind: */
.card h2, .card h3 {
    letter-spacing: 1px;     /* Mehr Platz für die Buchstaben in Überschriften */
    margin-bottom: 15px;
}
/* Verhindert, dass lange Links oder Texte aus dem Layout ragen */
.section-card p, 
.section-card a, 
.section-card li {
    overflow-wrap: break-word; /* Bricht lange Wörter/URLs um */
    word-wrap: break-word;      /* Fallback für ältere Browser */
    word-break: break-word;     /* Zusätzliche Sicherheit */
    hyphens: auto;              /* Ermöglicht automatische Silbentrennung */
}
/* Nur Links innerhalb der Karten hart umbrechen */
.card a {
    display: inline-block;     /* Ermöglicht Breitenkontrolle */
    max-width: 100%;           /* Darf nicht breiter als die Karte sein */
    word-break: break-all;     /* Erzwingt den Umbruch an JEDER Stelle (für URLs) */
    overflow-wrap: break-word; /* Moderne Unterstützung für Umbrüche */
    vertical-align: bottom;
}
/* Überschriften mit automatischer Silbentrennung */
h1, h2, h3 {
    color: var(--gold);
    overflow-wrap: break-word; /* Sicherheit für extrem lange Wörter */
    hyphens: auto;             /* Aktiviert die Silbentrennung basierend auf der Sprache */
    -webkit-hyphens: auto;     /* Unterstützung für Safari/Chrome */
    -ms-hyphens: auto;         /* Unterstützung für ältere Edge-Versionen */
    line-height: 1.3;          /* Etwas mehr Zeilenabstand für mehrzeilige Titel */
}


/* Speziell für Links, falls diese als Inline-Block agieren */
a {
    max-width: 100%;
}

        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; }
        }


    /* 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;
        }
    }

    

/* logo webstay blau leuchten */
.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 den Footer */
.main-footer {
    background: #070a14; /* 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;
}

.footer-highlight {
    color: inherit; /* Nimmt die Textfarbe des Footers an */
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
    font-weight: bold; /* Macht ihn etwas kräftiger */
}
.footer-highlight-animated {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.footer-highlight-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease-in-out;
}

.footer-highlight-animated:hover::after {
    width: 100%;
}

@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);
    animation: soft-glow 4s infinite ease-in-out;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateY(-5px);
    animation: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top .icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
@keyframes soft-glow { 
    0%, 100% { box-shadow: 0 10px 25px rgba(0,0,0,0.5); transform: scale(1); } 
    50% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); transform: scale(1.03);}
    }

/* 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); }
}

/* Premium Announcement Bar */
.top-announcement-bar {
    background: linear-gradient(90deg, #0a192f 0%, #161c2f 100%);
    border-bottom: 2px solid var(--gold);
    padding: 12px 20px;
    position: relative;
    z-index: 1001;
}

.bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-announcement-bar p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
    letter-spacing: 0.5px;
}

.top-announcement-bar strong {
    color: var(--gold);
}

.bar-button {
    background: var(--gold);
    color: #000;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.bar-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
    background: #fff;
}

/* Der Aufmerksamkeit-Punkt (Pulse) */
.pulse-icon {
    width: 10px;
    height: 10px;
    background-color: var(--gold);
    border-radius: 50%;
    position: relative;
}

.pulse-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .top-announcement-bar p {
        font-size: 0.85rem;
        text-align: center;
    }
    .pulse-icon { display: none; }
}