/* Brandvisory — Terminbuchung (termin.js). Brand Guide Edition 01/2026: Navy, Lemon, Ice, Paper; Bricolage + Hanken. */
.bvt {
  --n: #0C1B3F; --n2: #152650; --n3: #1E3366; --l: #D8F94B; --ice: #CFE7F1; --p: #FCF9FB; --m: #8C9AC0;
  --fd: var(--font-display, 'Bricolage Grotesque', system-ui, sans-serif); --fb: var(--font-body, 'Hanken Grotesk', system-ui, sans-serif);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative; overflow: hidden; isolation: isolate;
  font-family: var(--fb); color: #fff; line-height: 1.5;
  background: radial-gradient(120% 70% at 100% 0%, rgba(207, 231, 241, .14), transparent 55%), radial-gradient(90% 60% at 0% 100%, rgba(216, 249, 75, .10), transparent 60%), var(--n);
  border-radius: 24px; padding: 30px 28px 28px; min-height: 600px; box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.bvt *, .bvt *::before, .bvt *::after { box-sizing: border-box; }
.bvt::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(207, 231, 241, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 231, 241, .05) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.bvt__corner { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-top: 3px solid var(--l); border-right: 3px solid var(--l); }

/* Kopf */
.bvt__team { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bvt__avatar { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--l); flex: none; }
.bvt__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); opacity: .8; }
.bvt__title { margin: 2px 0 0; font-family: var(--fd); font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.bvt__hl { display: inline-block; padding: 0 .18em; background: var(--l); color: var(--n); transform: rotate(-1.5deg); }
.bvt__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.bvt__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(207, 231, 241, .22); background: rgba(207, 231, 241, .06); font-size: 13px; color: var(--ice); }
.bvt__chip svg { color: var(--l); }

