/*
 * Handynummer mit Länderwahl (/_cm/telefon.js), nachgebaut aus @siteui/field und
 * @siteui/phone-input der Onepage-Sites (06. und 13.10.2026). Die Farben der Marke kommen über
 * die Variablen unten, gesetzt am Abschnitt der Seite; ohne sie gelten die Werte von Fitpreneur.
 *
 *   --telefon-rand, --telefon-trenner, --telefon-flaeche (Länderwahl beim Zeigen),
 *   --telefon-fokus-schein, --telefon-fehler, --telefon-fehler-schein, --telefon-platzhalter
 */

.telefon-feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.telefon-feld__label { font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--color-kit-dark, #040441); }
.telefon-feld__fehler { font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 13.5px; line-height: 1.4; color: var(--telefon-fehler, #d62828); margin: 0; }
.telefon-feld__fehler[hidden] { display: none; }

.telefon { display: flex; align-items: stretch; width: 100%; box-sizing: border-box; background: #ffffff; border: 1.5px solid var(--telefon-rand, #e4e6ee); border-radius: 12px; font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; transition: border-color .15s ease, box-shadow .15s ease; }
.telefon:focus-within { border-color: var(--color-kit-key1, #385cb1); box-shadow: 0 0 0 3px var(--telefon-fokus-schein, #385cb122); }
.telefon--gueltig { border-color: #1f9d55; }
.telefon--gueltig:focus-within { border-color: #1f9d55; box-shadow: 0 0 0 3px #1f9d5522; }
.telefon--fehler, .telefon--fehler:focus-within { border-color: var(--telefon-fehler, #d62828); box-shadow: 0 0 0 3px var(--telefon-fehler-schein, #d6282818); }
.telefon__land { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 14px; border-right: 1.5px solid var(--telefon-trenner, #eef0f5); border-radius: 11px 0 0 11px; flex-shrink: 0; color: var(--color-kit-dark, #07071a); transition: background .15s ease; }
.telefon__land:hover, .telefon__land:focus-within { background: var(--telefon-flaeche, #f5f7fb); }
.telefon__flagge { display: inline-flex; }
.telefon__flagge svg { width: 24px; height: 16px; display: block; border-radius: 3px; box-shadow: 0 0 0 1px #07071a1f; }
.telefon__iso { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 16px; border-radius: 3px; background: var(--telefon-flaeche, #eef0f5); color: #5a6270; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.telefon__vorwahl { font-family: inherit; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.telefon__pfeil { display: inline-flex; color: #9aa0aa; margin-left: -2px; }
.telefon__pfeil svg { width: 14px; height: 14px; }
.telefon__auswahl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; margin: 0; font-family: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.telefon__eingabe { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 15px 14px; font-family: inherit; font-size: 16px; letter-spacing: .01em; color: var(--color-kit-dark, #07071a); }
.telefon__eingabe::placeholder { color: var(--telefon-platzhalter, #9aa0aa); }
.telefon__ok { display: flex; align-items: center; padding-right: 14px; color: #1f9d55; }
.telefon__ok[hidden] { display: none; }
.telefon__ok svg { width: 22px; height: 22px; }
@media (max-width: 480px) {
  .telefon__land { gap: 5px; padding: 0 6px 0 9px; }
  .telefon__flagge svg, .telefon__iso { width: 22px; height: 15px; }
  .telefon__vorwahl { font-size: 15px; }
  .telefon__pfeil { margin-left: -3px; }
  .telefon__eingabe { padding: 14px 9px; }
  .telefon__ok { padding-right: 9px; }
  .telefon__ok svg { width: 20px; height: 20px; }
}

/* Einwilligung (20.10.2026): freiwilliger Haken unter dem Feld, nicht vorangekreuzt, eine Zeile Text
   in der Schrift der Seite. Bewusst klein, aber lesbar: ein Nachweis braucht einen Text, den man sieht. */
.telefon-einwilligung { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--color-kit-dark, #07071a); cursor: pointer; text-align: left; }
.telefon-einwilligung__haken { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--color-kit-key1, #385cb1); cursor: pointer; }
.telefon-einwilligung__text { flex: 1 1 auto; opacity: .72; }
.telefon-hinweis { margin: 10px 2px 0; font-family: var(--font-kit-text-font), 'Helvetica Neue', Arial, sans-serif; font-size: 11.5px; font-weight: 400; line-height: 1.45; color: var(--color-kit-dark, #07071a); opacity: .62; text-align: center; }
