@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    --primary: #1d1d1f;
    --accent: #0071e3;
    --accent-hover: #0077ED;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    --bg: #ffffff;
    --bg-subtle: #fbfbfd;
    --bg-muted: #f5f5f7;
    --border: #d2d2d7;
    --border-light: #e8e8ed;
    --radius: 16px;
    --radius-lg: 24px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.47059;
    background: var(--bg);
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    letter-spacing: -0.022em;
}

/* ========== Navigation ========== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(251,251,253,0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    z-index: 100;
    padding: 0 2rem;
}

.nav-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0;
}

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

/* ========== Hero ========== */
.hero {
    padding: 160px 2rem 120px;
    text-align: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(0,113,227,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    position: relative;
}

.hero p {
    font-size: 1.3125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.003em;
}

/* ========== Section Titles ========== */
.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.625rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.125rem;
    line-height: 1.5;
    letter-spacing: 0.003em;
}

/* ========== Products ========== */
.products {
    padding: 120px 2rem;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.25rem;
}

.product-card {
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: var(--bg-muted);
    position: relative;
    text-align: left;
    border: none;
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.product-icon.cw { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.product-icon.tb { background: linear-gradient(135deg, #059669, #10b981); }

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.625rem;
    letter-spacing: -0.025em;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.58;
    font-size: 0.9375rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 0.375rem 0;
    color: var(--text);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: 0;
}

.product-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,113,227,0.08);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: gap 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-link:hover {
    gap: 0.5rem;
}

/* ========== About ========== */
.about {
    padding: 120px 2rem;
    background: var(--bg-muted);
}

.about-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-inner p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    letter-spacing: 0.003em;
}

/* ========== Footer ========== */
footer {
    padding: 2rem 2rem;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-inner p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

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

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

/* ========== Content Pages (Impressum, Datenschutz, Kontakt) ========== */
.content {
    max-width: 680px;
    margin: 0 auto;
    padding: 120px 2rem 80px;
}

.content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.content h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.375rem;
}

.content p, .content li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.58;
    font-size: 0.9375rem;
}

.content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

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

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

/* ========== Contact Blocks ========== */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-block {
    padding: 2rem;
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    border: none;
}

.contact-block h2 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.contact-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

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

.contact-block a:hover {
    text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero { padding: 130px 1.5rem 80px; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.125rem; }
    .products { padding: 80px 1.5rem; }
    .product-grid { grid-template-columns: 1fr; }
    .about { padding: 80px 1.5rem; }
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 0.75rem; }
    .footer-inner { flex-direction: column; text-align: center; }
    .contact-info { grid-template-columns: 1fr; }
    .content { padding: 100px 1.5rem 60px; }
}
