/* ═══════════════════════════════════════════════════════════════════════════
   LS Zeiterfassung — Landingpage
   Brand-Variablen passen zur Hauptseite lsnrw.de
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --primary:        #1a2744;
  --primary-dark:   #111c30;
  --primary-light:  #263660;
  --accent:         #e8a020;
  --accent-dark:    #c78515;
  --accent-light:   rgba(232, 160, 32, 0.12);
  --bg-light:       #f6f8fc;
  --border:         #e2e8f0;
  --text:           #2c3e50;
  --muted:          #5b6c80;
  --white:          #ffffff;
  --shadow-sm:      0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow:         0 6px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg:      0 16px 56px rgba(0, 0, 0, 0.14);
  --radius:         10px;
  --ease:           all 0.28s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p  { color: var(--muted); margin-bottom: 1rem; }
a  { color: var(--accent); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--accent-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Skip-Link für Accessibility ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ─── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--primary); font-weight: 700; }
.nav-brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px circle at 100% 0%, rgba(232, 160, 32, 0.15), transparent),
    radial-gradient(600px circle at 0% 100%, rgba(232, 160, 32, 0.08), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 160, 32, 0.3);
}
.hero h1 { color: var(--white); }
.hero h1 .highlight { color: var(--accent); }
.hero p.lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin: 16px 0 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--ease);
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

/* In Preise-Karten (heller Hintergrund) brauchen wir einen dunklen Secondary-Button */
.price-card .btn-secondary {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}
.price-card .btn-secondary:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ─── iPhone-Frame ────────────────────────────────────────────────────── */
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 1206 / 2622;
  background: #0a0e1a;
  border-radius: 38px;
  padding: 11px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.2),
    inset 0 0 0 2px #1f2937;
  overflow: hidden;
}
.phone-frame::before {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}
.phone-frame-sm { width: 220px; }
.phone-frame-xs { width: 170px; }
@media (max-width: 700px) {
  .phone-frame { width: 240px; }
}

/* ─── Section-Basics ───────────────────────────────────────────────────── */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ─── Feature-Grid ─────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: 0.95rem; margin: 0; }

/* ─── Preise ───────────────────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}

/* 3-Tier-Layout (Standard / Plus / Premium) */
.pricing.pricing-tiers {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .pricing.pricing-tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.price-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
/* "Empfohlen"-Card (Plus) hervorgehoben */
.price-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.25);
  transform: scale(1.03);
}
@media (max-width: 960px) {
  .price-card-featured {
    transform: none;
  }
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.price-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto 8px;
}
.price-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 4px 0 0;
  font-weight: 600;
}
.price-value { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 20px 0 4px; flex-wrap: wrap; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-unit { color: var(--muted); font-size: 0.82rem; }
.price-tax { font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; }
.price-list { list-style: none; text-align: left; margin: 16px 0 24px; padding: 0; flex-grow: 1; }
.price-list li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}
.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Hinweis-Text unter den 3 Karten */
.pricing-note {
  max-width: 880px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ─── Screenshots-Galerie ──────────────────────────────────────────────── */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
  justify-items: center;
}
.screenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.screenshot-caption {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

/* ─── Multiplattform-Sektion ───────────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.platform-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.platform-phone {
  position: absolute;
  bottom: -10px;
  right: 6%;
  z-index: 2;
  transform: rotate(4deg);
}
@media (max-width: 900px) {
  .platform-phone {
    position: static;
    margin-top: 20px;
    transform: none;
  }
}
.platform-text h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin: 0 0 18px;
}
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.platform-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.platform-list strong {
  color: var(--text);
  font-weight: 700;
}
.platform-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
  border-radius: 8px;
  font-size: 1.3rem;
}

/* ─── Laptop-Frame (MacBook-Style) ─────────────────────────────────────── */
.laptop-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
}
.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0a0e1a;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px #1f2937;
  border: 3px solid #2a2f3a;
}
.laptop-screen::before {
  /* Mini-Webcam-Dot */
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: #555;
  border-radius: 50%;
  transform: translateX(-50%);
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  display: block;
}
.laptop-base {
  width: 110%;
  height: 16px;
  background: linear-gradient(180deg, #c0c4cc 0%, #8a8d96 100%);
  /* Untere Kante stärker abgerundet, obere Kante leicht (durchgehende Form) */
  border-radius: 4px 4px 16px 16px / 4px 4px 60px 60px;
  /* Schräg nach links/rechts ragend wie die echte Aluminium-Base */
  margin: -3px auto 0;
  position: relative;
  /* Die Griffmulde liegt INNEN am oberen Rand der Base */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Subtiler Schatten an der Kante zum Bildschirm */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}
.laptop-notch {
  width: 18%;
  height: 5px;
  /* Dunkler als die Base — wie die echte Mac-Griffmulde */
  background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
  /* Nur die unteren Ecken abrunden — die Mulde zeigt nach UNTEN in die Base */
  border-radius: 0 0 6px 6px;
  margin-top: 0;
}

/* ─── Kontakt ──────────────────────────────────────────────────────────── */
.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.contact-cta h2 { color: var(--white); }
.contact-cta p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 16px auto 32px; }

/* ─── Kontaktformular ──────────────────────────────────────────────────── */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.form-field .req { color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-field textarea { resize: vertical; min-height: 96px; }

/* Honeypot — komplett unsichtbar (für Bots, nicht für Menschen/Screen-Reader) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 400 !important;
  color: var(--text) !important;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.checkbox-label a { color: var(--accent); text-decoration: underline; }

.form-consent { margin-bottom: 24px; }

/* AVV-Hinweis über dem Kontaktformular */
.avv-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 28px 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.avv-notice-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.avv-notice strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.avv-notice p {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.avv-notice a {
  color: var(--accent);
  text-decoration: underline;
  white-space: nowrap;
}

/* Kleiner Hinweis-Text unter dem Preis-CTA */
.price-note {
  margin: 14px 0 0 0;
  font-size: 0.82rem;
  color: var(--text-muted, #6b7280);
  text-align: center;
  line-height: 1.45;
}

.form-status {
  margin: 16px 0;
  padding: 0;
  font-size: 0.95rem;
}
.form-status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #22c55e;
}
.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #ef4444;
}

#cf-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
#cf-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-alt {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 0;
}
.form-alt a { color: var(--accent); font-weight: 600; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer ul a:hover { color: var(--accent); }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
