/* =====================================================================
   landing-v1.css — Landing V1 (Live Demo Hero)
   Wird zusätzlich zu /assets/css/design.css geladen.
   ===================================================================== */

/* Navigation */
.lp-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    padding: 0 var(--space-6); height: 68px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), background var(--transition-base);
}
.lp-nav.scrolled { border-color: var(--border-light); background: rgba(255,255,255,.95); }
.lp-logo {
    font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl);
    color: var(--brand-deep); letter-spacing: -0.02em;
    display: flex; align-items: center; gap: var(--space-2);
}
.lp-logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-primary); animation: pulse-glow 2.4s ease-in-out infinite; }
.lp-nav-right { display: flex; align-items: center; gap: var(--space-3); }

/* DE/EN toggle */
.lp-lang {
    display: inline-flex; align-items: center;
    background: var(--bg-surface-2); border: 1px solid var(--border-light);
    border-radius: var(--radius-pill); padding: 3px;
    font-family: var(--font-mono); font-size: 11px;
}
.lp-lang button {
    border: none; background: transparent; cursor: pointer;
    padding: 4px 11px; border-radius: var(--radius-pill);
    color: var(--text-muted); font-family: inherit; font-size: inherit; font-weight: 500;
    letter-spacing: 0.06em; transition: all .15s;
}
.lp-lang button.active { background: var(--brand-deep); color: #fff; }

/* Hero */
.hero {
    padding: 100px var(--space-6) 56px;
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: var(--space-12); align-items: center;
    max-width: var(--container-max); margin-inline: auto;
}
.hero-head h1 {
    font-family: var(--font-heading); font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.04; letter-spacing: -0.035em;
    margin: var(--space-4) 0 var(--space-4);
}
.hero-head h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-deep));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-2);
    padding: 5px 13px; background: var(--bg-surface-2);
    border: 1px solid var(--border-light); border-radius: var(--radius-pill);
    font-size: var(--text-xs); font-weight: 500; color: var(--brand-deep);
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-primary); }
.hero-head p { font-size: var(--text-lg); line-height: 1.55; color: var(--text-muted); max-width: 480px; margin-bottom: var(--space-6); }
.hero-ctas { display: flex; gap: var(--space-3); align-items: center; }
.hero-mini-note {
    margin-top: var(--space-4); display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-muted); font-family: var(--font-mono);
}
.hero-mini-note::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(64,224,208,.18); animation: pulse-glow 2s infinite;
}

/* Demo card */
.demo {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl); background: #fff;
    box-shadow: 0 24px 60px rgba(0,134,139,.18), 0 2px 8px rgba(0,134,139,.06);
    overflow: hidden;
}
.demo-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-light); }
.demo-url {
    font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
    background: #fff; padding: 4px 12px; border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
}
.demo-live {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    color: #166534; letter-spacing: 0.08em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
}
.demo-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: pulse-glow 1.4s infinite; }

.demo-tabs {
    display: flex; gap: 4px; padding: 12px 14px 0;
    border-bottom: 1px solid var(--border-light); background: #fff;
}
.demo-tab {
    background: none; border: none; cursor: pointer;
    padding: 11px 14px; font-family: var(--font-body); font-size: 13px;
    font-weight: 500; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color .15s, border-color .15s;
    display: inline-flex; align-items: center; gap: 7px;
}
.demo-tab:hover { color: var(--text-primary); }
.demo-tab.active { color: var(--brand-deep); border-bottom-color: var(--brand-deep); font-weight: 600; }
.demo-tab svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.demo-pane { padding: 28px 24px 24px; min-height: 360px; }

