/* Kontakt-Bausteine (src/kontakt.mjs): Kopfleiste, Streifen, Band, Fußzeile, Schnellkontakt.
   Nur Variablen und Klassen der bestehenden Gestaltung; keine Webfonts, keine externen Ressourcen. */

.kt-ic { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kopfleiste ---------- */
.ribbon-kt { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-left: auto; }
.ribbon .ribbon-tel { display: inline-flex; gap: 6px; align-items: center; color: #efeef6; font-weight: 700; white-space: nowrap; }
.ribbon .ribbon-tel:hover, .ribbon .ribbon-tel:focus-visible { color: var(--marker); }
.ribbon .ribbon-cta { white-space: nowrap; }
@media (max-width: 720px) { .ribbon-kt { margin-left: 0; } .ribbon .ribbon-cta { display: none; } } /* am Telefon steht „Erstgespräch“ ohnehin in der Leiste unten */

/* ---------- Streifen im Text ---------- */
.kt-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.kt-strip-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.kt-strip-t { margin: 0; max-width: 58ch; font-weight: 650; color: var(--ink); }
.kt-strip-act { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.kt-strip-link { display: inline-flex; gap: 7px; align-items: center; color: var(--ink-2); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.kt-strip-link:hover, .kt-strip-link:focus-visible { color: var(--ink); background: linear-gradient(transparent 60%, var(--marker-soft) 60%); }

/* ---------- Unter der FAQ ---------- */
.faq-more { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.faq-more a:not(.btn) { display: inline-flex; gap: 7px; align-items: center; color: var(--ink-2); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.faq-more a:not(.btn):hover, .faq-more a:not(.btn):focus-visible { color: var(--ink); background: linear-gradient(transparent 60%, var(--marker-soft) 60%); }

/* ---------- Kontaktband vor der Fußzeile ---------- */
.kt-band { scroll-margin-top: 80px; }
.kt-band-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 56px; align-items: center; }
.kt-band h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; }
.kt-band .lead { margin-bottom: 0; }
.kt-band-act { display: flex; flex-direction: column; gap: 12px; }
.kt-band-act .btn { justify-content: center; overflow-wrap: anywhere; }
@media (max-width: 860px) { .kt-band-in { grid-template-columns: 1fr; } }

/* ---------- Fußzeile ---------- */
.site-footer .footer-grid a.btn.footer-cta { display: inline-flex; margin: 2px 0 14px; padding: 0.55em 1.1em; color: #14131d; font-size: 0.92rem; }
.footer-adr { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.footer-grid .footer-adr a { display: flex; gap: 8px; align-items: center; }
.footer-adr > span { margin-top: 10px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.footer-rechtlich { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 12px; }
.footer-rechtlich a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.footer-rechtlich a:hover, .footer-rechtlich a:focus-visible { color: var(--ink); text-decoration: underline; }

/* ---------- Schnellkontakt: am Rechner eine Schaltfläche, am Telefon eine Leiste ---------- */
.kt-sticky { position: fixed; z-index: 45; right: 20px; bottom: 20px; display: flex; gap: 10px; transition: transform 0.25s ease, opacity 0.25s ease; }
.kt-sticky .btn { box-shadow: 0 10px 28px -10px rgba(20, 19, 29, 0.55); }
.kt-sticky .kt-sticky-tel { display: none; }
.kt-sticky.kt-sticky-off { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 860px) {
  .kt-sticky { left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
  .kt-sticky .btn { flex: 1; justify-content: center; box-shadow: none; }
  .kt-sticky .kt-sticky-tel { display: inline-flex; }
  .site-footer { padding-bottom: 96px; }
  .kt-toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .kt-sticky { transition: none; } }
@media print { .kt-sticky, .kt-strip, .kt-band { display: none; } }
