:root {
  --blue: #075cff;
  --blue-strong: #0047cc;
  --blue-soft: #e9f1ff;
  --ink: #05070b;
  --ink-soft: #1b2433;
  --muted: #687386;
  --line: #d9e1ef;
  --surface: #ffffff;
  --surface-soft: #f6f9ff;
  --shadow: 0 24px 70px rgba(6, 26, 69, 0.14);
  --radius: 8px;
  --container: 1180px;
}

/* Terminverwaltung */
.page-termin-manage {
  background: #f4f8ff;
}

.manage-main {
  min-height: 75vh;
}

.manage-hero {
  padding: clamp(142px, 14vw, 178px) 0 clamp(72px, 8vw, 110px);
  background:
    radial-gradient(circle at 92% 8%, rgba(7, 92, 255, 0.15), transparent 29%),
    linear-gradient(180deg, #edf4ff 0%, #f8fbff 42%, #ffffff 100%);
}

.manage-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.manage-heading h1,
.admin-title-row h1,
.admin-login-card h1 {
  margin: 6px 0 14px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.manage-heading > p:last-child,
.admin-title-row > div > p:last-child {
  margin: 0;
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
}

.manage-greeting {
  margin: 10px 0 2px;
  color: var(--ink);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 850;
  letter-spacing: -.025em;
}

.manage-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.manage-loading[hidden],
.manage-layout-pro[hidden],
.manage-error[hidden],
.manage-success[hidden] {
  display: none;
}

.manage-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #d8e5fb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: manage-spin 800ms linear infinite;
}

@keyframes manage-spin {
  to { transform: rotate(360deg); }
}

.manage-layout-pro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: 28px;
}

.manage-overview-card,
.manage-action-card,
.manage-info-card,
.manage-error {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 65px rgba(13, 43, 91, 0.11);
}

.manage-overview-card {
  padding: clamp(24px, 4vw, 38px);
}

.manage-booking-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.manage-booking-top > div {
  display: grid;
  gap: 5px;
}

.manage-booking-top strong {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.025em;
}

.summary-label,
.manage-detail span,
.manage-note-box > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.manage-status,
.admin-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.manage-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.manage-status.is-confirmed,
.admin-status-confirmed {
  color: #087443;
  background: #e7f8ef;
}

.manage-status.is-cancelled,
.admin-status-cancelled {
  color: #b42318;
  background: #ffebe9;
}

.manage-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.manage-detail {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 104px;
  padding: 24px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.manage-detail:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.manage-detail strong {
  font-size: 17px;
  line-height: 1.4;
}

.manage-detail-wide {
  grid-column: 1 / -1;
  border-left: 0 !important;
  padding-left: 0 !important;
}

.manage-note-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid #d8e6ff;
  border-radius: 10px;
  background: #f5f9ff;
}

.manage-note-box p {
  margin: 8px 0 0;
  color: #3d4b61;
  white-space: pre-wrap;
}

.manage-location-card {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(220px, 1fr);
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.manage-location-card p {
  margin: 7px 0 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.manage-location-card .button {
  width: fit-content;
}

.manage-map-placeholder {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border-radius: 9px;
  color: #fff;
  background:
    linear-gradient(35deg, rgba(7, 92, 255, .93), rgba(0, 49, 145, .86)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.18) 18px 20px);
  text-align: center;
}

.manage-map-placeholder span {
  font-size: 30px;
}

.manage-reschedule-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
}

.manage-reschedule-modal[hidden] {
  display: none;
}

.manage-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 10, 23, .7);
}

.manage-reschedule-card {
  position: relative;
  width: min(100%, 590px);
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.32);
}

.manage-reschedule-card h2 {
  margin: 6px 45px 8px 0;
  font-size: clamp(25px, 4vw, 34px);
}

.manage-reschedule-card > p:not(.kicker) {
  color: var(--muted);
}

.manage-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #edf2f8;
  font-size: 24px;
}

.manage-reschedule-date {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.manage-reschedule-date input {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
  font: inherit;
}

.manage-reschedule-slots {
  max-height: 238px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.manage-reschedule-slots > p {
  grid-column: 1 / -1;
  color: var(--muted);
}

.manage-reschedule-slot {
  min-height: 48px;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.manage-reschedule-slot:hover,
.manage-reschedule-slot:focus-visible,
.manage-reschedule-slot.is-selected {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.manage-reschedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.manage-success {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #a8e0c2;
  border-radius: 9px;
  color: #075c36;
  background: #edfbf3;
  font-weight: 700;
}

.manage-action-panel {
  display: grid;
  gap: 20px;
}

.manage-action-card,
.manage-info-card {
  padding: 26px;
}

.manage-action-card h2,
.manage-info-card h2 {
  margin: 5px 0 11px;
  font-size: 24px;
}

.manage-action-card > p:not(.kicker):not(.manage-action-message),
.manage-info-card li {
  color: var(--muted);
}

.manage-side-actions {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.button-danger {
  color: #fff;
  background: #c9271b;
  box-shadow: 0 12px 28px rgba(170, 31, 23, 0.18);
}

.button-danger:hover {
  background: #a91f16;
}

.button-quiet {
  color: var(--ink-soft);
  background: transparent;
}

.manage-action-message,
.admin-notice {
  min-height: 22px;
  margin: 15px 0 0;
  color: #075c36;
  font-size: 14px;
}

.manage-action-message.is-error,
.admin-notice.is-error {
  color: #b42318;
}

.manage-info-card ul {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding-left: 20px;
}

.manage-error {
  max-width: 760px;
  padding: clamp(28px, 5vw, 50px);
}

.manage-error-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: #c9271b;
  font-size: 24px;
  font-weight: 800;
}

.manage-error h2 {
  margin: 6px 0 12px;
  font-size: 34px;
}

.manage-error > p:not(.kicker) {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 17px;
}

/* Internes Admin-Portal */
.page-admin {
  min-height: 100vh;
  background: #f3f7fc;
}

.admin-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header-badge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #244262;
  background: #edf3fa;
  font-size: 13px;
  font-weight: 800;
}

.admin-main {
  padding: clamp(48px, 7vw, 84px) 0 100px;
}

.admin-login-card {
  width: min(calc(100% - 40px), 480px);
  margin: 20px auto;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-login-card > p:not(.kicker) {
  color: var(--muted);
}

.admin-login-form,
.admin-edit-form,
.admin-login-form label,
.admin-edit-form label,
.admin-toolbar label {
  display: grid;
  gap: 7px;
}

.admin-login-form {
  gap: 17px;
  margin-top: 27px;
}

.admin-login-form label,
.admin-edit-form label,
.admin-toolbar label {
  color: #39475b;
  font-size: 13px;
  font-weight: 750;
}

.admin-login-form input,
.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea,
.admin-toolbar input,
.admin-toolbar select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd6e5;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
}

.admin-back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 700;
}

.admin-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 35px;
}

.admin-stats-wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-stats article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-stats strong {
  font-size: 30px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(132px, .72fr)) auto;
  align-items: end;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid #bcd2f8;
  border-radius: 9px;
  background: #edf4ff;
}

