/* ======================================================================
   ServiceOne — Inner-page components (extends heimatbetrieb.css)
   ====================================================================== */

/* ---- Page hero (breadcrumb + title) ---------------------------------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink3); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }

.page-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(28px, 4vw, 44px); }
.page-hero.with-img { padding-bottom: 0; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 64px); margin-top: 16px; }
.page-hero .lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--ink2); margin-top: 18px; max-width: 580px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.page-hero-photo { border-radius: var(--radius); overflow: hidden; background: #aeb7c8; aspect-ratio: 4/3; }

/* ---- Legal / prose pages --------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--display); font-size: clamp(21px, 2.3vw, 28px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 12px; }
.legal p { font-size: 15.5px; line-height: 1.72; color: var(--ink2); margin-bottom: 14px; }
.legal a { color: var(--cyanInk); border-bottom: 1px solid var(--cyan); word-break: break-word; }
.legal a:hover { color: var(--ink); }
.legal ul.legal-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 9px; }
.legal ul.legal-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.62; color: var(--ink2); }
.legal ul.legal-list li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.legal .legal-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 20px 24px; margin: 4px 0 8px; box-shadow: 0 14px 40px -30px rgba(9,24,100,.4); }
.legal .legal-card p { margin-bottom: 8px; }
.legal .legal-meta { font-size: 13.5px; color: var(--ink3); }
.legal .todo { display: inline-block; background: #eef6ff; border: 1px dashed var(--cyanDp); border-radius: 7px; padding: 1px 8px; font-size: 13px; color: var(--cyanInk); font-weight: 500; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-cta-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* ---- Symptom / problem grid ------------------------------------------ */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.symptom { border-left: 3px solid var(--ink); padding: 4px 0 4px 14px; }
.symptom.accent { border-color: var(--cyan); }
.symptom h4 { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.symptom p { font-size: 13px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }

/* ---- Cause cards ----------------------------------------------------- */
.cause-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cause { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 22px; }
.cause .n { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--cyanInk); }
.cause h4 { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-top: 4px; }
.cause p { font-size: 13px; color: var(--ink2); margin-top: 8px; line-height: 1.55; }