/* Fortschritt */
.bvt__steps { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.bvt__step { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid rgba(207, 231, 241, .16); font-size: 12.5px; color: var(--m); transition: border-color .5s var(--ease), color .5s var(--ease); }
.bvt__step.is-on { border-top-color: var(--l); color: #fff; }
.bvt__stepn { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: rgba(207, 231, 241, .12); font-weight: 800; font-size: 11px; font-family: var(--fd); transition: background .4s, color .4s; }
.bvt__step.is-on .bvt__stepn { background: var(--l); color: var(--n); }
.bvt__step:not(.is-now) .bvt__stepl { opacity: .85; }

/* Tage */
.bvt__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bvt__month { font-family: var(--fd); font-weight: 700; font-size: 16px; }
.bvt__arrows { display: flex; gap: 6px; }
.bvt__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(207, 231, 241, .25); background: transparent; color: #fff; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.bvt__arrow:hover:not(:disabled) { background: var(--l); border-color: var(--l); color: var(--n); transform: translateY(-1px); }
.bvt__arrow:disabled { opacity: .3; cursor: default; }
.bvt__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.bvt__day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 12px 4px 10px; border-radius: 16px; border: 1px solid rgba(207, 231, 241, .18); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.bvt__day:hover { transform: translateY(-3px); border-color: rgba(216, 249, 75, .7); }
.bvt__day[aria-selected="true"] { background: var(--l); border-color: var(--l); color: var(--n); box-shadow: 0 14px 30px -14px rgba(216, 249, 75, .65); transform: translateY(-3px); }
.bvt__wd { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.bvt__dn { font-family: var(--fd); font-weight: 800; font-size: 26px; line-height: 1.1; }
.bvt__mo { font-size: 12px; opacity: .75; }
.bvt__dots { display: flex; gap: 3px; margin-top: 5px; height: 4px; }
.bvt__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--l); }
.bvt__day[aria-selected="true"] .bvt__dots i { background: var(--n); }

/* Zeiten */
.bvt__daytitle { margin: 0 0 12px; font-family: var(--fd); font-weight: 700; font-size: 18px; }
.bvt__group { margin-bottom: 14px; }
.bvt__glabel { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m); }
.bvt__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bvt__time { padding: 11px 0; border-radius: 12px; border: 1px solid rgba(207, 231, 241, .22); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; opacity: 0; animation: bvt-pop .45s var(--ease) forwards; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.bvt__time:hover { background: var(--l); border-color: var(--l); color: var(--n); transform: scale(1.04); }

/* Formular */
.bvt__back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; background: none; color: var(--ice); font: inherit; font-size: 14px; cursor: pointer; }
.bvt__back:hover { color: var(--l); }
.bvt__ticket { position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 14px; border-radius: 18px; background: var(--p); color: var(--n); }
.bvt__ticket::after { content: ''; position: absolute; right: 14px; top: 14px; width: 14px; height: 14px; border-top: 2.5px solid var(--n); border-right: 2.5px solid var(--n); }
.bvt__tcal { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 66px; border-radius: 14px; background: var(--n); color: #fff; flex: none; overflow: hidden; }
.bvt__tmo { width: 100%; text-align: center; background: var(--l); color: var(--n); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 2px 0; }
.bvt__tdn { flex: 1; display: grid; place-items: center; font-family: var(--fd); font-weight: 800; font-size: 28px; }
.bvt__tinfo b { display: block; font-family: var(--fd); font-size: 18px; line-height: 1.2; }
.bvt__tinfo span { font-size: 14px; color: #4a5778; }
.bvt__field { position: relative; display: block; margin-bottom: 12px; }
.bvt__input { width: 100%; padding: 22px 14px 8px; border-radius: 14px; border: 1px solid rgba(207, 231, 241, .25); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 16px; resize: vertical; transition: border-color .2s, background .2s, box-shadow .2s; }
.bvt__input::placeholder { color: transparent; }
.bvt__input:focus { outline: none; border-color: var(--l); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(216, 249, 75, .2); }
.bvt__label { position: absolute; left: 15px; top: 15px; font-size: 15px; color: var(--m); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.bvt__input:focus + .bvt__label, .bvt__input:not(:placeholder-shown) + .bvt__label { transform: translateY(-9px) scale(.76); color: var(--l); }
.bvt__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bvt__note { margin: 4px 0 16px; font-size: 12.5px; line-height: 1.55; color: var(--m); }
.bvt__note a { color: var(--ice); }

/* Buttons */
.bvt__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 99px; background: var(--ice); color: var(--n); font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.bvt__btn svg { transition: transform .25s var(--ease); }
.bvt__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(216, 249, 75, .7); }
.bvt__btn:hover svg { transform: translateX(4px); }
.bvt__btn--lemon { width: 100%; background: var(--l); }
.bvt__btn:disabled { cursor: default; transform: none; box-shadow: none; }
.bvt__btn.is-busy svg { animation: bvt-nudge .8s ease-in-out infinite; }
.bvt__err { min-height: 1.2em; margin: 10px 0 0; color: #ffb4a8; font-size: 14px; }

/* Leer / Fehler */
.bvt__empty { padding: 24px 0 8px; }
.bvt__empty-t { margin: 0 0 6px; font-family: var(--fd); font-weight: 700; font-size: 20px; }
.bvt__empty-s { margin: 0 0 20px; color: var(--ice); opacity: .8; font-size: 15px; }

/* Fertig */
.bvt__done { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 0 20px; }
.bvt__okmark { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 26px; background: var(--l); color: var(--n); animation: bvt-burst .7s var(--ease) both; box-shadow: 0 0 0 0 rgba(216, 249, 75, .55); }
.bvt__okmark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: bvt-draw .5s .35s var(--ease) forwards; }
.bvt__done-t { margin: 0 0 4px; font-family: var(--fd); font-weight: 800; font-size: 32px; }
.bvt__done-s { margin: 0; color: var(--ice); }

/* Laden */
.bvt__skel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 48px 0 22px; }
.bvt__skel-day { height: 86px; border-radius: 16px; }
.bvt__skel-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bvt__skel-time { height: 44px; border-radius: 12px; }
.bvt__skel-day, .bvt__skel-time { background: linear-gradient(90deg, rgba(207, 231, 241, .06) 0%, rgba(207, 231, 241, .16) 50%, rgba(207, 231, 241, .06) 100%); background-size: 200% 100%; animation: bvt-shimmer 1.3s linear infinite; }

.bvt button:focus-visible, .bvt a:focus-visible { outline: 2px solid var(--l); outline-offset: 3px; }
.bvt-in { animation: bvt-in .5s var(--ease) both; }

@keyframes bvt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bvt-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bvt-shimmer { to { background-position: -200% 0; } }
@keyframes bvt-nudge { 50% { transform: translateX(5px); } }
@keyframes bvt-draw { to { stroke-dashoffset: 0; } }
@keyframes bvt-burst { 0% { transform: scale(.4) rotate(-12deg); opacity: 0; } 60% { transform: scale(1.08) rotate(3deg); opacity: 1; box-shadow: 0 0 0 18px rgba(216, 249, 75, 0); } 100% { transform: none; } }

@media (max-width: 520px) {
  .bvt { padding: 24px 16px 20px; border-radius: 20px; }
  .bvt__days { gap: 5px; }
  .bvt__day { padding: 10px 2px 8px; border-radius: 12px; }
  .bvt__dn { font-size: 21px; }
  .bvt__stepl { display: none; }
  .bvt__step.is-now .bvt__stepl { display: inline; }
  .bvt__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .bvt *, .bvt-in { animation: none !important; transition: none !important; }
  .bvt__time { opacity: 1; }
  .bvt__okmark path { stroke-dashoffset: 0; }
}

/* ---------- v3: heller Look (weiß, Navy-Schrift, Lemon-Akzente), größer ---------- */
.bvt { color: var(--n); background: #fff; border: 1.5px solid #E8E4EC; border-radius: 28px; padding: 36px 34px 32px; box-shadow: 16px 16px 0 var(--l), 0 40px 80px -50px rgba(12, 27, 63, .45); --m: #6B7A9F; }
.bvt::before { display: none; }
.bvt__corner { top: 20px; right: 20px; width: 30px; height: 30px; border-color: var(--n); border-top-width: 3.5px; border-right-width: 3.5px; }
.bvt__avatar { width: 64px; height: 64px; border-color: var(--n); }
.bvt__eyebrow { color: var(--m); opacity: 1; }
.bvt__title { color: var(--n); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -.025em; line-height: .95; }
.bvt__hl { transform: rotate(-1.5deg); }
.bvt__chip { border-color: #E8E4EC; background: #FCF9FB; color: var(--n); font-weight: 600; }
.bvt__chip svg { color: var(--n); }
.bvt__step { border-top-color: #EEEAF1; color: #A0AAC4; }
.bvt__step.is-on { border-top-color: var(--n); color: var(--n); font-weight: 700; }
.bvt__stepn { background: #EEEAF1; }
.bvt__step.is-on .bvt__stepn { background: var(--l); color: var(--n); }
.bvt__month { font-size: 18px; font-weight: 800; }
.bvt__arrow { border-color: #E3DFE8; color: var(--n); width: 42px; height: 42px; }
.bvt__arrow:hover:not(:disabled) { background: var(--n); border-color: var(--n); color: var(--l); }
.bvt__day { border-color: #E8E4EC; background: #fff; color: var(--n); padding: 14px 4px 12px; }
.bvt__day:hover { border-color: var(--n); box-shadow: 0 6px 0 var(--l); }
.bvt__day[aria-selected="true"] { background: var(--n); border-color: var(--n); color: #fff; box-shadow: 0 6px 0 var(--l); }
.bvt__dn { font-size: 30px; font-weight: 900; }
.bvt__dots i { background: var(--n); opacity: .5; }
.bvt__day[aria-selected="true"] .bvt__dots i { background: var(--l); opacity: 1; }
.bvt__daytitle { font-size: 22px; font-weight: 800; }
.bvt__glabel { color: var(--m); }
.bvt__time { border-color: #E3DFE8; color: var(--n); font-size: 16px; padding: 13px 0; }
.bvt__time:hover { background: var(--l); border-color: var(--n); color: var(--n); transform: translateY(-2px); box-shadow: 0 4px 0 var(--n); }
.bvt__back { color: var(--m); font-weight: 600; }
.bvt__back:hover { color: var(--n); }
.bvt__ticket { background: var(--n); color: #fff; padding: 18px; }
.bvt__ticket::after { border-color: var(--l); }
.bvt__tcal { background: #fff; color: var(--n); }
.bvt__tinfo span { color: var(--ice); }
.bvt__input { border-color: #E3DFE8; background: #FCF9FB; color: var(--n); }
.bvt__input:focus { border-color: var(--n); background: #fff; box-shadow: 0 0 0 4px rgba(216, 249, 75, .55); }
.bvt__input:focus + .bvt__label, .bvt__input:not(:placeholder-shown) + .bvt__label { color: var(--n); }
.bvt__note { color: var(--m); }
.bvt__note a { color: var(--n); }
.bvt__btn { background: var(--n); color: #fff; }
.bvt__btn--lemon { background: var(--n); color: #fff; min-height: 58px; font-size: 17px; }
.bvt__btn:hover { box-shadow: 0 6px 0 var(--l); transform: translateY(-3px); }
.bvt__err { color: #b42318; }
.bvt__empty-s { color: var(--m); opacity: 1; }
.bvt__okmark { background: var(--n); color: var(--l); width: 96px; height: 96px; }
.bvt__done-t { font-weight: 900; text-transform: uppercase; font-size: 44px; letter-spacing: -.02em; }
.bvt__done-s { color: var(--m); font-size: 18px; }
.bvt__skel-day, .bvt__skel-time { background: linear-gradient(90deg, #F4F1F6 0%, #E9E5EE 50%, #F4F1F6 100%); background-size: 200% 100%; }
.bvt button:focus-visible, .bvt a:focus-visible { outline-color: var(--n); }
@media (max-width: 520px) { .bvt { padding: 26px 18px 22px; box-shadow: 10px 10px 0 var(--l); } .bvt__dn { font-size: 23px; } }

/* ---------- v4: ruhiger, sauberer Look ohne Lemon-Versatzschatten, animiertes Icon, Marker-Titel ---------- */
.bvt { padding: clamp(30px, 3.4vw, 46px) clamp(22px, 3vw, 42px) clamp(28px, 3vw, 40px); min-height: 640px; border-radius: 26px; border: 1px solid #E8E4EC; box-shadow: 0 30px 70px -40px rgba(12, 27, 63, .35), 0 2px 8px rgba(12, 27, 63, .04); }
.bvt__ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--n); color: var(--p); }
.bvt__ico svg { width: 34px; height: 34px; }
.bvt__ico .d1 { stroke-dasharray: 100; stroke-dashoffset: 100; animation: bvtDraw 1.1s cubic-bezier(.22,1,.36,1) .15s forwards; }
.bvt__ico .d2 { stroke: var(--l); stroke-dasharray: 100; stroke-dashoffset: 100; animation: bvtDraw .7s cubic-bezier(.22,1,.36,1) 1.05s forwards, bvtTick 3.2s ease-in-out 2.2s infinite; }
@keyframes bvtDraw { to { stroke-dashoffset: 0; } }
@keyframes bvtTick { 0%, 70%, 100% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 100; } 90% { stroke-dashoffset: 0; } }
.bvt__hl, .bvt__title .bvt__hl { display: inline; transform: none; padding: 0 .06em; color: var(--n); background: linear-gradient(transparent 62%, var(--l) 62%, var(--l) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bvt__day { box-shadow: none; transition: border-color .25s, background .25s, color .25s, transform .3s cubic-bezier(.22,1,.36,1); }
.bvt__day:hover { box-shadow: none; transform: translateY(-2px); border-color: var(--n); }
.bvt__day[aria-selected="true"] { box-shadow: 0 10px 22px -12px rgba(12, 27, 63, .55); transform: translateY(-2px); }
.bvt__time { box-shadow: none; transition: background .2s, border-color .2s, color .2s, transform .25s; }
.bvt__time:hover { background: var(--n); border-color: var(--n); color: #fff; box-shadow: none; transform: translateY(-2px); }
.bvt__btn:hover, .bvt__btn--lemon:hover { box-shadow: 0 10px 22px -12px rgba(12, 27, 63, .6); transform: translateY(-2px); }
.bvt__input:focus { box-shadow: 0 0 0 3px rgba(12, 27, 63, .12); }
.bvt__ticket::after { display: none; }
.bvt__corner { display: none; }
@media (max-width: 520px) {
  .bvt { min-height: 0; padding: 24px 16px 20px; border-radius: 20px; box-shadow: 0 20px 50px -30px rgba(12, 27, 63, .35); }
  .bvt__ico { width: 48px; height: 48px; border-radius: 14px; } .bvt__ico svg { width: 28px; height: 28px; }
  .bvt__title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .bvt__ico .d1, .bvt__ico .d2 { animation: none; stroke-dashoffset: 0; } }