.admin-bulk-bar[hidden],
.admin-portal[hidden],
.admin-modal[hidden] {
  display: none;
}

.admin-bulk-bar > div {
  display: flex;
  gap: 9px;
}

.admin-bulk-bar .button {
  min-height: 39px;
  padding: 9px 13px;
  font-size: 13px;
}

.admin-table-wrap {
  overflow: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(13, 43, 91, 0.07);
}

.admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5ebf3;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #516074;
  background: #f7f9fc;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span:not(.admin-status) {
  margin-top: 4px;
  color: var(--muted);
}

.admin-booking-id {
  margin-bottom: 7px;
}

.admin-status {
  padding: 5px 8px;
  font-size: 11px;
}

.admin-row-actions {
  display: grid;
  gap: 6px;
}

.admin-mini-button {
  padding: 6px 8px;
  border: 1px solid #cbd6e5;
  border-radius: 5px;
  color: #26364b;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.admin-mini-button.is-danger {
  color: #ad241a;
  border-color: #f1b7b2;
}

.admin-empty {
  padding: 45px 20px;
  color: var(--muted);
  text-align: center;
}

.admin-orders-placeholder {
  margin-top: 32px;
  padding: 28px;
  border: 1px dashed #aebed2;
  border-radius: 11px;
  background: rgba(255, 255, 255, .62);
}

.admin-operations {
  margin-top: 32px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.admin-section-head,
.admin-operation-grid,
.admin-system-list div,
.admin-system-placeholders {
  display: flex;
  align-items: center;
}

.admin-section-head {
  justify-content: space-between;
  gap: 20px;
}

.admin-section-head h2 {
  margin: 5px 0 0;
}

.admin-live-pill {
  padding: 8px 11px;
  border-radius: 999px;
  color: #087443;
  background: #e7f8ef;
  font-size: 13px;
  font-weight: 800;
}

.admin-operation-grid {
  align-items: stretch;
  gap: 16px;
  margin-top: 22px;
}

.admin-operation-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbff;
}

.admin-operation-card h3 {
  margin: 0 0 18px;
  font-size: 16px;
}

.admin-chart {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
}

.admin-chart-item {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 7px;
  text-align: center;
}

.admin-chart-bar {
  width: min(100%, 30px);
  min-height: 5px;
  justify-self: center;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #075cff, #6da4ff);
}

.admin-chart-item small {
  color: var(--muted);
  font-weight: 800;
}

