/* ═══════════════════════════════════════════════════════
   Tagespilot – Landingpage Design System
   Modern, high-contrast, coastal-inspired
   ═══════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --brand:        #0891b2;   /* cyan-600 */
  --brand-dark:   #0e7490;   /* cyan-700 */
  --brand-deeper: #164e63;   /* cyan-900 */
  --brand-light:  #cffafe;   /* cyan-100 */
  --brand-bg:     #ecfeff;   /* cyan-50  */

  /* Accent */
  --accent:       #f59e0b;   /* amber-500 */
  --accent-bg:    #fef3c7;   /* amber-100 */
  --accent-text:  #78350f;   /* amber-900 */

  /* Backgrounds */
  --page-bg:      #f8fafc;   /* slate-50  */
  --card-bg:      #ffffff;
  --hero-from:    #0f172a;   /* slate-900 */
  --hero-to:      #0c4a6e;   /* sky-900   */

  /* Borders */
  --border:       #e2e8f0;   /* slate-200 */
  --border-strong:#cbd5e1;   /* slate-300 */

  /* Text */
  --heading:      #0f172a;   /* slate-900 */
  --body:         #334155;   /* slate-700 */
  --muted:        #64748b;   /* slate-500 */

  /* Status (for demo reports) */
  --high:         #dc2626;
  --high-bg:      #fef2f2;
  --high-border:  #fecaca;
  --medium:       #d97706;
  --medium-bg:    #fffbeb;
  --medium-border:#fde68a;
  --low:          #16a34a;
  --low-bg:       #f0fdf4;
  --low-border:   #bbf7d0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Shell ──────────────────────────────────────────────── */

.lp-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ────────────────────────────────────────────────── */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.lp-nav .lp-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.lp-logo span {
  color: var(--brand-light);
}

.lp-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: var(--brand);
  border-radius: 8px;
  padding: 8px 18px;
  transition: background 0.15s;
}

.lp-nav-link:hover { background: var(--brand-dark); }

/* ── Hero ───────────────────────────────────────────────── */

.lp-hero {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(8,145,178,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(14,116,144,0.12) 0%, transparent 70%);
}

.lp-hero .lp-shell { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,145,178,0.18);
  border: 1px solid rgba(8,145,178,0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  flex-shrink: 0;
}

.lp-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
  max-width: 700px;
}

.lp-hero h1 em {
  font-style: normal;
  color: var(--brand-light);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--brand);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(8,145,178,0.4);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8,145,178,0.45);
}

.btn-secondary {
  display: inline-block;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
}

/* ── Sections ───────────────────────────────────────────── */

.lp-section {
  padding: 72px 0;
}

.lp-section--alt {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section--dark {
  background: var(--hero-from);
  color: #ffffff;
}

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  margin: 0 0 40px;
  line-height: 1.2;
}

.lp-section--dark .section-title {
  color: #ffffff;
}

/* ── Grids ──────────────────────────────────────────────── */

.three-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* ── Problem cards ──────────────────────────────────────── */

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--high);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.problem-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Solution cards ─────────────────────────────────────── */

.solution-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.04);
}

.solution-card .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand-bg);
  color: var(--brand-dark);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.solution-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.solution-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Audience cards ─────────────────────────────────────── */

.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.audience-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.audience-badge {
  display: inline-block;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.audience-badge--ferienwohnung {
  background: var(--brand-bg);
  color: var(--brand-deeper);
}

.audience-badge--handwerk {
  background: var(--accent-bg);
  color: var(--accent-text);
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.audience-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audience-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.5;
}

.audience-card ul li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--brand-bg);
  color: var(--brand-dark);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 2px;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 8px 14px;
  background: var(--brand-bg);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.demo-link:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* ── Trust row ──────────────────────────────────────────── */

.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 36px 24px;
  background: var(--card-bg);
}

.trust-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 180px;
  line-height: 1.4;
}

/* ── Form ───────────────────────────────────────────────── */

.form-outer {
  max-width: 640px;
}

.form-header {
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.form-header p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
}

.form-group input,
.form-group select {
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--heading);
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.14);
}

.btn-submit {
  align-self: flex-start;
  background: var(--brand);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(8,145,178,0.35);
}

.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8,145,178,0.4);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status--success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ── Footer ─────────────────────────────────────────────── */

.lp-footer {
  background: var(--hero-from);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.lp-footer .lp-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ── Demo-Report specific ───────────────────────────────── */

.demo-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.demo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
  padding: 8px 0;
  transition: gap 0.15s;
}

.demo-back:hover { gap: 10px; }

.demo-context {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.demo-context-item {
  flex: 1 1 140px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}

.demo-context-item:last-child { border-right: none; }

.demo-context-item strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.demo-context-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
}

/* Priority items – replaced daily-report.css for demo pages */
.report-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.report-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

.report-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.report-summary {
  background: var(--brand-bg);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--heading);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.report-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.priority-list-new {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.priority-item-new {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.priority-item-new--high {
  border-color: var(--high-border);
  background: var(--high-bg);
}

.priority-item-new--medium {
  border-color: var(--medium-border);
  background: var(--medium-bg);
}

.priority-item-new--low {
  border-color: var(--low-border);
  background: var(--low-bg);
}

.priority-item-inner {
  padding: 16px 18px;
}

.priority-chip-new {
  display: inline-block;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.priority-chip-new--high   { background: var(--high);   color: #ffffff; }
.priority-chip-new--medium { background: var(--medium); color: #ffffff; }
.priority-chip-new--low    { background: var(--low);    color: #ffffff; }

.priority-title-new {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 6px;
  line-height: 1.35;
}

.priority-reason-new {
  font-size: 0.875rem;
  color: var(--body);
  margin: 0 0 10px;
  line-height: 1.5;
}

.priority-action-new {
  font-size: 0.85rem;
  color: var(--heading);
  font-weight: 600;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.priority-action-new span {
  color: var(--muted);
  font-weight: 400;
}

.report-two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.report-box {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.report-box h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 10px;
}

.report-box ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.report-box ul li {
  font-size: 0.875rem;
  color: var(--body);
  line-height: 1.45;
}

.report-sources {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.report-sources h3 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
}

.report-sources ul {
  margin: 0;
  padding-left: 1.1rem;
}

.report-sources ul li {
  font-size: 0.875rem;
  color: var(--body);
  margin-bottom: 4px;
}

.missing-source {
  margin-top: 8px;
  font-size: 0.825rem;
  color: var(--medium);
  font-style: italic;
}

.demo-cta-box {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.demo-cta-box p {
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.btn-primary-light {
  display: inline-block;
  text-decoration: none;
  background: #ffffff;
  color: var(--brand-dark);
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.15s;
}

.btn-primary-light:hover { opacity: 0.9; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 680px) {
  .lp-hero { padding: 56px 0 48px; }

  .lp-hero h1 { font-size: 2rem; }

  .hero-sub { font-size: 1rem; }

  .form-row { grid-template-columns: 1fr; }

  .btn-submit { width: 100%; text-align: center; }

  .report-two-grid { grid-template-columns: 1fr; }

  .demo-context-item { border-right: none; border-bottom: 1px solid var(--border); }
  .demo-context-item:last-child { border-bottom: none; }
}
