
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: "Inter";
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url('../fonts/figtree-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url('../fonts/figtree-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;

  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url('../fonts/figtree-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol:      #0f2e4d;
  --navy:        #20336b;

  --brand-rgb: 14,163,130;
  --select-ring: #0ea382;

  --select-tint: rgba(var(--brand-rgb),0.12);

  --panel-tint: rgba(var(--brand-rgb),0.07);

  --select-halo: 0 0 0 3px rgba(var(--brand-rgb),0.14);

  --text-on-tint: #4b5563;

  --brand:       #0ea382;
  --brand-600:   #0b8168;
  --brand-tint:  #e6f5f0;
  --cta:         #0ea382;
  --cta-hover:   #0b8168;

  --cta-ink:     #0b6e58;
  --gold:        #f4b740;

  --gold-tint:   #fdf3dd;

  --font-display: "Figtree", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bg:          #f5f8fc;
  --surface:     #ffffff;
  --ink:         #1a1a1a;
  --muted:       #636b78;
  --faint:       #9ca3af;
  --border:      #e5e7eb;
  --border-soft: #f0f1f3;

  --border-ctl:  #8a96a6;

  --border-box:  #d9dde4;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-ctl:  12px;
  --radius-opt:  14px;
  --feature-line: #c3ede0;
  --border-hover: #9fdcc9;
  --shadow-card: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.04);

  --surface-2:   #f6f8fa;

  --veil:        rgba(255,255,255,.94);

  --disabled-bg:  #f3f6f7;
  --disabled-ink: #aab6ba;

  --disabled-btn: #c5cfd1;

  --border-row:  #c3cbd6;

  --cta-text:    #0b8168;

  --brand-tint-soft:   #f2fbf8;
  --brand-tint-strong: #d3ecdf;

  --warn-bg:     #fffbeb;
  --warn-line:   #fde68a;
  --warn-ink:    #8a6b3f;

  --error:       #d64545;
  --error-bg:    #fdeceb;
  --error-line:  #f0b3ae;
  --error-ink:   #9c2820;

  --wa-tint:     #f0faf5;
  --wa-tint-2:   #e8f7ee;
  --wa-tint-3:   #dcf2e5;
  --wa-line:     #c8ecd8;

  --logo-plate:     transparent;
  --logo-plate-pad: 0px;

  --photo-stage:     transparent;
  --photo-stage-pad: 0px;

  --logo-filter:    none;

  --photo-veil:     none;

  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5L7 7l5.5-5.5' stroke='%2320336b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%2320336b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-pencil-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --overlay-line: transparent;

  color-scheme: light;

  --text-strong: var(--petrol);
  --text-default: var(--ink);
  --text-muted: var(--muted);
  --text-subtle: var(--faint);
  --text-accent: var(--navy);
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255,255,255,.78);

  --fs-caption: 12px;
  --fs-sm: 14px;
  --fs-body: 16px;
  --fs-title: 18px;
  --fs-section: 24px;
  --fs-display: 32px;
  --fs-hero: clamp(28px, 4vw, 40px);

  --fw-regular: 400;
  --fw-ui: 600;
  --fw-strong: 700;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy:        #aebfe8;
  --select-tint: rgba(var(--brand-rgb),0.18);
  --panel-tint:  rgba(var(--brand-rgb),0.10);
  --text-on-tint: #c2cad4;
  --brand-tint:  #0f2c26;
  --cta-ink:     #6fe0c3;
  --gold-tint:   #33290f;
  --bg:          #0e151d;
  --surface:     #16202a;
  --ink:         #e7ebf0;
  --muted:       #a4aebb;
  --faint:       #8a96a5;
  --border:      #2b3744;
  --border-soft: #222c38;
  --border-ctl:  #6c7a8c;
  --border-box:  #2f3c4b;
  --feature-line: #1f5446;
  --border-hover: #2f8a72;
  --shadow-card: 0 1px 3px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.35);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.30);
  --text-strong: #eef2f7;
  --surface-2:   #1d2834;
  --veil:        rgba(14,21,29,.92);
  --disabled-bg:  #1a232d;
  --disabled-ink: #5f6b78;
  --disabled-btn: #3a4654;
  --border-row:  #3b4858;
  --cta-text:    #3cc9a5;
  --brand-tint-soft:   #12241f;
  --brand-tint-strong: #17463b;
  --warn-bg:     #2b2414;
  --warn-line:   #6b5520;
  --warn-ink:    #f0cf8a;
  --error:       #ef6b6b;
  --error-bg:    #3a1c1c;
  --error-line:  #7a3530;
  --error-ink:   #ffb4ab;
  --wa-tint:     #12291d;
  --wa-tint-2:   #143021;
  --wa-tint-3:   #183a28;
  --wa-line:     #23573a;
  --logo-plate:     #f4f6f9;
  --logo-plate-pad: 3px;
  --photo-stage:     #ffffff;
  --photo-stage-pad: 10px;
  --logo-filter:    invert(1) hue-rotate(180deg);
  --photo-veil:     linear-gradient(rgba(14,21,29,.84), rgba(14,21,29,.84));
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5L7 7l5.5-5.5' stroke='%23aebfe8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%23aebfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-pencil-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%23a4aebb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --overlay-line: rgba(255,255,255,.12);
  --lp-faint:    #8a96a5;
  --lp-band:     #121b24;
  --lp-shadow-card: 0 12px 40px rgba(0,0,0,.35);
  --lp-shadow-chip: 0 8px 24px rgba(0,0,0,.40);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --navy:        #aebfe8;
    --select-tint: rgba(var(--brand-rgb),0.18);
    --panel-tint:  rgba(var(--brand-rgb),0.10);
    --text-on-tint: #c2cad4;
    --brand-tint:  #0f2c26;
    --cta-ink:     #6fe0c3;
    --gold-tint:   #33290f;
    --bg:          #0e151d;
    --surface:     #16202a;
    --ink:         #e7ebf0;
    --muted:       #a4aebb;
    --faint:       #8a96a5;
    --border:      #2b3744;
    --border-soft: #222c38;
    --border-ctl:  #6c7a8c;
    --border-box:  #2f3c4b;
    --feature-line: #1f5446;
    --border-hover: #2f8a72;
    --shadow-card: 0 1px 3px rgba(0,0,0,.30), 0 8px 24px rgba(0,0,0,.35);
    --shadow-soft: 0 1px 2px rgba(0,0,0,.30);
    --text-strong: #eef2f7;
    --surface-2:   #1d2834;
    --veil:        rgba(14,21,29,.92);
    --disabled-bg:  #1a232d;
    --disabled-ink: #5f6b78;
    --disabled-btn: #3a4654;
    --border-row:  #3b4858;
    --cta-text:    #3cc9a5;
    --brand-tint-soft:   #12241f;
    --brand-tint-strong: #17463b;
    --warn-bg:     #2b2414;
    --warn-line:   #6b5520;
    --warn-ink:    #f0cf8a;
    --error:       #ef6b6b;
    --error-bg:    #3a1c1c;
    --error-line:  #7a3530;
    --error-ink:   #ffb4ab;
    --wa-tint:     #12291d;
    --wa-tint-2:   #143021;
    --wa-tint-3:   #183a28;
    --wa-line:     #23573a;
    --logo-plate:     #f4f6f9;
    --logo-plate-pad: 3px;
    --photo-stage:     #ffffff;
    --photo-stage-pad: 10px;
    --logo-filter:    invert(1) hue-rotate(180deg);
    --photo-veil:     linear-gradient(rgba(14,21,29,.84), rgba(14,21,29,.84));
    --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5L7 7l5.5-5.5' stroke='%23aebfe8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%23aebfe8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-pencil-muted: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 20h4L18 10l-4-4L4 16v4zM14 6l4 4' stroke='%23a4aebb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --overlay-line: rgba(255,255,255,.12);
    --lp-faint:    #8a96a5;
    --lp-band:     #121b24;
    --lp-shadow-card: 0 12px 40px rgba(0,0,0,.35);
    --lp-shadow-chip: 0 8px 24px rgba(0,0,0,.40);
  }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-body);
  color: var(--text-default);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--text-accent); text-decoration: none; }
