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

:root {
    --bg-primary: #0d1117;
    --bg-card: #161b22;
    --bg-nav: #0d1117;
    --accent: #58a6ff;
    --accent-hover: #79b8ff;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border: #30363d;
    --success: #3fb950;
    --warning: #d29922;
    --danger: #f85149;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

/* Header / Navigation */
header {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

nav { display: flex; gap: 8px; }

nav a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all .2s;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
    background: rgba(88, 166, 255, 0.1);
}

/* Hero */
.hero {
    padding: 80px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
}

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

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(88, 166, 255, 0.2);
}

/* Section titles */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 48px;
}

/* Content container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all .3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.service-card .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-card .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

.service-card .desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Configurator section */
.config-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.config-section iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
}

.contact-info .label {
    color: var(--text-primary);
    font-weight: 600;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: border .2s;
}

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

.form-group textarea { min-height: 120px; resize: vertical; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--accent);
    color: #0d1117;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.btn:hover { background: var(--accent-hover); color: #0d1117; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
}

footer .links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
}

footer .copy {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Page header */
.page-header {
    padding: 48px 24px 0;
    text-align: center;
}

.page-header h1 { font-size: 36px; font-weight: 800; }
.page-header p { color: var(--text-secondary); margin-top: 8px; }

/* Leistungen detail */
.leistung-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.leistung-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.leistung-card .preis { font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.leistung-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Success message */
.success-msg {
    text-align: center;
    padding: 60px 24px;
}

.success-msg h2 { font-size: 28px; color: var(--success); margin-bottom: 12px; }
.success-msg p { color: var(--text-secondary); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.legal h1 { font-size: 28px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; margin-top: 24px; margin-bottom: 8px; }
.legal p { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .header-inner { flex-direction: column; height: auto; padding: 12px 16px; gap: 8px; }
    nav { flex-wrap: wrap; justify-content: center; }
    nav a { font-size: 13px; padding: 6px 12px; }
    .contact-grid { grid-template-columns: 1fr; }
}
