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

body {
    background: linear-gradient(135deg, #0B0F1A 0%, #05070C 100%);
    color: #F9FAFB;
    font-family: sans-serif;
    line-height: 1.5;
}

a {
    color: #03C988;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
.site-header {
    background: rgba(11, 15, 26, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.site-title {
    font-size: 1.5rem;
    font-weight: bold;
}
nav a {
    margin-left: 10px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.btn-primary {
    background: #03C988;
    color: #0B0F1A;
}
.btn-secondary {
    background: transparent;
    border: 1px solid #03C988;
    color: #03C988;
}
.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.9;
}

/* Hero */
.hero {
    text-align: center;
    padding: 40px 0;
}
.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1rem;
    color: #A6B3C2;
}

/* Quick Check */
.quick-check {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
.quick-check h3 {
    margin-bottom: 15px;
}
.quick-check .field-group {
    margin-bottom: 15px;
}
.quick-check label {
    display: block;
    margin-bottom: 5px;
    color: #A6B3C2;
}
.quick-check input[type="text"],
.quick-check input[type="number"],
.quick-check input[type="date"],
.quick-check select {
    width: 100%;
    padding: 8px;
    border: 1px solid #444C56;
    border-radius: 4px;
    background: #1A2230;
    color: #F9FAFB;
}
.quick-check .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.card-small {
    flex: 1 1 30%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.card-small h4 {
    margin-bottom: 8px;
}
.card-small .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #03C988;
    margin-bottom: 4px;
}
.card-small .co2 {
    font-size: 0.9rem;
    color: #A6B3C2;
}
.badge-co2 {
    display: inline-block;
    background: rgba(3, 201, 136, 0.2);
    color: #03C988;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.twin-houses {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 20px;
}
.house {
    width: 60px;
    height: 120px;
    margin: 0 10px;
    position: relative;
    background: #f97316;
    border-radius: 0 0 4px 4px;
}
.house-after {
    background: #03C988;
}
.house span {
    position: absolute;
    bottom: -20px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #A6B3C2;
}

/* Process overview */
.process-overview {
    margin-top: 40px;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.process-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 15px;
    min-height: 120px;
}
.process-card h4 {
    margin-bottom: 5px;
    color: #03C988;
}
.process-card p {
    font-size: 0.9rem;
    color: #A6B3C2;
}

/* Wizard */
.wizard-container {
    margin-top: 30px;
}
.wizard-step {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
.wizard-step h3 {
    margin-bottom: 10px;
}
.wizard-step .field-group {
    margin-bottom: 15px;
}
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Upload */
.upload-group {
    margin-bottom: 15px;
}
.upload-group label {
    display: block;
    margin-bottom: 5px;
    color: #A6B3C2;
}
.upload-group input[type="file"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #444C56;
    border-radius: 4px;
    background: #1A2230;
    color: #F9FAFB;
}

/* Vollmacht, Angebot, Vertrag */
.vollmacht-text,
.vertrag-text {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.signature-canvas {
    border: 1px dashed #444C56;
    background: #0B0F1A;
    margin-bottom: 10px;
}
.signature-buttons {
    display: flex;
    gap: 10px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding: 20px 0;
    background: rgba(11, 15, 26, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}
.footer-links a {
    color: #03C988;
    font-size: 0.8rem;
}

/* Status text */
.status-text {
    margin-top: 10px;
    color: #03C988;
}

@media (max-width: 600px) {
    .quick-check .cards {
        flex-direction: column;
    }
    .wizard-nav {
        flex-direction: column;
    }
    .wizard-nav button {
        margin-bottom: 10px;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
}