:root {
    --bg: #f7f9fc;
    --card: #fff;
    --muted: #6b7280;
    --accent: #2563eb;
    --max-width: 1100px;
    --radius: 10px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: #0f172a;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: flex;
    gap: .75rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #60a5fa, #7c3aed);
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

nav a {
    margin-left: 1rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 2.5rem 0;
}

.card {
    background: var(--card);
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(2, 6, 23, .06);
}

h1 {
    margin: 0 0 .5rem;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

p.lead {
    margin: 0;
    color: var(--muted);
}

.cta {
    display: inline-block;
    margin-top: 1rem;
    padding: .6rem .95rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.feature {
    padding: 1rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .04), transparent);
}

footer {
    padding: 2rem 0;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Hero section styles */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 60vh;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--muted);
    margin: 1rem 0 0;
    font-weight: 600;
}

.hero-content .description {
    font-size: 1.1rem;
    font-style: italic;
    color: #0f172a;
    margin: 2rem auto;
    max-width: 600px;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1fr 360px;
    }
}

/* Impressum page styles */
main {
    flex: 1;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.impressum-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.impressum-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #0f172a;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}
