/* Kontaktseite – nur Komposition, die es so nur hier gibt (Komponenten stehen in site.css) */

/* ---------- Kopf: Hero (schmal) + „Was Sie bekommen“ ---------- */
.kt-top { position: relative; isolation: isolate; overflow: hidden; padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.kt-top-grid { display: grid; gap: var(--sp-8); }
.kt-hero { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-5); min-width: 0; }
.kt-hero .h1 { max-width: 14ch; font-size: clamp(2.375rem, 1.25rem + 3.9vw, 4.5rem); }
.kt-hero .h1 em { white-space: nowrap; }
.kt-hero .hero-lede { max-width: 34rem; }

.kt-get {
  position: relative; min-width: 0; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-xl);
  border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005)), var(--bg-2);
}
.kt-get::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: var(--grad); opacity: .7; }
.kt-get-t { margin-top: 14px; font: var(--fw-display) clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.08 var(--ff-display); letter-spacing: -.03em; color: var(--text); }
.kt-get-x { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: var(--text-2); max-width: 38rem; }
.kt-get-list { margin-top: 22px; border-top: 1px solid var(--line); }
.kt-get-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kt-get-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kt-get-no {
  font: 300 1.75rem/1 var(--ff-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; padding-right: .05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kt-get-list h3 { font: 500 1.0625rem/1.3 var(--ff-display); letter-spacing: -.01em; color: var(--text); }
.kt-get-list p { margin-top: 4px; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
@media (max-width: 47.99em) {
  .kt-get { padding: 22px 20px; }
  .kt-get-x { font-size: .9375rem; }
  .kt-get-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 0; }
  .kt-get-no { font-size: 1.5rem; }
  .kt-get-list p { font-size: .875rem; }
}
/* Ab 992 px (Tablet quer) „Was Sie bekommen“ neben dem Hero – sonst bleibt die rechte Hero-Hälfte leer.
   H1 an der Spaltenbreite ausrichten, damit „Kostenlose Demo“ und „und Projekt-Entwurf“ je in einer Zeile bleiben (ab 1334 px wie bisher 4.5rem). */
@media (min-width: 62em) {
  .kt-top-grid { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); column-gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
  .kt-hero { padding-right: 16px; }
  .kt-hero .h1 { font-size: min(5.4vw, 4.5rem); }
  .kt-hero .cta-trust { text-wrap: pretty; }
}

/* ---------- Formular (links) + Seitenspalte (rechts) ---------- */
.kt-main { position: relative; padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section); border-top: 1px solid var(--line); }
.kt-main-grid { display: grid; gap: var(--sp-6); align-items: start; }
.kt-form { min-width: 0; }
@media (min-width: 56.25em) {
  .kt-main-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(1.5rem, 3.5vw, 3.5rem); }
}

/* Inline-Formular auf der Seite: größerer Kopf, mehr Luft, Auswahl-Karten ab 768 px zweispaltig */
.kt-form .rs-inline { position: relative; max-width: none; box-shadow: var(--shadow-ui); }
.kt-form .rs-inline::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .85; }
.kt-form .rs-head { gap: 14px; padding: 24px 22px 0; }
.kt-form .rs-head .od-sm { width: 44px; height: 44px; }
.kt-form .rs-ht h2 { font: var(--fw-display) clamp(1.5rem, 1.25rem + .9vw, 2rem)/1.1 var(--ff-display); letter-spacing: -.025em; }
.kt-form .rs-ht p { margin-top: 4px; font-size: var(--fs-sm); color: var(--text-3); }
.kt-form .rs-progress { margin: 20px 22px 0; }
.kt-form .rs-status { margin: 10px 22px 0; font-size: var(--fs-xs); }
.kt-form .rs-body { padding: 4px 22px 24px; }
.kt-form .rs-foot { padding: 16px 22px 18px; background: rgba(255, 255, 255, .012); }
.kt-form .rs-step-t { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); }
.kt-form .rs-btns .btn { white-space: nowrap; }
@media (max-width: 47.99em) {
  .kt-form .rs-head { padding-inline: 18px; }
  .kt-form .rs-progress, .kt-form .rs-status { margin-inline: 18px; }
  .kt-form .rs-body { padding-inline: 18px; }
  .kt-form .rs-foot { padding-inline: 18px; }
  .kt-form .rs-btns [data-rs-back] { padding-inline: 8px; }
}
/* Nach dem Absenden zeigt das Formular selbst „So geht es weiter“ – die gleichlautende Karte daneben entfällt */
.kt-main:has(.rs-form.is-done) .kt-next { display: none; }
@media (min-width: 48em) {
  .kt-form .rs-head { padding: 30px 32px 0; }
  .kt-form .rs-progress { margin-inline: 32px; }
  .kt-form .rs-status { margin-inline: 32px; }
  .kt-form .rs-body { padding: 6px 32px 30px; }
  .kt-form .rs-foot { padding: 18px 32px 20px; }
  .kt-form .rs-btns .btn-primary { min-width: 12.5rem; }
}
/* Auswahl-Karten zweispaltig nur, wenn die Formularspalte breit genug ist:
   768–899 px (Formular volle Breite) und ab 1200 px. Dazwischen steht das Formular neben der Seitenspalte – einspaltig, sonst umbrechen Titel/Beschreibung auf 3–5 Zeilen. */
