/* <!-- style.css --> */
 
/* --- Global Styles & Variables --- */
:root {
    --primary-color: #008080; /* Teal from logo */
    --dark-color: #1a1a1a;
    --medium-color: #333;
    --light-color: #f7f7f7;
    --white-color: #ffffff;
    --font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --transition-speed: 0.3s;
}

/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--medium-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-bottom: 2rem; }
p { font-size: 1.1rem; }

section {
    padding: 80px 0;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 54px; /* 50px logo + 2px top/bottom padding */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth fade transition */
    display: flex; /* ADD THIS */
    align-items: center; /* ADD THIS to vertically center the image inside the link */
}
.nav-logo.visible {
    opacity: 1; /* Make it visible when class is added */
}
.nav-logo img { height: 50px; } /* New, larger final logo size */

.nav-controls { display: flex; align-items: center; gap: 2rem; }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-link { text-decoration: none; color: var(--medium-color); font-weight: 600; transition: color var(--transition-speed); }
.nav-link:hover { color: var(--primary-color); }

.language-switcher { display: flex; align-items: center; gap: 0.5rem; }
.language-switcher button { background: none; border: none; font-size: 1rem; cursor: pointer; color: var(--medium-color); font-weight: 600; }
.language-switcher button.active { color: var(--primary-color); }
.language-switcher span { color: #ccc; }


/* --- Hero Section & Logo Animation --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    position: relative; /* Establishes a stacking context */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-static {
    height: 220px;
    z-index: -1; /* Places the logo behind other elements */
    position: absolute; /* Takes logo out of the normal flow */
    top: 0;
    /* The transform is now used for the parallax effect in JS */
    will-change: opacity, transform;
}

.hero-content h1 { 
    margin-top: 275px; /* Pushes text down to make space for the logo behind it */
    margin-bottom: 1rem; 
}
.hero-content p { font-size: 1.25rem; max-width: 650px; margin: 0 auto 2rem; color: #555; }


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #006666;
    border-color: #006666;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.2);
}

/* --- Benefits Section --- */
.benefits-section { background-color: var(--light-color); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.benefit-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.benefit-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.benefit-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* --- Solution Section --- */
.solution-section { text-align: center; }
.solution-section .subtitle { max-width: 700px; margin: 0 auto; font-size: 1.2rem; }


/* --- Data Security Section --- */
.data-security-section {
    background-color: var(--light-color); 
}
.data-security-section .subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: #555;
}
.security-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 700px) {
    .security-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.security-option-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    text-align: left; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}
.security-option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.security-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color); 
}

/* --- NEU: Platform Hosting Section --- */
.platform-hosting-section {
    background-color: var(--white-color); /* Weißer Hintergrund zur Abwechslung */
    padding-top: 60px; /* Etwas weniger Padding oben, da es thematisch anschließt */
}

/* --- Problem Solving Section --- */
.problem-solving-section {
    background-color: var(--light-color);
    text-align: center;
}
.problem-solving-section .subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: #555;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 3rem auto;
    max-width: 800px;
}
.tool-card {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}
.example-image {
    display: block;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: contain;
}
.additional-tools {
    font-size: 1.1rem;
    margin: 2rem auto;
    max-width: 600px;
    font-style: italic;
    color: #666;
}
.platform-hosting-section .subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: #555;
}
.hosting-options-grid {
    display: grid;
    grid-template-columns: 1fr; /* Eine Spalte auf Mobile */
    gap: 30px;
}
/* Ab 768px (Tablet) werden zwei Spalten angezeigt */
@media (min-width: 768px) {
    .hosting-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.hosting-option-card {
    background: var(--light-color); /* Leichter grauer Hintergrund für die Karten */
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    border: 1px solid #eee; /* Dezenter Rand */
    transition: all var(--transition-speed) ease;
}
.hosting-option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}
.hosting-option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}


/* --- Waitlist Section --- */
.waitlist-section { background-color: var(--dark-color); color: var(--white-color); text-align: center; }
.waitlist-section h2 { color: var(--white-color); }
.waitlist-form { display: flex; flex-direction: column; max-width: 500px; margin: 30px auto 0; gap: 15px; }
.waitlist-form input {
    padding: 14px;
    font-size: 1rem;
    border: 1px solid #555;
    background-color: #2a2a2a;
    color: var(--white-color);
    border-radius: 8px;
}
#form-message { margin-top: 1rem; font-weight: 600; }

