:root {
  --primary: #0f5fe1;
  --primary-dark: #0a47b0;
  --primary-light: #eff5ff;
  --secondary: #00b894;
  --secondary-dark: #007a60;
  --accent: #f39c12;
  --urgent: #f97316;
  --danger: #e53e3e;
  --dark: #111827;
  --dark2: #1f2937;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f9fafb;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-xs: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 700; }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 1.25rem; }
.section--gray { background: #f3f4f6; }
.section--dark { background: var(--dark); color: #fff; }
.section--brand { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #3b82f6 100%); color: #fff; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner { display: flex; align-items: center; width: 100%; max-width: 1180px; margin: 0 auto; gap: 0.5rem; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.3rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; flex-shrink: 0; }
.nav-logo { background: var(--primary); border-radius: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-link { padding: 0.4rem 0.75rem; border-radius: var(--radius-xs); color: var(--gray); text-decoration: none; font-weight: 500; font-size: 0.875rem; transition: all 0.15s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-gap { flex: 1; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
  line-height: 1;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,95,225,0.3); }
.btn-green { background: var(--secondary); color: #fff; }
.btn-green:hover { background: var(--secondary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,184,148,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: #f0f4ff; }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-light { background: var(--light); color: var(--dark); border: 1px solid var(--border); }
.btn-light:hover { background: var(--border); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8rem; }
.btn-xs { padding: 0.25rem 0.625rem; font-size: 0.75rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card:hover { box-shadow: var(--shadow); }
.card-body { padding: 1.5rem; }
.card-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--light); }
.card--hover { transition: all 0.2s; cursor: pointer; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c7d9ff; }

/* ── BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.badge-blue { background: var(--primary-light); color: var(--primary); }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-orange { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #f3f4f6; color: var(--gray); }
.badge-purple { background: #ede9fe; color: #5b21b6; }
.badge-verified { background: var(--primary-light); color: var(--primary); }
.badge-dach { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ── FORMS ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-hint { font-size: 0.78rem; color: var(--gray-light); margin-top: 0.3rem; }
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
  color: var(--dark);
  font-family: inherit;
  line-height: 1.5;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,95,225,0.12); }
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.input-group { position: relative; }
.input-prefix { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; font-size: 0.875rem; }
.input-prefix + .form-control { padding-left: 2.25rem; }
.input-suffix { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--gray); pointer-events: none; font-weight: 600; }

/* ── ALERTS ──────────────────────────────────────────── */
.alert { padding: 0.875rem 1.125rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.875rem; display: flex; align-items: flex-start; gap: 8px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f3460 40%, #0f5fe1 80%, #1a8fad 100%);
  color: #fff;
  padding: 5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}
/* Country-specific hero backgrounds – photo + color overlay */

/* DE: Blue overlay + Berlin Brandenburger Tor */
body[data-country="de"] .hero {
  background:
    linear-gradient(145deg, rgba(30,58,138,0.84) 0%, rgba(29,78,216,0.78) 50%, rgba(14,165,233,0.72) 100%),
    url('https://images.unsplash.com/photo-1467269204594-9661b134dd2b?w=1920&q=80') center/cover no-repeat;
}

/* AT: Red overlay + Österreichische Alpen / Landhotel */
body[data-country="at"] .hero {
  background:
    linear-gradient(145deg, rgba(136,19,55,0.56) 0%, rgba(190,18,60,0.50) 50%, rgba(225,29,72,0.44) 100%),
    url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1920&q=80') center/cover no-repeat;
}
body[data-country="at"] .hero h1 span {
  background: linear-gradient(90deg, #fde68a 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-country="at"] .hero-stat-num { color: #fde68a; }
body[data-country="at"] .country-identity {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

/* CH: Red overlay + Schweizer Alpen */
body[data-country="ch"] .hero {
  background:
    linear-gradient(145deg, rgba(153,27,27,0.56) 0%, rgba(220,38,38,0.50) 50%, rgba(239,68,68,0.44) 100%),
    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat;
}
body[data-country="ch"] .hero h1 span {
  background: linear-gradient(90deg, #fff 0%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body[data-country="ch"] .hero-stat-num { color: #fde68a; }
body[data-country="ch"] .country-identity {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

/* Country flag stripe at top of hero */
.hero-flag-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  z-index: 2;
}
body[data-country="de"] .hero-flag-bar {
  background: linear-gradient(90deg, #1a1a1a 33.3%, #CC0000 33.3% 66.6%, #FFCE00 66.6%);
}
body[data-country="at"] .hero-flag-bar {
  background: linear-gradient(90deg, #ED2939 33.3%, #fff 33.3% 66.6%, #ED2939 66.6%);
}
body[data-country="ch"] .hero-flag-bar {
  background: #fff;
  height: 5px;
}

/* Country identity card in hero */
.country-identity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 12px 22px 12px 16px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.ci-flag { font-size: 2.8rem; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.ci-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .6; margin-bottom: 1px; }
.ci-name  { font-size: 1.15rem; font-weight: 900; letter-spacing: -.3px; line-height: 1.1; }
.ci-cities { font-size: 0.72rem; opacity: .65; margin-top: 3px; letter-spacing: .01em; }

/* Country accent badge on sections */
.country-accent-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  background: var(--primary-light); color: var(--primary);
  border-radius: 100px; padding: 3px 12px;
  margin-bottom: 0.5rem;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--light);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}
.hero-eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; margin-bottom: 0.75rem; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -1px; }
.hero h1 span { background: linear-gradient(90deg, #60a5fa, #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.1rem; opacity: 0.85; line-height: 1.7; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat-num { font-size: 1.75rem; font-weight: 900; color: #60a5fa; line-height: 1; }
.hero-stat-label { font-size: 0.75rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hero-dach { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.dach-badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 100px; padding: 0.25rem 0.75rem; font-size: 0.8rem; font-weight: 600; }

/* Audience cards in hero */
.audience-cards { display: flex; flex-direction: column; gap: 1rem; }
.audience-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}
.audience-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); border-color: rgba(255,255,255,0.4); }
.audience-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.audience-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.audience-card-desc { font-size: 0.875rem; opacity: 0.8; line-height: 1.5; margin-bottom: 0.875rem; }
.audience-card-price { font-size: 0.8rem; opacity: 0.7; margin-top: 0.25rem; }
.audience-card-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: #fff; }

/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stats-bar-item { padding: 1.5rem 2.5rem; text-align: center; border-right: 1px solid var(--border); }
.stats-bar-item:last-child { border-right: none; }
.stats-num { font-size: 2.25rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stats-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── PROJECT CARDS ───────────────────────────────────── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }

.project-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c7d9ff; }
.project-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.875rem; gap: 0.5rem; flex-wrap: wrap; }
.project-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 0.25rem 0.7rem; border-radius: 100px; }
.project-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; line-height: 1.4; color: var(--dark); }
.project-company { display: flex; align-items: center; gap: 4px; color: var(--gray); font-size: 0.825rem; margin-bottom: 0.75rem; }
.project-desc { color: var(--gray); font-size: 0.845rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.project-footer { display: flex; justify-content: space-between; align-items: flex-end; }
.project-budget { }
.project-amount { font-size: 1.6rem; font-weight: 900; color: var(--primary); line-height: 1; }
.project-amount-unit { font-size: 0.8rem; color: var(--gray); }
.project-lowest { font-size: 0.78rem; color: var(--secondary-dark); font-weight: 600; margin-top: 2px; }
.project-bids { text-align: right; }
.project-bids-count { font-size: 1.25rem; font-weight: 800; color: var(--dark); line-height: 1; }
.project-bids-label { font-size: 0.75rem; color: var(--gray); }
.project-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.75rem 0 0; }
.project-date { font-size: 0.78rem; color: var(--gray-light); margin-top: 0.5rem; }

/* Status badges */
.status-open { background: #d1fae5; color: #065f46; }
.status-awarded { background: #fef3c7; color: #92400e; }
.status-completed { background: #f3f4f6; color: var(--gray); }

/* ── FILTER BAR ──────────────────────────────────────── */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.filter-search { flex: 1; min-width: 220px; }
.filter-search .form-control { padding-left: 2.25rem; }
.filter-item { min-width: 160px; }

/* ── CATEGORY PILLS ──────────────────────────────────── */
.cat-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cat-pill { padding: 0.4rem 1rem; border-radius: 100px; background: #fff; border: 2px solid var(--border); color: var(--gray); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.15s; text-decoration: none; white-space: nowrap; }
.cat-pill:hover, .cat-pill.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── SECTION HEADER ──────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.section-head p { color: var(--gray); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 0.5rem; }

/* ── HOW IT WORKS ────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 2rem; padding-top: 1rem; }

/* ── AUDIENCE SPLIT ──────────────────────────────────── */
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.audience-panel {
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.audience-panel--company { background: var(--dark); color: #fff; }
.audience-panel--cleaner { background: linear-gradient(135deg, #065f46, #00b894); color: #fff; }
.audience-panel h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.audience-panel p { opacity: 0.85; margin-bottom: 1.5rem; line-height: 1.7; }
.audience-panel-price { font-size: 2.5rem; font-weight: 900; margin-bottom: 0.25rem; }
.audience-panel-price-note { font-size: 0.875rem; opacity: 0.7; margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem; }
.check-list li::before { content: '✓'; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.audience-panel--company .check-list li::before { color: #60a5fa; }
.audience-panel--cleaner .check-list li::before { color: #a7f3d0; }

/* ── PRICING ─────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; margin: 0 auto; }
.pricing-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all 0.2s;
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card--featured { border-color: var(--primary); }
.pricing-header { padding: 2rem 2rem 1.5rem; }
.pricing-header--dark { background: var(--dark); color: #fff; }
.pricing-header--green { background: var(--secondary-dark); color: #fff; }
.pricing-type { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-bottom: 0.75rem; }
.pricing-amount { font-size: 3rem; font-weight: 900; line-height: 1; }
.pricing-amount span { font-size: 1rem; font-weight: 500; opacity: 0.7; }
.pricing-note { font-size: 0.8rem; opacity: 0.7; margin-top: 0.25rem; }
.pricing-body { padding: 1.5rem 2rem 2rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: var(--gray); }
.pricing-features li .icon { color: var(--secondary-dark); font-weight: 800; flex-shrink: 0; }
.trial-badge { background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 100px; display: inline-block; margin-bottom: 1rem; }

/* ── TRUST SIGNALS ───────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { text-align: center; padding: 1.5rem; }
.trust-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.trust-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-item p { font-size: 0.825rem; color: var(--gray); }

/* ── BID ITEMS ───────────────────────────────────────── */
.bid-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #fff;
  transition: all 0.15s;
}
.bid-item--best { border-color: var(--secondary); background: #f0fdf4; }
.bid-item--shortlisted { border-color: var(--primary); background: var(--primary-light); }
.bid-item--accepted { border-color: #6ee7b7; background: #d1fae5; }
.bid-item:hover { border-color: #c7d9ff; }
.bid-rank { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0; }
.bid-rank--1 { background: #fef3c7; color: #92400e; }
.bid-rank--n { background: var(--primary-light); color: var(--primary); }
.bid-amount { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.bid-unit { font-size: 0.8rem; color: var(--gray); }
.bid-alias { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.bid-meta { font-size: 0.8rem; color: var(--gray); }
.bid-message { margin-top: 0.75rem; padding: 0.75rem; background: var(--light); border-radius: var(--radius-xs); font-size: 0.845rem; color: #444; line-height: 1.6; font-style: italic; }
.bid-actions { margin-top: 0.75rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.bid-stars { color: #f39c12; font-size: 0.875rem; }

/* ── CV / EXPERIENCE ─────────────────────────────────── */
.cv-timeline { display: flex; flex-direction: column; gap: 0; }
.cv-item {
  display: flex;
  gap: 1rem;
  padding: 0 0 1.5rem 1rem;
  position: relative;
  border-left: 2px solid var(--border);
}
.cv-item:last-child { border-left: 2px solid transparent; }
.cv-dot {
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.cv-item-current .cv-dot { background: var(--secondary); box-shadow: 0 0 0 2px var(--secondary); }
.cv-content { flex: 1; }
.cv-title { font-weight: 700; font-size: 0.95rem; }
.cv-company { font-weight: 600; font-size: 0.875rem; color: var(--primary); }
.cv-period { font-size: 0.8rem; color: var(--gray-light); margin: 2px 0 6px; }
.cv-desc { font-size: 0.845rem; color: var(--gray); line-height: 1.6; }
.company-type-badge { display: inline-block; }

/* ── PROFILE ─────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  color: #fff;
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.profile-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.profile-role-tag { font-size: 0.8rem; opacity: 0.7; background: rgba(255,255,255,0.15); padding: 0.2rem 0.75rem; border-radius: 100px; display: inline-block; }
.profile-rating { display: flex; align-items: center; gap: 8px; margin-top: 0.5rem; }
.profile-stars { color: #fbbf24; font-size: 1rem; letter-spacing: 1px; }
.profile-location { font-size: 0.875rem; opacity: 0.75; margin-top: 0.3rem; }
.profile-lang { font-size: 0.8rem; opacity: 0.7; margin-top: 0.2rem; }
.profile-verified { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: #60a5fa; margin-top: 0.4rem; }

/* ── DASHBOARD ───────────────────────────────────────── */
.dash-grid { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem; align-items: start; }
.dash-sidebar { position: sticky; top: 80px; }
.dash-profile {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.dash-avatar { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 0.75rem; border: 2px solid rgba(255,255,255,0.4); }
.dash-name { font-weight: 700; font-size: 1rem; }
.dash-company { font-size: 0.8rem; opacity: 0.85; margin-top: 0.15rem; }
.dash-sub { font-size: 0.75rem; margin-top: 0.75rem; padding: 0.3rem 0.75rem; border-radius: 100px; display: inline-block; }
.dash-sub--active { background: rgba(0,184,148,0.3); color: #a7f3d0; }
.dash-sub--trial { background: rgba(251,191,36,0.25); color: #fde68a; }
.dash-sub--expired { background: rgba(239,68,68,0.25); color: #fca5a5; }
.dash-nav { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 0.9rem 1.25rem; color: var(--gray); text-decoration: none; font-weight: 500; font-size: 0.875rem; border-bottom: 1px solid var(--border); transition: all 0.15s; }
.dash-nav a:last-child { border-bottom: none; }
.dash-nav a:hover, .dash-nav a.active { color: var(--primary); background: var(--primary-light); }
.dash-nav a .icon { font-size: 1rem; width: 20px; text-align: center; }

/* ── STATS CARDS ─────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi-card { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 1.25rem; }
.kpi-value { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.kpi-label { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ── TABLE ───────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { background: var(--light); padding: 0.75rem 1rem; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); border-bottom: 2px solid var(--border); white-space: nowrap; }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:hover td { background: #fafafa; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1rem; backdrop-filter: blur(4px); }
.modal-box { background: #fff; border-radius: var(--radius); padding: 2rem; width: 100%; max-width: 500px; box-shadow: var(--shadow-lg); animation: fadeUp 0.2s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--gray); line-height: 1; padding: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }

/* ── TOAST ───────────────────────────────────────────── */
#toast-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { padding: 0.875rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.875rem; min-width: 260px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: fadeUp 0.3s ease; }
.toast--success { background: #065f46; color: #fff; }
.toast--error { background: #991b1b; color: #fff; }
.toast--info { background: var(--primary-dark); color: #fff; }

/* ── AUTH PAGES ──────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left {
  background: linear-gradient(135deg, #0a1628, #0f3460 50%, #0f5fe1);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-right { padding: 3rem; display: flex; align-items: center; justify-content: center; background: #fff; overflow-y: auto; }
.auth-form-box { width: 100%; max-width: 460px; }
.auth-brand { font-size: 1.5rem; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; }
.auth-brand-icon { background: rgba(255,255,255,0.2); border-radius: 10px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.auth-headline { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }
.auth-sub { opacity: 0.8; line-height: 1.7; margin-bottom: 2rem; }
.auth-proof { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-proof-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; opacity: 0.85; }
.auth-proof-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auth-form-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.auth-form-sub { color: var(--gray); margin-bottom: 2rem; font-size: 0.9rem; }
.auth-divider { text-align: center; color: var(--gray-light); font-size: 0.8rem; margin: 1.25rem 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: calc(50% - 2rem); height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* Role selection */
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.role-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.role-card:hover { border-color: var(--primary); background: var(--primary-light); }
.role-card.active { border-color: var(--primary); background: var(--primary-light); }
.role-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.role-card-title { font-weight: 700; font-size: 0.9rem; }
.role-card-price { font-size: 0.75rem; color: var(--gray); margin-top: 0.2rem; }

/* Multi-step registration */
.reg-steps { display: flex; align-items: center; gap: 0; margin-bottom: 2rem; }
.reg-step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--gray); background: #fff; flex-shrink: 0; transition: all 0.2s; }
.reg-step-dot.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.reg-step-dot.done { border-color: var(--secondary); background: var(--secondary); color: #fff; }
.reg-step-line { flex: 1; height: 2px; background: var(--border); }
.reg-step-line.done { background: var(--secondary); }

/* ── TABS ────────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; gap: 0; }
.tab-btn { padding: 0.75rem 1.25rem; background: none; border: none; cursor: pointer; color: var(--gray); font-weight: 600; font-size: 0.875rem; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.15s; }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── MISC ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 2rem auto; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 3rem; color: var(--gray); }
.empty-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.empty-state h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark2); margin-bottom: 0.5rem; }
.loading-wrap { display: flex; align-items: center; justify-content: center; min-height: 200px; }

/* Page header */
.page-head { background: var(--dark); color: #fff; padding: 2.5rem 1.25rem; }
.page-head h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.35rem; }
.page-head p { opacity: 0.65; font-size: 0.9rem; }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 1.25rem;
  margin-top: 5rem;
}
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: #fff; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0.875rem 1.25rem;
  z-index: 200;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

/* Subscription banner */
.sub-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.sub-banner-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.sub-banner-text p { font-size: 0.875rem; opacity: 0.85; }
.trial-banner { background: linear-gradient(135deg, #92400e, #f59e0b); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { text-align: center; }
  .hero-stats { justify-content: center; }
  .audience-cards { flex-direction: row; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 3.5rem 1.25rem; }
  .section-head h2 { font-size: 1.75rem; }
  .audience-split { grid-template-columns: 1fr; }
  .audience-cards { flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
  .stats-bar-item { padding: 1.25rem 1.5rem; }
  .stats-num { font-size: 1.75rem; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .mobile-cta { display: flex; }
  .nav-link.hide-mobile { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .page-head { padding: 2rem 1.25rem; }
  .page-head h1 { font-size: 1.5rem; }
  .profile-hero { flex-direction: column; }
  body { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .role-cards { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
}

/* ── HELPERS ─────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-green { color: var(--secondary-dark); }
.text-gray { color: var(--gray); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }

/* ── URGENT / SOFORT-AUFTRAG ─────────────────────────── */
.project-card--urgent {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249,115,22,0.15);
}
.project-card--urgent:hover {
  border-color: #ea580c;
  box-shadow: 0 8px 32px rgba(249,115,22,0.2);
}

.urgent-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #7c2d12, #c2410c, #ea580c);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.875rem;
  margin: -1.5rem -1.5rem 1rem;
  letter-spacing: 0.3px;
  flex-wrap: wrap;
}
.urgent-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.urgent-sofort-price {
  margin-left: auto;
  background: rgba(255,255,255,0.25);
  padding: 1px 8px;
  border-radius: 100px;
}

/* Sofort-Auftrag box in project detail */
.sofort-box {
  background: linear-gradient(135deg, #7c2d12, #c2410c);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ea580c;
}
.sofort-box-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sofort-countdown {
  font-size: 2.25rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  margin: 0.75rem 0;
  color: #fed7aa;
}
.sofort-price {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.sofort-legal {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.btn-sofort {
  background: #fff;
  color: #c2410c;
  font-weight: 800;
  font-size: 1.05rem;
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-sofort:hover { background: #fff7ed; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-sofort:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── PROJECT PHOTOS ──────────────────────────────────── */
.project-card-photo {
  margin: -1.5rem -1.5rem 1rem;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.photo-gallery-main {
  height: 280px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}
.photo-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.photo-gallery-thumb {
  flex: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}
.photo-gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.photo-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ── TRUST BADGES (homepage) ─────────────────────────── */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
}
.trust-badge-item .icon { font-size: 1rem; }

/* ── URGENCY HERO STRIP (homepage) ──────────────────── */
.urgency-strip {
  background: linear-gradient(90deg, #7c2d12, #c2410c 50%, #ea580c);
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.urgency-strip a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
.urgency-count {
  background: rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.85rem;
}

/* ── BID TYPE SELECTOR ───────────────────────────────── */
.bid-type-btns {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.bid-type-btn {
  flex: 1;
  padding: 0.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.15s;
  text-align: center;
}
.bid-type-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ── PHOTO UPLOAD ────────────────────────────────────── */
.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.photo-upload-thumb {
  position: relative;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
}
.photo-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-upload-thumb button {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-add-btn {
  height: 80px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray);
  font-size: 1.5rem;
  transition: all 0.15s;
}
.photo-add-btn:hover { border-color: var(--primary); color: var(--primary); }

@media (max-width: 768px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery-side { flex-direction: row; }
  .photo-gallery-main { height: 200px; }
  .urgency-strip { font-size: 0.8rem; }
}

/* ── WORKBID NEW ELEMENTS ─────────────────────────────── */

/* btn-warning (orange) */
.btn-warning {
  background: #f97316;
  color: #fff;
  border: none;
}
.btn-warning:hover { background: #ea6c10; color: #fff; }

/* Category grid on homepage */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.875rem;
}
.cat-tile {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.2s;
  cursor: pointer;
  display: block;
  border-top: 3px solid var(--cat-color, var(--primary));
}
.cat-tile:hover {
  border-color: var(--cat-color, var(--primary));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cat-tile-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.cat-tile-name { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.25rem; }
.cat-tile-subs { font-size: 0.72rem; color: var(--gray-light); line-height: 1.4; }

/* Radius search bar */
.radius-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.radius-bar--prominent {
  background: linear-gradient(135deg, #eff5ff 0%, #f0fdf4 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(15,95,225,.08);
}
.radius-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.radius-icon { font-size: 1.5rem; flex-shrink: 0; }
.radius-slider-section { display: flex; flex-direction: column; }
.radius-km-badge {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 52px;
  background: #eff5ff;
  padding: 2px 8px;
  border-radius: 20px;
  text-align: center;
}
.radius-clear-btn { padding: 3px 10px !important; border-radius: 20px !important; }
.radius-status-msg { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-top: 0.25rem; }
.radius-input-wrap { display: flex; align-items: center; gap: 0.75rem; }
.radius-slider-wrap { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.radius-slider {
  -webkit-appearance: none;
  width: 140px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 25%, #e5e7eb 25%);
  outline: none;
  cursor: pointer;
}
.radius-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Role preview cards on homepage */
.role-preview-card {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 0.875rem;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  transition: all 0.2s;
  display: block;
}
.role-preview-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero right card */
.hero-right-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: #fff;
}

/* Feature cards */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card-title { font-weight: 700; margin-bottom: 0.5rem; }
.feature-card-body { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* Countdown numbers */
.cd-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: inherit;
}

/* Mobile stack helper */
@media (max-width: 768px) {
  .mobile-stack { grid-template-columns: 1fr !important; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .radius-slider { width: 100px; }
  .hero-right-card { display: none; }
  .radius-bar--prominent { padding: 0.875rem 1rem; }
  .radius-bar-inner { gap: 1rem; }
  .radius-icon { font-size: 1.25rem; }
}

/* Mobile sticky CTA (enhanced) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  gap: 0.75rem;
  z-index: 999;
  justify-content: center;
}
.mobile-sticky-cta.visible { display: flex; }
@media (min-width: 769px) { .mobile-sticky-cta { display: none !important; } }

/* projekts-grid alias */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

/* Project subcategory badge in card */
.project-subcat { font-size: 0.7rem; background: #f1f5f9; color: #64748b; padding: 1px 6px; border-radius: 4px; }
