﻿/* ============================================================
   smarte-jobsuche.de – Deep Green Design
   Primary: #0E3B2E  |  Accent: #10B981  |  Paper: #F5F2EC
   ============================================================ */

:root {
  --primary:      #0E3B2E;
  --accent:       #10B981;
  --purple:       #10B981;   /* accent alias – used throughout */
  --blue:         #0E3B2E;   /* primary alias – used throughout */
  --gradient:     linear-gradient(135deg, #0E3B2E 0%, #10B981 100%);
  --bg:           #F5F2EC;
  --bg-secondary: #EDE9E1;
  --bg-card:      #FFFFFF;
  --border-light: rgba(14,59,46,.11);
  --white:        #0B1F19;   /* ink – primary heading/text color */
  --text:         #0B1F19;
  --text-light:   #2D5044;
  --text-muted:   #6B8C80;
  --success:      #10B981;
  --warning:      #d97706;
  --error:        #dc2626;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(14,59,46,.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 { color: var(--white); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--text-light); }
a  { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none;
  font-family: inherit;
}
.btn-primary  { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover  { opacity: .88; transform: translateY(-1px); color: #fff; }
.btn-outline  { background: #fff; color: var(--white); border: 1.5px solid rgba(14,59,46,.18); box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.btn-outline:hover  { border-color: var(--accent); background: rgba(16,185,129,.06); color: var(--primary); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(14,59,46,.05);
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,242,236,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 8px rgba(14,59,46,.06);
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 72px; gap: 32px;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-nav  { list-style: none; display: flex; gap: 4px; flex: 1; justify-content: center; }
.navbar-nav a {
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; transition: all .2s; text-decoration: none;
}
.navbar-nav a:hover { color: var(--white); background: rgba(14,59,46,.06); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: 0; right: 0; width: 260px; height: 100vh;
  background: var(--bg-card); border-left: 1px solid var(--border-light);
  padding: 56px 24px 24px; z-index: 200;
  box-shadow: -8px 0 32px rgba(0,0,0,.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text); padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.mobile-nav a:hover { background: rgba(14,59,46,.05); }
.mobile-nav-close { position: absolute; top: 16px; right: 20px; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px; text-align: center;
  background: linear-gradient(160deg, #E5F0EC 0%, #EEF0E8 50%, #F5F2EC 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.10); border: 1px solid rgba(16,185,129,.30);
  color: var(--primary); padding: 6px 16px; border-radius: 100px;
  font-size: .85rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Hero Split (2-column) ── */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-split .hero-left { text-align: left; }
.hero-split .hero-left p { margin-left: 0; margin-right: 0; max-width: none; }
.hero-split .hero-left .hero-cta { justify-content: flex-start; }
.hero-split .hero-left .stats-bar { justify-content: flex-start; }

/* ── Job Score Report Card ── */
.report-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px 32px;
  box-shadow: 0 8px 48px rgba(14,59,46,.13);
}
.report-header {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.report-pulse {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
  animation: repPulse 2s ease-in-out infinite;
}
@keyframes repPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.report-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 24px;
}
.report-stat { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.report-stat-val { font-size: 1.65rem; font-weight: 800; color: var(--white); line-height: 1; }
.report-stat-val small { font-size: .85rem; font-weight: 600; }
.report-stat-lbl { font-size: .7rem; color: var(--text-muted); margin-top: 5px; }
.score-dist-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: 12px;
}
.score-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.score-bar-lbl { font-size: .7rem; color: var(--text-muted); width: 48px; flex-shrink: 0; }
.score-bar-track {
  flex: 1; height: 7px; background: rgba(14,59,46,.08);
  border-radius: 100px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 100px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.4,0,.2,1);
}
.report-card.visible .score-bar-fill { transform: scaleX(1); }
.score-bar-n { font-size: .7rem; color: var(--text-muted); width: 28px; text-align: right; flex-shrink: 0; }
.report-footer {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 8px;
  font-size: .7rem; color: var(--text-muted);
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-split .hero-left { text-align: center; }
  .hero-split .hero-left p { margin: 0 auto 36px; max-width: 560px; }
  .hero-split .hero-left .hero-cta { justify-content: center; }
  .hero-split .hero-left .stats-bar { justify-content: center; }
  .report-card { max-width: 480px; margin: 0 auto; }
}

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 2px 10px rgba(14,59,46,.04);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(16,185,129,.12); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; background: rgba(16,185,129,.10); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon i { font-size: 1.25rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.feature-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 36px; position: relative;
  box-shadow: 0 2px 12px rgba(14,59,46,.05);
}
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 8px 36px rgba(16,185,129,.15), 0 0 0 1px var(--accent); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; padding: 4px 14px; border-radius: 100px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pricing-plan  { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 8px; }
.pricing-period { color: var(--text-muted); font-size: .85rem; margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .9rem; color: var(--text-light); border-bottom: 1px solid var(--border-light); }
.pricing-features li:last-child { border: none; }
.pricing-features li .icon-check { color: var(--success); flex-shrink: 0; font-size: .85rem; }
.pricing-features li .icon-no    { color: var(--text-muted); flex-shrink: 0; font-size: .85rem; }
.pricing-features li.no { color: var(--text-muted); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; color: var(--text-light); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-secondary); border: 1.5px solid var(--border-light);
  border-radius: var(--radius); padding: 12px 16px; color: var(--white);
  font-size: .95rem; font-family: inherit; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(16,185,129,.10);
}
.form-group input::placeholder { color: var(--text-muted); }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.form-error { background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.25); color: #b91c1c; padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 16px; display: none; }
.form-error.show { display: block; }

/* ── Stats Bar ── */
.stats-bar { display: flex; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--white); background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border-light); margin-top: 80px; background: var(--bg-card); }

/* ── Utility ── */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; }
.items-center { align-items: center; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 56px; }

/* ── Pipeline Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 100px;
  font-size: .75rem; font-weight: 600;
}
.badge-green  { background: rgba(16,185,129,.12); color: var(--success); }
.badge-orange { background: rgba(217,119,6,.10);  color: var(--warning); }
.badge-red    { background: rgba(220,38,38,.10);   color: var(--error); }
.badge-muted  { background: rgba(107,140,128,.10); color: var(--text-muted); }

/* ── Pipeline Demo Widget ── */
.pl-demo { overflow: hidden; }

.pl-task {
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background .15s;
}
.pl-task:last-child { border-bottom: none; }

.pl-header {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 24px; user-select: none;
}
.pl-task:hover .pl-header { background: rgba(14,59,46,.03); }

.pl-dot {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
}
.pl-dot.completed  { background: rgba(16,185,129,.2); border: 2px solid #10B981; }
.pl-dot.in-progress {
  background: rgba(14,59,46,.12); border: 2px solid var(--primary);
  animation: plPulse 2s ease-in-out infinite;
}
.pl-dot.pending { background: transparent; border: 2px solid var(--border-light); }
@keyframes plPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(14,59,46,.35); }
  50%      { box-shadow: 0 0 0 5px rgba(14,59,46,0); }
}

.pl-title { flex: 1; font-size: .9rem; font-weight: 600; color: var(--white); }

.pl-badge {
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  white-space: nowrap;
}
.pl-badge.completed  { background: rgba(16,185,129,.12); color: #059669; }
.pl-badge.in-progress{ background: rgba(14,59,46,.1);    color: var(--primary); }
.pl-badge.pending    { background: rgba(107,140,128,.1); color: var(--text-muted); }

.pl-dep {
  font-size: .7rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-secondary); border-radius: 6px; padding: 2px 7px;
  white-space: nowrap;
}

.pl-chevron {
  color: var(--text-muted); font-size: .85rem; flex-shrink: 0;
  transition: transform .22s ease; line-height: 1;
}
.pl-task.expanded .pl-chevron { transform: rotate(180deg); }

.pl-subs {
  max-height: 0; overflow: hidden;
  transition: max-height .32s ease, opacity .22s;
  opacity: 0;
}
.pl-task.expanded .pl-subs { max-height: 600px; opacity: 1; }

.pl-sub-list {
  position: relative; padding: 4px 24px 14px 52px;
}
.pl-sub-list::before {
  content: ''; position: absolute;
  left: 32px; top: 0; bottom: 8px;
  border-left: 1.5px dashed rgba(14,59,46,.22);
}

.pl-sub { display: flex; align-items: center; gap: 10px; padding: 5px 0; }

.pl-sub-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.pl-sub-dot.completed  { background: #10B981; }
.pl-sub-dot.in-progress{ background: var(--primary); animation: plPulse 2s infinite; }
.pl-sub-dot.pending    { background: transparent; border: 1.5px solid rgba(107,140,128,.4); }

.pl-sub-title { font-size: .85rem; color: var(--text-light); flex: 1; }
.pl-sub-title.done { color: var(--text-muted); text-decoration: line-through; }

.pl-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.pl-tool {
  font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 100px;
  background: rgba(14,59,46,.07); color: var(--text-muted);
  border: 1px solid rgba(14,59,46,.1);
}

@media (max-width: 480px) {
  .pl-dep { display: none; }
  .pl-header { padding: 13px 16px; gap: 10px; }
  .pl-sub-list { padding-left: 36px; }
  .pl-sub-list::before { left: 22px; }
}

/* ── Navbar Action Buttons ── */
.btn-nav-primary {
  background: var(--gradient); border: none; color: #fff;
  padding: 8px 18px; border-radius: 10px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-nav-primary:hover { opacity: .86; transform: translateY(-1px); color: #fff; }
.btn-nav-ghost {
  color: var(--text-muted); font-size: .88rem; font-weight: 600;
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.btn-nav-ghost:hover { color: var(--accent); }

/* ── Slide Button (Navbar Warteliste) ── */
.slide-btn {
  position: relative; height: 36px; width: 150px;
  background: rgba(16,185,129,.10);
  border: 1.5px solid rgba(16,185,129,.4);
  border-radius: 100px; overflow: hidden;
  cursor: default; user-select: none; flex-shrink: 0;
}
.slide-btn-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 30px; background: var(--gradient);
  border-radius: 100px; pointer-events: none;
  transition: width .3s cubic-bezier(.4,0,.2,1);
}
.slide-btn-handle {
  position: absolute; top: 3px; left: 3px;
  width: 30px; height: 30px; background: #fff;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; z-index: 2; color: var(--primary);
  box-shadow: 0 1px 6px rgba(14,59,46,.18);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.slide-btn-handle:active { cursor: grabbing; }
.slide-btn-text {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: .76rem; font-weight: 600; color: var(--primary);
  pointer-events: none; white-space: nowrap;
  transition: opacity .15s;
}

/* ── Typewriter ── */
.tw-cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 400;
  color: var(--accent);
  animation: tw-blink .9s step-end infinite;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Registration Toggle ── */
.reg-toggle {
  display: flex; gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 14px; padding: 4px;
  margin-bottom: 28px;
}
.reg-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 7px; padding: 10px 14px;
  border-radius: 10px; font-size: .85rem; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
  transition: background .18s, color .18s, box-shadow .18s;
  white-space: nowrap;
}
.reg-tab:hover { color: var(--primary); }
.reg-tab.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(14,59,46,.12);
}
.reg-tab i { font-size: .95rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger  { display: flex; }
  .hero { padding: 60px 0 48px; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .pricing-grid, .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer .footer-grid { grid-template-columns: 1fr !important; }
}
