/* =========================================================
   SHARKZ – Stadtseite Reinigung (templates/city-page-sz.php)
   Alle Klassen mit Präfix "sz-", damit nichts mit dem
   bestehenden Seiten-CSS kollidiert.
   ========================================================= */

.sz-page {
  --sz-brand: #585bff;
  --sz-brand-dark: #4144de;
  --sz-brand-soft: #eeefff;
  --sz-brand-light: #b9bbff;
  --sz-night: #202146;
  --sz-ink: #141522;
  --sz-text: #25233a;
  --sz-body: #55596d;
  --sz-soft-text: #646178;
  --sz-line: #e5e7ef;
  --sz-line-strong: #d6d2e1;
  --sz-soft: #f6f7fb;
  --sz-white: #ffffff;
  --sz-success: #16a36f;
  --sz-success-soft: #e7f8f1;
  --sz-radius: 20px;
  --sz-radius-sm: 14px;
  --sz-shadow: 0 24px 70px rgba(31, 32, 65, 0.1);

  font-family: Poppins, Arial, sans-serif;
  color: var(--sz-text);
  background: var(--sz-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.sz-page a { color: var(--sz-brand-dark); text-decoration: none; }
.sz-page a:hover { color: var(--sz-ink); }

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

/* ---------- Typo-Bausteine ---------- */
.sz-eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sz-brand);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sz-h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--sz-ink);
}
.sz-lead {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--sz-body);
  max-width: 760px;
}
.sz-center { text-align: center; }

/* ---------- Buttons ---------- */
.sz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--sz-radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.sz-page .sz-btn--primary { background: var(--sz-brand); color: var(--sz-white); box-shadow: 0 12px 30px rgba(88, 91, 255, 0.3); }
.sz-page .sz-btn--primary:hover { background: var(--sz-brand-dark); color: var(--sz-white); transform: translateY(-1px); }
.sz-page .sz-btn--ghost { background: var(--sz-white); color: var(--sz-ink); border-color: var(--sz-line); font-weight: 500; }
.sz-page .sz-btn--ghost:hover { border-color: var(--sz-brand); color: var(--sz-brand-dark); }
.sz-page .sz-btn--white { background: var(--sz-white); color: var(--sz-brand-dark); }
.sz-page .sz-btn--white:hover { background: var(--sz-brand-soft); color: var(--sz-brand-dark); }
.sz-page .sz-btn--outline-light { color: var(--sz-white); border-color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.sz-page .sz-btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--sz-white); }
.sz-btn--block { width: 100%; }

/* ---------- Hero ---------- */
.sz-hero { background: var(--sz-soft); border-bottom: 1px solid var(--sz-line); padding: 28px 0 80px; }

.sz-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }

.sz-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--sz-brand-soft); color: var(--sz-brand-dark);
  font-size: 13px; font-weight: 600;
}
.sz-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--sz-ink);
  letter-spacing: -1px;
}
.sz-hero h1 span { color: var(--sz-brand); }
.sz-hero__text { margin: 0 0 28px; font-size: 18px; line-height: 1.65; color: var(--sz-body); max-width: 580px; }
.sz-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.sz-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; font-weight: 500; }
.sz-trust li { display: flex; align-items: center; gap: 8px; }
.sz-trust i { color: var(--sz-success); font-size: 15px; }

/* ---------- Anfrage-Karte ---------- */
.sz-request {
  background: var(--sz-white);
  border: 1px solid var(--sz-line);
  border-radius: var(--sz-radius);
  padding: 28px;
  box-shadow: var(--sz-shadow);
  min-width: 0;
}

/* ---------- Fakten ---------- */
.sz-facts { margin-top: -40px; position: relative; }
.sz-facts__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--sz-white); border: 1px solid var(--sz-line);
  border-radius: var(--sz-radius); box-shadow: 0 12px 40px rgba(31, 32, 65, 0.06);
  margin: 0;
}
.sz-fact { padding: 24px 28px; border-right: 1px solid var(--sz-line); }
.sz-fact:last-child { border-right: 0; }
.sz-fact dt { font-size: 30px; font-weight: 700; color: var(--sz-brand); }
.sz-fact dd { margin: 0; font-size: 14px; color: var(--sz-body); }

