/* CleaningHelp.de — Site UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ch-blue: #2563eb;
  --ch-blue-dark: #1d4ed8;
  --ch-navy: #0f2840;
  --ch-ink: #0f172a;
  --ch-muted: #64748b;
  --ch-line: #e2e8f0;
  --ch-surface: #f8fafc;
  --ch-white: #ffffff;
  --ch-radius: 14px;
  --ch-radius-lg: 20px;
  --ch-shadow: 0 4px 24px rgba(15, 23, 42, .08);
  --ch-shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --ch-font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.ch-site {
  font-family: var(--ch-font);
  color: var(--ch-ink);
  background: var(--ch-surface);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* —— Top navigation —— */
.ch-topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ch-line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.ch-topnav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ch-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--ch-navy);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.ch-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ch-blue), #38bdf8);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
}
.ch-topnav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .35rem;
}
.ch-topnav-links a {
  color: #475569;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
  padding: .4rem .65rem;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.ch-topnav-links a:hover { background: #eff6ff; color: var(--ch-blue-dark); }
.ch-topnav-cta {
  background: var(--ch-blue) !important;
  color: #fff !important;
  padding: .45rem .9rem !important;
}
.ch-topnav-cta:hover { background: var(--ch-blue-dark) !important; color: #fff !important; }

/* —— Hero —— */
.ch-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem 3.5rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 40, 64, .88) 0%, rgba(29, 78, 216, .75) 55%, rgba(56, 189, 248, .45) 100%),
    url('background.jpg') center / cover no-repeat;
  overflow: hidden;
}
.ch-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 40%);
  pointer-events: none;
}
.ch-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.ch-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}
.ch-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.ch-hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: .94;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.ch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}

/* Buttons */
.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.25rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.ch-btn:hover { transform: translateY(-1px); }
.ch-btn-primary {
  background: #fff;
  color: var(--ch-navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.ch-btn-primary:hover { background: #f8fafc; color: var(--ch-navy); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ch-btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.ch-btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.ch-btn-blue {
  background: var(--ch-blue);
  color: #fff;
  border-color: var(--ch-blue);
}
.ch-btn-blue:hover { background: var(--ch-blue-dark); color: #fff; }

body.ch-site .btn-primary {
  background: var(--ch-blue);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: .65rem 1.2rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}
body.ch-site .btn-primary:hover { background: var(--ch-blue-dark); }

/* —— Sections —— */
.ch-section {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
}
.ch-section--alt { background: #fff; }
.ch-section--muted { background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%); }
.ch-section-inner { max-width: 1140px; margin: 0 auto; }
.ch-section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.ch-eyebrow {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ch-blue);
  margin-bottom: .5rem;
}
.ch-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ch-ink);
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.ch-section-lead {
  color: var(--ch-muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.65;
}

/* Services */
#servicesRow { max-width: 1100px; margin: 0 auto; }
.service-box {
  height: 100%;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  padding: 1.5rem 1.25rem;
  background: #fff;
  box-shadow: var(--ch-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  text-align: left;
}
.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--ch-shadow-lg);
  border-color: rgba(37, 99, 235, .25);
}
.service-box .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--ch-blue);
  font-size: 1.25rem;
  margin-bottom: .85rem;
}
.service-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--ch-ink);
}
.service-box p {
  font-size: .88rem;
  color: var(--ch-muted);
  margin: 0;
  line-height: 1.55;
}
#toggleBtn { border-radius: 999px; padding: .6rem 1.4rem; }

/* Subunternehmer */
#subunternehmer {
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}
#subunternehmer .container {
  max-width: 1100px;
  background: #fff;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--ch-shadow);
}
#subunternehmer img { border-radius: var(--ch-radius); box-shadow: var(--ch-shadow); }
#subunternehmer h2 { font-weight: 800; letter-spacing: -.02em; }
#subunternehmer ul li { padding: .25rem 0; color: #334155; font-size: .92rem; }