/* === Stempeluhr Tab === */
.clock-grid { display: grid; grid-template-columns: 1fr 200px; gap: var(--space-6); }
.clock-main {
    display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
    padding: 18px 12px; background: var(--bg-surface);
    border-radius: var(--radius-lg); border: 1px solid var(--border-light);
}
.clock-now { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--text-primary); letter-spacing: 0.05em; }
.clock-date { font-size: 12px; color: var(--text-muted); }
.state-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 13px; border-radius: var(--radius-pill);
    font-size: 12px; font-weight: 500; border: 1px solid;
}
.state-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state-idle  { background: var(--bg-surface-2); color: var(--text-muted); border-color: var(--border-light); }
.state-work  { background: #f0fdf4; color: #166534; border-color: #86efac; }
.state-work .dot { animation: pulse-glow 1.6s infinite; }
.state-pause { background: #fefce8; color: #854d0e; border-color: #fde68a; }
.work-timer {
    font-family: var(--font-mono); font-size: 44px; font-weight: 500;
    letter-spacing: 0.06em; line-height: 1; color: var(--brand-deep);
}
.work-timer.idle { color: var(--text-muted); font-size: 28px; opacity: .55; }
.work-timer.paused { color: var(--brand-dark); }
.clock-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.demo-btn {
    border: none; cursor: pointer; padding: 10px 18px;
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    border-radius: var(--radius-md); transition: all .15s;
    display: inline-flex; align-items: center; gap: 6px;
}
.demo-btn:hover { transform: translateY(-1px); }
.demo-btn-start  { background: var(--brand-deep); color: #fff; box-shadow: 0 4px 14px rgba(0,134,139,.32); padding: 12px 24px; font-size: 14px; }
.demo-btn-start:hover { background: var(--brand-dark); }
.demo-btn-pause  { background: var(--bg-surface); color: var(--brand-deep); border: 1.5px solid var(--brand-dark); }
.demo-btn-resume { background: var(--brand-deep); color: #fff; }
.demo-btn-end    { background: #fff; color: #dc2626; border: 1.5px solid #fca5a5; }
.demo-btn-end:hover { background: #fef2f2; }
.arbzg-hint { font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

.clock-side { display: flex; flex-direction: column; gap: 10px; }
.side-card { background: var(--bg-page); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 12px; }
.side-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.side-title { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }
.side-val { font-family: var(--font-mono); font-size: 13px; color: var(--brand-deep); font-weight: 500; }
.week-bars { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; align-items: end; height: 48px; }
.week-col { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; }
.week-bar-bg { width: 100%; flex: 1; display: flex; align-items: flex-end; }
.week-bar { width: 100%; background: var(--bg-surface-2); border-radius: 3px 3px 0 0; min-height: 3px; }
.week-bar.today { background: var(--brand-primary); }
.week-bar.fut { background: var(--border-light); }
.week-lbl { font-size: 9px; color: var(--text-muted); font-weight: 500; }
.week-lbl.today { color: var(--brand-deep); font-weight: 700; }

/* === Urlaub Tab === */
.vac-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); }
.vac-cal {
    background: var(--bg-surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 14px;
}
.vac-monthhdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding: 0 4px; }
.vac-monthhdr h4 { font-family: var(--font-heading); font-size: 13px; font-weight: 700; }
.vac-monthhdr button { border: none; background: transparent; color: var(--text-muted); cursor: pointer; padding: 4px 8px; font-size: 14px; border-radius: 6px; }
.vac-monthhdr button:hover { background: rgba(0,0,0,.05); color: var(--text-primary); }
.vac-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.vac-headcell { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: .08em; padding-bottom: 4px; }
.vac-day {
    text-align: center; font-family: var(--font-mono); font-size: 11px;
    padding: 7px 0; border-radius: 6px; cursor: pointer;
    color: var(--text-primary); transition: background .12s;
    position: relative;
}
.vac-day.muted { opacity: .35; cursor: default; }
.vac-day.weekend { color: var(--text-muted); }
.vac-day.holiday { color: #b45309; }
.vac-day.holiday::after { content: '*'; position: absolute; top: 0; right: 4px; color: #b45309; }
.vac-day:not(.muted):hover { background: var(--bg-surface-2); }
.vac-day.in-range { background: rgba(64,224,208,.22); color: var(--brand-deep); font-weight: 600; }
.vac-day.range-start, .vac-day.range-end { background: var(--brand-deep); color: #fff; font-weight: 700; }

.vac-form { display: flex; flex-direction: column; gap: 14px; }
.vac-balance {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
    color: #fff; padding: 16px 18px; border-radius: var(--radius-lg);
}
.vac-balance-lbl { font-size: 11px; opacity: .78; letter-spacing: .1em; text-transform: uppercase; }
.vac-balance-val { font-family: var(--font-mono); font-size: 32px; font-weight: 500; line-height: 1; margin-top: 4px; }
.vac-balance-val small { font-size: 14px; opacity: .7; }
.vac-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vac-field { background: #fff; border: 1.5px solid var(--border-light); border-radius: var(--radius-md); padding: 10px 12px; }
.vac-field-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.vac-field-val { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--text-primary); margin-top: 2px; }
.vac-calc {
    background: var(--bg-surface); padding: 12px 14px;
    border-radius: var(--radius-md); border: 1px solid var(--border-light);
    font-size: 12px; color: var(--text-muted); line-height: 1.5;
}
.vac-calc strong { color: var(--brand-deep); font-family: var(--font-mono); }
.vac-success {
    background: #f0fdf4; border: 1px solid #86efac; color: #166534;
    padding: 12px 14px; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px;
}
.vac-submit { width: 100%; justify-content: center; }
.vac-submit:disabled { opacity: .55; cursor: not-allowed; }

/* === Team Tab === */
.team-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.team-stat { padding: 10px 12px; border-radius: var(--radius-md); border: 1px solid var(--border-light); background: #fff; }
.team-stat-n { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--brand-deep); line-height: 1; }
.team-stat-l { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.team-list { display: flex; flex-direction: column; }
.team-row {
    display: grid; grid-template-columns: 36px 1fr auto auto; gap: 12px;
    align-items: center; padding: 10px 4px;
    border-bottom: 1px solid var(--border-light);
}
.team-row:last-child { border-bottom: none; }
.team-av {
    width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-heading); font-weight: 700; font-size: 12px;
    color: #fff;
}
.team-name { font-size: 13px; font-weight: 500; }
.team-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.team-pill { font-size: 10px; padding: 3px 9px; border-radius: var(--radius-pill); font-weight: 600; }
.team-pill.work  { background: #f0fdf4; color: #166534; }
.team-pill.pause { background: #fefce8; color: #854d0e; }
.team-pill.off   { background: var(--bg-surface-2); color: var(--text-muted); }
.team-pill.vac   { background: #fef3e7; color: #c2410c; }
.team-hours { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* Trust bar */
.trust { background: var(--bg-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: var(--space-6) 0; }
.trust-inner { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-6); display: flex; justify-content: center; gap: var(--space-12); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); }
.trust-icon { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--bg-page); border: 1px solid var(--border-light); display: grid; place-items: center; flex-shrink: 0; }
.trust-icon svg { width: 18px; height: 18px; stroke: var(--brand-deep); fill: none; }

/* CTA band */
.cta-band {
    padding: var(--space-16) var(--space-6); background: var(--bg-surface);
    border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
    text-align: center;
}
.cta-band h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); font-size: var(--text-base); margin-bottom: var(--space-6); }

/* Registration */
.register-section { padding: var(--space-24) 0; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-6); display: grid; grid-template-columns: 1fr 420px; gap: var(--space-12); align-items: start; }
.section-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: var(--space-3); }
.section-headline { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.section-sub { font-size: var(--text-lg); color: var(--text-muted); max-width: 540px; margin-bottom: var(--space-12); line-height: 1.7; }
.register-card { background: var(--bg-page); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-lg); }
.register-card h2 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.register-card .subtitle { color: var(--text-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.register-submit { width: 100%; margin-top: var(--space-6); justify-content: center; }
.register-hint { font-size: var(--text-xs); color: var(--text-muted); text-align: center; margin-top: var(--space-4); }

/* Success */
.success-box { text-align: center; padding: var(--space-8); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-surface-2); display: grid; place-items: center; margin: 0 auto var(--space-6); }
.success-icon svg { width: 36px; height: 36px; stroke: var(--brand-deep); fill: none; }
.success-box h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.success-box p { color: var(--text-muted); line-height: 1.7; }

/* Footer */
.lp-footer { background: var(--brand-deep); color: var(--text-on-dark); padding: var(--space-12) 0 var(--space-8); }
.footer-inner { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-6); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-12); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: var(--space-6); }
.footer-logo { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-xl); color: #fff; margin-bottom: var(--space-3); }
.footer-tagline { color: rgba(255,255,255,.55); font-size: var(--text-sm); line-height: 1.7; }
.footer-col h4 { font-size: var(--text-sm); font-weight: 600; color: #fff; margin-bottom: var(--space-4); }
.footer-col a { display: block; font-size: var(--text-sm); color: rgba(255,255,255,.55); margin-bottom: var(--space-2); transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--brand-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); color: rgba(255,255,255,.4); flex-wrap: wrap; gap: var(--space-4); }
.footer-badges { display: flex; gap: var(--space-3); }
.footer-badge { padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.15); font-size: 11px; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 90px; }
    .clock-grid { grid-template-columns: 1fr; }
    .vac-grid { grid-template-columns: 1fr; }
    .register-section { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
    .form-row { grid-template-columns: 1fr; }
    .team-stats { grid-template-columns: repeat(2, 1fr); }
    .trust-inner { gap: var(--space-6); }
}
