/* Küchenschatz Website - Stylesheet */

:root {
    --primary: #2E7D9B;
    --primary-dark: #1D5A6F;
    --primary-light: #4DA3C2;
    --accent: #FF9500;
    --background: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #4A4A68;
    --text-muted: #8A8AA3;
    --border: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

header .app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Navigation */
nav {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px var(--shadow);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

nav a:hover,
nav a.active {
    color: var(--primary);
    background: rgba(46, 125, 155, 0.1);
}

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

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow);
}

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

.card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.card li {
    margin-bottom: 0.5rem;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s;
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary,
.card .btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover,
.card .btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-muted);
    color: white;
}

/* App Store Badge */
.app-store-badge {
    height: 50px;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .links {
    margin-bottom: 1rem;
}

footer .links a {
    margin: 0 1rem;
}

footer .copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Language Switcher */
.lang-switch {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.lang-switch a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.lang-switch a:hover,
.lang-switch a.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info a {
    color: white;
    font-weight: 600;
}

/* Legal Text */
.legal-section {
    margin-bottom: 1.5rem;
}

.legal-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Links in Cards */
.card a,
.legal-section a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.card a:hover,
.legal-section a:hover {
    color: var(--primary-dark);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2rem;
}