/* Cashback */
.cashback-section {
  background: linear-gradient(135deg, #0f2840 0%, #1e40af 50%, #2563eb 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  text-align: center;
}
.cashback-section h2 {
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff !important;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  line-height: 1.25;
}
.cashback-section .container {
  max-width: 960px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--ch-radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.cashback-section img { border-radius: var(--ch-radius); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.cashback-section p { color: rgba(255,255,255,.92); }

/* Feature split */
.ch-feature-split .text-primary { color: var(--ch-blue) !important; }
.ch-feature-split h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ch-feature-split img { border-radius: var(--ch-radius-lg); box-shadow: var(--ch-shadow-lg); }

/* Why / benefits */
.ch-benefits {
  background: #fff;
  border-top: 1px solid var(--ch-line);
  border-bottom: 1px solid var(--ch-line);
}
.ch-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 0;
  text-align: left;
}
.ch-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: 1rem 1.1rem;
  background: var(--ch-surface);
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  font-size: .9rem;
  font-weight: 600;
  color: #334155;
}
.ch-benefit-item i { color: #22c55e; margin-top: .15rem; }

/* Forms */
.ch-form-section { background: linear-gradient(180deg, #f8fafc, #eef2ff); }
.ch-form-intro { max-width: 32rem; margin: 0 auto 1.5rem; }
.form-fieldset {
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius-lg);
  padding: 1.5rem 1.35rem;
  margin: 0 auto 1rem;
  background: #fff;
  max-width: 560px;
  box-shadow: var(--ch-shadow);
}
.form-fieldset legend {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ch-blue);
  padding: 0 .5rem;
  width: auto;
  float: none;
}
.form-fieldset label { font-size: .88rem; font-weight: 600; color: #334155; margin-bottom: .35rem; }
.form-fieldset .form-control {
  border-radius: 10px;
  border-color: var(--ch-line);
  padding: .6rem .75rem;
}
.form-fieldset .form-control:focus {
  border-color: var(--ch-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* Contact footer */
.ch-contact-footer {
  background: var(--ch-navy);
  color: rgba(255,255,255,.9);
  padding: 3rem 1.25rem;
}
.ch-contact-footer h2 { color: #fff; font-weight: 800; margin-bottom: 1rem; }
.ch-contact-footer p { margin-bottom: .5rem; }
.ch-contact-footer a { color: #93c5fd; text-decoration: none; font-weight: 600; }
.ch-contact-footer a:hover { color: #fff; text-decoration: underline; }
.ch-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 700px;
  margin: 1.5rem auto;
  text-align: left;
}
.ch-contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--ch-radius);
  padding: 1rem 1.1rem;
  font-size: .9rem;
}
.ch-contact-card i { color: #60a5fa; width: 1.25rem; }

/* App CTA */
.ch-app-cta {
  background: linear-gradient(160deg, #1e3a8a 0%, #2563eb 40%, #0ea5e9 100%);
  color: #fff;
  padding: 3rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.ch-app-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 50%);
  pointer-events: none;
}
.ch-app-cta .container { position: relative; z-index: 1; max-width: 640px; }
.ch-app-cta img[alt="Cleaning Help App"] {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  margin-bottom: 1rem;
}
.ch-app-cta h2 { font-weight: 800; }
.ch-app-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.ch-app-badges img { height: 48px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }

/* Shop section on index */
#shop.ch-shop-section {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%) !important;
  border-top: 1px solid var(--ch-line) !important;
}

/* Jobs / Marktplatz (keep existing IDs) */
#stadtauftraege-ch .ch-eyebrow,
#jobs .ch-eyebrow { color: var(--ch-blue); }
#stadtauftraege-ch .ch-section-title,
#jobs .ch-section-title { font-weight: 800; letter-spacing: -.02em; }

#stadtauftraege-ch .ch-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
  min-height: 2rem;
}
#stadtauftraege-ch .ch-job-grid.is-loading { opacity: .58; pointer-events: none; transition: opacity .2s ease; }
#stadtauftraege-ch .ch-job-grid__loading { grid-column: 1 / -1; text-align: center; color: var(--ch-muted); font-size: .9rem; padding: 1.25rem; }
#stadtauftraege-ch .ch-job-card {
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--ch-shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
#stadtauftraege-ch .ch-job-card:hover { transform: translateY(-2px); box-shadow: var(--ch-shadow-lg); }
#stadtauftraege-ch .ch-job-card__media { background: #eef2f7; aspect-ratio: 16/10; position: relative; }
#stadtauftraege-ch .ch-job-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
#stadtauftraege-ch .ch-job-card__ph {
  width: 100%; height: 100%; min-height: 140px;
  background: linear-gradient(105deg, #0c1929 0%, #153a5c 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.75rem; opacity: .85;
}
#stadtauftraege-ch .ch-job-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
#stadtauftraege-ch .ch-job-card__kicker { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ch-muted); }
#stadtauftraege-ch .ch-job-card__title { font-size: 1rem; font-weight: 800; color: var(--ch-ink); line-height: 1.25; margin: 0; }
#stadtauftraege-ch .ch-job-card__title a { color: inherit; text-decoration: none; }
#stadtauftraege-ch .ch-job-card__title a:hover { color: var(--ch-blue); }
#stadtauftraege-ch .ch-job-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
#stadtauftraege-ch .ch-job-chip { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #334155; border: 1px solid var(--ch-line); }
#stadtauftraege-ch .ch-job-chip--strong { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
#stadtauftraege-ch .ch-job-card__meta { font-size: .72rem; color: var(--ch-muted); line-height: 1.45; margin-top: 2px; }
#stadtauftraege-ch .ch-job-card__pdf { font-size: .78rem; margin-top: 4px; }
#stadtauftraege-ch .ch-job-card__pdf a { color: var(--ch-blue); font-weight: 600; text-decoration: none; }
#stadtauftraege-ch .ch-job-card__desc { font-size: .82rem; color: var(--ch-muted); line-height: 1.45; margin: 0; flex: 1; }
#stadtauftraege-ch .ch-job-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #eef2f7; }
#stadtauftraege-ch .ch-job-card__price { font-weight: 800; color: var(--ch-ink); font-size: .95rem; }
#stadtauftraege-ch .ch-job-card__price small { font-weight: 600; color: #94a3b8; }
#stadtauftraege-ch .ch-job-card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
#stadtauftraege-ch .ch-job-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .38rem .75rem; border-radius: 10px;
  font-size: .8rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
#stadtauftraege-ch .ch-job-btn--primary { background: var(--ch-blue); color: #fff; border-color: var(--ch-blue); }
#stadtauftraege-ch .ch-job-btn--primary:hover { filter: brightness(1.05); color: #fff; }
#stadtauftraege-ch .ch-job-btn--ghost { background: #fff; color: #334155; border-color: #cbd5e1; }
#stadtauftraege-ch .ch-job-btn--ghost:hover { background: #f8fafc; color: var(--ch-ink); }
#stadtauftraege-ch .ch-job-pager-wrap { margin-top: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; min-height: 1rem; }
#stadtauftraege-ch .ch-job-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; }
#stadtauftraege-ch .ch-job-pager button {
  border: 1px solid var(--ch-line); background: #fff; border-radius: 10px;
  padding: .35rem .65rem; font-size: .82rem; font-weight: 600; color: #334155; cursor: pointer;
}
#stadtauftraege-ch .ch-job-pager button:hover { background: #f1f5f9; }
#stadtauftraege-ch .ch-job-pager button.is-active { background: var(--ch-blue); color: #fff; border-color: var(--ch-blue); }
#stadtauftraege-ch .ch-job-pager button:disabled { opacity: .45; cursor: not-allowed; }

#jobs .img-preview { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; display: block; margin: 16px auto 0; cursor: pointer; box-shadow: var(--ch-shadow); background: #fff; border: 2px solid rgba(2,6,23,.08); }
#jobs .avatar-pill { display: inline-flex; align-items: center; gap: .5rem; background: #f1f5f9; border-radius: 999px; padding: .35rem .7rem; font-weight: 600; font-size: .9rem; }
#jobs .card-body { display: flex; flex-direction: column; gap: .4rem; }

@media (max-width: 768px) {
  .ch-topnav-inner { justify-content: center; }
  .ch-topnav-links { justify-content: center; }
  .ch-hero { min-height: 380px; padding-top: 3rem; }
}
