* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #f7f8fa;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    min-height: calc(100vh - 160px);
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}



/* =========================
   HEADER / NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #6f9a40;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link,
.nav-cta {
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    color: #374151;
}

.nav-link:hover {
    color: #6f9a40;
}

.nav-link.is-active {
    color: #6f9a40;
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #6f9a40;
    border-radius: 999px;
}

.nav-cta {
    background: #6f9a40;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
}

.nav-cta:hover {
    opacity: 0.92;
    color: #ffffff;
}

.nav-cta.is-active {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}



/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: #6f9a40;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.92;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-secondary:hover {
    border-color: #6f9a40;
    color: #6f9a40;
}



/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0 80px;
    background: linear-gradient(to bottom, #ffffff, #f7f8fa);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.1;
    color: #111827;
}

.hero p {
    margin: 0 0 24px;
    max-width: 700px;
    font-size: 18px;
    color: #4b5563;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.hero-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    color: #111827;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
}



/* =========================
   CONTENT SECTIONS
========================= */

.section {
    padding: 70px 0;
}

.section h2 {
    margin: 0 0 14px;
    font-size: 34px;
    color: #111827;
}

.section p {
    margin: 0;
    font-size: 17px;
    color: #4b5563;
}

.section-soft {
    background: #f1f5ef;
}



/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
    color: #111827;
}

.feature-card p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
}



/* =========================
   STEPS
========================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #dfe7d7;
    border-radius: 18px;
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #6f9a40;
    color: #ffffff;
    font-weight: 700;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #111827;
}

.step-card p {
    margin: 0;
    font-size: 15px;
    color: #4b5563;
}



/* =========================
   CTA BOX
========================= */

.cta-section {
    padding-top: 20px;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.cta-box h2 {
    margin: 0 0 10px;
}

.cta-box p {
    margin: 0;
    max-width: 700px;
}



/* =========================
   FORMS
========================= */

.form-wrap {
    max-width: 900px;
}

.form-intro {
    margin-bottom: 26px;
}

.form-intro h1,
.legal-wrap h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    color: #111827;
}

.form-intro p,
.legal-wrap p {
    margin: 0;
    font-size: 17px;
    color: #4b5563;
}

.site-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #6f9a40;
    box-shadow: 0 0 0 3px rgba(111, 154, 64, 0.12);
}

.field-error {
    margin-top: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #b42318;
}



/* =========================
   ALERTS
========================= */

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

.alert-success {
    background: #eef6e8;
    border: 1px solid #cfe3bf;
    color: #446127;
}

.alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #b42318;
}



/* =========================
   LEGAL
========================= */

.legal-wrap {
    max-width: 900px;
}



/* =========================
   ADMIN
========================= */

.admin-wrap {
    max-width: 1400px;
}

.admin-head {
    margin-bottom: 24px;
}

.admin-head h1 {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 1.1;
    color: #111827;
}

.admin-head p {
    margin: 0;
    font-size: 17px;
    color: #4b5563;
}

.admin-head-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.table-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
    text-align: left;
    font-size: 14px;
}

.admin-table th {
    background: #f8fafc;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.admin-table td {
    color: #111827;
}

.admin-table tr:hover td {
    background: #fafcf8;
}

.message-cell {
    min-width: 280px;
    max-width: 420px;
    color: #4b5563;
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.badge-demo {
    background: #eef6e8;
    color: #446127;
}

.badge-kontakt {
    background: #eef2ff;
    color: #3746a3;
}



/* =========================
   FOOTER
========================= */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a:hover {
    color: #6f9a40;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .main-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        padding: 26px;
    }
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-intro h1,
    .legal-wrap h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-sub {
    margin: 4px 0 10px;
    font-size: 14px;
    color: #6b7280;
}

.pricing-note {
    font-size: 14px;
    font-weight: 600;
    color: #6f9a40;
}

.pricing-card-highlight {
    position: relative;
    border: 2px solid #6f9a40;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6f9a40;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

@media (max-width: 700px) {
    .pricing-card-highlight {
        transform: none;
    }
}

.pricing-sub {
    margin: 4px 0 10px;
    font-size: 14px;
    color: #6b7280;
}

.pricing-note {
    font-size: 14px;
    font-weight: 600;
    color: #6f9a40;
}

.pricing-card-highlight {
    position: relative;
    border: 2px solid #6f9a40;
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #6f9a40;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

@media (max-width: 700px) {
    .pricing-card-highlight {
        transform: none;
    }
}

.logo img {
    height: 60px;
}