/* ===========================================================================
   KONTAKTSEITE, PREMIUM  (26.09.2026)

   Franky: "Das Kontaktformular ist noch nicht schoen genug."
   Vorher: ein einspaltiges Theme-Formular mit winzigen Beschriftungen
   ueber die volle Breite, darueber leere Flaeche.

   Jetzt zwei Spalten: links die Einleitung mit drei Schritten und dem
   Ansprechpartner, rechts das Formular in einer gerahmten Glasflaeche.
   Felder als ruhige Kaesten mit Goldfokus, zwei Felder je Reihe.

   Die Mechanik bleibt unberuehrt: kontakt.js findet die Felder ueber die
   Beschriftungen, die Spamfalle (input[tabindex="-1"]) bleibt im
   Formular, nur unsichtbar.

   !important, weil das Theme seine CSS in einem <style>-Block nach den
   <link>-Tags wiederholt (siehe kontaktseite.css).
   =========================================================================== */

:root {
  --kk-creme: #EDE1CA;
  --kk-gold: #C2A05A;
  --kk-gold-rand: rgba(194, 160, 90, 0.55);
  --kk-linie: rgba(237, 225, 202, 0.12);
  --kk-flaeche: rgba(237, 225, 202, 0.035);
}

/* --- Buehne: zwei Spalten ------------------------------------------------ */
.kk-buehne {
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1240px;
  margin: 0 auto !important;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 3rem) clamp(5rem, 10vw, 9rem) !important;
  align-items: start;
}
.kk-buehne > .brxe-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 900px) {
  .kk-buehne { grid-template-columns: 1fr; }
}

/* --- Links: Einleitung --------------------------------------------------- */
.kk-intro {
  position: sticky;
  top: 120px;
  color: var(--kk-creme);
  font-family: "Lato", system-ui, sans-serif;
}
@media (max-width: 900px) { .kk-intro { position: static; } }

.kk-kicker {
  margin: 0 0 1.4rem !important;
  font-family: "Nunito Sans", "Lato", sans-serif;
  font-size: 0.72rem !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--kk-gold) !important;
}
.kk-kicker::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: 1.4rem;
  background: var(--kk-gold-rand);
}
.kk-titel {
  margin: 0 0 1.4rem !important;
  font-family: "Lato", sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(2rem, 3.4vw, 3rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0.01em !important;
  color: var(--kk-creme) !important;
  text-transform: none !important;
}
.kk-text {
  margin: 0 0 2.6rem !important;
  max-width: 30rem;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(237, 225, 202, 0.72) !important;
}

.kk-schritte {
  list-style: none !important;
  margin: 0 0 2.8rem !important;
  padding: 0 !important;
  border-top: 1px solid var(--kk-linie);
}
.kk-schritte li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.25rem 0;
  padding: 1.15rem 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--kk-linie);
}
.kk-schritte li::before { content: none !important; }
.kk-nr {
  grid-row: span 2;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--kk-gold);
  padding-top: 0.15rem;
}
.kk-schritt-titel {
  font-size: 1rem;
  font-weight: 400;
  color: var(--kk-creme);
}
.kk-schritt-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(237, 225, 202, 0.58);
}

.kk-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem !important;
  border: 1px solid var(--kk-linie);
  border-radius: 16px;
  background: var(--kk-flaeche);
  margin-bottom: 1.4rem;
}
.kk-person img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: 55% 30%;
  border: 1px solid var(--kk-gold-rand);
  flex-shrink: 0;
}
.kk-person-name { margin: 0 !important; font-size: 1rem; color: var(--kk-creme) !important; }
.kk-person-rolle {
  margin: 0.15rem 0 0 !important;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(237, 225, 202, 0.55) !important;
}
.kk-direkt {
  margin: 0 !important;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(237, 225, 202, 0.6) !important;
}
.kk-direkt a {
  color: var(--kk-creme) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--kk-gold-rand);
  transition: color 0.2s, border-color 0.2s;
}
.kk-direkt a:hover { color: var(--kk-gold) !important; border-color: var(--kk-gold); }

/* --- Rechts: Formular in der Glasflaeche --------------------------------- */
.kk-buehne .fr-form-alpha__wrapper {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3.25rem) !important;
  border: 1px solid var(--kk-linie) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(194, 160, 90, 0.07), transparent 70%),
    var(--kk-flaeche) !important;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(237, 225, 202, 0.06);
}
.kk-buehne .fr-form-alpha__title {
  margin: 0 0 2rem !important;
  font-family: "Lato", sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem) !important;
  letter-spacing: 0.01em !important;
  color: var(--kk-creme) !important;
}

.kk-buehne form,
.kk-buehne #brxe-7ebdf5 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.25rem !important;
}
/* Das Theme setzt die ersten vier Gruppen auf width:50% (ID-Regel).
   Im Raster fuellt jede Gruppe ihre Zelle; nebeneinander stehen nur
   Name, Firma, E-Mail und Telefon. */
.kk-buehne #brxe-7ebdf5 > * {
  grid-column: 1 / -1;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kk-buehne #brxe-7ebdf5 > .form-group:nth-child(-n+4) { grid-column: auto; }
@media (max-width: 640px) {
  .kk-buehne #brxe-7ebdf5 { grid-template-columns: 1fr; }
  .kk-buehne #brxe-7ebdf5 > .form-group:nth-child(-n+4) { grid-column: 1 / -1; }
}
/* Name, Firma, E-Mail, Telefon: zwei je Reihe. kontakt.js fasst sie in
   .kamui-kontakt-reihe zusammen; die Reihe selbst ist das Raster. */
