/* =====================================================================
   Online-Terminbuchung – Handyklinik Express
   Eigenständiges, modernes Design (unabhängig vom Shop-Theme).
   body.embed = eingebettet im Shop (ohne Kopf/Fuß, transparenter Hintergrund).
   ===================================================================== */
:root {
    --ink: #0a0a0b;
    --ink-2: #3f3f46;
    --muted: #71717a;
    --faint: #a1a1aa;
    --line: #e4e4e7;
    --line-2: #f0f0f2;
    --bg: #f7f7f8;
    --surface: #f4f4f5;
    --surface-2: #ebebee;
    --paper: #fff;
    --accent: #e40613;
    --accent-soft: #fff1f2;
    --ok: #16a34a;
    --ok-soft: #ecfdf3;
    --warn: #d97706;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 24px 48px -16px rgba(10, 10, 11, .14);
    --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.022em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Icons (CSS-Masken) ---------- */
.i { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-pin   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11.5A7 7 0 0 0 5 9.5C5 15 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.i-clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.i-cal   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.i-left  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.i-right { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E"); }
.i-tool  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.4-3.4a6 6 0 0 1-7.9 7.9l-6.9 6.9a2.1 2.1 0 0 1-3-3l6.9-6.9a6 6 0 0 1 7.9-7.9z'/%3E%3C/svg%3E"); }
.i-lock  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.i-route { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-8-8 18-2-8z'/%3E%3C/svg%3E"); }
.i-info  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); }
.i-pause { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M9 6v12M15 6v12'/%3E%3C/svg%3E"); }

/* ---------- Eigene Seite: Kopf & Intro ---------- */
.top { background: var(--ink); padding: 14px 20px; text-align: center; }
.logo { height: 30px; display: block; margin: 0 auto; }
.home-link { display: inline-block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.intro { text-align: center; padding: 44px 0 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.intro h1 { margin: 16px 0 10px; font-size: clamp(34px, 6vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.addr { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; }
.foot { text-align: center; font-size: 12px; color: var(--faint); padding: 0 16px 32px; }

.notice { display: flex; gap: 10px; align-items: flex-start; background: #fffbeb; color: #92400e; border-radius: var(--r-lg);
    box-shadow: inset 0 0 0 1px #fde68a; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.notice .i { margin-top: 1px; }

/* ---------- Karte ---------- */
.card { background: var(--paper); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 28px; }
.view.enter, .card.enter { animation: rein .38s var(--ease) both; }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Kopf der Schritte ---------- */
.bk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.bk-head--back { justify-content: flex-start; align-items: center; gap: 14px; }
.bk-kicker { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.bk-title { font-size: 24px; font-weight: 650; line-height: 1.15; }
.bk-meta { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px; border-radius: 999px; background: var(--surface);
    font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bk-meta .i { width: 15px; height: 15px; color: var(--muted); }
.bk-back { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    display: grid; place-items: center; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.bk-back:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.prefill { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 11px 14px; margin: -6px 0 20px; border-radius: var(--r);
    background: var(--surface); font-size: 14px; color: var(--ink-2); }
.prefill .i { width: 16px; height: 16px; color: var(--accent); }
.prefill-lbl { color: var(--muted); }
.prefill b { color: var(--ink); font-weight: 600; }

/* ---------- Schritt 1: Kalender + Uhrzeiten ---------- */
.bk-pick { display: grid; gap: 26px; }
@media (min-width: 720px) {
    .bk-pick { grid-template-columns: minmax(0, 1fr) 280px; gap: 0; }
    .bk-cal { padding-right: 28px; }
    .bk-times { padding-left: 28px; border-left: 1px solid var(--line-2); }
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.cal-nav { display: flex; gap: 6px; }
.nav-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    display: grid; place-items: center; cursor: pointer; transition: box-shadow .2s, opacity .2s; }
.nav-btn .i { width: 16px; height: 16px; }
.nav-btn:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.nav-btn:disabled { opacity: .35; cursor: default; }

.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 6px; column-gap: 4px; }
.wd { text-align: center; font-size: 12px; font-weight: 500; color: var(--faint); padding-bottom: 6px; }
.day { position: relative; justify-self: center; width: 100%; max-width: 48px; height: 46px; border: 0; border-radius: var(--r); background: none;
    font-size: 15px; font-weight: 500; color: #c7c7cc; font-variant-numeric: tabular-nums; cursor: default;
    transition: background-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s; }
.day.free { background: var(--surface); color: var(--ink); font-weight: 650; cursor: pointer; }
.day.free:hover { background: var(--surface-2); }
.day.free:active { transform: scale(.94); }
.day.sel, .day.sel:hover { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 10, 11, .55); }
.day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.day.closed { text-decoration: line-through; color: #d4d4d8; }
.nofree { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--muted); padding: 12px 0 0; }
/* Ladezustand */
.cal.loading .day { color: transparent; background: linear-gradient(90deg, var(--surface) 25%, var(--line-2) 50%, var(--surface) 75%); background-size: 200% 100%;
    animation: schimmer 1.2s linear infinite; }
@keyframes schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.times-title { font-size: 15px; font-weight: 650; margin: 8px 0 4px; }
.times-group { font-size: 12px; font-weight: 500; color: var(--faint); margin: 14px 0 8px; }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
@media (min-width: 720px) {
    .times { max-height: 392px; overflow-y: auto; margin-right: -8px; padding-right: 8px; scrollbar-width: thin; }
    .times-grid { grid-template-columns: 1fr 1fr; }
}
.time { height: 44px; border: 0; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
    font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
    animation: rein .32s var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms);
    transition: box-shadow .18s, background-color .18s, color .18s, transform .18s var(--ease); }
.time:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.time:active { transform: scale(.96); }
.time.sel { background: var(--ink); color: #fff; box-shadow: none; }
.time.sk { display: block; cursor: default; box-shadow: none; animation: schimmer 1.2s linear infinite;
    background: linear-gradient(90deg, var(--surface) 25%, var(--line-2) 50%, var(--surface) 75%); background-size: 200% 100%; }
.times-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 30px 10px; color: var(--muted); font-size: 14px; }
.times-empty .i { width: 26px; height: 26px; color: var(--faint); }

/* ---------- Schritt 2: Kontaktdaten ---------- */
.chosen { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 22px; border-radius: var(--r-lg); background: var(--surface); }
.chosen-ico { flex: none; width: 44px; height: 44px; border-radius: var(--r); background: var(--paper); box-shadow: 0 1px 2px rgba(10, 10, 11, .06);
    display: grid; place-items: center; color: var(--accent); }
.chosen-ico .i { width: 20px; height: 20px; }
.chosen-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.chosen-txt b { font-size: 15px; font-weight: 650; }
.chosen-sub { font-size: 13px; color: var(--muted); }
.chosen-edit { flex: none; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: box-shadow .2s; }
.chosen-edit:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fld { position: relative; }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld textarea { display: block; width: 100%; margin: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
    border: 0; border-radius: var(--r); padding: 25px 15px 9px; box-shadow: inset 0 0 0 1px var(--line); -webkit-appearance: none; appearance: none;
    transition: box-shadow .18s; }
.fld textarea { min-height: 92px; resize: none; line-height: 1.45; }
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1px #d4d4d8; }
.fld input:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(10, 10, 11, .07); }
.fld label { position: absolute; left: 16px; top: 17px; right: 40px; font-size: 16px; color: var(--muted); pointer-events: none; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; transform-origin: 0 0; transition: transform .18s var(--ease), color .18s; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--muted); font-weight: 500; }
.fld label em { font-style: normal; color: var(--faint); margin-left: 4px; }
.fld input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0 60px var(--paper), inset 0 0 0 1px var(--line); -webkit-text-fill-color: var(--ink); }
.fld input:-webkit-autofill + label { transform: translateY(-10px) scale(.76); }
.fld.is-valid::after { content: ""; position: absolute; right: 14px; top: 19px; width: 18px; height: 18px; background: var(--ok);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fld.is-invalid input, .fld.is-invalid input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(228, 6, 19, .08); }
.fld-msg { margin: 6px 2px 0; font-size: 13px; font-weight: 500; color: var(--accent); }

.consent { display: flex; align-items: flex-start; gap: 12px; padding: 4px 2px; margin-bottom: 18px; cursor: pointer; font-size: 13.5px; line-height: 1.5;
    color: var(--muted); border-radius: var(--r); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.consent-box { flex: none; position: relative; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: var(--paper);
    box-shadow: inset 0 0 0 1.5px #c7c7cc; transition: background-color .15s, box-shadow .15s; }
.consent-box::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; transform: scale(.5); transition: transform .2s var(--ease), opacity .15s;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.consent:hover .consent-box { box-shadow: inset 0 0 0 1.5px var(--ink); }
.consent input:checked + .consent-box { background: var(--ink); box-shadow: none; }
.consent input:checked + .consent-box::after { opacity: 1; transform: none; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent.is-invalid .consent-box { box-shadow: inset 0 0 0 1.5px var(--accent); }
.consent.is-invalid { color: var(--accent); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { background: var(--accent-soft); color: #b4040f; border-radius: var(--r); padding: 11px 14px; font-size: 14px; font-weight: 500; margin: 0 0 14px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.form-note .i { width: 13px; height: 13px; }

/* ---------- Buttons ---------- */
.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border: 0; border-radius: 14px;
    background: var(--ink); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(10, 10, 11, .6); transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.cta:hover:not(:disabled) { background: #27272a; box-shadow: 0 14px 28px -10px rgba(10, 10, 11, .6); }
.cta:active:not(:disabled) { transform: scale(.985); }
.cta:disabled { opacity: .7; cursor: default; }
.cta--go::after { content: ""; width: 18px; height: 18px; background: currentColor; transition: transform .25s var(--ease);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.cta--go:hover:not(:disabled)::after { transform: translateX(3px); }
.cta.is-busy::after { width: 16px; height: 16px; border-radius: 50%; -webkit-mask: none; mask: none; background: none;
    border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: dreh .7s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; white-space: nowrap; border: 0; border-radius: var(--r);
    font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.btn .i { width: 17px; height: 17px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #27272a; }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--danger { background: var(--paper); color: #b4040f; box-shadow: inset 0 0 0 1px #fecdd3; }
.btn--danger:hover { background: var(--accent-soft); }
.btn--block { display: flex; width: 100%; margin-top: 10px; }
.link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

/* ---------- Fertig ---------- */
.done { text-align: center; padding: 40px 28px 32px; }
.done-check { width: 72px; height: 72px; margin: 0 auto 18px; }
.done-check svg { width: 100%; height: 100%; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: var(--ok); fill: var(--ok-soft); stroke-dasharray: 151; stroke-dashoffset: 151; animation: zeichnen .6s var(--ease) .05s forwards; }
.done-check path { stroke: var(--ok); stroke-width: 3.5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .35s var(--ease) .5s forwards; }
.done.is-wait .done-check circle, .done.is-wait .done-check path { stroke: var(--warn); }
.done.is-wait .done-check circle { fill: #fffbeb; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
.done h2 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; }
.done-text { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }
.done-card { text-align: left; max-width: 440px; margin: 0 auto 18px; padding: 6px 18px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.done-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; }
.done-row + .done-row { border-top: 1px solid var(--line-2); }
.done-row .i { color: var(--muted); }
.done-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 440px; margin: 0 auto; }
.done .btn--block { max-width: 440px; margin: 10px auto 0; }

/* ---------- Pausiert / eigener Termin ---------- */
.msg { text-align: center; padding: 40px 28px 32px; max-width: 520px; margin: 0 auto; }
.msg-ico { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--surface); }
.msg-ico .i { width: 26px; height: 26px; }
.msg h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.msg p { color: var(--muted); margin-bottom: 8px; }
.msg .when { color: var(--ink); font-size: 18px; font-weight: 650; }
.msg .btn--dark { margin-top: 12px; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 480px) {
    .card { padding: 20px 16px; border-radius: 20px; }
    .bk-title { font-size: 21px; }
    .bk-meta { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .day { height: 42px; }
    .done-actions { grid-template-columns: 1fr; }
    .chosen { gap: 12px; }
    .chosen-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Eingebettet im Shop ---------- */
html.embed { overflow: hidden; }   /* Shop passt die Höhe an – kein eigener Scrollbalken */
body.embed { background: transparent; }
.embed .wrap { max-width: none; margin: 0; padding: 0; }
.embed .card { border-radius: 0; box-shadow: none; padding: 32px; }
.embed .notice { margin: 20px 20px 0; }
@media (max-width: 480px) { .embed .card { padding: 22px 16px; } }
