/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    color: #111827;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: #4b5563;
}

a {
    color: #1a365d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero .subline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #1a365d;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* How it works */
.how-it-works {
    background: #f9fafb;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #1a365d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Benefits */
.benefits {
    padding: 4rem 0;
}

.benefits-sellers {
    background: white;
}

.benefits-buyers {
    background: #f9fafb;
}

.benefits-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.benefits-list li {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    font-size: 1.1rem;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

/* FAQ */
.faq {
    background: white;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #1a365d;
    margin-bottom: 0.75rem;
}

/* Forms */
.form-section {
    padding: 5rem 0;
}

.form-sellers {
    background: #f9fafb;
}

.form-buyers {
    background: white;
}

.form-card {
    max-width: 700px;
    margin: 0 auto;
}

.form-card h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.form-intro {
    margin-bottom: 2rem;
    color: #6b7280;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #111827;
    transition: border-color 0.2s;
    background: white;
}

input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.btn-form {
    background: #1a365d;
    color: white;
    margin-top: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.btn-form:hover {
    background: #2c5282;
    text-decoration: none;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-form {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer a {
    color: #9ca3af;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

/* =====================
   Offer pages (angebote/)
   ===================== */

/* Nav */
.offer-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.offer-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
}

.offer-nav-contact {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Breadcrumb */
.breadcrumb-bar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.6rem 0;
}

.breadcrumb {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Main layout */
.offer-main {
    padding: 3rem 0 5rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Badges */
.offer-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.offer-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-new {
    background: #1a365d;
    color: white;
}

.badge-deadline {
    background: #fef3c7;
    color: #92400e;
}

/* Offer title */
.offer-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Specs table */
.offer-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.offer-specs th,
.offer-specs td {
    padding: 0.625rem 0;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

.offer-specs th {
    color: #6b7280;
    font-weight: 500;
    width: 40%;
    padding-right: 1rem;
}

.offer-specs td {
    color: #111827;
    font-weight: 500;
}

.offer-note {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Commission box */
.commission-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.commission-box h3 {
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.75rem;
}

.commission-box p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.commission-highlight {
    color: #059669 !important;
    font-weight: 600;
    margin-bottom: 0 !important;
}

/* Bid form section */
.offer-form-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 3rem;
}

.offer-form-section h2 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #111827;
    resize: vertical;
    width: 100%;
    background: white;
}

textarea:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #111827;
    background: white;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

/* Checkbox */
.form-checkbox {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    accent-color: #1a365d;
    cursor: pointer;
}

/* Thank you page */
.danke-main {
    padding: 6rem 0;
}

.danke-card {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.danke-icon {
    width: 56px;
    height: 56px;
    background: #059669;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.danke-card h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.danke-intro {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.danke-note {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}

.danke-note p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.danke-back {
    display: inline-block;
    background: #1a365d;
    color: white;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero .subline {
        font-size: 1.1rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offer-title {
        font-size: 1.4rem;
    }

    .commission-box {
        position: static;
    }
}
