/* ── Subpage Styles ─────────────────────────────────────────── */

/* Breadcrumb */
.sp-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}
.sp-breadcrumb a { color: #f97316; text-decoration: none; }
.sp-breadcrumb a:hover { text-decoration: underline; }
.sp-breadcrumb span { margin: 0 6px; }

/* Hero */
.sp-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 48px 0 40px;
  border-bottom: 4px solid #f97316;
}
.sp-hero h1 {
  font-family: 'Maven Pro', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.sp-hero .sp-breadcrumb { color: #d1d5db; }
.sp-hero .sp-breadcrumb a { color: #f97316; }
.sp-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #e5e7eb;
  max-width: 700px;
  margin-bottom: 24px;
}
.sp-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.sp-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.sp-cta-phone:hover { background: #ea6c00; }
.sp-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.sp-cta-wa:hover { background: #1aab52; }

/* Main content background – gleich wie section-bg auf der Startseite */
main {
  background: #e2e2e2;
  border-bottom: 2px solid #f97316;
}

/* Content layout */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 0;
  align-items: start;
}
@media (max-width: 860px) {
  .sp-layout { grid-template-columns: 1fr; }
  .sp-sidebar { order: -1; }
}

/* Article content */
.sp-article h2 {
  font-family: 'Maven Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 28px 0 10px;
  padding-top: 8px;
}
.sp-article h3 {
  font-family: 'Maven Pro', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 20px 0 8px;
}
.sp-article p {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 14px;
}
.sp-article ul, .sp-article ol {
  margin: 10px 0 16px 20px;
}
.sp-article li {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 6px;
}
.sp-article strong { color: #111827; }

/* Highlights box */
.sp-highlights {
  background: #fff7ed;
  border-left: 4px solid #f97316;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 20px 0;
}
.sp-highlights ul { margin: 8px 0 0 16px; }
.sp-highlights li { color: #374151; font-size: 14px; margin-bottom: 5px; }

/* FAQs */
.sp-faqs { margin-top: 40px; border-top: 2px solid #f3f4f6; padding-top: 32px; }
.sp-faqs h2 { margin-top: 0 !important; margin-bottom: 20px; }
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: #f9fafb;
  border: none;
  text-align: left;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.faq-q:hover { background: #f3f4f6; }
.faq-q .faq-icon { font-size: 18px; line-height: 1; flex-shrink: 0; transition: transform 0.2s; color: #f97316; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  background: #fff;
  border-top: 1px solid #f3f4f6;
}
.faq-a.open { display: block; }

/* Related links */
.sp-related { margin-top: 36px; }
.sp-related h3 { font-size: 16px; font-weight: 700; color: #374151; margin-bottom: 12px; }
.sp-related-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-related-list a {
  display: inline-block;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.15s;
}
.sp-related-list a:hover { background: #f97316; color: #fff; border-color: #f97316; }

/* Sidebar */
.sp-sidebar { position: sticky; top: 80px; }
.sp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sp-card h3 {
  font-family: 'Maven Pro', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}
.sp-card-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sp-card-phone:hover { background: #ea6c00; }
.sp-card-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sp-card-wa:hover { background: #1aab52; }
.sp-card-form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #374151;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.sp-card-form-btn:hover { background: #1f2937; }
.sp-trust-list { list-style: none; padding: 0; margin: 0; }
.sp-trust-list li { font-size: 13px; color: #374151; padding: 6px 0; border-bottom: 1px solid #f3f4f6; display: flex; gap: 8px; align-items: center; }
.sp-trust-list li:last-child { border-bottom: none; }
.sp-trust-list .tick { color: #f97316; font-weight: 700; flex-shrink: 0; }

/* ── Einsatzgebiete Section ─────────────────────────────────── */
.sp-einsatzgebiete {
  background: #fff;
  border-top: 3px solid #f97316;
  padding: 56px 0 48px;
  margin-top: 48px;
}
.sp-einsatz-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.sp-einsatz-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
.sp-einsatz-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f97316;
}
.sp-einsatz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
}
.sp-einsatz-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-einsatz-grid ul li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.sp-einsatz-grid ul li:last-child { border-bottom: none; }
.sp-einsatz-grid .pin {
  font-size: 0.75rem;
  flex-shrink: 0;
}
.sp-einsatz-footer {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.sp-einsatz-footer p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 14px;
}
.sp-einsatz-cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.sp-einsatz-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f97316;
  text-decoration: none;
}
.sp-einsatz-phone:hover { color: #ea6b00; }
.sp-einsatz-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #25D366;
  text-decoration: none;
}
.sp-einsatz-wa:hover { color: #1da851; }
@media (max-width: 900px) {
  .sp-einsatz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .sp-einsatz-grid { grid-template-columns: 1fr 1fr; }
  .sp-einsatz-header h2 { font-size: 1.5rem; }
}

/* Services mini grid */
.sp-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
}
.sp-service-tag {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: #374151;
  text-align: center;
}

.mob-cat-title { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:#f97316; padding:10px 0 2px; margin-top:4px; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIERUNG – alle Unterseiten
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Hero ── */
  .sp-hero { padding: 28px 0 22px; }
  .sp-hero h1 { font-size: clamp(22px, 7vw, 30px); margin-bottom: 10px; }
  .sp-lead { font-size: 14px; margin-bottom: 18px; }
  .sp-cta-row { gap: 8px; }
  .sp-cta-phone { font-size: 16px; padding: 11px 16px; }
  .sp-cta-wa   { font-size: 14px; padding: 10px 14px; }

  /* ── Layout: Sidebar kommt zuerst (mobil-CTA), dann Artikel ── */
  .sp-layout {
    grid-template-columns: 1fr;
    padding: 20px 0;
    gap: 20px;
  }
  .sp-sidebar {
    position: static; /* kein sticky auf Mobile */
    order: -1;
  }
  .sp-card { padding: 16px; margin-bottom: 12px; }
  .sp-card h3 { font-size: 15px; margin-bottom: 10px; }
  .sp-card-phone { font-size: 15px; padding: 10px 14px; }
  .sp-card-wa    { font-size: 14px; padding: 9px  14px; }

  /* ── Artikel ── */
  .sp-article h2 { font-size: 18px; margin: 20px 0 8px; }
  .sp-article h3 { font-size: 15px; margin: 14px 0 6px; }
  .sp-article p  { font-size: 14px; }
  .sp-article li { font-size: 14px; }

  /* ── FAQ ── */
  .sp-faqs { margin-top: 28px; padding-top: 22px; }
  .faq-q   { font-size: 14px; padding: 12px 14px; }
  .faq-a   { font-size: 13px; padding: 12px 14px; }

  /* ── Kontakt-Section (homepage-style, auf Unterseiten eingefügt) ── */
  .section-header h2    { font-size: 24px; }
  .section-tagline      { font-size: 16px; }
  .kontakt-grid         { grid-template-columns: 1fr; gap: 0; }
  .kontakt-form-card    { padding: 20px 16px; border-radius: 10px; }
  .form-group label     { font-size: 13px; }
  .form-group input,
  .form-group textarea  { font-size: 14px; padding: 10px 12px; }
  .form-submit          { font-size: 15px; padding: 13px; }
  .contact-card         { padding: 14px 16px; }
  .contact-card-value   { font-size: 15px; }

  /* ── Einsatzgebiete ── */
  .sp-einsatzgebiete    { padding: 36px 0 30px; margin-top: 32px; }
  .sp-einsatz-header h2 { font-size: 1.4rem; }
  .sp-einsatz-grid      { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .sp-einsatz-grid ul li { font-size: 0.8rem; padding: 4px 0; }
  .sp-einsatz-cta       { gap: 16px; }
  .sp-einsatz-phone,
  .sp-einsatz-wa        { font-size: 1rem; }

  /* ── Kategorie-Bild ── */
  .sp-cat-img { max-height: 180px; object-fit: cover; border-radius: 8px; }

  /* ── Related links ── */
  .sp-related-list a { font-size: 12px; padding: 5px 10px; }
}

@media (max-width: 480px) {
  .sp-hero { padding: 22px 0 18px; }
  .sp-cta-phone, .sp-cta-wa { width: 100%; justify-content: center; }
  .sp-einsatz-grid { grid-template-columns: 1fr; }
  .sp-services-grid { grid-template-columns: 1fr; }
}

/* ── Neukunden-Rabatt-Badge (mobile) ── */
@media (max-width: 768px) {
  .neukunden-badge { width: 90px; height: 90px; top: -4px; }
  .neukunden-badge-pct { font-size: 26px; }
  .neukunden-badge-line { font-size: 9.5px; }
}
@media (max-width: 480px) {
  .neukunden-badge { width: 76px; height: 76px; }
  .neukunden-badge-pct { font-size: 22px; }
  .neukunden-badge-line { font-size: 8.5px; }
}