a:hover { color: var(--cta-hover); }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--fw-strong);
  font-size: 20px;
  color: var(--text-accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--brand); }

.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 12px 40px rgba(0,0,0,.08);
  padding: 30px 30px 34px;
  border: 1.5px solid var(--border-box);
  border-top: 3px solid var(--brand);
  text-align: left;
}
@media (max-width: 640px) { .form-card { padding: 22px 18px 26px; } }

.card-loading {
  position: absolute; inset: 0;
  background: var(--veil);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; border-radius: inherit; z-index: 5;
  animation: cardLoadFade .25s ease;
}
.card-loading-fixed {
  position: fixed; z-index: 1000; border-radius: 0;
  background: var(--veil);
}
.card-loading-spinner {
  width: 46px; height: 46px;
  border: 3px solid var(--brand-tint);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: cardLoadSpin .8s linear infinite;
}
.card-loading-text { font-size: var(--fs-sm); font-weight: var(--fw-ui); color: var(--text-strong); }
@keyframes cardLoadSpin { to { transform: rotate(360deg); } }
@keyframes cardLoadFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .card-loading-spinner { animation-duration: 1.6s; }
}

#cascade-container .field-group,
#fa-km-section,
#fa-details-section,
#fa-estimate,
#section-contact { scroll-margin-top: 130px; }

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;

  flex: 1 1 auto;
  min-width: 0;
}
.step:last-child { flex: 0 0 auto; }
.step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--faint);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.step-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-ui);
  color: var(--text-subtle);
  transition: color .2s;
}
.step::after {
  content: "";
  flex: 1 1 auto;
  min-width: 22px;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}