/* ---------- Leistungen ---------- */
.sz-section { padding: 88px 0 40px; }
.sz-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sz-page .sz-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border: 1px solid var(--sz-line); border-radius: var(--sz-radius);
  background: var(--sz-white); color: var(--sz-text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sz-page .sz-card:hover { border-color: var(--sz-brand); box-shadow: var(--sz-shadow); transform: translateY(-3px); color: var(--sz-text); }
.sz-icon {
  width: 48px; height: 48px; border-radius: var(--sz-radius-sm);
  background: var(--sz-brand-soft); display: flex; align-items: center; justify-content: center;
  color: var(--sz-brand); font-size: 20px;
}
.sz-card h3 { margin: 0; font-size: 19px; font-weight: 600; color: var(--sz-ink); }
.sz-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sz-body); flex-grow: 1; }
.sz-card__link { font-size: 14px; font-weight: 600; color: var(--sz-brand-dark); }

/* ---------- Ablauf ---------- */
.sz-steps-wrap { padding: 56px 0; }
.sz-steps-box { background: var(--sz-night); border-radius: 28px; padding: 56px; color: var(--sz-white); }
.sz-steps-box .sz-eyebrow { color: var(--sz-brand-light); }
.sz-steps-box .sz-h2 { color: var(--sz-white); margin-bottom: 40px; }
.sz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sz-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px; padding: 24px;
}
.sz-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--sz-brand); font-weight: 700; margin-bottom: 16px;
}
.sz-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--sz-white); }
.sz-step p { margin: 0; font-size: 14px; line-height: 1.6; color: #d8d9f0; }

/* ---------- Einsatzgebiet ---------- */
.sz-local { padding: 40px 0 72px; }
.sz-local__text { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--sz-body); max-width: 860px; }
.sz-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sz-page .sz-chips a {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--sz-line); background: var(--sz-soft);
  font-size: 14px; font-weight: 500; color: var(--sz-text);
  transition: border-color .15s, background .15s, color .15s;
}
.sz-page .sz-chips a:hover { border-color: var(--sz-brand); background: var(--sz-brand-soft); color: var(--sz-brand-dark); }
.sz-hint { margin: 12px 0 0; font-size: 13px; color: var(--sz-soft-text); }
.sz-hint i { color: var(--sz-brand); margin-right: 4px; }

.sz-nearby { background: var(--sz-soft); border: 1px solid var(--sz-line); border-radius: var(--sz-radius); padding: 28px; }
.sz-nearby h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; color: var(--sz-ink); }
.sz-nearby > p { margin: 0 0 18px; font-size: 14px; color: var(--sz-body); }
.sz-nearby ul { list-style: none; margin: 0; padding: 0; }
.sz-nearby li { border-top: 1px solid var(--sz-line); }
.sz-page .sz-nearby a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 15px; font-weight: 500; color: var(--sz-text); }
.sz-page .sz-nearby a:hover { color: var(--sz-brand-dark); }
.sz-nearby small { color: var(--sz-soft-text); font-size: 14px; font-weight: 400; white-space: nowrap; }