/* ---- Process steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-size: 20px; font-weight: 500;
}
.step.accent .num { background: var(--cyan); color: var(--cyanInk); }
.step h4 { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-top: 14px; }
.step p { font-size: 13px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }
.step .line { position: absolute; top: 22px; left: 54px; right: -8px; height: 1px; background: var(--hairD); }
.step:last-child .line { display: none; }

/* ---- Festpreis box --------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 40px); align-items: center; }
.price-list { margin-top: 14px; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink2); }
.price-list li::before { content: "✓"; color: var(--cyanInk); font-weight: 700; }
.price-box { background: var(--surface); border: 1.5px solid var(--cyan); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: 0 12px 32px -18px rgba(0,143,191,.25); }
.price-box .k { font-size: 12px; color: var(--ink3); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.price-box .v { font-family: var(--display); font-size: clamp(40px, 5vw, 56px); font-weight: 500; color: var(--cyanInk); line-height: 1; letter-spacing: -0.03em; margin: 6px 0; }
.price-box .sub { font-size: 12px; color: var(--ink3); }

/* ---- FAQ accordion --------------------------------------------------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; background: none; border: none; text-align: left; font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.faq-q .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--hairD); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .2s, background .2s, color .2s; }
.faq-item.open .faq-q .ico { background: var(--cyan); color: var(--cyanInk); border-color: var(--cyanDp); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 4px 22px; font-size: 15px; color: var(--ink2); line-height: 1.6; max-width: 680px; }

/* ---- Related links chips --------------------------------------------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; padding: 16px 18px; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; transition: border-color .14s, transform .14s; }
.related:hover { border-color: var(--cyan); transform: translateY(-2px); }
.related .arr { color: var(--cyanInk); font-style: italic; }

/* ---- Self-help vs call split ----------------------------------------- */
.split-help { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.help-box { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; }
.help-box.warn { border-color: var(--cyan); border-width: 1.5px; }
.help-box h4 { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.help-box ul { margin-top: 14px; display: grid; gap: 10px; }
.help-box ul li { display: flex; gap: 10px; font-size: 15px; color: var(--ink2); line-height: 1.45; }
.help-box.ok ul li::before { content: "✓"; color: #1f7a5a; font-weight: 700; }
.help-box.warn ul li::before { content: "!"; color: var(--cyanInk); font-weight: 700; width: 16px; }

/* ---- Big phone block (Notdienst) ------------------------------------- */
.phone-hero { background: var(--surface); border: 1.5px solid var(--cyan); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); text-align: center; box-shadow: 0 16px 40px -20px rgba(0,143,191,.3); }
.phone-hero .k { font-size: 12px; color: var(--cyanInk); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.phone-hero .num { font-family: var(--display); font-size: clamp(44px, 7vw, 80px); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -0.03em; margin: 10px 0 16px; display: block; }
.phone-hero .num:hover { color: var(--cyanInk); }

/* ---- Notfall symptom tiles ------------------------------------------- */
.notfall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.notfall-tile { background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; padding: 18px; display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.notfall-tile .e { font-size: 22px; }

/* ---- Price columns (notdienst) --------------------------------------- */
.npricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.npricing .np { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 22px; }
.npricing .np h4 { font-family: var(--display); font-size: 18px; font-weight: 500; }
.npricing .np .v { font-family: var(--display); font-size: 34px; font-weight: 500; color: var(--cyanInk); letter-spacing: -0.02em; margin-top: 6px; }
.npricing .np .sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }

/* ---- Map placeholder ------------------------------------------------- */
.map-ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background:
  repeating-linear-gradient(45deg, #dde3ee 0 18px, #d3dbe9 18px 19px),
  #e6ebf4; position: relative; border: 1px solid var(--hairD); }
.map-ph .pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -100%); }
.map-ph .pin svg { width: 40px; height: 40px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.map-ph .label { position: absolute; bottom: 14px; left: 14px; background: rgba(255,255,255,.9); border-radius: 8px; padding: 6px 12px; font-size: 12px; color: var(--ink2); }

/* Map placeholder holding a real regional photo */
.map-ph.has-photo { background: #0b1330; }
.map-ph.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-ph.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,24,100,.5), rgba(9,24,100,0) 52%); pointer-events: none; }
.map-ph.has-photo .label { background: rgba(9,24,100,.82); color: #fff; z-index: 2; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); font-weight: 500; }
.map-ph.has-photo .label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,193,255,.3); flex: none; }

/* Live embedded map (real location) */
.map-embed { position: relative; overflow: hidden; background: #eef3fb; min-height: 340px; align-self: stretch; }
.map-embed iframe, .map-embed img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; object-position: 56% 48%; }
.map-embed .map-open { position: absolute; bottom: 14px; left: 14px; z-index: 2; background: rgba(9,24,100,.86); color: #fff; border-radius: 9px; padding: 8px 13px; font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); text-decoration: none; box-shadow: 0 8px 22px -10px rgba(0,0,0,.45); transition: background .14s; }
.map-embed .map-open:hover { background: rgba(9,24,100,.96); }
.map-embed .map-open .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,193,255,.3); flex: none; }