.step:last-child::after { display: none; }
.step.is-active .step-dot { background: var(--cta); color: #fff; border-color: var(--cta); }
.step.is-active .step-label { color: var(--text-default); }
.step.is-done .step-dot {
  background: var(--cta); color: #fff; border-color: var(--cta);
  font-size: 0;
}
.step.is-done .step-dot::before {
  content: "✓"; font-size: 14px;
}
.step.is-done .step-label { color: var(--text-default); }
@media (max-width: 560px) {

  .step-label { display: none; }
  .step.is-active .step-label { display: inline; }
  .step::after { width: 100%; flex: 1; margin: 0; }
  .step { flex: 1; }
  .step.is-active { flex: 0 0 auto; }
  .step:last-child { flex: 0 0 auto; }
  .stepper { gap: 0; }
}

.sum-chip {
  font-size: var(--fs-caption);
  font-weight: var(--fw-ui);
  color: var(--text-accent);
  display: inline-flex;
  align-items: center;
}
.sum-chip + .sum-chip::before {
  content: "·";
  margin: 0 8px 0 1px;
  color: var(--brand);
  font-weight: 700;
}

#fg-marke { display: flex; flex-direction: column; }
#fg-marke > label { align-self: flex-start; }

.brand-grid { display: flex; flex-direction: column; gap: 10px; }
.brand-rest { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.brand-combo-group {
  font-size: var(--fs-title); font-weight: var(--fw-strong); color: var(--text-strong);
  letter-spacing: -0.015em; padding: 8px 2px 6px;
}

.brand-row {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 17px 20px;
  border: 2px solid var(--border-row); border-radius: 14px;
  background: var(--surface); cursor: pointer; font: inherit; text-align: left;
  box-shadow: 0 1px 3px rgba(15,46,77,.09);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.brand-row:hover { border-color: var(--cta); }
.brand-radio {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 2px solid var(--border-row); border-radius: 50%;
  background: var(--surface);
  transition: border-color .18s, background .18s;
  position: relative;
}
.brand-row:hover .brand-radio { border-color: var(--cta); }

.brand-row.is-selected {
  border-color: var(--select-ring);
  background: var(--select-tint);
}
.brand-row.is-selected .brand-combo-name { color: var(--navy); }
.brand-row.is-selected .brand-radio { border-color: var(--cta); background: var(--cta); }
.brand-row.is-selected .brand-radio::after {
  content: ""; position: absolute;
  left: 4px; top: 4px;
  width: 12px; height: 7px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.brand-row img { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }

.brand-row img, .brand-combo-item img, .brand-selected-logo, .brand-logo-tile img {
  background: var(--logo-plate); padding: var(--logo-plate-pad); border-radius: 8px;
}
.brand-row .brand-combo-ph {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--border-soft); color: var(--muted);
  font-size: 14px; font-weight: 700;
}
.brand-row .brand-combo-name {
  flex: 1; font-size: 16px; font-weight: 700; color: var(--navy);
}

.brand-row--more { background: var(--bg); border-style: dashed; }
.brand-row--more .brand-more-logos { display: flex; align-items: center; flex-shrink: 0; }
.brand-row--more .brand-more-logos img {
  width: 28px; height: 28px; border-radius: 50%;

  background: #fff; border: 1.5px solid var(--border-soft);
  object-fit: contain; padding: 2px; box-sizing: border-box;
}
.brand-row--more .brand-more-logos img + img { margin-left: -8px; }
.brand-more-count {
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px 10px; flex-shrink: 0;
}
.brand-row-chev.brand-more-chev { color: var(--faint); flex-shrink: 0; transition: transform .18s; }
.brand-row--more.is-open .brand-more-chev { transform: rotate(180deg); }

.brand-page-empty { margin: 16px auto; text-align: center; color: var(--text-muted); font-size: var(--fs-sm); }
.brand-list-loading { padding: 22px 16px; text-align: center; color: var(--muted); font-size: 14px; }

.brand-combo-group {
  position: sticky; top: 0; z-index: 1;
  padding: 12px 16px 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--faint); background: var(--surface);
}
.brand-combo-item {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 11px 16px; border: 0; background: none; cursor: pointer; text-align: left;
  border-bottom: 1px solid var(--border-soft);
  transition: background .12s;
}
.brand-combo-item:last-child { border-bottom: none; }
.brand-combo-item:hover { background: var(--brand-tint); }

.brand-combo-item.brand-row { border: 2px solid var(--border-row); }
.brand-combo-item.brand-row:hover:not(.is-selected) { border-color: var(--cta); background: var(--surface); }
.brand-combo-item.brand-row.is-selected { border-color: var(--select-ring); background: var(--select-tint); }
.brand-combo-item.brand-row::after { content: none; }
.brand-combo-item img { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.brand-combo-ph {
  width: 30px; height: 30px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--border-soft); color: var(--muted);
  font-size: 13px; font-weight: 700;
}
.brand-combo-name { flex: 1; font-size: 15px; font-weight: 500; color: var(--navy); }

.brand-combo-item::after {
  content: ""; width: 8px; height: 8px; flex-shrink: 0;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg); opacity: 0; transition: opacity .12s;
}
.brand-combo-item:hover::after { opacity: .65; }

.brand-selected {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--cta); border-radius: var(--radius-ctl);
  background: var(--select-tint); cursor: pointer; font: inherit; text-align: left;
  transition: box-shadow .18s;
}
.brand-selected:hover { box-shadow: 0 4px 12px -4px rgba(var(--brand-rgb),.24); }
.brand-selected-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.brand-selected-name { flex: 1; font-size: 16px; font-weight: 700; color: var(--navy); }
.brand-selected-change {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: var(--fs-sm); font-weight: var(--fw-ui); color: var(--navy);
}
.brand-selected-change::before {
  content: ""; width: 14px; height: 14px; flex-shrink: 0;
  background: var(--icon-pencil) center/contain no-repeat;
}

