/* Anfrage-Funnel im Planen-Look. Logik in /js/funnel.js (unverändert seit 05.10.2026, Felder seit 29.10.2026 ergänzt). */

.anfrage .schiene-innen { gap: 1rem; }
.anfrage-zurueck { margin-left: auto; font-weight: 600; white-space: nowrap; }
.anfrage .anfrage-wa { display: inline-flex; }
.anfrage-main { max-width: 44rem; margin: 0 auto; padding: clamp(1rem, 4vh, 3rem) var(--rand) 3rem; min-height: calc(100svh - var(--schiene-hoehe) - 7rem); }
.anfrage-direkt { margin: 1.25rem 0 0; text-align: center; }
.anfrage-fuss { text-align: center; padding-bottom: 1.5rem; }
.anfrage-fuss p { padding-top: 1rem; font-size: .9375rem; }
.anfrage-fuss a { margin: 0 .6rem; color: var(--text-2); }

/* Karte = Ladungsschild */
.fn-card { position: relative; background: var(--schild); border: 2px solid var(--navy); border-radius: 2px; padding: 1.75rem 1.75rem 1.5rem; box-shadow: 0 14px 34px -22px rgba(11, 37, 69, .6); }
.fn-card::before, .fn-card::after { content: ""; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--alu-2) 60%, var(--alu-kante)); }
.fn-card::before { left: 10px; } .fn-card::after { right: 10px; }

/* Fortschritt als Konturmarkierung */
.fn-seil {
  /* Seil durch Ösen; der geschaffte Teil ist straff gezogen (dunkler) */
  position: relative; display: flex; justify-content: space-between; align-items: center; height: 22px; margin-bottom: 1.25rem;
  background: linear-gradient(90deg, var(--navy) var(--anteil), var(--gurt-hell) var(--anteil)) center / 100% 2.5px no-repeat;
}
.fn-seil i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--plane) 0 30%, var(--alu-2) 33% 58%, var(--alu-kante) 61% 70%, var(--alu-1) 73%); box-shadow: 0 1px 3px -1px rgba(11, 37, 69, .45); }
.fn-seil i.an::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F2C08C, var(--orange) 60%, #A84A06); }
.fn-chip { display: inline-block; font: 700 .875rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); margin-bottom: .75rem; }
.fn-title { font: 800 clamp(1.75rem, 4vw, 2.25rem)/1.02 var(--schrift-plane); text-transform: uppercase; color: var(--navy); margin: 0 0 .5rem; text-wrap: balance; }
.fn-title:focus { outline: none; }
.fn-sub { color: var(--text-2); margin: 0 0 1.25rem; }

