:root {
    --primary: #00f0ff;
    --dark: #0a0a12;
    --darker: #050508;
    --header-height: 65px;
    --footer-height: 40px;
}

.background-container {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height) - var(--footer-height));
    /* Höhe korrigiert */
    background: url('/images/tworobotsai.webp') no-repeat center center/cover;
    /* Nur EINE background-Definition */
    background-position: center top;
    /* Bild oben ausrichten */
    z-index: -1;
    transition: height 0.4s ease-out;
    /* Debugging */
    box-sizing: border-box;
    /* Border in Höhe einrechnen */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    /*background: var(--darker) url('/images/tworobotsai.png') no-repeat center fixed;*/
    background-size: cover;
    /* Alle bestehenden Eigenschaften bleiben erhalten: */
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    height: var(--header-height);
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    top: 0;
    /* An Oberkante kleben */
    transition: transform 0.3s ease;
    /* Gleiche Animation wie Footer */
    transform: translateY(0);
    /* Explizite Startposition */
}

header.hidden {
    transform: translateY(-100%);
    /* Nach oben ausblenden */
}

.header-rechts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* Abstand zwischen Links/Button */

}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark);
    border-radius: 3px;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3px;
}

.logo h2 {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    background: linear-gradient(90deg, hsl(209, 100%, 55%), hsl(172, 100%, 50%));
    /* Invertierter Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow:
        2.5px -2.5px 1.5px #00466bbd,
        /* Schattenrichtung angepasst */
        0 0 8px rgba(0, 240, 255, 0.2);
    /* Leichter Glow */
}

/* Tiefenschatten mit invertiertem Gradienten */
.logo h2::before {
    content: "hanse-gold";
    position: absolute;
    top: -2px;
    left: 2px;
    color: transparent;
    white-space: nowrap;
    pointer-events: none;
    background: linear-gradient(90deg, #003366, #0066cc);
    /* Dunklerer invertierter Gradient */
    -webkit-background-clip: text;
    background-clip: text;

    text-shadow:
        0 0 10px #00eeff93,
        /* Mega-Glow */
        2.5px -2.5px 2px hsla(0, 2%, 25%, 0.678);
    /* Schärferer Schatten */
    z-index: -1;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

.ssl-badge {
    display: inline-flex;
    align-items: center;
    height: 16px;
    gap: 0.5rem;
    font-size: 0.5rem;
    color: var(--primary);
    padding: 0.6rem 0.6rem 0.6rem 0.6rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
}


.login-btn {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

main {
    flex: 1;
    padding: 6rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #00f0ff, #0084ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p {
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
}

.ai-card {
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
}

.ai-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.1);
}

footer {
    background: var(--dark);
    color: hwb(0 45% 54%);
    font-size: 0.9em;
    /* Relativ zum Elternelement */
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s;
}

footer {
    position: fixed;
    /* Klebt am Bildschirm */
    bottom: 0;
    /* Unten */
    left: 0;
    right: 0;
    height: var(--footer-height);
    background: #0a0a12;
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    /* Animation */
    z-index: 1000;
    /* Über anderen Elementen */
}

footer.hidden {
    transform: translateY(100%);
    /* Verschiebt sich nach unten raus */
}

.hidden {
    transform: translateY(100%);
}


/* CSS */
.prompt-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: white;
    outline: none;
}

.send-button {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.send-button:hover {
    background: var(--primary);
    color: var(--dark);
}

.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: hsla(0, 0%, 13%, 0.575);
    color: var(--primary);
    width: 90%;
    /* Standard für Mobile */
    max-width: 300px;
    /* Maximale Breite */
    min-width: 200px;
    /* Minimale Breite */
    padding: 2rem;
    /* Innenabstand */
    gap: 15px;
    border-radius: 10px;
    /* Abgerundete Ecken wie ai-card */
    /* Dein ai-card-Design */
}



.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .header-rechts {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
    }

    .header-rechts.active {
        right: 0;
        
    }
.send-button {
    text-align: center;

    min-width: 60px;
    max-width: 800px;
    width: auto;
    padding: 0px;
}
}