.kk-buehne form .kamui-kontakt-reihe {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem !important;
  width: 100% !important;
}
.kk-buehne form .kamui-kontakt-reihe > .form-group {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: none !important;
}
@media (max-width: 640px) {
  .kk-buehne form .kamui-kontakt-reihe { grid-template-columns: 1fr; }
}

.kk-buehne form label {
  display: block;
  margin: 0 0 0.55rem !important;
  font-family: "Lato", sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(237, 225, 202, 0.62) !important;
}
.kk-buehne form label.required::after { color: var(--kk-gold) !important; }

/* Das Datenschutz-Kaestchen gehoert nicht dazu: sonst bekommt es 100 % Breite
   und Innenabstand und wird zum 36px-Kasten (Franky 27.09.: "zu gross"). */
.kk-buehne #brxe-7ebdf5 .form-group input:not([type="checkbox"]),
.kk-buehne #brxe-7ebdf5 textarea,
.kk-buehne form input[type="text"],
.kk-buehne form input[type="email"],
.kk-buehne form input[type="tel"],
.kk-buehne form select,
.kk-buehne form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.95rem 1.05rem !important;
  border: 1px solid rgba(237, 225, 202, 0.14) !important;
  border-radius: 12px !important;
  background: rgba(237, 225, 202, 0.04) !important;
  color: var(--kk-creme) !important;
  font-family: "Lato", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  outline: none !important;
}
.kk-buehne form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 2.75rem !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(237, 225, 202, 0.6) 50%),
    linear-gradient(135deg, rgba(237, 225, 202, 0.6) 50%, transparent 50%) !important;
  background-position: calc(100% - 1.25rem) 52%, calc(100% - 0.95rem) 52% !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  background-color: rgba(237, 225, 202, 0.04) !important;
}
.kk-buehne form select option { background: #0b0b0b; color: var(--kk-creme); }
.kk-buehne form textarea { min-height: 170px !important; resize: vertical; }
.kk-buehne form input::placeholder,
.kk-buehne form textarea::placeholder { color: rgba(237, 225, 202, 0.32) !important; }
.kk-buehne form input:hover,
.kk-buehne form select:hover,
.kk-buehne form textarea:hover { border-color: rgba(237, 225, 202, 0.26) !important; }
.kk-buehne form input:focus,
.kk-buehne form select:focus,
.kk-buehne form textarea:focus {
  border-color: var(--kk-gold) !important;
  background-color: rgba(237, 225, 202, 0.06) !important;
  box-shadow: 0 0 0 4px rgba(194, 160, 90, 0.14) !important;
}

/* Spamfalle bleibt im Formular (kontakt.js prueft sie), ist aber fuer
   Menschen und Screenreader unsichtbar. */
.kk-buehne form .form-group:has(input[tabindex="-1"]) {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kk-buehne form .options-wrapper { margin: 0.25rem 0 0 !important; padding: 0 !important; }
.kk-buehne form .options-wrapper label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.88rem !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
  color: rgba(237, 225, 202, 0.7) !important;
}
.kk-buehne form .options-wrapper a { color: var(--kk-creme) !important; border-bottom: 1px solid var(--kk-gold-rand); text-decoration: none !important; }

.kk-buehne form .submit-button-wrapper { margin-top: 0.6rem !important; }
.kk-buehne form button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100% !important;
  height: 58px !important;
  padding: 0 2rem !important;
  border: 1px solid var(--kk-gold-rand) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--kk-gold) !important;
  font-family: "Nunito Sans", "Lato", sans-serif !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.kk-buehne form button[type="submit"]:hover {
  background: var(--kk-gold) !important;
  border-color: var(--kk-gold) !important;
  color: #000000 !important;
}
.kk-buehne form button[type="submit"] .kk-pfeil { transition: transform 0.25s; }
.kk-buehne form button[type="submit"]:hover .kk-pfeil { transform: translateX(4px); }
.kk-hinweis {
  margin: 1rem 0 0 !important;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(237, 225, 202, 0.45) !important;
}

/* Danke-Kasten nach dem Absenden in derselben Formensprache. */
.kk-buehne .kamui-kontakt-danke {
  padding: 0.5rem 0 !important;
  color: rgba(237, 225, 202, 0.75) !important;
}
.kk-buehne .kamui-kontakt-danke h3 {
  font-family: "Lato", sans-serif !important;
  font-weight: 300 !important;
  font-size: 1.9rem !important;
  color: var(--kk-creme) !important;
  margin: 0 0 1rem !important;
}

/* Ankreuzfeld: das sichtbare Kaestchen ist label::before (kontaktseite/kontakt.css),
   der Text braucht links Platz dafuer. */
.kk-buehne form .options-wrapper li { position: relative; list-style: none !important; }
.kk-buehne form .options-wrapper label {
  position: relative !important;
  display: block !important;
  padding-left: 2.1rem !important;
  min-height: 1.4rem;
}
.kk-buehne form .options-wrapper label::before {
  left: 0 !important;
  top: 0.15rem !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  border-radius: 5px !important;
  border-color: rgba(237, 225, 202, 0.35) !important;
}
.kk-buehne form input[type="checkbox"]:checked + label::before {
  background: var(--kk-gold) !important;
  border-color: var(--kk-gold) !important;
}

/* Schmale Fenster: Spalten duerfen schrumpfen, nichts ragt ueber den Rand. */
.kk-buehne { box-sizing: border-box; width: 100%; max-width: min(1240px, 100vw); }
.kk-buehne > *, .kk-buehne form > * { min-width: 0; }
@media (max-width: 900px) {
  .kk-buehne { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .kk-buehne #brxe-7ebdf5 { grid-template-columns: minmax(0, 1fr) !important; }
  .kk-buehne .fr-form-alpha__wrapper { padding: 1.5rem 1.25rem !important; border-radius: 18px !important; }
}