/* Antworten */
.fn-options { display: grid; gap: .6rem; margin: 1.1rem 0 .4rem; }
.fn-option {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left;
  min-height: 56px; padding: .85rem 1.1rem; font: 600 1.0625rem/1.3 var(--schrift); color: var(--navy);
  background: #fff; border: 2px solid var(--linie); border-radius: var(--radius); cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.fn-option:hover { border-color: var(--navy); }
.fn-option:active { transform: translateY(1px); }
.fn-option.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.fn-option.is-active small, .fn-option.is-active .fn-arrow { color: #fff; }
.fn-option small { display: block; font-weight: 400; font-size: .9375rem; color: var(--text-2); margin-top: .15rem; }
.fn-arrow { flex: none; width: 18px; height: 18px; color: var(--navy); }

.fn-points { list-style: none; padding: 0; margin: .25rem 0 1.4rem; display: grid; gap: .6rem; border-top: 1px solid var(--linie); }
.fn-points li { position: relative; padding: .6rem 0 .6rem 1.75rem; border-bottom: 1px solid var(--linie); color: var(--text-2); }
.fn-points li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 15px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 5.2 5.2 8.6 12.5 1.4' fill='none' stroke='%23B4520A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.fn-points li.fn-hot { color: var(--navy); font-weight: 600; }

/* Formular */
.fn-form { display: grid; gap: .9rem; }
.fn-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fn-field { display: grid; gap: .35rem; }
.fn-field label, .fn-rollen legend { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.fn-input { width: 100%; min-height: 52px; padding: .75rem 1rem; font: inherit; color: var(--navy); background: #fff; border: 2px solid var(--alu-kante); border-radius: var(--radius); }
.fn-input:focus { outline: 3px solid rgba(232, 115, 12, .5); outline-offset: 1px; border-color: var(--navy); }
.fn-input::placeholder { color: #66727E; }
.fn-input.is-ok { border-color: #2E6B4F; }
.fn-input.is-bad { border-color: #B3261E; }
.fn-tel { display: flex; border: 2px solid var(--alu-kante); border-radius: var(--radius); overflow: hidden; background: #fff; }
.fn-tel:focus-within { outline: 3px solid rgba(232, 115, 12, .5); outline-offset: 1px; border-color: var(--navy); }
.fn-tel span { flex: none; display: flex; align-items: center; padding: 0 .8rem; color: var(--text-2); border-right: 1px solid var(--linie); background: var(--plane); }
.fn-tel .fn-input { border: 0; outline: 0; }
.fn-rollen { border: 0; margin: 0 0 .25rem; padding: 0; min-width: 0; }
.fn-rollen.is-bad { outline: 2px solid #B3261E; outline-offset: 4px; }
.fn-rollen-wahl { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .35rem; }
.fn-rolle { position: relative; display: block; cursor: pointer; }
.fn-rolle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fn-rolle span { display: flex; align-items: center; min-height: 48px; height: 100%; padding: .55rem .85rem; border: 2px solid var(--linie); border-radius: var(--radius); background: #fff; font-weight: 600; color: var(--navy); line-height: 1.25; }
.fn-rolle:hover span { border-color: var(--navy); }
.fn-rolle input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.fn-rolle input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.fn-error { display: none; font-size: .9375rem; color: #A1221B; margin: .1rem 0 0; }
.fn-error.is-on { display: block; }

/* Knöpfe */
.fn-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 56px; margin-top: .4rem;
  font: 800 1.25rem/1 var(--schrift-plane); text-transform: uppercase; letter-spacing: .03em;
  color: var(--navy); background: var(--orange); border: 0; border-radius: var(--radius); cursor: pointer;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.fn-btn:hover { box-shadow: 0 6px 18px -8px rgba(11, 37, 69, .45); }
.fn-btn:active { transform: translateY(1px); }
.fn-btn:disabled { background: var(--plane-tief); color: var(--text-2); cursor: progress; box-shadow: none; }
.fn-btn .fn-arrow { color: var(--navy); }
.fn-btn-gold { background: var(--navy); color: #fff; }
.fn-btn-gold .fn-arrow { color: #fff; }
.fn-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; background: none; border: 0; padding: 0; margin: .5rem 0 0; font: inherit; font-size: .9375rem; color: var(--text-2); cursor: pointer; }
.fn-back:hover { color: var(--navy); text-decoration: underline; }
.fn-foot { margin: 1rem 0 0; font-size: .875rem; color: var(--text-2); }
.fn-check { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .9375rem; color: var(--text-2); margin: .9rem 0 0; }
.fn-check::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--plane-tief) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230B2545' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.fn-icon-row { display: flex; gap: .75rem; align-items: flex-start; margin: 0 0 .6rem; color: var(--text-2); }
.fn-icon-row svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--orange-text); }
.fn-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.fn-cal { min-height: 680px; margin: .25rem -.75rem 0; }
.fn-cal-laden { margin: 1.5rem .75rem; color: var(--text-2); }
.fn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; }

.fn-steps { list-style: none; padding: 0; margin: .25rem 0 1.4rem; counter-reset: fn; }
.fn-steps li { counter-increment: fn; display: flex; gap: .9rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--linie); color: var(--text-2); }
.fn-steps li::before { content: counter(fn); flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--schrift-plane); color: var(--navy); background: radial-gradient(circle, var(--plane) 0 38%, var(--alu-2) 40% 62%, var(--alu-kante) 64% 70%, var(--alu-1) 72%); }
.fn-bereit { background: var(--plane); border: 2px solid var(--linie); padding: 1rem 1.1rem; margin: 0 0 1.1rem; }
.fn-bereit strong { display: block; color: var(--navy); margin-bottom: .35rem; }
.fn-bereit p { font-size: .9375rem; color: var(--text-2); margin: 0 0 .5rem; }
.fn-bereit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.fn-bereit li { position: relative; padding-left: 1.4rem; font-size: .9375rem; color: var(--text-2); }
.fn-bereit li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 12px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1.5 5.2 5.2 8.6 12.5 1.4' fill='none' stroke='%23B4520A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.fn-person { display: flex; align-items: center; gap: .9rem; border: 2px solid var(--linie); padding: .9rem 1rem; background: #fff; }
.fn-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.fn-person small { display: block; font-size: .8125rem; color: var(--text-2); }
.fn-person strong { display: block; color: var(--navy); }
.fn-person span { display: block; font-size: .875rem; color: var(--text-2); }
.fn-person-tel { display: inline-block; margin-top: .25rem; font-weight: 600; color: var(--navy); }

.fn-step { animation: fn-rein .3s var(--ease); }
@keyframes fn-rein { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fn-step { animation: none; } .fn-seil { transition: none; } }

.fn-video { margin: 2.5rem auto 0; text-align: center; }
.fn-video[hidden] { display: none; }
.fn-video h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; }
.fn-video p { color: var(--text-2); margin: 0 0 1.25rem; }
.fn-video video { width: 100%; aspect-ratio: 16 / 9; border: 2px solid var(--navy); background: var(--navy); }

@media (max-width: 600px) {
  .anfrage-zurueck { font-size: .9375rem; }
  .anfrage .marke img { width: 170px; }
  .fn-card { padding: 1.25rem 1rem 1rem; }
  .fn-grid2, .fn-rollen-wahl { grid-template-columns: 1fr; }
  .fn-option { min-height: 50px; padding: .7rem .9rem; font-size: 1rem; }
  .fn-options { gap: .5rem; }
}

/* Fortschritt: Zähler sitzt rechts neben dem Balken, nicht als Etikett über der Frage */
.fn-card .fn-seil { margin-right: 6.5rem; }
.fn-card .fn-chip { position: absolute; top: 1.55rem; right: 1.75rem; margin: 0; letter-spacing: .08em; }
.anfrage-direkt { display: flex; justify-content: center; }
.anfrage-direkt .wa-zeile span { text-align: left; }
@media (max-width: 600px) { .fn-card .fn-chip { top: 1.05rem; right: 1rem; } .fn-card .fn-seil { margin-right: 6.25rem; } }
