/* Kontaktseite: zwei Wege (Termin, Rückruf) und die Ein-Zeilen-Nachricht, die sich ab 3 Zeichen aufklappt.
   Knöpfe in Funnel-Gestalt (Pille, 2px Rand, Gewicht 800, Hub beim Hover, Feder beim Klick), Farben folgen dem Abschnitt. */

.kt-ways { display: grid; gap: var(--space-7); grid-template-columns: 1fr; margin-bottom: var(--space-9, 96px); }
@media (min-width: 760px) { .kt-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap, 32px); } }
.kt-way { align-content: start; }
.kt-way .alt__cta { margin-top: var(--space-3); }
.kt-hint { font-size: var(--t-small); color: var(--muted); max-width: 44ch; text-wrap: pretty; }

.kt-knopf {
  --kbg: var(--accent, #2238b8);
  --kfg: var(--bg, #f5efe3);
  --kspring: cubic-bezier(.3, 1.6, .5, 1);
  --kease: cubic-bezier(.2, .7, .2, 1);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; min-width: 44px; padding: 0 28px;
  background: var(--kbg); color: var(--kfg);
  border: 2px solid var(--kbg); border-radius: 99px;
  font: inherit; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--kease), box-shadow .15s;
}
.kt-knopf .icon { width: 20px; height: 20px; flex: none; transition: transform .25s var(--kease); }
@media (hover: hover) {
  .kt-knopf:hover { transform: translateY(-3px) rotate(-.6deg); }
  .kt-knopf:hover .icon { transform: translateX(4px); }
}
.kt-knopf:active { transform: scale(.95); }
.kt-knopf.knopf-klick { animation: kt-klick .5s var(--kspring); }
@keyframes kt-klick { 0% { transform: scale(.93); } 55% { transform: scale(1.05); } 100% { transform: none; } }
.kt-knopf:focus-visible { outline: 3px solid var(--kbg); outline-offset: 3px; }
.kt-knopf[disabled] { opacity: .6; cursor: progress; }
.kt-knopf--zwei { background: transparent; color: var(--kbg); }

/* Formular */
.kt-form { max-width: 720px; }
.kt-form .field__input--area { min-height: 56px; resize: none; overflow: hidden; line-height: 1.3; }
.kt-form .field__label--lead { text-transform: none; letter-spacing: -.01em; font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 300; color: var(--fg); line-height: 1.25; }
.kt-form .field__input { min-height: 56px; }
.kt-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kt-form .form__foot { align-items: center; flex-wrap: wrap; }

/* Aufklappen: nur mit JavaScript eingeklappt; ohne JavaScript sind alle Felder sichtbar. */
.kt-more { display: grid; gap: var(--space-5); }
.js .kt-more-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), opacity .35s linear; opacity: 0; visibility: hidden; }
.js .kt-more-wrap.is-open { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.js .kt-more-wrap > .kt-more { overflow: hidden; min-height: 0; padding: 4px 4px 8px; margin: -4px; }
.kt-more-wrap:not(.is-open) .kt-more > * { /* nichts: Sichtbarkeit steuert der Rahmen */ }

.kt-danke { max-width: 720px; display: grid; gap: var(--space-4); justify-items: start; }
.kt-danke[hidden] { display: none; }
.kt-danke:focus { outline: none; }
.kt-danke__title { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; font-weight: 300; letter-spacing: -.025em; text-wrap: balance; }
.kt-danke__text { max-width: 44ch; color: var(--muted); }

@media (max-width: 640px) {
  .kt-knopf { width: 100%; }
  .kt-form .form__foot { display: grid; justify-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .kt-knopf, .kt-knopf .icon { transition: none; }
  .kt-knopf:hover, .kt-knopf:active { transform: none; }
  .kt-knopf.knopf-klick { animation: none; }
  .js .kt-more-wrap { transition: none; }
}
.kt-form[hidden] { display: none; }
