/* Leistungsseiten (tools/build_service_pages.cjs): Sprungleiste, Portfolio, Angebote, FAQ, Kontaktformular */
.svc-section { padding: 56px 0 24px; scroll-margin-top: 140px; }
.svc-head { margin: 0 auto 26px; max-width: 760px; }
.svc-head .section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.svc-head .section-subtitle { margin: 0 auto; max-width: 720px; }
.svc-narrow { max-width: 880px; }
.svc-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }

/* Sprungleiste */
.svc-nav { position: sticky; top: var(--svc-nav-top, 78px); z-index: 40; background: rgba(9, 11, 16, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.svc-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.svc-nav .container::-webkit-scrollbar { display: none; }
.svc-nav a { flex: 0 0 auto; color: #d1d5db; font-size: .85rem; font-weight: 600; text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.svc-nav a:hover, .svc-nav a:focus-visible { color: #fff; border-color: var(--border-gold); background: rgba(220, 179, 92, 0.1); }

/* Portfolio */
.svc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.svc-shot { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-subtle); aspect-ratio: 4 / 3; background: var(--bg-card); }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.svc-shot:hover img { transform: scale(1.05); }
.svc-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #e5e7eb; font-size: .8rem; }
.svc-shot span b { color: #fff; }

/* Beispiele */
.svc-examples { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important; }

/* Angebote rund ums Thema */
.svc-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.svc-offer { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg, 16px); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, transform .25s; }
.svc-offer:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.svc-offer-img { aspect-ratio: 16 / 9; background: #0d1017; overflow: hidden; }
.svc-offer-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-offer-img--ico { display: grid; place-items: center; background: linear-gradient(135deg, rgba(220, 179, 92, .16), rgba(220, 179, 92, .03)); }
.svc-offer-ico { font-size: 2.6rem; }
.svc-offer-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc-offer-tag { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-gold); background: rgba(220, 179, 92, .12); border: 1px solid var(--border-gold); padding: 3px 9px; border-radius: 999px; }
.svc-offer h3 { color: #fff; font-size: 1.05rem; margin: 2px 0 0; }
.svc-offer p { color: var(--text-muted); font-size: .88rem; line-height: 1.55; margin: 0; }
.svc-offer ul { margin: 2px 0 0; padding: 0 0 0 18px; color: #d1d5db; font-size: .86rem; line-height: 1.6; }
.svc-offer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.svc-offer-foot b { color: var(--accent-gold); font-size: .95rem; }

/* Übersicht: Bereiche */
.svc-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.svc-area { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg, 16px); overflow: hidden; display: flex; flex-direction: column; }
.svc-area:hover { border-color: var(--border-gold); }
.svc-area-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1017; }
.svc-area-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.svc-area:hover .svc-area-img img { transform: scale(1.04); }
.svc-area-img--ico { display: grid; place-items: center; font-size: 3.4rem; text-decoration: none; background: linear-gradient(135deg, rgba(220, 179, 92, .18), rgba(220, 179, 92, .03)); }
.svc-area-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-area-body h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.svc-area-body p { color: var(--text-muted); margin: 0; font-size: .9rem; line-height: 1.55; }
.svc-area-price { color: var(--accent-gold); }
.svc-area-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* FAQ: .svc-faq / .svc-faq-item stehen in style.css (auch für die FAQ-Seiten) */

/* Kontakt */
.svc-contact { background: linear-gradient(135deg, rgba(220, 179, 92, 0.10) 0%, rgba(13, 17, 23, 0.95) 100%); border-top: 1px solid var(--border-gold); padding-bottom: 60px; margin-top: 30px; }
.svc-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; align-items: start; }
.svc-trust { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; color: #d1d5db; font-size: .92rem; }
.svc-trust a { color: var(--accent-gold); }
.svc-form { background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg, 16px); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.svc-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.svc-form .f { display: flex; flex-direction: column; gap: 4px; }
.svc-form label { color: #cbd5e1; font-size: .8rem; font-weight: 600; }
.svc-form input, .svc-form select, .svc-form textarea { width: 100%; box-sizing: border-box; background: #0d1017; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; color: #fff; padding: 10px 12px; font: inherit; font-size: .92rem; }
.svc-form input:focus, .svc-form select:focus, .svc-form textarea:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(220, 179, 92, .2); }
.svc-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text-muted) !important; font-size: .8rem !important; line-height: 1.5; }
.svc-consent input { width: auto; margin-top: 3px; }
.svc-consent a { color: var(--accent-gold); }
.svc-msg { border-radius: 10px; padding: 12px 14px; font-size: .88rem; }
.svc-msg--err { background: rgba(239, 68, 68, .12); border: 1px solid #ef4444; color: #fca5a5; }
.svc-msg--ok { background: rgba(74, 222, 128, .12); border: 1px solid #4ade80; color: #bbf7d0; }

/* Bewertungen (gleiche Darstellung wie auf den Preisseiten) */
#weddingReviews .adj-mark { color: var(--accent-gold); font-weight: 700; background: rgba(220, 179, 92, .12); padding: 1px 5px; border-radius: 4px; }
#weddingReviews .review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }

@media (max-width: 860px) {
  .svc-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-section { padding: 40px 0 16px; }
}
@media (max-width: 560px) {
  .svc-form-row { grid-template-columns: minmax(0, 1fr); }
  .svc-nav { top: var(--svc-nav-top, 64px); }
}

/* Entwurfsseiten (Orts-/Nischenseiten aus DRAFTS in tools/service_pages.cjs) */
.svc-draft-note { display: inline-block; margin: 0 auto 18px; padding: 10px 16px; border: 1px dashed #f59e0b; border-radius: 10px; background: rgba(245, 158, 11, .1); color: #fcd34d; font-size: .85rem; line-height: 1.5; max-width: 760px; }
.svc-todo { margin: 14px 0 0; padding: 10px 14px; border: 1px dashed #f59e0b; border-radius: 10px; background: rgba(245, 158, 11, .08); color: #fcd34d; font-size: .9rem; }
.svc-shot--todo { display: flex; align-items: center; justify-content: center; padding: 18px; text-align: center; border-style: dashed; border-color: #f59e0b; color: #fcd34d; font-size: .88rem; }
.svc-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-facts li { position: relative; padding: 12px 16px 12px 40px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; color: #d1d5db; line-height: 1.65; font-size: .95rem; }
.svc-facts li::before { content: "✓"; position: absolute; left: 16px; top: 12px; color: var(--accent-gold); font-weight: 800; }
.svc-facts a, .svc-note a { color: var(--accent-gold); }
.svc-pricelist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.svc-pricelist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; }
.svc-pricelist a { color: #fff; text-decoration: none; }
.svc-pricelist b { color: var(--accent-gold); white-space: nowrap; }
.svc-note { color: var(--text-muted); font-size: .88rem; line-height: 1.6; margin: 16px auto 0; max-width: 820px; }

/* Solange keine Bewertungen geladen sind (oder es keine gibt), keinen leeren Abschnitt zeigen */
#bewertungen:has(#weddingReviews[style*="display:none"]) { display: none; }
/* Kontaktblock: Text links (früher Inline-Styles in build_service_pages.cjs) */
.svc-contact-grid .section-title { text-align: left; }
.svc-contact-grid .section-subtitle { text-align: left; margin: 0 0 18px; }
.svc-contact-grid .svc-actions { justify-content: flex-start; }