@media (min-width: 48em) and (max-width: 56.24em), (min-width: 75em) {
  .kt-form .rs-step > .rs-cards, .kt-form .rs-group > .rs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-form .rs-cards > .rs-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Seitenspalte */
.kt-side { display: grid; gap: 16px; min-width: 0; }
.kt-card { position: relative; min-width: 0; padding: clamp(1.25rem, 2.6vw, 1.75rem); border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--bg-2); }
.kt-card-t { margin-top: 10px; font: var(--fw-display) clamp(1.375rem, 1.2rem + .6vw, 1.75rem)/1.15 var(--ff-display); letter-spacing: -.022em; color: var(--text); text-wrap: balance; }

/* Direkter Draht */
.kt-direct { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(140deg, rgba(34, 211, 238, .45), rgba(99, 102, 241, .25) 45%, rgba(238, 241, 247, .1)) border-box; border-color: transparent; }
.kt-person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.kt-person .od-mark { width: 52px; height: 52px; }
.kt-person-n { display: block; font: 500 1.125rem/1.3 var(--ff-display); color: var(--text); }
.kt-person-r { display: block; font-size: .875rem; color: var(--text-3); }
.kt-direct-x { position: relative; margin-top: 16px; padding-left: 16px; font: 400 1.0625rem/1.5 var(--ff-display); letter-spacing: -.01em; color: var(--text); }
.kt-direct-x::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 1px; background: var(--grad); }
.kt-contact { margin-top: 18px; border-top: 1px solid var(--line); }
.kt-contact > div { display: grid; grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.kt-contact > div:last-child { border-bottom: 0; }
.kt-contact dt { display: flex; align-items: center; gap: 10px; font: 500 var(--fs-xs)/1.2 var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.kt-contact dt .ico { width: 16px; height: 16px; color: var(--accent); flex: none; }
.kt-contact dd { min-width: 0; font-size: .9375rem; color: var(--text); overflow-wrap: anywhere; }
.kt-contact .f-ph { display: inline; min-height: 0; padding: 0; font-size: inherit; color: var(--text-2); }
.kt-contact dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration-color: rgba(34, 211, 238, .55); text-underline-offset: 3px; }
.kt-contact dd a:hover { text-decoration-color: var(--accent); }
@media (max-width: 47.99em) {
  /* Handy: echte Nummer/Adresse als Knopf (erscheint erst, wenn in site.json echte Werte stehen) */
  .kt-contact dd a { justify-content: center; width: 100%; min-height: var(--btn-h); padding: 0 16px; border: 1px solid var(--line-3); border-radius: var(--btn-radius); text-decoration: none; font-weight: 600; }
}

/* So geht es weiter */
.kt-steps { margin-top: 18px; display: grid; }
.kt-steps li { position: relative; counter-increment: kt; padding: 0 0 18px 44px; font-size: .9375rem; line-height: 1.55; color: var(--text-2); }
.kt-steps { counter-reset: kt; }
.kt-steps li::before {
  content: counter(kt); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 500 .8125rem/1 var(--ff-display); color: var(--text); border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box;
}
.kt-steps li::after { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 4px; width: 1px; background: var(--line-2); }
.kt-steps li:last-child { padding-bottom: 0; }
.kt-steps li:last-child::after { display: none; }
.kt-steps strong { color: var(--text); font-weight: 600; }
.kt-steps-note { margin: 16px 0 6px; font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- M25 als breite Tafel unter beiden Spalten ---------- */
.kt-plate { display: grid; gap: var(--sp-6); align-items: center; overflow: hidden; isolation: isolate; }
.kt-plate::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 55%; height: 160%; background: radial-gradient(closest-side, rgba(99, 102, 241, .12), transparent 72%); pointer-events: none; }
.kt-plate-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.kt-plate-x { font-size: 1rem; line-height: 1.65; color: var(--text-2); max-width: 30rem; }
.kt-plate-fig { min-width: 0; }
.kt-plate-fig .mock-cap { margin-top: 16px; text-align: center; }
@media (min-width: 56.25em) {
  .kt-main-grid > .kt-plate { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--sp-8); padding: clamp(1.75rem, 3vw, 2.75rem); }
  .kt-plate-fig .mock-cap { text-align: left; padding-left: 8px; }
  .kt-plate .kt-draft { justify-content: flex-start; gap: 24px 40px; }
  .kt-plate .kt-draft .phone { width: 240px; }
  .kt-plate .kt-ds-hero { height: 132px; }
  .kt-plate .kt-lg { font-size: .9375rem; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  .kt-plate .kt-lg b { width: 24px; height: 24px; font-size: .75rem; }
  .kt-plate .kt-draft-legend { gap: 16px; max-width: 17rem; }
}
/* 900–991 px: Handy etwas schmaler, damit die Legende neben dem Handy bleibt statt darunter zu rutschen */
@media (min-width: 56.25em) and (max-width: 61.99em) {
  .kt-plate .kt-draft { column-gap: 24px; }
  .kt-plate .kt-draft .phone { width: 216px; }
}

/* ---------- M25 Entwurf-Vorschau (Mockup kontakt-entwurf) ---------- */
.kt-draft { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; }
.kt-draft .phone { width: 216px; margin: 0; flex: none; }
.kt-ds { position: relative; }
.kt-ds-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; }
.kt-ds-logo, .kt-ds-head, .kt-ds-colors { display: flex; align-items: center; gap: 6px; }
.kt-ph { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px dashed #8f897f; border-radius: 6px; font: 600 .6875rem/1.2 var(--ff-display); color: #4a5458; }
.kt-ds-hero { position: relative; height: 120px; overflow: hidden; background: linear-gradient(180deg, #f6e3c4, #fbf7ef 78%); border-block: 1px dashed #d6cbb7; }
.kt-ds-hero svg { display: block; width: 100%; height: 100%; }
.kt-ds-tag { position: absolute; left: 8px; bottom: 7px; padding: 2px 7px; border-radius: 999px; background: rgba(251, 247, 239, .92); font-size: .6875rem; line-height: 1.3; color: #4a5458; }
.kt-ds-body { padding: 12px 14px 16px; }
.kt-ds-title { font: 600 1.0625rem/1.2 var(--ff-display); letter-spacing: -.01em; color: #1f2a2e; }
.kt-ds-sub { margin-top: 4px; font-size: .6875rem; line-height: 1.35; color: #4a5458; }
.kt-ds-lines { display: grid; gap: 5px; margin: 10px 0 12px; }
.kt-ds-lines i { height: 5px; border-radius: 3px; background: #e6decf; }
.kt-ds-lines i:nth-child(2) { width: 86%; }
.kt-ds-lines i:nth-child(3) { width: 58%; }
.kt-ds-colors { font-size: .6875rem; color: #4a5458; }
.kt-ds-colors { gap: 4px; }
.kt-ds-colors i { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(31, 42, 46, .12); }
.kt-ds-colors i:nth-child(1) { background: #2f5d50; }
.kt-ds-colors i:nth-child(2) { background: #a9512a; }
.kt-ds-colors i:nth-child(3) { background: #f4b26a; }
.kt-ds-cl { margin-left: 4px; }
.kt-ds-colors .kt-pin { margin-left: auto; }
.kt-ds-btn { margin-top: 12px; padding: 9px; border-radius: 8px; background: #2f5d50; color: #fbf7ef; text-align: center; font-weight: 600; font-size: .75rem; }
.kt-pin, .kt-lg b {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; flex: none;
  font: 600 .6875rem/1 var(--ff-display); color: #0a0b10; background: var(--grad-btn);
}
.kt-pin { box-shadow: 0 0 0 2px #fbf7ef; }
.kt-pin-abs { position: absolute; left: 8px; top: 8px; }
.kt-draft-legend { display: grid; gap: 12px; flex: 1 1 10rem; min-width: 10rem; max-width: 15rem; }
.kt-lg { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .8125rem; line-height: 1.4; color: var(--text-2); }
.kt-lg > span { display: block; }

/* ---------- Rahmen-Zeile über dem Footer ---------- */
.kt-frame { border-top: 1px solid var(--line); padding-block: 22px; }
.kt-frame-list { display: grid; gap: 10px 40px; }
.kt-frame-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-3); }
.kt-frame-list .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); flex: none; }
@media (min-width: 56.25em) { .kt-frame-list { grid-template-columns: repeat(2, auto); justify-content: start; } }
/* Die Rahmen-Zeile trägt beide Sätze (Briefing 16.19 Nr. 5) – die gleichlautenden Hinweise in der Footer-Unterzeile entfallen nur auf dieser Seite, sonst stehen sie doppelt auf einem Bildschirm */
.site-footer .footer-bottom .f-note { display: none; }