.admin-system-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.admin-system-list div {
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.admin-system-list dt {
  color: var(--muted);
}

.admin-system-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.admin-log-panel {
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.admin-log-panel summary {
  cursor: pointer;
  font-weight: 800;
}

.admin-log-panel ol {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
}

.admin-log-panel time,
.admin-log-panel strong {
  margin-right: 7px;
  color: var(--ink-soft);
}

.admin-system-placeholders {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-system-placeholders span {
  flex: 1 1 260px;
  color: var(--muted);
  font-size: 13px;
}

.admin-orders-placeholder h2 {
  margin: 6px 0 8px;
}

.admin-orders-placeholder > p:last-child {
  margin: 0;
  color: var(--muted);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 10, 23, .68);
}

.admin-modal-card {
  position: relative;
  width: min(100%, 820px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf2f8;
  font-size: 24px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.admin-form-wide {
  grid-column: 1 / -1;
}

.admin-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .manage-layout-pro {
    grid-template-columns: 1fr;
  }

  .manage-action-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .admin-toolbar .button {
    grid-column: 1 / -1;
  }

  .admin-operation-grid {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .manage-hero {
    padding-top: 126px;
  }

  .manage-heading h1,
  .admin-title-row h1,
  .admin-login-card h1 {
    font-size: 36px;
  }

  .manage-booking-top,
  .admin-title-row,
  .admin-bulk-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .manage-detail-grid,
  .manage-action-panel,
  .admin-toolbar,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .manage-location-card {
    grid-template-columns: 1fr;
  }

  .manage-map-placeholder {
    min-height: 118px;
  }

  .manage-reschedule-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manage-reschedule-actions .button {
    width: 100%;
  }

  .manage-detail,
  .manage-detail:nth-child(even),
  .manage-detail-wide {
    grid-column: auto;
    min-height: 0;
    padding: 18px 0 !important;
    border-left: 0;
  }

  .manage-overview-card,
  .manage-action-card,
  .manage-info-card {
    padding: 20px;
  }

  .admin-stats {
    gap: 10px;
  }

  .admin-stats article {
    padding: 16px;
  }

  .admin-toolbar .button,
  .admin-form-wide {
    grid-column: auto;
  }

  .admin-bulk-bar > div {
    width: 100%;
    flex-direction: column;
  }

  .admin-section-head,
  .admin-system-placeholders {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-operation-card {
    width: 100%;
  }

  .admin-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    margin-bottom: 14px;
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .admin-table td {
    position: relative;
    padding: 11px 0 11px 112px;
    border-bottom: 1px solid #edf1f6;
  }

  .admin-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 100px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .admin-row-actions {
    padding-left: 0 !important;
  }

  .admin-row-actions::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manage-spinner { animation-duration: 1600ms; }
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
a,
span,
strong {
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 320ms ease, box-shadow 320ms ease, padding 320ms ease, transform 320ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(5, 7, 11, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(calc(100% - 40px), 1240px);
  min-height: 64px;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  transition: min-height 320ms ease, background 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(213, 225, 248, 0.9);
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--ink-soft);
}

.site-nav a,
.site-nav button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-nav a::after,
.site-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav button:hover::after,
.site-nav button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  position: relative;
  justify-self: end;
  z-index: 120;
}

.header-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #d5e1f8;
  border-radius: 6px;
  background: #fff;
  color: #05070b;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-account-link:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 92, 255, 0.35);
  box-shadow: 0 10px 24px rgba(7, 92, 255, 0.12);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(7, 92, 255, 0.24);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  background: var(--blue-strong);
}

.cta-short {
  display: none;
}

.start-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 40px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(6, 26, 69, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.header-action.is-open .start-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.start-menu a {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 6px;
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.start-menu a:hover,
.start-menu a:focus-visible {
  outline: none;
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.start-menu strong {
  font-size: 15px;
  line-height: 1.2;
}

.start-menu span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 34px rgba(5, 7, 11, 0.08);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #a9c8ff;
  background: var(--blue-soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.has-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.contact-modal.is-hidden {
  display: none;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 7, 11, 0.54);
}

.contact-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 80px rgba(5, 7, 11, 0.24);
}

.contact-modal-card h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.05;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a,
.contact-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 14px;
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  background: #f8fbff;
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--ink);
  font-size: 18px;
}

.hero {
  position: relative;
  min-height: 78vh;
  padding: 150px 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(5, 7, 11, 0.88) 0%, rgba(5, 7, 11, 0.66) 46%, rgba(5, 7, 11, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.55), rgba(5, 7, 11, 0.08));
}

.hero-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  align-self: center;
  align-content: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
  align-items: end;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.home-intro {
  background: #fff;
  color: var(--ink);
  padding: 48px 0 56px;
  border-top: 1px solid rgba(213, 225, 248, 0.7);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 18px 46px;
  align-items: start;
}

.home-intro-grid > * {
  min-width: 0;
}

.home-intro .strip-title {
  grid-column: 1;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.home-intro-copy {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 42rem;
}

.home-intro .strip-cta {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.home-trust {
  background: #fff;
  color: var(--ink);
}

.home-trust .hero-bento {
  max-width: none;
}

.hero-grid > *,
.strip-grid > *,
.service-card,
.review-card,
.location-card,
.checkout-card,
.summary-card,
.booking-form,
.company-panel > *,
.footer-grid > * {
  min-width: 0;
}

.hero-copy {
  max-width: 720px;
  padding: 70px 0 22px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .kicker,
.companies .kicker {
  color: #9cc0ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-bento--desktop {
  display: none;
}

.hero-bento--mobile {
  display: grid;
}

.bento-card {
  min-height: 168px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.bento-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.05;
}

.bento-dark h2 {
  font-size: 26px;
  overflow-wrap: normal;
  hyphens: none;
}

.bento-card p {
  margin-bottom: 0;
  color: var(--ink);
}

.bento-focus {
  display: grid;
  align-content: space-between;
  border: 1px solid var(--blue);
  background: #fff;
}

.bento-focus span {
  width: max-content;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bento-card img {
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  margin: -24px;
  object-fit: cover;
}

.bento-blue {
  background: var(--blue);
  color: #fff;
}

.bento-blue p,
.bento-dark p {
  color: #fff;
}

.bento-dark {
  background: var(--ink);
  color: #fff;
}

.rating {
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
}

.review-card .rating {
  color: var(--blue);
}

.reviews-more-link {
  display: none !important;
}

.slot-suggestions {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.slot-suggestions-title {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.slot-suggestions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-suggestion-button {
  border: 1px solid rgba(7, 92, 255, 0.2);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.slot-suggestion-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.quality-strip {
  background: var(--ink);
  color: #fff;
}

.strip-grid {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.strip-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.strip-title {
  color: #fff !important;
  font-weight: 800;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.strip-grid a {
  color: #fff;
  font-weight: 800;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border-bottom: 2px solid var(--blue);
  text-decoration: none;
}

.quality-strip.home-intro--dock .home-intro-grid {
  gap: 18px;
  align-items: flex-start;
}

.quality-strip.home-intro--dock .strip-title {
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
}

.quality-strip.home-intro--dock .strip-cta {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: 8px 0;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.quality-strip.home-intro--dock .home-intro-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.9375rem, 3.6vw, 1.125rem);
  line-height: 1.45;
  max-width: 42rem;
}

.subpage-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 142px 0 78px;
  background: var(--ink);
  color: #fff;
}

.subpage-hero-media,
.subpage-hero-overlay {
  position: absolute;
  inset: 0;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-hero-overlay {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.88) 0%, rgba(5, 7, 11, 0.66) 52%, rgba(5, 7, 11, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.35), rgba(5, 7, 11, 0.72));
}

.subpage-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: end;
}

.subpage-hero-copy {
  max-width: 760px;
}

.subpage-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 18px;
}

.subpage-hero-copy p:not(.kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.subpage-trust {
  display: grid;
  gap: 12px;
}

.subpage-trust article,
.intro-card-grid article {
  padding: 22px;
  border: 1px solid rgba(216, 230, 255, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(6, 26, 69, 0.1);
}

.subpage-trust strong,
.intro-card-grid strong {
  display: block;
  margin-bottom: 6px;
}

.subpage-trust span,
.intro-card-grid p {
  margin: 0;
  color: var(--muted);
}

.page-intro {
  padding: 78px 0;
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: start;
}

.intro-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.intro-card-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.section {
  padding: 104px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head h2,
.why-copy h2,
.process-copy h2,
.booking-copy h2,
.company-panel h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p:last-child,
.why-copy p,
.process-copy p,
.booking-copy p,
.company-panel p {
  color: var(--muted);
  font-size: 18px;
}

.services {
  background: var(--surface-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 470px;
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(6, 26, 69, 0.08);
}

.service-card-large {
  grid-column: span 2;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card img.image-display {
  object-position: center 52%;
}

.service-card img.image-store {
  object-position: center 46%;
}

.service-card img.image-cases {
  object-position: center 50%;
}

.service-card img.image-diagnosis {
  object-position: center 52%;
}

.service-card img.image-quick {
  object-position: center 56%;
}

.service-card img.image-software {
  object-position: center 42%;
}

.service-card img.image-advice {
  object-position: center 42%;
}

.service-card div {
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.15;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.service-card li {
  display: flex;
  gap: 8px;
}

.service-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
}

.why {
  background: #fff;
}

.why-grid,
.process-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.why-copy {
  position: sticky;
  top: 118px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric-grid article {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.metric-grid article:nth-child(2),
.metric-grid article:nth-child(3) {
  background: var(--blue);
}

.metric-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.metric-grid small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.35;
}

.reviews {
  overflow: hidden;
  background: #fff;
}

.review-shell {
  position: relative;
  background: #fff;
}

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 0;
  background: #fff;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-track.is-status {
  display: block;
  overflow: visible;
}

.review-status {
  min-height: 180px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
  border: 1px solid #d8e6ff;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.review-card {
  height: 310px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 22px;
  border: 1px solid #d8e6ff;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 44px rgba(7, 92, 255, 0.08);
}

.review-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.review-card .rating {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 900;
}

.review-card .rating-stars {
  display: inline-flex;
  gap: 2px;
  letter-spacing: 0.02em;
}

.review-card .rating-star {
  color: #c5d4f0;
}

.review-card .rating-star.is-filled {
  color: var(--blue);
}

.review-card .rating-label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.review-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card-body p {
  flex: 1 1 auto;
  min-height: 0;
}

.review-card-body.is-expanded {
  overflow-y: auto;
  padding-right: 5px;
}

.review-card-body.is-expanded p {
  display: block;
  overflow: visible;
  flex: 0 1 auto;
}

.review-card-actions {
  flex: 0 0 auto;
  margin-top: 8px;
  margin-bottom: 12px;
  padding-top: 0;
  padding-bottom: 0;
}

.review-more-button {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  cursor: pointer;
}

.review-card footer {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-card span {
  color: var(--muted);
}

.review-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.review-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.reviews-more-link {
  width: fit-content;
  margin: 18px auto 0;
}

.reviews-load-more {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.reviews-load-more-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.reviews-load-more-button:disabled {
  opacity: 0.72;
  cursor: default;
}

.review-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.review-controls button:disabled {
  opacity: 0.4;
}

.review-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locations {
  background: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.location-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 92, 255, 0.92), rgba(5, 7, 11, 0.95)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 14px);
  color: #fff;
}

.map-card span {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.map-card strong {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.05;
}

.map-card small {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.location-body {
  padding: 28px;
}

.location-body h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.1;
}

address {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-style: normal;
}

.hours {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--muted);
}

.hours strong {
  color: var(--ink);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-card .button-light {
  border-color: var(--line);
}

.process {
  background: var(--ink);
  color: #fff;
}

.process-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.step-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.step-list span {
  display: block;
  margin-bottom: 28px;
  color: #9cc0ff;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.step-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.how-it-works {
  background: #fff;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(6, 26, 69, 0.08);
}

.flow-steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.flow-steps strong {
  font-size: 18px;
  line-height: 1.2;
}

.flow-steps p {
  margin: 0;
  color: var(--muted);
}

.price-calculator {
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
  padding-top: clamp(78px, 8vw, 96px);
  padding-bottom: clamp(82px, 8vw, 104px);
}

.price-calculator .section-head {
  margin-bottom: 32px;
}

.page-repair .price-calculator {
  padding-top: clamp(132px, 12vw, 156px);
}

.price-calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
  padding-bottom: 18px;
}

.calculator-main {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.checkout-card,
.summary-card,
.booking-form {
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: visible;
}

.summary-card {
  position: sticky;
  top: clamp(86px, 9vh, 108px);
  align-self: start;
  transition: top 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  will-change: transform;
}

.price-summary {
  box-shadow: 0 18px 48px rgba(6, 26, 69, 0.12);
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 16px 0 4px;
  color: var(--ink);
  font-size: 56px;
  font-weight: 1000;
  line-height: 0.95;
  letter-spacing: 0;
}

.price small {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 20px;
}

.price.is-text-price {
  align-items: center;
  font-size: 30px;
  line-height: 1.08;
}

.price.is-text-price span {
  font-size: 30px;
}

.price-note {
  color: var(--muted);
  font-size: 14px;
}

.summary {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  transition: gap 260ms ease;
}

.summary .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  animation: summaryIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition: opacity 260ms ease, transform 260ms ease, padding 260ms ease;
}

.summary strong {
  max-width: 58%;
  color: var(--ink);
  text-align: right;
}

.summary .total-row {
  align-items: center;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  background: #f3f7ff;
}

.summary .total-row strong {
  color: var(--blue-strong);
  font-size: 18px;
}

@keyframes summaryIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 2px;
}

.progress-step {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.progress-step span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--blue);
}

.progress-step.is-active {
  border-color: #bcd4ff;
  background: var(--blue-soft);
  color: var(--blue-strong);
  box-shadow: 0 12px 26px rgba(7, 92, 255, 0.09);
}

.progress-step.is-active span {
  background: var(--blue);
  color: #fff;
}

.progress-step:hover,
.progress-step:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.step-panel {
  display: none;
  overflow: visible;
}

.step-panel.is-active {
  display: grid;
  gap: 18px;
  animation: fadeUp 240ms ease both;
}

.step-head {
  display: grid;
  gap: 8px;
}

.step-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.step-head h3 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.05;
}

.step-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

label span {
  font-size: 14px;
}

.field-label.required::after {
  content: " *";
  color: var(--blue);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.12);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.custom-select.is-invalid .custom-select-trigger {
  border-color: #e59aa7;
  background-color: #fff8f9;
}

.field-error {
  color: #9a1c1c;
  font-size: 13px;
  font-weight: 700;
}

.custom-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 20;
  isolation: isolate;
}

.custom-select.is-open {
  z-index: 400;
}

.custom-select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.custom-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select:not(.has-value) .custom-select-label,
.custom-select.is-disabled .custom-select-label {
  color: var(--muted);
}

.custom-select.is-disabled .custom-select-trigger {
  cursor: not-allowed;
  opacity: 0.62;
}

.custom-select-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--blue);
  clip-path: polygon(20% 35%, 50% 65%, 80% 35%, 90% 45%, 50% 85%, 10% 45%);
  transition: transform 180ms ease;
}

.custom-select.is-open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-trigger:hover,
.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
  border-color: #9cc0ff;
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.1);
  outline: none;
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 401;
  max-height: min(320px, 44vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
  border: 1px solid rgba(188, 212, 255, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(6, 26, 69, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}

.custom-select-option {
  width: 100%;
  display: block;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  outline: none;
  background: var(--blue-soft);
}

.custom-select-option.is-active {
  background: #dce9ff;
  color: var(--blue-strong);
  font-weight: 800;
}

.custom-select-option.is-placeholder {
  color: var(--muted);
}

.custom-select-option:disabled {
  cursor: not-allowed;
  color: #a2adbf;
  background: transparent;
}

.option-panel,
.repair-info,
.info-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d8e6ff;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
  color: var(--ink-soft);
  animation: fadeUp 260ms ease both;
}

.option-panel strong,
.info-card strong {
  color: var(--ink);
  font-size: 17px;
}

.option-panel p,
.repair-info p,
.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.dynamic-fields {
  display: grid;
  gap: 14px;
  animation: fadeUp 260ms ease both;
}

.inline-actions,
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.step-actions {
  justify-content: flex-end;
  margin-top: 4px;
}

.inline-actions .button,
.step-actions .button {
  min-height: 44px;
}

.inline-actions .button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 92, 255, 0.2);
}

.check-line {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink-soft);
}

.check-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--blue);
}

.check-line input[required] + span::after {
  content: " *";
  color: var(--blue);
  font-weight: 900;
}

.availability-status {
  padding: 12px 14px;
  border: 1px solid #cfe0ff;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.availability-status.is-muted {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--muted);
}

.availability-status.is-error {
  border-color: #e59aa7;
  background: #fff8f9;
  color: #9a1c1c;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-line .field-error {
  grid-column: 2;
}

.form-error,
.form-success {
  padding: 14px 16px;
  border-radius: 6px;
}

.form-error {
  background: #fff0f0;
  color: #9a1c1c;
}

.form-success {
  background: var(--blue-soft);
  color: var(--ink);
}

.booking-submit-state {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  background: rgba(248, 251, 255, 0.97);
  text-align: center;
  backdrop-filter: blur(4px);
}

.booking-submit-state strong {
  color: var(--ink);
  font-size: 18px;
}

.booking-submit-state p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.booking-submit-circle {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 6px solid #cfe0ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  background: #fff;
  transition: border-color 320ms ease, background 320ms ease, transform 320ms ease;
}

.booking-submit-state.is-loading .booking-submit-circle {
  animation: bookingSpin 900ms linear infinite;
}

.booking-submit-circle svg {
  width: 56px;
  height: 56px;
}

.booking-submit-circle path {
  fill: none;
  stroke: #16a34a;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 72;
  stroke-dashoffset: 72;
  opacity: 0;
}

.booking-submit-state.is-success .booking-submit-circle {
  border-color: #16a34a;
  background: #f0fdf4;
  animation: none;
  transform: scale(1.02);
}

.booking-submit-state.is-success .booking-submit-circle path {
  opacity: 1;
  animation: drawBookingCheck 680ms ease 120ms forwards;
}

@keyframes bookingSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drawBookingCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.is-hidden {
  display: none !important;
}

.booking {
  background: #fff;
}

.booking-v2 {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding-top: clamp(78px, 8vw, 96px);
  padding-bottom: clamp(78px, 8vw, 108px);
}

.booking-v2-shell {
  display: grid;
  gap: 20px;
}

.booking-v2-head {
  max-width: 760px;
}

.booking-v2-head h2 {
  margin-bottom: 10px;
}

.booking-v2-head p {
  color: var(--muted);
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.booking-progress button {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 9px 10px;
  border: 1px solid #d8e6ff;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, transform 240ms ease, opacity 240ms ease;
}

.booking-progress button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.booking-progress button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.booking-progress button:not(:disabled):hover,
.booking-progress button:not(:disabled):focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: var(--blue);
  color: var(--blue-strong);
}

.booking-progress button.is-active:hover,
.booking-progress button.is-active:focus-visible {
  color: #fff;
}

.booking-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  padding-bottom: 16px;
}