/* ---- Stats band ------------------------------------------------------ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stats-band .stat { padding: 28px; border-right: 1px solid var(--hair); }
.stats-band .stat:last-child { border-right: none; }
.stats-band .num { font-family: var(--display); font-size: clamp(36px, 4.4vw, 48px); font-weight: 500; line-height: 1; letter-spacing: -0.025em; }
.stats-band .num.accent { color: var(--cyanInk); }
.stats-band .lab { font-size: 13px; color: var(--ink3); margin-top: 8px; }

/* ---- Team / portrait ------------------------------------------------- */
.portrait-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.portrait-hero .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: #8a7f70; }
.portrait-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.pull-quote { font-family: var(--display); font-size: clamp(32px, 4.2vw, 52px); font-weight: 500; line-height: 1.06; letter-spacing: -0.025em; }
.pull-attr { font-size: 15px; color: var(--ink3); margin-top: 18px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: #aeb7c8; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-family: var(--display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-top: 12px; }
.team-card .role { font-size: 13px; color: var(--ink3); margin-top: 2px; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px; text-align: center; }
.cert .doc { aspect-ratio: 3/2; border-radius: 10px; margin-bottom: 14px; background:
  repeating-linear-gradient(135deg, #eef2f8 0 10px, #e6ebf4 10px 11px); border: 1px solid var(--hairD);
  display: flex; align-items: center; justify-content: center; font-size: 30px; }
.cert h4 { font-family: var(--display); font-size: 18px; font-weight: 500; }

/* ---- Values list ----------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; }
.value .n { font-family: var(--display); font-size: 14px; color: var(--cyanInk); font-weight: 500; }
.value h4 { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; }
.value p { font-size: 14px; color: var(--ink2); margin-top: 10px; line-height: 1.6; }

/* ---- Benefits (Karriere) --------------------------------------------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit { background: var(--surface); border: 1px solid var(--hair); border-radius: 14px; padding: 22px; }
.benefit .e { font-size: 26px; }
.benefit h4 { font-family: var(--display); font-size: 18px; font-weight: 500; margin-top: 12px; }
.benefit .v { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--cyanInk); letter-spacing: -0.02em; margin-top: 4px; }
.benefit p { font-size: 13px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }

/* ---- Job list -------------------------------------------------------- */
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.job { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.job h4 { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.job .meta { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.job p { font-size: 14px; color: var(--ink2); margin-top: 10px; line-height: 1.55; flex: 1; }
.job .btn { margin-top: 18px; }

/* ---- CTA band (reusable closer) -------------------------------------- */
.cta-band { background: var(--dark); color: var(--paper); border-radius: 24px; padding: clamp(40px, 5vw, 64px); text-align: center; position: relative; overflow: hidden; }
.cta-band .deco { position: absolute; left: 50%; top: -120px; transform: translateX(-50%); opacity: .12; }
.cta-band h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -0.025em; position: relative; max-width: 800px; margin: 0 auto; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,.72); margin-top: 16px; position: relative; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; margin-top: 28px; position: relative; flex-wrap: wrap; }
.cta-band .link-light { color: #9ee7ff; border-bottom: 1px dashed #9ee7ff; padding-bottom: 1px; font-weight: 500; align-self: center; }

/* ---- Two-col intro --------------------------------------------------- */
.lead-2col { columns: 2; column-gap: 36px; font-size: 15px; line-height: 1.65; color: var(--ink2); }
.lead-2col p { margin-bottom: 14px; break-inside: avoid; }

/* ---- Personal touch card (warm, human, reusable) --------------------- */
.personal-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 14px 40px -28px rgba(26,23,20,.4);
}
.personal-card .pc-photo {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  overflow: hidden; background: #aeb7c8; border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--hairD);
}
.personal-card .pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.personal-card .pc-body { flex: 1; min-width: 0; }
.personal-card .pc-quote { font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.32; letter-spacing: -0.01em; color: var(--ink); }
.personal-card .pc-name { font-size: 13px; color: var(--ink3); margin-top: 6px; }
.personal-card .pc-name strong { color: var(--ink2); font-weight: 600; }
.personal-card .pc-sig { font-family: 'Caveat', var(--display); font-size: 26px; color: var(--cyanInk); line-height: 1; }

/* Inline reassurance row of friendly micro-promises */
.reassure-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.reassure-row .rz { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink2); font-weight: 500; }
.reassure-row .rz svg { width: 16px; height: 16px; flex: none; color: var(--cyanDp); }

@media (max-width: 480px) {
  .personal-card { flex-direction: column; text-align: center; align-items: center; }
}

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .page-hero-grid, .portrait-hero { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step .line { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band .stat:nth-child(2) { border-right: none; }
  .stats-band .stat:nth-child(1), .stats-band .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .notfall-grid { grid-template-columns: 1fr 1fr; }
  .lead-2col { columns: 1; }
}
@media (max-width: 860px) {
  .symptom-grid, .cause-grid, .related-grid, .split-help, .npricing, .values-grid, .job-grid, .cert-grid { grid-template-columns: 1fr; }
  .symptom-grid, .values-grid, .npricing { max-width: 480px; }
}
@media (max-width: 560px) {
  .steps, .team-grid, .benefits-grid, .stats-band, .notfall-grid { grid-template-columns: 1fr; }
  .stats-band .stat { border-right: none; border-bottom: 1px solid var(--hair); }
  .stats-band .stat:last-child { border-bottom: none; }
}