/* --- Footer --- */
.footer {
    background-color: var(--light-color);
    padding: 60px 0;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo-container {
    flex-shrink: 0; 
}
.footer-logo {
    height: 60px; 
}
.footer-details {
    text-align: right; 
}
.footer-claim {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-contact-links {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 20px;
}
.footer-contact-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-links a:hover {
    text-decoration: underline;
}
.linkedin-icon {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}
.footer-divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 20px;
}
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}
.legal-links a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}
.legal-links a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* --- Responsive Footer --- */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-details {
        text-align: center;
    }
    .footer-contact-links {
        justify-content: center;
    }
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered animation */
.reveal.benefit-card:nth-child(2),
.reveal.security-option-card:nth-child(2),
.reveal.hosting-option-card:nth-child(2) { transition-delay: 0.1s; }
.reveal.benefit-card:nth-child(3),
.reveal.security-option-card:nth-child(3) { transition-delay: 0.2s; }
.reveal.security-option-card:nth-child(4) { transition-delay: 0.3s; }


/* --- Mobile Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%; 
        top: 54px; 
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0; 
    }

    .hamburger {
        display: block; 
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: var(--dark-color);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        min-height: 100vh;
        height: auto; 
        padding: 100px 20px; 
    }
    .hero-logo-static {
        height: 180px; 
    }
    .hero-content h1 {
        margin-top: 200px; 
    }
    .hero-content p {
        font-size: 1.15rem; 
    }
}



/* --- Modal Styling --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 2001; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.visible {
    display: block;
    opacity: 1;
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal.visible .modal-content {
    transform: scale(1);
}

#modal-title {
    overflow-wrap: break-word; 
    -webkit-hyphens: auto;     
    hyphens: auto;             
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover, .close-button:focus {
    color: black;
}
.modal-body p {
    margin-bottom: 1rem;
}

/* --- Barrierefreiheits-Verbesserungen --- */
.hamburger:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Contact Form Styles (matching original waitlist dark theme) */
#contact .waitlist-section {
    background-color: var(--dark-color); 
    color: var(--white-color); 
    padding: 4rem 0;
    min-height: auto;
}

.contact-form {
    max-width: 500px; 
    margin: 30px auto 0; 
    display: flex;
    flex-direction: column;
    gap: 12px; 
    padding: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6); 
    opacity: 1 !important;
    font-style: italic;
    transition: opacity 0.2s ease, color 0.2s ease; 
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0 !important; 
    color: transparent !important;
}

.contact-form input:not(:placeholder-shown)::placeholder,
.contact-form textarea:not(:placeholder-shown)::placeholder {
    opacity: 0 !important;
    color: transparent !important;
}

.contact-form textarea:focus {
    border-color: var(--primary-color) !important; 
}

.contact-form textarea:focus::placeholder {
    display: none !important; 
}

.contact-form label {
    font-weight: bold;
    font-size: 1rem;
    color: var(--white-color); 
    margin-bottom: 0.5rem;
    text-align: left; 
}

.contact-form input,
.contact-form textarea,
.contact-form input[type="tel"] {
    width: 100%;
    padding: 14px; 
    font-size: 1rem;
    border: 1px solid #555; 
    background-color: #2a2a2a; 
    color: var(--white-color); 
    border-radius: 8px; 
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.4;
}

.submit-button {
    align-self: stretch; 
    padding: 14px; 
    background-color: var(--primary-color); 
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #006666; 
}

.submit-button:active {
    transform: translateY(1px);
}

#formStatus {
    font-weight: 600; 
    padding: 14px;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1); 
    color: var(--white-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#formStatus.green {
    background-color: rgba(0, 255, 0, 0.2); 
    color: var(--white-color);
    border-color: rgba(0, 255, 0, 0.4);
}

#formStatus.red {
    background-color: rgba(255, 0, 0, 0.2); 
    color: var(--white-color);
    border-color: rgba(255, 0, 0, 0.4);
}

#formStatus.blue {
    background-color: rgba(0, 123, 255, 0.2); 
    color: var(--white-color);
    border-color: rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
    .contact-form {
        gap: 12px; 
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form input[type="tel"] {
        padding: 12px;
        font-size: 16px; 
    }
    
    #contact .waitlist-section {
        padding: 2rem 0;
    }
    
    .contact-form label {
        font-size: 0.95rem;
    }
}

/* --- Notification Modal --- */
.notification {
    position: fixed;
    top: 0; 
    left: 50%; 
    width: 90%; 
    max-width: 500px; 
    padding: 16px;
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    z-index: 9999;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translate(-50%, -150%); 
    transition: transform 0.4s ease-in-out;
}

.notification.show {
    transform: translate(-50%, 20px);
}

.notification.success {
    background-color: var(--primary-color); 
}

.notification.error {
    background-color: #e74c3c; 
}

.notification.info {
    background-color: #3498db; 
}