/* /var/www/easy4time-website/public/assets/site.css */

:root {
    --bg-body: #0b1120;
    --bg-elevated: #020617;
    --bg-card: #020617;
    --bg-card-alt: #020816;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --accent-strong: #0ea5e9;
    --accent-contrast: #0f172a;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-strong: #f9fafb;
    --border-subtle: #1e293b;
    --danger: #ef4444;
    --success: #22c55e;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.75);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
}

/* Base */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #020617 100%);
    color: var(--text-main);
    min-height: 100vh;
}

/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(circle at 20% 0, #38bdf8, #0369a1 40%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4),
                0 10px 30px rgba(15, 23, 42, 0.9);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--text-strong);
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), #a855f7);
    border-radius: 999px;
    transition: width 0.18s ease-out;
}

.main-nav a:hover {
    color: var(--text-strong);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    gap: 0.6rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--accent-contrast);
    box-shadow: 0 10px 35px rgba(8, 145, 178, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(8, 145, 178, 0.55);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--text-strong);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text-main);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text-strong);
    background: rgba(15, 23, 42, 0.6);
}

.btn-neutral {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.4);
}

.btn-big {
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
}

.btn-fluid {
    width: 100%;
}

/* Hero */

.hero {
    padding: 2.8rem 0 2.4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: stretch;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--text-strong);
}

.hero-highlight {
    display: block;
    margin-top: 0.2rem;
    background: linear-gradient(to right, #38bdf8, #a855f7, #f97316);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-sub {
    margin: 0 0 1.4rem;
    color: var(--text-main);
    font-size: 0.98rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.hero-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-dashboard {
    width: 100%;
    max-width: 420px;
    background: radial-gradient(circle at -10% 0, rgba(56, 189, 248, 0.2), transparent 45%),
                radial-gradient(circle at 110% 40%, rgba(168, 85, 247, 0.18), transparent 45%),
                rgba(15, 23, 42, 0.96);
    border-radius: 22px;
    padding: 1.2rem 1.4rem 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-soft);
}

.hero-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-pill {
    font-size: 0.72rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--text-main);
}

.hero-user {
    font-size: 0.85rem;
    color: var(--text-main);
}

.hero-kpis {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero-kpi {
    background: rgba(15, 23, 42, 0.93);
    border-radius: 16px;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
}

.hero-kpi-label {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.hero-kpi-value {
    display: block;
    margin: 0.1rem 0;
    font-size: 1.3rem;
    font-weight: 650;
}

.hero-kpi-pos {
    color: var(--success);
}

.hero-kpi-hint {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.hero-actions-inline {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.hero-list {
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px dashed rgba(148, 163, 184, 0.55);
    padding: 0.7rem 0.8rem;
}

.hero-list-title {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-list ul {
    margin: 0;
    padding-left: 1rem;
    font-size: 0.82rem;
    color: var(--text-main);
}

/* Sections */

.section {
    padding: 2.6rem 0 2.4rem;
}

.section-alt {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.1), transparent 50%),
                rgba(15, 23, 42, 0.98);
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    color: var(--text-strong);
}

.section-intro {
    max-width: 40rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 1.6rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.05rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.5);
}

.card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.card p {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.card-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
}

.card-list li::before {
    content: "•";
    position: absolute;
    left: 0.3rem;
    color: var(--accent);
}

/* Module cards */

.card-module {
    position: relative;
    background: var(--bg-card-alt);
    padding: 1.8rem 1.9rem 2.1rem;   /* mehr Luft */
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    line-height: 1.6;                /* Text lockerer */
}

/* Überschrift in der Karte */
.card-module h3 {
    margin-bottom: 0.75rem;
}

/* Fließtext im Modul */
.card-module p {
    margin: 0.3rem 0 0.7rem;
    font-size: 0.95rem;
}

/* Listen innen entzerren */
.card-module ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.card-module li {
    margin-bottom: 0.25rem;
}

/* Badge oben rechts */

.module-label {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.module-label-soon {
    background: rgba(147, 51, 234, 0.15);
    color: #c4b5fd;
}

.module-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.pricing-card {
    text-align: left;
}

.pricing-card h3 {
    margin-bottom: 0.4rem;
}

.pricing-price {
    font-size: 1.4rem;
    font-weight: 650;
    margin: 0.2rem 0 0.2rem;
}

.pricing-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-note {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0 0 0.8rem;
}

.pricing-card-highlight {
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 24px 60px rgba(8, 145, 178, 0.45);
}

.pricing-footer {
    margin-top: 1rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Kontakt */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.6rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.contact-list li {
    margin-bottom: 0.35rem;
}

.contact-meta {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.contact-meta a {
    color: var(--accent);
    text-decoration: none;
}

.contact-meta a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.65rem;
}

.form-row label {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.45rem 0.6rem;
    background: rgba(15, 23, 42, 0.98);
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.form-row textarea {
    resize: vertical;
    min-height: 90px;
}

.form-hint {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    background: #020617;
    padding: 1rem 0 1.1rem;
    margin-top: 1rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-inner a {
    color: var(--accent);
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none; /* bei Bedarf später Mobile-Menü */
    }
}

@media (max-width: 840px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-cta {
        margin-left: auto;
    }

    .hero {
        padding-top: 2rem;
    }
}