/* ---------- Karte ---------- */
.sz-map-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}
.sz-map-card {
  background: var(--sz-white);
  border: 1px solid var(--sz-line);
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
  padding: 24px;
  min-width: 0;
  overflow: hidden;
}
/* Karte an das neue Layout anpassen – Logik bleibt bei germany-cleaning-map.js */
.sz-map-card .de-map { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; max-width: none; }
.sz-map-card .de-map__head h2 { margin: 4px 0 8px; font-size: 22px; font-weight: 600; color: var(--sz-ink); }
.sz-map-card .cleaning-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-size: 13px; font-weight: 600; color: var(--sz-brand-dark);
}
.sz-map-card .de-map__box {
  border-radius: 16px;
  background: var(--sz-soft);
  min-height: 420px;
}
.sz-map-card .de-map__svg { width: 100%; height: auto; }
.sz-map-card .de-map__quelle { margin: 14px 0 0; font-size: 12px; color: var(--sz-soft-text); }
.sz-map-card .de-map__quelle i { margin-right: 6px; }
.sz-page .sz-map-card .de-map a { color: var(--sz-brand-dark); }
.sz-map-grid .sz-nearby { position: sticky; top: 100px; }

/* ---------- Weitere Profilmodule + "Was bei der Anfrage hilft" ---------- */
.sz-extra { max-width: 1200px; margin: 0 auto 40px; padding: 0 24px; }
.sz-extra .rp-modules { width: 100%; margin: 0; }
.sz-page .metro-supplement { background: var(--sz-soft); border-top: 1px solid var(--sz-line); border-bottom: 1px solid var(--sz-line); padding: 80px 0; }

/* ---------- FAQ ---------- */
.sz-faq { max-width: 860px; margin: 0 auto; padding: 88px 24px 64px; }
.sz-faq .sz-container { padding: 0; }
.sz-faq .sz-h2 { margin-bottom: 36px; }
.sz-faq__list { display: flex; flex-direction: column; gap: 12px; }
.sz-faq details {
  border: 1px solid var(--sz-line); border-radius: 16px;
  padding: 0 22px; background: var(--sz-white);
  transition: border-color .2s;
}
.sz-faq details[open] { border-color: var(--sz-brand); }
.sz-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 16px; font-weight: 600; color: var(--sz-ink);
  cursor: pointer; list-style: none;
}
.sz-faq summary::-webkit-details-marker { display: none; }
.sz-faq summary i { flex: none; color: var(--sz-brand); transition: transform .2s; }
.sz-faq details[open] summary i { transform: rotate(180deg); }
.sz-faq details p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--sz-body); }

/* ---------- Abschluss-CTA ---------- */
.sz-cta-wrap { padding: 0 0 80px; }
.sz-cta {
  background: var(--sz-brand); border-radius: 28px; padding: 52px 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  color: var(--sz-white);
}
.sz-cta h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.2; }
.sz-cta p { margin: 0; font-size: 17px; color: var(--sz-brand-soft); }
.sz-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Anpassungen an die bestehende Seite ----------
   Das echte 4-Schritte-Formular sitzt in der Anfrage-Karte; ältere
   Seiten-Styles setzen Rahmen, Schatten und eckige Links (3px !important). */
