/* StillZeit – Marketing Webseite */

:root {
    --color-bg: #fef9f7;
    --color-surface: #ffffff;
    --color-text: #2d2a2e;
    --color-text-muted: #6b6569;
    --color-accent: #e07a7a;
    --color-accent-light: #f5d4d4;
    --color-accent-dark: #c45c5c;
    --color-border: #ebe5e3;
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 12px rgba(45, 42, 46, 0.06);
    --shadow-md: 0 8px 32px rgba(45, 42, 46, 0.08);
    --shadow-lg: 0 24px 64px rgba(45, 42, 46, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(254, 249, 247, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--color-accent-light) 0%,
        transparent 50%,
        rgba(255, 240, 235, 0.5) 100%
    );
    opacity: 0.6;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at 2px 2px,
        var(--color-border) 1px,
        transparent 0
    );
    background-size: 32px 32px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-dark);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(224, 122, 122, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(224, 122, 122, 0.5);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-accent-dark);
    border: 2px solid var(--color-accent-light);
}

.btn-secondary:hover {
    background: var(--color-accent-light);
}

.btn-icon {
    flex-shrink: 0;
    width: 20px;
    height: 24px;
}

/* Features */
.features {
    padding: 100px 0;
}

.features h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}

.features h2 + .section-lead,
.feature-grid {
    margin-top: 24px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--color-surface);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Screenshots */
.screenshots {
    padding: 100px 0;
    background: var(--color-surface);
}

.screenshots h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-text);
}

.section-lead {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 48px;
}

.screenshot-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 24px 0 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: var(--color-border);
    border-radius: 4px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: var(--color-accent-light);
    border-radius: 4px;
}

.screenshot-gallery .screenshot-frame {
    flex-shrink: 0;
    scroll-snap-align: center;
    background: linear-gradient(145deg, #2d2a2e 0%, #3d3a3e 100%);
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.screenshot-gallery .screenshot-frame img {
    display: block;
    width: 260px;
    height: auto;
    border-radius: 24px;
}


/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.cta p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 48px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer a {
    color: var(--color-accent);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav {
        gap: 20px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-gallery .screenshot-frame img {
        width: 220px;
    }
}
