/* Kontakt schnell (Yusuf 30.10.2026, Vorbild Wege-Karten + Kurzformular): oben vier Wege, direkt darunter das Formular
   mit Themen-Knöpfen, die Leistungs-Kacheln (#konfigurieren) erst danach. JS: js/kontakt-schnell.js */
.kp-hero .kontakt-hero-mini-inner { align-items: flex-start; }
.ks-wege { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ks-weg { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px 18px 18px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; text-decoration: none; transition: border-color .2s, background-color .2s; }
.ks-weg svg { width: 26px; height: 26px; fill: none; stroke: #7fb4ff; stroke-width: 1.7; margin-bottom: 6px; }
.ks-weg-t { font-size: 17px; font-weight: 600; line-height: 1.3; }
.ks-weg-t em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #fff; color: #0b1c3d; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.ks-weg-s { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); overflow-wrap: anywhere; }
.ks-weg--top { background: #fff; border-color: #fff; color: #0b1c3d; }
.ks-weg--top svg { stroke: #0071e3; }
.ks-weg--top .ks-weg-s { color: #42506a; }
.ks-weg--top .ks-weg-t em { background: #0b1c3d; color: #fff; }
@media (hover: hover) {
  .ks-weg:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
  .ks-weg--top:hover { background: #eef3f9; border-color: #eef3f9; }
}
.ks-weg:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 3px; }

/* Formular direkt unter dem Kopf */
.ks-anker { display: block; height: 0; scroll-margin-top: 80px; }
.ks-kopf { margin: 0 0 22px; }
.ks-h { margin: 8px 0 6px; font-size: clamp(26px, 2.2vw, 34px); color: #0b1c3d; }
.ks-sub { margin: 0; color: #42506a; font-size: 16px; }
.ks-label { display: block; font-size: 14px; font-weight: 600; color: #0b1c3d; margin-bottom: 10px; }
.ks-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #cdd6e4; background: #fff; color: #0b1c3d; font: inherit; font-size: 15px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.ks-chip[aria-pressed="true"] { background: #0b1c3d; border-color: #0b1c3d; color: #fff; }
@media (hover: hover) { .ks-chip:not([aria-pressed="true"]):hover { border-color: #0b1c3d; } }
.ks-chip:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.ks-sel { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.ks-themen { position: relative; }
.ks-mehr { margin: 4px 0 8px; }
.ks-mehr summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: #0066cc; list-style: none; }
.ks-mehr summary::-webkit-details-marker { display: none; }
.ks-mehr summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; border: 1px solid currentColor; font-size: 15px; line-height: 1; }
.ks-mehr[open] summary::before { content: "−"; }
.ks-anfrage { padding-top: 56px !important; }

@media (max-width: 1023px) { .ks-wege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ks-wege { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .ks-weg { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 2px; padding: 14px 16px; }
  .ks-weg svg { margin: 0; flex: 0 0 24px; }
  .ks-weg-t { flex: 1 1 auto; }
  .ks-weg-s { flex: 0 0 100%; padding-left: 36px; font-size: 13.5px; }
  .ks-anfrage { padding-top: 40px !important; }
}
/* Feinschliff: Schild oben rechts, Abstand unter den Themen, Handy kompakt (Formular rückt nach oben) */
.ks-weg-t em { position: absolute; top: 16px; right: 16px; margin: 0; vertical-align: 0; }
.ks-themen { margin-bottom: 18px; }
@media (max-width: 560px) {
  .ks-weg { padding: 12px 14px; min-height: 52px; }
  .ks-weg-t { font-size: 16px; }
  .ks-weg-t em { top: 50%; transform: translateY(-50%); right: 14px; }
  .ks-weg:not(.ks-weg--top) .ks-weg-s { display: none; }
  .ks-weg--top .ks-weg-s { display: none; }
  .ks-weg[href^="mailto"] .ks-weg-s { display: block; }
}
/* Handy: nur Erstgespräch und „Etwas anderes“ als Knöpfe, alles andere im Auswahlfeld (Yusuf 01.11.2026) */
@media (max-width: 767px) {
  .ks-chip:not(:first-child):not(:last-child) { display: none; }
  .ks-chips { margin-bottom: 10px; }
  .ks-chip { flex: 1 1 auto; font-size: 14px; padding: 0 12px; }
  .ks-sel { position: static !important; display: block; width: 100% !important; height: 48px !important; opacity: 1; pointer-events: auto; overflow: visible; clip: auto; padding: 0 12px; border: 1px solid #cdd6e4; border-radius: 12px; background: #fff; color: #0b1c3d; font: inherit; font-size: 16px; }
}

/* Handy: die schwebende Leiste weicht, solange das Formular im Bild ist (js/kontakt-schnell.js, 13.11.2026) */
@media (max-width: 767px) { html.ks-form-sicht body .h6-leiste { display: none; } }