.sz-page .sz-request .lp-order { padding: 0; margin: 0; background: none; }
.sz-page .sz-request .lp-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
.sz-page .sz-request .lp-section-heading { text-align: left; margin: 0 0 14px; }
.sz-page .sz-request .lp-section-heading h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; color: var(--sz-ink); }
.sz-page .sz-request .lp-section-heading p { margin: 0; font-size: 14px; color: var(--sz-soft-text); }
.sz-page .sz-request .lp-order-form { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
.sz-page .sz-request .lp-form-step legend { font-size: 17px; }
.sz-page .sz-btn { border-radius: var(--sz-radius-sm) !important; }
.sz-page .sz-card { border-radius: var(--sz-radius) !important; }
.sz-page .sz-chips a { border-radius: 999px !important; }
.sz-page .sz-cta h2 { color: var(--sz-white) !important; }
.sz-page .sz-cta p { color: var(--sz-brand-soft) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sz-hero__grid,
  .sz-map-grid { grid-template-columns: 1fr; gap: 40px; }
  .sz-map-grid .sz-nearby { position: static; }
  .sz-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-fact:nth-child(2) { border-right: 0; }
  .sz-fact:nth-child(-n+2) { border-bottom: 1px solid var(--sz-line); }
}

@media (max-width: 640px) {
  .sz-hero { padding-bottom: 64px; }
  .sz-hero__text { font-size: 16px; }
  .sz-hero__actions .sz-btn { width: 100%; }
  .sz-request { padding: 20px; }
  .sz-map-card { padding: 16px; }
  .sz-map-card .de-map__box { min-height: 300px; }
  .sz-services,
  .sz-steps { grid-template-columns: 1fr; }
  .sz-steps-box { padding: 32px 22px; border-radius: 22px; }
  .sz-cta { padding: 36px 24px; border-radius: 22px; }
  .sz-cta__actions,
  .sz-cta__actions .sz-btn { width: 100%; }
  .sz-section { padding-top: 72px; }
  .sz-fact { padding: 18px 20px; }
  .sz-fact dt { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .sz-page * { transition: none !important; }
}

/* Dunkle Ablauf-Box: helle Schrift gegen ältere Überschriften-Styles absichern */
.sz-page .sz-steps-box .sz-h2,
.sz-page .sz-steps-box h3,
.sz-page .sz-step__num { color: var(--sz-white) !important; }
.sz-page .sz-steps-box .sz-eyebrow { color: var(--sz-brand-light) !important; }
.sz-page .sz-step p { color: #d8d9f0 !important; }

/* Formular-Kacheln: Icon und Text bleiben bei jeder Breite innerhalb der Kachel */
.lp-order .lp-service-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,112px),1fr))!important;gap:10px!important}
.lp-order .lp-service-grid>label{min-width:0!important;margin:0}
.lp-order .lp-service-grid>label>span{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:88px!important;padding:12px 8px!important;overflow:hidden;text-align:center}
.lp-order .lp-service-grid>label>span>i{flex:none;font-size:20px;line-height:1}
.lp-order .lp-service-grid>label>span>b{display:block;max-width:100%;font-size:clamp(.74rem,2.6vw,.86rem)!important;line-height:1.25;overflow-wrap:anywhere;word-break:normal;-webkit-hyphens:auto;hyphens:auto}
@media (max-width:360px){.lp-order .lp-service-grid{gap:8px!important}.lp-order .lp-service-grid>label>span{min-height:78px!important;padding:10px 6px!important}}

/* Kacheln: immer 2 oder 4 Spalten, je nach Breite der Formularbox (8 Kacheln = volle Reihen) */
.lp-order .lp-order-form{container-type:inline-size}
.lp-order .lp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@container (min-width:560px){.lp-order .lp-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Überschrift: auf sehr schmalen Handys sauber trennen statt mitten im Wort umbrechen */
.sz-page .sz-hero h1 { overflow-wrap: normal; word-break: normal; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 380px) { .sz-page .sz-hero h1 { font-size: 28px; letter-spacing: -.5px; } }

/* Hero: Formular ist immer breiter als der Text und wird nicht gequetscht.
   Zweispaltig erst ab 1100px; darunter steht das Formular in voller Breite unter dem Text. */
.sz-page .sz-hero__grid { grid-template-columns: 1fr; gap: 40px; }
.sz-page .sz-hero__copy { max-width: 760px; }
@media (min-width: 1100px) {
  .sz-page .sz-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(520px, 1.3fr); gap: 48px; align-items: start; }
  .sz-page .sz-hero h1 { font-size: clamp(34px, 3.4vw, 46px); }
  .sz-page .sz-hero__text { font-size: 17px; }
}
.sz-districts { padding-bottom: 24px; }
.sz-districts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sz-districts__list li { border: 1px solid var(--sz-line, #dde1e8); border-radius: 8px; padding: 16px; background: var(--sz-surface, #fff); }
.sz-districts__list h3 { margin: 0 0 6px; font-size: 16px; }
.sz-districts__list p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sz-body); }
.sz-districts__stats { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 0 0 8px; }
.sz-districts__stats dt { font-size: 28px; font-weight: 700; }
.sz-districts__stats dd { margin: 0; color: var(--sz-body); }
