:root {
    --primary-color: #2D3748;
    --accent-color: #61DAFB;
    --highlight-color: #FF6B6B;
    --text-color: #333333;
    --title-color: #1A5F7A;
    --background-color: #FFFFFF;
    --grey-light: #F7FAFC;
}

/* body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
} */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Header Styles */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Navigation */
nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

nav a.active {
    background-color: var(--primary-color);
    color: white;
}

.login-btn {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
}

/* User Menu */
.user-menu {
    position: relative;
}

.profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    text-align: right;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 150px;
}

.user-menu:hover .dropdown {
    display: block;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1 0 auto;
}

/* .hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    color: white; 
} */

.hero {
    text-align: center;
    padding: 8rem 2rem 6rem;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);   */
    /* color: black; */
    color: var(--text-color);
    margin: -2rem -2rem 2rem -2rem;  /* ADD - negativer Margin um main padding auszugleichen */
}


.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--title-color);
}

.hero span {
    color: var(--background-color);
    background: var(--title-color);
    /* background: var(--accent-color); */
    /* background: rgba(255, 255, 255, 0.2); */
    padding: 0.2rem 1rem;
    border-radius: 10px;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ADD Media Query für iPhone */
@media (max-width: 768px) {
    .content {
        grid-template-columns: 1fr;  /* FORCE single column */
        padding: 2rem 1rem;  /* Reduce padding */
    }
}

.card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--title-color);
}

.services {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
}

.poc-notice {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-content {
    /* max-width: 1200px; */
    margin: 0 auto;
    /* display: flex; */
    /* justify-content: space-between; */
    /* align-items: center; */
    text-align: center;
}

.footer-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-left span:last-child {
    text-align: center;
    width: 100%;
}

.footer-left span {
    color: var(--accent-color);
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
}

footer a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Services Section */
.services-container {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    padding: 3rem 1rem;
    background-color: var(--primary-color);
    border-radius: 8px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Legal Container */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legal-container h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

/* Prompt Container */
.prompt-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.prompt-header {
    text-align: center;
    margin-bottom: 3rem;
}

.prompt-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.prompt-section {
    margin-bottom: 3rem;
}

.prompt-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.prompt-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.prompt-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.prompt-section ol, 
.prompt-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prompt-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prompt-box {
    background-color: var(--grey-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 0.5;
}

.prompt-box p {
    line-height: 1.0;
    margin: 0;
    padding: 0;
}

.prompt-box ul {
    margin: 0.5rem 0;  /* ADD */
    padding-left: 1.5rem;  /* ADD */
}

.prompt-box li {
    margin: 0.2rem 0;  /* ADD */
}

/* Components Grid */
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.component-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.component-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.component-card p {
    margin-bottom: 1rem;
}

.component-card ul {
    padding-left: 1.2rem;
}

.tech-list li {
    margin-bottom: 0.8rem;
}

.tech-list li span {
    font-weight: bold;
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .prompt-header h1,
    .services-header h1 {
        font-size: 2rem;
    }
    
    .components-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .legal-container {
        padding: 1rem;
    }
    
    .legal-container h1 {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }

    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1.5rem;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
    }
    
    nav ul li {
        display: inline-block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}