.fz-card { padding-top: 22px; }
.fz-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.fz-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; color: var(--cta);
}
.fz-card-icon svg { width: 100%; height: 100%; }
.fz-card-title {
  font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em;
}

.identity-chip {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; margin-bottom: 20px;
  border: 1.5px solid var(--cta); border-radius: 14px;
  background: var(--select-tint); cursor: pointer; font: inherit; text-align: left;
  transition: box-shadow .18s;
}
.identity-chip:hover { box-shadow: 0 4px 12px -4px rgba(var(--brand-rgb),.24); }
.identity-check {
  width: 24px; height: 24px; flex-shrink: 0; color: var(--cta);
  background: rgba(var(--brand-rgb),.15); border-radius: 50%; padding: 3px;
  box-sizing: border-box;
}
.identity-body { flex: 1; min-width: 0; }
.identity-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-on-tint); text-transform: uppercase; margin-bottom: 2px;
}
.identity-title {
  font-size: var(--fs-title); font-weight: var(--fw-strong); color: var(--navy); line-height: 1.2;
  letter-spacing: -0.01em;
}
.identity-sub { font-size: var(--fs-sm); color: var(--text-on-tint); margin-top: 2px; }
.identity-change {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: var(--fs-sm); font-weight: var(--fw-ui); color: var(--navy);
}
.identity-change svg { width: 14px; height: 14px; }

.field-group { margin-bottom: 20px; }
.field-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0;
}

.label-ico { width: 18px; height: 18px; color: var(--cta); flex-shrink: 0; }
.req-star { color: var(--error); font-weight: 700; margin-left: -3px; }

.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
  flex-shrink: 0;
  user-select: none;
  position: relative;
}
.help-icon .help-bubble {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  width: 280px;
  padding: 11px 13px;

  background: var(--petrol);
  border: 1px solid var(--overlay-line);
  color: #eaf1f2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(13,59,69,.28);
  z-index: 100;
  cursor: default;
}

