:root {
    /* Farben werden basierend auf dem Logo angepasst */
    --primary-color: #0066cc; /* Annahme einer Hauptfarbe aus dem Logo */
    --secondary-color: #333;
    --background-color: #000;
    --text-color: #fff;
    --accent-color: #0066cc;
    --gradient-start: rgba(0, 102, 204, 0.8);
    --gradient-end: rgba(0, 51, 102, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Logo-Bereich */
.logo-container {
    margin-bottom: 3rem;
    max-width: 500px; /* Vergrößert auf 500px */
}

.logo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* Inhalt */
.content {
    margin-bottom: 4rem;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff; /* Weiße Farbe */
    text-shadow: 0 5px 15px rgba(0, 102, 204, 0.5);
}

.tagline {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.8rem;
    min-width: 120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-item span:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Buttons */
.cta-buttons {
    margin-top: 2rem;
}

.btn {
    background: none;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    width: 100%;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #0055b3;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.6);
}

/* Projekte Sektion */
.projects-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0, 102, 204, 0.2);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.3);
    border-color: rgba(0, 102, 204, 0.3);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.project-budget {
    font-weight: 600;
    color: var(--primary-color) !important;
    margin-top: 1rem;
}

/* Animierter Hintergrund */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: var(--gradient-start);
    animation: float 20s infinite alternate;
}

.shape-2 {
    bottom: -15%;
    right: -15%;
    width: 60%;
    height: 60%;
    background: var(--gradient-end);
    animation: float 25s infinite alternate-reverse;
}

.shape-3 {
    top: 40%;
    left: 25%;
    width: 30%;
    height: 30%;
    background: rgba(0, 102, 204, 0.5);
    animation: float 18s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(5%, 5%) rotate(5deg);
    }
    100% {
        transform: translate(-5%, -5%) rotate(-5deg);
    }
}

/* Popup Kontaktformular */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Verhindert, dass das unsichtbare Popup Klicks blockiert */
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Ermöglicht Klicks, wenn das Popup aktiv ist */
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #0d2240;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid var(--primary-color);
}

.popup-content {
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.popup.active .popup-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-btn:hover {
    color: white;
}

.popup h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1.2rem;
    color: #ccc;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    background-color: rgba(10, 25, 47, 0.8);
    color: white;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Formular-Benachrichtigungen */
#form-status {
    margin-bottom: 1rem;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #51cf66;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.2);
    color: #15aabf;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    pointer-events: auto; /* Stellt sicher, dass der Footer klickbar ist */
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: #666;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.developer-credit {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0;
    position: relative;
    z-index: 100;
}

.compiaz-link {
    color: #ccc;
    text-decoration: underline;
    position: relative;
    transition: color 0.3s;
    z-index: 100;
    cursor: pointer;
    display: inline-block;
    padding: 0 2px;
    pointer-events: all;
}

.compiaz-link:hover {
    color: var(--primary-color);
}

.compiaz-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.compiaz-link:hover::after {
    width: 100%;
}

.heart {
    color: var(--secondary-color);
    display: inline-block;
    margin-left: 5px;
    font-size: 0.9rem;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.8rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
}

/* Herz-Styling */
.heart {
    color: #ff0000; /* Rote Farbe */
    display: inline-block;
    animation: pulse 1.5s infinite;
    margin-left: 0.3rem;
}

/* Puls-Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Compiaz Link Styling */
.developer-credit {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #aaa;
}

.compiaz-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2; /* Höher als der Footer */
}

.compiaz-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
