@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #F6F4EE;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #F7F5F0;
    --bg-accent-soft: #E8EEEB;
    --accent: #124F49;
    --accent-hover: #0C3A35;
    --accent-light: #2D6B64;
    --text-main: #16181A;
    --text-muted: #46514D;
    --text-subtle: #7A8580;
    --border-color: #DCD8CD;
    --border-light: #E3DFD4;
    --border-accent: #CBD9D3;
    --dark-bg: #16181A;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;
    --font-heading: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Public Sans', system-ui, sans-serif;
    --container-max: 1200px;
    --shadow-card: 0 14px 34px rgba(22, 24, 26, 0.06);
    --shadow-float: 0 20px 48px rgba(22, 24, 26, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.site-header {
    height: 84px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(246, 244, 238, 0.95);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--text-main);
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.brand-logo span {
    color: var(--text-subtle);
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #3E4845;
}

.site-nav a:hover {
    color: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    height: 46px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #FFFFFF;
    border-color: var(--border-color);
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background: #F9F8F5;
    border-color: #B5B0A4;
}

.btn-lg {
    height: 52px;
    padding: 0 28px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-accent-soft);
    border: 1px solid var(--border-accent);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.01em;
    width: fit-content;
    max-width: 100%;
    line-height: 1.35;
}

.badge-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: var(--radius-pill);
    background: var(--accent);
    flex-shrink: 0;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 58px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 4px;
}

.hero-trust {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* App Mockup Preview */
.mockup-window {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.mockup-header {
    height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F1EEE6;
    border-bottom: 1px solid var(--border-light);
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: var(--radius-pill);
    background: #CFCABE;
}

.mockup-url {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #6A736F;
    font-family: monospace;
}

.mockup-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mockup-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.doc-ref {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

.doc-client {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.mockup-table {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    border-bottom: 1px solid #EDE9E0;
}

.mockup-table-row:last-child {
    border-bottom: none;
}

.mockup-table-header {
    background: var(--bg-card-subtle);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
}

.text-right {
    text-align: right;
}

.mockup-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2px;
}

.mockup-total-label {
    font-size: 13px;
    color: var(--text-subtle);
}

.mockup-total-amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.mockup-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-mock-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 6px;
    white-space: nowrap;
}

/* Features Grid */
.features-section {
    padding: 84px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin-top: 12px;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.feature-card {
    padding: 30px 28px;
    border-radius: var(--radius-md);
    background: var(--bg-card-subtle);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--text-main);
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Workflow Steps */
.workflow-section {
    padding: 84px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 2px solid var(--border-accent);
}

.step-card.active-step {
    border-top-color: var(--accent);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-main);
}

.step-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Data & Hosting */
.data-section {
    padding: 84px 0;
    background: var(--bg-accent-soft);
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-accent);
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}

.check-list {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.check-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.check-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
}

/* Pricing */
.pricing-section {
    padding: 84px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.price-sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-subtle);
}

.divider {
    height: 1px;
    background: var(--border-light);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
}

/* CTA & Contact */
.cta-section {
    padding: 80px 0;
    background: var(--accent);
    color: #FFFFFF;
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.cta-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #D3E2DE;
}

.btn-white {
    background: #FFFFFF;
    color: var(--accent) !important;
}

.btn-white:hover {
    background: #F3F1EB;
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: #B4BBB7;
    padding: 40px 0;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: #FFFFFF;
}

.footer-brand span {
    color: #8C948F;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #B4BBB7;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* Legal Content Pages (Impressum & Datenschutz) */
.legal-page {
    padding: 60px 0 80px;
    min-height: calc(100vh - 220px);
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 48px;
    box-shadow: var(--shadow-card);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
}

.legal-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 28px 0 12px;
    color: var(--text-main);
}

.legal-card p, .legal-card ul {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card li {
    margin-bottom: 6px;
}

/* Site Footer */
.site-footer {
    background: #141A17;
    border-top: 1px solid #222B27;
    padding: 54px 0 42px;
    color: #8C948F;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.footer-brand span {
    color: #8C948F;
    font-weight: 500;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}

.footer-links a {
    color: #A3ACA7;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-copy {
    font-size: 13px;
    color: #8C948F;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .cards-grid-3, .cards-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-card {
        padding: 24px 20px;
    }

    .badge {
        font-size: 12.5px;
        padding: 6px 12px;
        gap: 8px;
    }

    .footer-links {
        gap: 16px 20px;
    }
}

@media (max-width: 480px) {
    .badge {
        align-items: flex-start;
    }

    .badge-dot {
        margin-top: 5px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