.field-group label:has(> .help-icon, > .frage-ende):not(:has(> .label-ico)) { display: block; }

.field-group label:has(> .help-icon):not(:has(> .label-ico)) > .help-icon { vertical-align: 1px; margin-left: 6px; }

.frage-ende { white-space: nowrap; }
.frage-ende:not(:has(.req-star))::before { content: "\00a0"; }
.frage-ende .req-star { margin-left: 0; }
.frage-ende .help-icon { vertical-align: 1px; margin-left: 6px; }
.frage-ende .help-bubble { white-space: normal; }
.help-icon:hover .help-bubble,
.help-icon:focus .help-bubble { display: block; }
.help-bubble .schein-doc { display: block; margin-bottom: 9px; }
.help-bubble .schein-doc svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {

  .help-icon { position: static; }
  .field-group label { position: relative; }
  .help-icon .help-bubble {
    position: absolute;
    left: 0;
    right: 0;
    transform: none;
    width: auto;
  }
}

select, input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  padding: 15px 44px 15px 18px;
  border: 2px solid var(--border-ctl);
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--icon-chevron);
  background-repeat: no-repeat;
  background-position: right 16px center;
  box-shadow: 0 1px 2px rgba(15,46,77,.04);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, background-color .18s, transform .12s;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-default);
  cursor: pointer;
}
.check-inline input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--cta);
  cursor: pointer;
  flex-shrink: 0;
}
.inline-row.is-disabled { opacity: .45; pointer-events: none; }

select:hover:not(:disabled) {
  border-color: var(--border-row);
  box-shadow: 0 2px 6px rgba(15,46,77,.08);
}
select:focus, input:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb),0.16), 0 2px 6px rgba(15,46,77,.06);
}
select:disabled {
  background-color: var(--disabled-bg);
  color: var(--disabled-ink);
  cursor: not-allowed;
  border-color: var(--border-soft);
  box-shadow: none;
}
select option:disabled { color: var(--disabled-ink); }
input[type="text"], input[type="email"], input[type="tel"] {
  background-image: none;
  cursor: text;
}
input[type="text"]:hover:not(:focus), input[type="email"]:hover:not(:focus), input[type="tel"]:hover:not(:focus) {
  border-color: var(--border-hover);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset;
  box-shadow: 0 0 0 1000px var(--surface) inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 9999s ease-out 0s;
}

.inline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inline-row > .field-group { margin-bottom: 0; }

.modell-row { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 10px; margin-bottom: 18px; }
.modell-row > .field-group { flex: 1 1 0; min-width: 0; margin-bottom: 0; }

.modell-oder {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-top: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted);
}
.modell-oder::before, .modell-oder::after {
  content: ""; flex: 1; width: 1px; background: var(--border);
}
.modell-hinweis {
  flex: 0 0 100%;
  display: flex; align-items: flex-start; gap: 6px;
  margin: 0; font-size: 12px; line-height: 18px; color: var(--text-muted);
}
.modell-hinweis svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

.modell-row.is-einzeln .modell-oder,
.modell-row.is-einzeln .modell-hinweis { display: none; }
@media (max-width: 600px) {
  .modell-row { flex-direction: column; row-gap: 12px; }
  .modell-row > .field-group { flex: 0 0 auto; }
  .modell-oder { flex-direction: row; gap: 10px; padding-top: 0; }
  .modell-oder::before, .modell-oder::after { width: auto; height: 1px; }
  .modell-hinweis { flex-basis: auto; }
}

.field-group.loading select {
  color: var(--disabled-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23ccc' stroke-width='2'/%3E%3Cpath d='M12 2a10 10 0 0 1 10 10' stroke='%230ea382' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 16px;
}

.alert {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  display: none;
}
.alert.warning {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
  display: block;
}
.alert.error {
  background: var(--error-bg);
  border: 1px solid var(--error-line);
  color: var(--error-ink);
  display: block;
}
input.field-error, select.field-error, textarea.field-error {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 2px rgba(214,58,49,.12);
}
.btn-group.field-error {
  outline: 2px solid rgba(214,58,49,.55);
  outline-offset: 3px;
  border-radius: 8px;
}

.field-sagt {
  margin: 8px 0 0;
  font-size: var(--fs-sm);
  color: var(--error-ink);
}