.booking-v2-form {
  display: grid;
  gap: 16px;
  min-height: 286px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.booking-step-card {
  display: none;
  align-content: start;
  gap: 18px;
  min-height: 286px;
  padding: 20px;
  border: 1px solid #d8e6ff;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(6, 26, 69, 0.08);
  overflow: visible;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.booking-step-card.is-active {
  display: grid;
  animation: bookingStepIn 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes bookingStepIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-step-head {
  display: grid;
  gap: 6px;
}

.booking-step-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-step-head h3 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.08;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.location-choice-grid {
  grid-template-columns: 1fr 1fr;
}

.repair-choice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.choice-card,
.slot-button,
.recommended-button,
.calendar-day,
.icon-button {
  border: 0;
  font: inherit;
}

.choice-card {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.choice-card span {
  font-size: 15px;
  font-weight: 950;
}

.choice-card strong {
  color: var(--blue-strong);
  font-size: 14px;
}

.choice-card small {
  color: var(--muted);
  font-weight: 700;
}

.choice-card:hover,
.choice-card:focus-visible,
.choice-card.is-selected {
  outline: none;
  border-color: var(--blue);
  background: #f8fbff;
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.1);
}

.choice-card.is-selected {
  transform: translateY(-1px);
}

.choice-grid.is-invalid {
  padding: 8px;
  border: 1px solid #e59aa7;
  border-radius: 10px;
  background: #fff8f9;
}

.calendar-step {
  gap: 12px;
}

.calendar-step.is-collapsed .recommended-slots,
.calendar-step.is-collapsed .booking-calendar-layout {
  display: none;
}

.recommended-slots {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  background: var(--blue-soft);
}

.recommended-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
}

.recommended-head span {
  color: var(--blue-strong);
  font-weight: 950;
}

.recommended-head small {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.recommended-list,
.slot-list {
  display: grid;
  gap: 8px;
}

.recommended-list {
  grid-template-columns: repeat(3, 1fr);
}

.recommended-button,
.slot-button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #bfd5ff;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.recommended-button {
  display: grid;
  gap: 2px;
  text-align: left;
}

.recommended-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.recommended-button:hover,
.recommended-button:focus-visible,
.slot-button:hover,
.slot-button:focus-visible,
.slot-button.is-selected {
  outline: none;
  border-color: var(--blue);
  background: #f8fbff;
  box-shadow: 0 0 0 4px rgba(7, 92, 255, 0.1);
}

.slot-button.is-selected {
  background: var(--blue);
  color: #fff;
}

.booking-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 12px;
  align-items: stretch;
}

.month-calendar,
.slot-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.slot-panel {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
}

.calendar-toolbar,
.slot-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calendar-toolbar strong,
.slot-panel-head strong {
  color: var(--ink);
  font-size: 16px;
}

.slot-panel-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.calendar-day.is-outside {
  opacity: 0.35;
}

.calendar-day.is-disabled {
  cursor: not-allowed;
  color: #a2adbf;
  background: #f4f6fa;
}

.calendar-day.is-today {
  border-color: #9cc0ff;
}

.calendar-day.is-selected,
.calendar-day:not(.is-disabled):hover,
.calendar-day:not(.is-disabled):focus-visible {
  outline: none;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.slot-list {
  grid-template-columns: 1fr;
  max-height: 272px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-color: #9dbcf4 #edf3ff;
  scrollbar-width: thin;
}

.slot-button {
  min-height: 48px;
}

.slot-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-step {
  position: relative;
  animation: softReveal 260ms ease both;
}

.appointment-picked {
  padding: 14px;
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink-soft);
  font-weight: 800;
}

.change-time-button {
  justify-self: start;
}

@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.booking-copy {
  display: grid;
  align-content: start;
}

.booking-copy .kicker {
  color: #cfe0ff;
}

.booking-copy h2 {
  margin-bottom: 18px;
}

.booking-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.booking-steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.booking-steps div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.booking-steps span {
  color: #cfe0ff;
  font-size: 13px;
  font-weight: 900;
}

.booking-steps strong {
  font-size: 18px;
}

.booking-steps p {
  margin-bottom: 0;
  font-size: 15px;
}

.appointment-summary {
  position: sticky;
  top: clamp(84px, 9vh, 108px);
  min-height: 286px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(0, 34, 117, 0.18);
  transition: top 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  will-change: transform;
}

.appointment-summary .summary {
  margin-top: 8px;
}

.page-termin .booking-v2 {
  padding-top: clamp(132px, 12vw, 156px);
  padding-bottom: clamp(104px, 10vw, 140px);
}

.page-termin .booking-v2-shell {
  gap: 30px;
}

.page-termin .booking-v2-layout {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.page-termin .booking-v2-form,
.page-termin .booking-step-card,
.page-termin .appointment-summary {
  min-height: 340px;
}

.page-termin .booking-step-card {
  padding: 28px;
}

.booking-form {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 20px 52px rgba(0, 34, 117, 0.2);
}

.companies {
  padding-top: clamp(56px, 7vw, 92px);
  background: var(--surface-soft);
}

.company-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}

.company-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.company-panel h2 {
  margin-bottom: 0;
}

.faq {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms ease;
}

details[open] summary::after {
  content: "−";
}

.faq-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 260ms ease, opacity 220ms ease;
}

