/* Minimalistische Grundkonfiguration (Light Mode) */
:root {
    --bg-color: #ffffff;       
    --card-bg: #f9fafb;        
    --text-main: #111827;      
    --text-dim: #6b7280;       
    --accent: #000000;         
    --accent-hover: #374151;
    --border-light: #e5e7eb;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
}

.container {
    max-width: 1000px; /* Etwas schmaler für eleganteren Textfluss */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header { padding: 2.5rem 0; }
nav { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
nav ul { display: flex; list-style: none; gap: 2.5rem; }
nav a { color: var(--text-main); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--text-dim); }

/* Sektionen Allgemein - Viel Weissraum */
section { padding: 5rem 0 !important; }
.section-title { font-size: 2rem; margin-bottom: 4rem; text-align: center; font-weight: 700; letter-spacing: -0.5px; }

/* 1. Hero Sektion */
.hero { text-align: center; padding: 10rem 0 6rem; }
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 2rem; letter-spacing: -2px; font-weight: 800; }
.hero p { font-size: 1.25rem; color: var(--text-dim); max-width: 650px; margin: 0 auto 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border-light);
}
.btn-outline:hover { background: var(--card-bg); color: var(--accent); }

/* 2. Vorteile */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}
.benefit-item { text-align: center; }
.benefit-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.benefit-item h3 { font-size: 1.2rem; margin-bottom: 1rem; font-weight: 700; }
.benefit-item p { color: var(--text-dim); font-size: 1rem; }

/* 3. Apps Showcase - Reduziert */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 6rem;
}
.app-image-placeholder {
    flex: 1;
    background: var(--card-bg);
    height: 400px;
    border-radius: 24px; /* Weichere Kanten für den Indie-Touch */
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}
.app-content { flex: 1; }
.app-content p {
    margin-bottom: 3rem !important;
}
.app-content h3 { font-size: 2.5rem; margin-bottom: 2rem; font-weight: 700; letter-spacing: -1px; }

/* 4. Philosophie */
details {
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}
summary {
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::after { content: '+'; color: var(--text-dim); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: '−'; }
.details-content { padding-top: 1.5rem; color: var(--text-dim); font-size: 1.05rem; }

/* 5. Team Sektion */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
}
.team-member { text-align: center; }
.team-pic {
    width: 140px;
    height: 140px;
    background: var(--card-bg);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    border: 1px solid var(--border-light);
}
.team-member h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-member p { color: var(--text-dim); font-size: 0.95rem; }

/* 6. Kontakt */
.personal-contact {
    text-align: center;
    background: var(--card-bg);
    padding: 6rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
}
.contact-text h2 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: -1px; }
.contact-text p { color: var(--text-dim); margin-bottom: 2.5rem; font-size: 1.1rem; }


/* =========================================
   KONTAKTFORMULAR (Responsive Fix)
   ========================================= */
#contact {
    margin-top: 6rem; /* Vergrössert den Abstand über der grauen Box (Roter Pfeil) */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0; /* Wichtig für sauberes Layout */
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-main);
    box-sizing: border-box; /* Verhindert, dass Felder über den Rand ragen */
    transition: border-color 0.2s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.captcha-group {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    width: 100%;
    box-sizing: border-box;
}

.captcha-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Auf iPad & Handy alles sauber untereinander */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Footer */
/* =========================================
   FOOTER & SOCIAL MEDIA
   ========================================= */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-dim);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-socials {
    display: none;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--text-main) !important;
}

/* Smartphone-Ansicht */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}