details[open] {
  border-color: #bcd4ff;
  box-shadow: 0 14px 34px rgba(7, 92, 255, 0.08);
}

details[open] .faq-panel {
  opacity: 1;
}

details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-panel p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 72px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr 0.9fr;
  gap: 34px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 20px;
  filter: invert(1);
}

.site-footer h2 {
  margin: 0 0 18px;
  font-size: 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: revealIn 650ms ease both;
  backface-visibility: hidden;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes revealInMobile {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes stripCtaEnterMobile {
  from {
    opacity: 0;
    transform: translate3d(-16px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav button {
    padding: 12px 10px;
    text-align: left;
  }

  .nav-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .subpage-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 40px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-bento {
    max-width: 720px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .map-card {
    height: 220px;
  }
}

@media (min-width: 961px) {
  .page-home .home-top {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .page-home .home-landing {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .page-home .home-landing-screen {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    background: transparent;
  }

  .page-home .home-top .hero {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 0 0;
  }

  .page-home .home-top .hero > .container.hero-grid {
    flex: 1 1 auto;
    align-content: center;
    justify-content: center;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 46px;
    align-items: center;
    align-self: center;
    margin-block: auto;
  }

  .page-home .home-top .hero-copy {
    padding: 0;
    align-self: center;
  }

  .page-home .home-top .hero-bento--desktop {
    align-self: center;
  }

  .page-home .home-intro {
    flex: 0 0 auto;
    margin-top: auto;
    grid-column: auto;
    grid-row: auto;
    border-top: none;
    padding-top: 0;
  }

  .page-home .home-trust {
    display: none;
  }

  .hero-bento--desktop {
    display: grid;
  }

  .hero-bento--mobile {
    display: none;
  }

  .page-home .home-intro.home-intro--dock {
    padding: clamp(14px, 2.2vh, 20px) 0;
    border-top: none;
    background: var(--ink);
    color: #fff;
  }

  .page-home .quality-strip.home-intro--dock .home-intro-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(16px, 2.5vw, 28px);
    align-items: center;
  }

  .page-home .quality-strip.home-intro--dock .strip-title,
  .page-home .quality-strip.home-intro--dock .home-intro-copy,
  .page-home .quality-strip.home-intro--dock .strip-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .page-home .quality-strip.home-intro--dock .home-intro-copy {
    margin: 0;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.35;
    max-width: none;
  }

  .page-home .quality-strip.home-intro--dock .strip-cta {
    min-height: 40px;
    padding: 4px 0;
    white-space: nowrap;
  }
}

@media (max-width: 960px) {
  .home-intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-intro .strip-title,
  .home-intro-copy,
  .home-intro .strip-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .home-trust .hero-bento {
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  .container,
  .header-inner {
    width: auto;
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 10px;
  }

  .brand img {
    width: 150px;
  }

  .header-action {
    order: 2;
  }

  .header-action .header-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .hero {
    min-height: 92svh;
    padding: 104px 0 0;
  }

  .page-home .home-top .hero {
    min-height: 0;
  }

  .hero-media img {
    object-position: 56% 22%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.62) 0%, rgba(5, 7, 11, 0.47) 56%, rgba(5, 7, 11, 0.62) 100%);
  }

  h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-bento,
  .metric-grid,
  .intro-grid,
  .intro-card-grid,
  .flow-steps,
  .step-list,
  .location-grid,
  .field-row,
  .why-grid,
  .process-grid,
  .price-calculator-layout,
  .booking-v2-layout,
  .booking-calendar-layout,
  .booking-grid,
  .faq-grid,
  .company-panel,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card {
    min-height: 150px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid article {
    min-height: 160px;
    padding: 22px;
  }

  .metric-grid strong {
    font-size: 38px;
  }

  .strip-grid {
    padding: 22px 0;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 30px;
    text-align: center;
  }

  .service-card {
    min-height: auto;
    grid-template-rows: 170px 1fr;
  }

  .service-card div {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 128px 0 64px;
  }

  .page-intro {
    padding: 68px 0;
  }

  .booking-v2 {
    padding-bottom: 64px;
  }

  .companies {
    padding-top: 64px;
  }

  .section-head h2,
  .why-copy h2,
  .process-copy h2,
  .booking-copy h2,
  .company-panel h2 {
    font-size: 36px;
  }

  .why-copy,
  .summary-card {
    position: static;
  }

  .booking-progress {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .booking-progress button {
    scroll-snap-align: start;
  }

  .appointment-summary {
    order: 2;
    position: static;
    top: auto;
    min-height: 0;
    z-index: auto;
  }

  .booking-v2-form,
  .booking-step-card {
    min-height: 0;
  }

  .page-termin .booking-v2-form,
  .page-termin .booking-step-card,
  .page-termin .appointment-summary {
    min-height: 0;
  }

  .booking-grid {
    padding: 28px;
  }

  .review-track {
    grid-auto-columns: min(84vw, 390px);
  }

  .service-card-large {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container,
  .header-inner {
    width: auto !important;
    max-width: none !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  .service-grid,
  .location-choice-grid,
  .repair-choice-grid,
  .recommended-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .booking-step-card {
    padding: 16px;
  }

  .booking-progress button {
    font-size: 12px;
  }

  .booking-v2-head h2 {
    font-size: 31px;
  }

  .calendar-day {
    border-radius: 6px;
    font-size: 13px;
  }

  .hero {
    min-height: 90svh;
    padding: 98px 0 0;
  }

  .hero-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-grid article {
    min-height: 142px;
    padding: 16px;
  }

  .metric-grid strong {
    margin-bottom: 10px;
    font-size: 30px;
  }

  .metric-grid small {
    font-size: 12px;
  }

  .progress {
    grid-template-columns: 1fr;
  }

  .progress-step {
    justify-content: flex-start;
  }

  .bento-card {
    min-height: 112px;
    padding: 16px;
  }

  .bento-card:nth-child(1) {
    grid-column: auto;
  }

  .bento-card h2 {
    font-size: 22px;
  }

  .bento-card p {
    font-size: 14px;
  }

  .rating {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .summary-row {
    flex-direction: column;
    gap: 3px;
  }

  .summary-row strong {
    max-width: none;
    text-align: left;
  }

  .step-actions,
  .inline-actions {
    flex-direction: column;
  }

  h1 {
    font-size: 33px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section-head h2,
  .why-copy h2,
  .process-copy h2,
  .booking-copy h2,
  .company-panel h2 {
    font-size: 31px;
  }

  .service-card {
    min-height: auto;
    grid-template-rows: 145px 1fr;
  }

  .service-card div {
    padding: 18px;
  }

  .price {
    font-size: 42px;
  }
}

/* Mobile layouts are intentionally isolated from desktop presentation. */
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .header-inner {
    width: auto !important;
    max-width: none !important;
    margin-inline: 12px !important;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 58px;
    padding: 8px 9px 8px 12px;
  }

  .brand img {
    width: clamp(126px, 34vw, 150px);
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .header-action .header-cta {
    min-height: 42px;
    padding: 9px 11px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    max-height: calc(100svh - 92px);
    overflow-y: auto;
  }

  .start-menu {
    width: min(300px, calc(100vw - 24px));
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p {
    max-width: 42rem;
    margin-inline: auto;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: clamp(88px, 11dvh, 102px) 0 0;
  }

  .page-home .home-top {
    display: block;
  }

  .page-home .home-landing {
    display: block;
  }

  .page-home .home-landing-screen {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100svh;
    min-height: 100dvh;
    box-sizing: border-box;
    background: var(--ink);
  }

  .page-home .home-landing .hero {
    grid-row: 1;
    flex: none;
    min-height: 0;
    overflow: hidden;
  }

  .page-home .home-intro.home-intro--dock {
    grid-row: 2;
    flex: none;
    margin-top: 0;
    align-self: end;
    padding: clamp(7px, 1.4dvh, 10px) 0 max(4px, env(safe-area-inset-bottom, 0px));
    border-top: none;
    background: var(--ink);
    color: #fff;
    min-height: 0;
  }

  .page-home .quality-strip.home-intro--dock .home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: clamp(4px, 0.8dvh, 6px);
    align-items: start;
  }

  .page-home .quality-strip.home-intro--dock .strip-title {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    line-height: 1.15;
    max-width: 16ch;
  }

  .page-home .quality-strip.home-intro--dock .home-intro-copy {
    grid-column: 1;
    grid-row: 2;
    display: block;
    margin: 0;
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.78);
  }

  .page-home .quality-strip.home-intro--dock .strip-cta {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
    align-self: end;
    width: fit-content;
    max-width: 100%;
    margin-top: clamp(1px, 0.5dvh, 4px);
    min-height: 30px;
    padding: 2px 0 0;
    font-size: clamp(0.9375rem, 3.8vw, 1.05rem);
    line-height: 1.1;
    touch-action: manipulation;
    animation: stripCtaEnterMobile 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .page-home .home-trust {
    background: #fff;
    padding: 10px 0 18px;
    border-top: 1px solid rgba(213, 225, 248, 0.7);
  }

  .hero-media img {
    object-position: center 24%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 7, 11, 0.66) 0%, rgba(5, 7, 11, 0.50) 46%, rgba(5, 7, 11, 0.09) 100%),
      linear-gradient(180deg, rgba(5, 7, 11, 0.62) 0%, rgba(5, 7, 11, 0.47) 56%, rgba(5, 7, 11, 0.62) 100%);
  }

  .hero > .container.hero-grid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(calc(100% - 24px), var(--container), 39rem);
    margin-inline: auto;
    padding: 0 0 clamp(14px, 5.5dvh, 28px);
  }

  .hero-copy {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(10px, 2.5dvh, 20px) 0 clamp(8px, 1.6dvh, 12px);
    flex: 0 0 auto;
  }

  .home-intro-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }

  .home-intro .strip-title {
    margin-bottom: 0;
  }

  .home-intro.home-intro--dock .strip-cta {
    grid-column: auto;
    align-self: flex-start;
  }

  .home-trust .hero-bento {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(6px, 1.6vw, 8px);
  }

  .home-trust .hero-bento .bento-card {
    min-height: clamp(72px, 20vw, 88px);
    padding: clamp(10px, 2.8vw, 12px);
    overflow: visible;
  }

  .home-trust .hero-bento .bento-card p,
  .home-trust .hero-bento .bento-card span {
    display: none;
  }

  .home-trust .hero-bento .bento-card h2 {
    margin-bottom: 0;
    font-size: clamp(12px, 3.35vw, 15px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .home-trust .hero-bento .bento-focus h2 {
    font-size: clamp(11px, 3.1vw, 14px);
  }

  .home-trust .hero-bento .rating {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1;
  }

  .home-intro .hero-bento {
    display: none;
  }

  .hero-media,
  .hero-media img,
  .hero-overlay {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .hero-media {
    contain: strict;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.02;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .process {
    display: block;
  }

  #warum {
    scroll-margin-top: 72px;
  }

  .hero-copy.reveal.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal:not(.hero-copy) {
    animation-name: revealInMobile;
    animation-duration: 520ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 48px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card,
  .service-card-large {
    grid-column: auto;
    grid-template-rows: 136px auto;
    min-height: 0;
  }

  .service-card img {
    min-height: 136px;
  }

  .service-card img.image-cases {
    object-fit: cover;
    object-position: 54% center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    background: none;
  }

  .service-card div {
    padding: 16px;
  }

  .service-card h3 {
    margin-bottom: 7px;
    font-size: 21px;
  }

  .service-card p,
  .service-card li {
    font-size: 14px;
  }

  .service-card ul {
    margin-top: 10px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .why-copy {
    position: static;
    text-align: center;
  }

  .why-copy .button {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-grid article {
    min-height: 138px;
    padding: 15px;
  }

  .metric-grid strong {
    margin-bottom: 8px;
    font-size: clamp(26px, 8vw, 32px);
  }

  .metric-grid span,
  .metric-grid small {
    overflow-wrap: anywhere;
  }

  .reviews,
  .review-shell,
  .review-track {
    max-width: 100%;
  }

  .review-track {
    grid-auto-columns: min(88vw, 350px);
    gap: 12px;
  }

  .review-card {
    height: 300px;
    min-height: 300px;
    padding: 20px;
  }

  .review-card-actions {
    margin-top: 6px;
    margin-bottom: 10px;
  }

  .review-card footer {
    padding-top: 14px;
  }

  .review-controls {
    margin-top: 12px;
  }

  .location-grid,
  .company-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    height: 150px;
  }

  .location-body,
  .company-panel {
    padding: 20px;
  }

  .company-panel {
    gap: 18px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-steps li {
    min-height: 0;
    padding: 17px;
  }

  .page-repair .price-calculator,
  .page-termin .booking-v2 {
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .price-calculator-layout,
  .booking-v2-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    min-width: 0;
  }

  .calculator-main,
  .booking-v2-form {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .price-summary,
  .appointment-summary {
    order: 2;
    position: static;
    top: auto;
    z-index: auto;
    width: 100%;
    min-height: 0;
    transform: none;
    will-change: auto;
  }

  .checkout-card,
  .summary-card,
  .booking-step-card {
    width: 100%;
    min-width: 0;
    padding: 16px;
    overflow: visible;
  }

  .progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .progress-step {
    min-height: 54px;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .progress-step span {
    width: 22px;
    height: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .step-head h3,
  .booking-step-head h3 {
    font-size: 24px;
  }

  .custom-select {
    z-index: auto;
    isolation: auto;
  }

  .custom-select.is-open {
    z-index: 600;
  }

  .custom-select-menu {
    z-index: 601;
    max-height: min(300px, 45svh);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .checkout-card:has(.custom-select.is-open),
  .booking-step-card:has(.custom-select.is-open) {
    position: relative;
    z-index: 590;
  }

  .booking-v2-shell {
    gap: 18px;
  }

  .page-termin .booking-v2-shell {
    gap: 20px;
  }

  .booking-v2-head h2 {
    font-size: 30px;
  }

  .booking-progress {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding: 0 0 6px;
  }

  .booking-progress button {
    min-height: 42px;
    font-size: 12px;
  }

  .page-termin .booking-v2-form,
  .page-termin .booking-step-card,
  .page-termin .appointment-summary {
    min-height: 0;
  }

  .page-termin .booking-step-card {
    padding: 16px;
  }

  .location-choice-grid,
  .repair-choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 92px;
    padding: 14px;
  }

  .recommended-list {
    grid-template-columns: 1fr;
  }

  .recommended-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .recommended-head small {
    text-align: left;
  }

  .booking-calendar-layout {
    grid-template-columns: 1fr;
  }

  .month-calendar,
  .slot-panel,
  .recommended-slots {
    padding: 12px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }

  .slot-list { grid-template-columns: 1fr; }

  .contact-step {
    min-height: 0;
  }

  .booking-submit-state {
    min-height: 100%;
    padding: 20px 16px;
  }

  .booking-submit-state p {
    max-width: 29rem;
    line-height: 1.5;
  }

  .booking-home-button {
    width: auto;
    margin-top: 6px;
  }

  .how-it-works .section-head {
    text-align: center;
  }
}

@media (max-width: 419px) {
  .container,
  .header-inner {
    margin-inline: 10px !important;
  }

  .brand img {
    width: 124px;
  }

  .header-action .header-cta {
    min-height: 40px;
    padding-inline: 9px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 42px 0;
  }

  .hero {
    min-height: 0;
    padding-top: 88px;
  }

  .home-intro.home-intro--dock {
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  }

  .quality-strip.home-intro--dock .strip-cta {
    min-height: 46px;
  }

  .hero-media img {
    object-position: center 22%;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .metric-grid article {
    min-height: 132px;
    padding: 13px;
  }

  .metric-grid strong {
    font-size: 26px;
  }

  .metric-grid span {
    font-size: 13px;
  }

  .metric-grid small {
    font-size: 11px;
  }

  .service-card,
  .service-card-large {
    grid-template-rows: 128px auto;
  }

  .service-card img {
    min-height: 128px;
  }

  .service-card img.image-cases {
    min-height: 0;
    padding: 0;
  }

  .checkout-card,
  .summary-card,
  .booking-step-card {
    padding: 14px;
  }

  .progress-step {
    font-size: 10px;
  }

  .booking-progress {
    grid-template-columns: repeat(5, 88px);
  }

  .booking-progress button {
    font-size: 11px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 3px;
  }

  .calendar-day {
    font-size: 12px;
  }

  .slot-list { grid-template-columns: 1fr; }

  .booking-submit-circle {
    width: 84px;
    height: 84px;
  }
}
