/* Grundstruktur */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f7f8;
  color: #222;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

header h1 {
  font-size: 1.5rem;
  color: #3a3a3a;
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

nav a:hover {
  color: #008cba;
}

/* Buttons */
.button {
  background-color: #008cba;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #006b96;
}

/* Formulare */
form input,
form textarea,
form select {
  width: 100%;
  padding: 0.65rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  background-color: #008cba;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #005f78;
}

/* Kartenlayout */
.card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin-top: 4rem;
  padding: 1rem;
  border-top: 1px solid #eee;
}

.hero {
  max-width: 95%;
  margin: 2rem auto;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  background: linear-gradient(90deg, #00b4db, #0083b0);
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero .button {
  background-color: white;
  color: #0083b0;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero .button:hover {
  background-color: #f0f0f0;
}

.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.navbar-brand {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00b4db;
  text-decoration: underline;
}

.split-bg {
  background-image: url('/images/1.webp'), url('/images/2.webp');
  background-size: 50% 100%;
  background-position: left top, right top;
  background-repeat: no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-section {
  padding: 2rem;
  background-color: #f7f7f7;
  text-align: center;
}

.map-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.map-wrapper iframe {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-wrapper.mt-3 {
  gap: 1rem;
  display: flex;
}

.map-wrapper.mb-3 {
  width: 50%;
  float: left;
}

@media (max-width: 768px) {
  .map-wrapper.mt-3 {
    flex-direction: column;
  }

  .map-wrapper iframe {
    width: 100%;
    height: 300px;
  }

  .map-wrapper mb-3 {
    width: 100%;
  }
}

/* =========================
   Weihnachts-Special Styles
   ========================= */

.christmas-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #fdf3f3 0, #b3001b 35%, #40000f 100%);
  color: #fff;
}

.christmas-hero .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.christmas-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.christmas-hero p {
  font-size: 1.1rem;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-whatsapp {
  background-color: #25D366;
  color: #fff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
}

.hero-whatsapp:hover {
  background-color: #1fb157;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Deko-Sterne / Schneeflocken */
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-decoration .snowflake {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0.25;
}

.hero-decoration .snowflake:nth-child(1) {
  top: 15%;
  left: 10%;
}

.hero-decoration .snowflake:nth-child(2) {
  top: 30%;
  right: 15%;
}

.hero-decoration .snowflake:nth-child(3) {
  bottom: 10%;
  left: 40%;
}
.christmas-event {
  border-left: 5px solid #b3001b;
  background: linear-gradient(135deg, #ffffff, #fff7f7);
}

.christmas-event h2 {
  color: #b3001b;
}

.christmas-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}

.christmas-list li {
  margin-bottom: 0.35rem;
}

.christmas-sidebox {
  background: rgba(179, 0, 27, 0.06);
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid rgba(179, 0, 27, 0.15);
  font-size: 0.95rem;
}

/* Responsives Fine-Tuning für den Weihnachts-Hero */
@media (max-width: 768px) {
  .christmas-hero {
    padding: 2rem 1.5rem;
  }

  .christmas-hero h1 {
    font-size: 2rem;
  }
}

/* Header Auth Buttons: gleiche Höhe, weniger klobig */
.navbar .btn.btn-sm {
    padding: .35rem .75rem;
    line-height: 1.2;
}
.navbar .nav-link {
    line-height: 1.2;
}
.navbar .btn {
    white-space: nowrap;
}

/* Trailer catalog */
.trailer-page {
    padding: 2rem 0 3rem;
}

.trailer-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 260px;
    padding: 2.5rem;
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, .92), rgba(17, 24, 39, .55)),
        url('/images/4.webp') center/cover;
}

.trailer-eyebrow {
    display: inline-flex;
    margin-bottom: .6rem;
    color: #0d6efd;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trailer-hero .trailer-eyebrow {
    color: #9ad7ff;
}

.trailer-hero h1,
.trailer-detail-title h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}

.trailer-hero p {
    max-width: 620px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
}

.trailer-hero-action {
    flex: 0 0 auto;
}

.trailer-filter {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
}

.trailer-filter .form-control,
.trailer-filter .form-select {
    margin: 0;
}

.trailer-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
}

.trailer-filter-check {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: .55rem;
}

.trailer-filter-check .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
}

.trailer-filter-actions {
    display: flex;
    gap: .6rem;
}

.trailer-filter-actions .btn {
    flex: 1;
}

.trailer-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.trailer-results-head h2 {
    margin: 0;
    font-size: 1.7rem;
}

.trailer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.trailer-card {
    overflow: hidden;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.trailer-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #eef1f5;
}

.trailer-card-media img,
.trailer-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.trailer-card-media img {
    transition: transform .25s ease;
}

.trailer-card:hover .trailer-card-media img {
    transform: scale(1.035);
}

.trailer-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    background: linear-gradient(135deg, #eef1f5, #dbe2ea);
    color: #697586;
    font-weight: 700;
}

.trailer-status {
    position: absolute;
    top: .75rem;
    right: .75rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.trailer-status.is-available {
    background: #198754;
}

.trailer-status.is-booked {
    background: #dc3545;
}

.trailer-card-body {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 1.1rem;
}

.trailer-card-title {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.trailer-card-title h3 {
    margin: .15rem 0 0;
    font-size: 1.25rem;
}

.trailer-type,
.trailer-code {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #edf5ff;
    color: #0757b8;
    font-size: .78rem;
    font-weight: 700;
}

.trailer-code {
    flex: 0 0 auto;
    background: #f3f4f6;
    color: #4b5563;
}

.trailer-card-body p {
    color: #596173;
}

.trailer-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: auto 0 1rem;
}

.trailer-specs div {
    padding: .75rem;
    border-radius: 8px;
    background: #f7f9fc;
}

.trailer-specs dt {
    color: #697586;
    font-size: .78rem;
    font-weight: 700;
}

.trailer-specs dd {
    margin: .1rem 0 0;
    font-weight: 700;
}

.trailer-empty {
    padding: 1.25rem;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    background: #eaf8fb;
    color: #23515c;
}

/* Trailer detail */
.trailer-detail-head {
    margin-bottom: 1.25rem;
}

.trailer-back-link {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #596173;
    text-decoration: none;
}

.trailer-back-link:hover {
    color: #0d6efd;
}

.trailer-detail-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.trailer-title-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .9rem;
    color: #596173;
}

.trailer-title-meta span {
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e6e8ec;
}

.trailer-book-button {
    flex: 0 0 auto;
}

.trailer-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 1.5rem;
    align-items: start;
}

.trailer-gallery,
.trailer-detail-panel {
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.trailer-gallery {
    overflow: hidden;
}

.trailer-gallery .trailer-main-image {
    aspect-ratio: 16 / 10;
    height: auto;
}

.trailer-image-placeholder-large {
    aspect-ratio: 16 / 10;
}

.trailer-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: .7rem;
    padding: 1rem;
}

.trailer-thumb-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
    text-decoration: none;
}

.trailer-thumb-link:hover,
.trailer-thumb-link:focus-visible,
.trailer-thumb-link.is-active {
    border-color: #0d6efd;
}

.trailer-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .15s ease;
}

.trailer-thumb-link:hover .trailer-thumb {
    transform: scale(1.04);
}

.trailer-detail-panel {
    padding: 1.25rem;
    position: sticky;
    top: 105px;
}

.trailer-panel-top {
    margin-bottom: 1rem;
}

.trailer-panel-top h2 {
    margin: .45rem 0 .4rem;
    font-size: 1.45rem;
}

.trailer-panel-top p {
    margin: 0;
    color: #596173;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid #edf0f4;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-row dt {
    color: #697586;
    font-weight: 700;
}

.detail-row dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.trailer-book-note {
    margin-bottom: 1rem;
    padding: .85rem;
    border-radius: 8px;
    background: #f7f9fc;
    color: #596173;
    font-size: .92rem;
}

@media (max-width: 992px) {
    .trailer-filter-grid,
    .trailer-grid,
    .trailer-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trailer-detail-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .trailer-page {
        padding-top: 1rem;
    }

    .trailer-hero,
    .trailer-detail-title {
        align-items: stretch;
        flex-direction: column;
    }

    .trailer-hero {
        min-height: 320px;
        padding: 1.5rem;
    }

    .trailer-filter-grid,
    .trailer-grid,
    .trailer-detail-grid,
    .trailer-specs {
        grid-template-columns: 1fr;
    }

    .trailer-filter-actions {
        flex-direction: column;
    }

    .trailer-card-body {
        min-height: 0;
    }

    .detail-row {
        flex-direction: column;
        gap: .25rem;
    }

    .detail-row dd {
        text-align: left;
    }
}

/* Booking flow */
.booking-page {
    padding: 2rem 0 3rem;
}

.booking-head {
    margin-bottom: 1.5rem;
}

.booking-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.booking-title-row h1,
.booking-result h1 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.25rem;
}

.booking-steps span {
    min-height: 42px;
    padding: .65rem .75rem;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    color: #697586;
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
}

.booking-steps span.is-active {
    border-color: #0d6efd;
    background: #edf5ff;
    color: #0757b8;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 1.5rem;
    align-items: start;
}

.booking-panel,
.booking-summary,
.booking-result {
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.booking-panel {
    padding: 1.35rem;
}

.booking-summary {
    position: sticky;
    top: 105px;
    padding: 1.25rem;
}

.booking-section-head {
    display: flex;
    gap: .9rem;
    margin-bottom: 1rem;
}

.booking-section-head > span {
    display: inline-grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: #edf5ff;
    color: #0757b8;
    font-weight: 800;
}

.booking-section-head h2 {
    margin: 0;
    font-size: 1.45rem;
}

.booking-section-head p {
    margin: .25rem 0 0;
    color: #596173;
}

.booking-form-grid {
    display: grid;
    gap: 1rem;
}

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

.booking-panel .form-control,
.booking-panel .form-select {
    margin: 0;
}

.booking-availability {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    background: #fbfcfe;
}

.booking-calendar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.booking-calendar-head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.booking-calendar-head p {
    margin: .2rem 0 0;
    color: #596173;
    font-size: .92rem;
}

.booking-calendar-actions {
    display: inline-flex;
    gap: .35rem;
}

.booking-calendar-actions button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-weight: 800;
}

.booking-calendar-actions button:hover,
.booking-calendar-day:hover {
    border-color: #0757b8;
    color: #0757b8;
}

.booking-calendar-month {
    margin-bottom: .65rem;
    font-weight: 800;
    text-transform: capitalize;
}

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

.booking-calendar-weekdays {
    margin-bottom: .35rem;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.booking-calendar-day {
    position: relative;
    display: inline-grid;
    min-width: 0;
    height: 42px;
    place-items: center;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-weight: 700;
}

.booking-calendar-day.is-empty {
    border-color: transparent;
    background: transparent;
}

.booking-calendar-day.is-today {
    border-color: #0757b8;
}

.booking-calendar-day.is-selected {
    outline: 2px solid #0757b8;
    outline-offset: 2px;
}

.booking-calendar-day.is-booked {
    border-color: #f0b4ad;
    background: #fff1ef;
    color: #9f2f22;
}

.booking-calendar-day.is-disabled {
    border-color: #d8dde6;
    background: #f2f4f7;
    color: #8b95a5;
}

.booking-calendar-day.is-disabled::before {
    content: "";
    position: absolute;
    width: 60%;
    height: 1px;
    background: currentColor;
    transform: rotate(-25deg);
}

.booking-calendar-day.is-booked::after {
    content: attr(data-count);
    position: absolute;
    right: 5px;
    bottom: 4px;
    display: inline-grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 999px;
    background: #c43b2d;
    color: #fff;
    font-size: .68rem;
    line-height: 1;
}

.booking-calendar-details {
    display: grid;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid #e4e8ef;
}

.booking-calendar-details strong {
    display: block;
    margin-bottom: .15rem;
}

.booking-calendar-details p {
    margin: 0;
    color: #596173;
    font-size: .92rem;
}

.booking-calendar-details ul {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.booking-calendar-details li {
    padding: .55rem .7rem;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-weight: 700;
}

.booking-validation:empty {
    display: none;
}

.booking-divider {
    height: 1px;
    margin: 1.5rem 0;
    background: #edf0f4;
}

.booking-note,
.booking-alert {
    margin-top: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #d6e7ff;
    border-radius: 8px;
    background: #f1f7ff;
    color: #234b77;
}

.booking-note a {
    font-weight: 700;
}

.booking-consent {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: 1rem;
    border: 1px solid #d6e7ff;
    border-radius: 8px;
    background: #f7fbff;
}

.booking-consent .form-check-input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: .18rem 0 0;
}

.booking-consent .form-check-label {
    color: #334155;
    line-height: 1.45;
}

.booking-consent a {
    font-weight: 700;
}

.booking-alert {
    margin: 0 0 1rem;
}

.booking-alert.is-danger {
    border-color: #f5c2c7;
    background: #fff1f2;
    color: #842029;
}

.booking-alert.is-success {
    border-color: #badbcc;
    background: #f0faf4;
    color: #0f5132;
}

.booking-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: #111827;
    color: #fff;
}

.booking-price-box span {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
}

.booking-price-box strong {
    font-size: 1.35rem;
}

.booking-fineprint {
    margin: .8rem 0 0;
    color: #697586;
    font-size: .9rem;
}

.booking-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-upload-card {
    padding: 1rem;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #f7f9fc;
}

.booking-preview {
    display: block;
    width: 100%;
    max-height: 230px;
    margin-top: .85rem;
    border-radius: 8px;
    border: 1px solid #d8dde5;
    object-fit: contain;
    background: #fff;
}

.booking-result {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.booking-result-mark {
    display: inline-grid;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.booking-result-mark.is-success {
    background: #198754;
}

.booking-result-mark.is-danger {
    background: #dc3545;
}

.booking-result > p {
    max-width: 640px;
    margin: 1rem auto 0;
    color: #596173;
    font-size: 1.05rem;
}

.booking-result-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin: 1.5rem 0;
    text-align: left;
}

.booking-result-details div {
    padding: .9rem;
    border-radius: 8px;
    background: #f7f9fc;
}

.booking-result-details dt {
    color: #697586;
    font-size: .82rem;
    font-weight: 700;
}

.booking-result-details dd {
    margin: .2rem 0 0;
    font-weight: 800;
}

.booking-next {
    margin-top: 1.5rem;
    padding: 1.1rem;
    border-radius: 8px;
    background: #f7f9fc;
    text-align: left;
}

.booking-next h2 {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
}

.booking-next ol {
    margin: 0;
    padding-left: 1.2rem;
}

.booking-next li + li {
    margin-top: .45rem;
}

.booking-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.legal-page {
    padding: 2rem 0 3rem;
}

.legal-head {
    max-width: 820px;
    margin-bottom: 1.5rem;
}

.legal-head h1 {
    margin: .35rem 0 .5rem;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.08;
}

.legal-head p {
    color: #596173;
    font-size: 1.05rem;
}

.legal-document {
    min-height: 72vh;
    overflow: hidden;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
}

.legal-document object {
    display: block;
    width: 100%;
    height: 72vh;
}

.legal-document p {
    padding: 1.25rem;
    color: #596173;
}

@media (max-width: 992px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .booking-page {
        padding-top: 1rem;
    }

    .booking-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-steps,
    .booking-form-grid.two,
    .booking-upload-grid,
    .booking-result-details {
        grid-template-columns: 1fr;
    }

    .booking-steps span {
        text-align: left;
    }

    .booking-panel,
    .booking-summary,
    .booking-result {
        padding: 1rem;
    }

    .booking-calendar-head {
        flex-direction: column;
    }

    .booking-calendar-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .booking-calendar-day {
        height: 38px;
        font-size: .9rem;
    }

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

    .booking-actions .btn {
        width: 100%;
    }
}

/* Admin */
.admin-shell {
    padding: 2rem 0 3rem;
}

.admin-shell .card,
.admin-card,
.admin-metric,
.admin-panel {
    padding: 0;
}

.admin-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 1.4rem;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .9)),
        linear-gradient(90deg, rgba(13, 110, 253, .14), rgba(25, 135, 84, .1));
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.admin-eyebrow {
    display: inline-flex;
    margin-bottom: .45rem;
    color: #0757b8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-hero h1,
.admin-hero h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    line-height: 1.08;
}

.admin-hero p {
    max-width: 660px;
    margin: .6rem 0 0;
    color: #596173;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-metric,
.admin-card,
.admin-panel {
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.admin-metric {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.1rem;
}

.admin-metric-label,
.admin-label {
    color: #697586;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-metric-value {
    margin-top: .25rem;
    color: #111827;
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
}

.admin-metric-foot {
    margin-top: .75rem;
    color: #697586;
    font-size: .9rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-item-types-grid {
    grid-template-columns: minmax(620px, 1fr) minmax(360px, .42fr);
}

.admin-card-header,
.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #edf0f4;
}

.admin-card-header h2,
.admin-card-header h3,
.admin-panel-header h2,
.admin-panel-header h3 {
    margin: 0;
    font-size: 1.18rem;
}

.admin-card-body,
.admin-panel-body {
    padding: 1.1rem;
}

.admin-filter {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, .35fr)) auto;
    gap: .85rem;
    align-items: end;
}

.admin-filter .form-control,
.admin-filter .form-select,
.admin-form .form-control,
.admin-form .form-select,
.admin-panel .form-control,
.admin-panel .form-select {
    margin: 0;
}

.admin-check {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: .5rem;
}

.admin-table {
    margin: 0;
}

.admin-table thead th {
    border-bottom: 1px solid #e3e8ef;
    background: #f8fafc;
    color: #566071;
    font-size: .76rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.admin-table tbody td {
    border-color: #edf0f4;
}

.admin-title-cell {
    min-width: 210px;
}

.admin-schedule-list {
    display: grid;
    gap: 1.25rem;
}

.admin-schedule-table {
    min-width: 920px;
}

.admin-muted {
    color: #697586;
}

.admin-empty {
    padding: 2rem 1rem;
    color: #697586;
    text-align: center;
}

.admin-embed-panel {
    overflow: hidden;
}

.admin-embed-frame {
    display: block;
    width: 100%;
    min-height: 72vh;
    border: 0;
    background: #ffffff;
}

.admin-document-block {
    padding: 1rem 0;
    border-top: 1px solid #edf0f4;
}

.admin-document-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.admin-document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .8rem;
}

.admin-document-file {
    display: grid;
    gap: .45rem;
    padding: .75rem;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.admin-document-file:hover {
    border-color: #b8c7dc;
    color: inherit;
}

.admin-document-file img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.admin-list-item {
    padding: .9rem;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #f8fafc;
}

.admin-detail-list {
    display: grid;
    gap: .8rem;
}

.admin-detail-item {
    padding: .8rem;
    border-radius: 8px;
    background: #f8fafc;
}

.admin-detail-item div:last-child {
    margin-top: .15rem;
    font-weight: 700;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #475467;
    font-size: .78rem;
    font-weight: 800;
}

.admin-badge.is-success {
    background: #e9f8ef;
    color: #146c43;
}

.admin-badge.is-warning {
    background: #fff6df;
    color: #946200;
}

.admin-badge.is-danger {
    background: #fff1f2;
    color: #b42318;
}

.admin-badge.is-info {
    background: #edf5ff;
    color: #0757b8;
}

.admin-sticky {
    position: sticky;
    top: 105px;
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .6fr);
    gap: 1.25rem;
    align-items: start;
}

.admin-logo-preview {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 1rem;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #f8fafc;
}

.admin-logo-preview img {
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.admin-image-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.admin-image-option {
    display: grid;
    gap: .7rem;
    padding: .8rem;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.admin-image-option:hover,
.admin-image-option.is-active {
    border-color: #0d6efd;
    box-shadow: 0 12px 24px rgba(13, 110, 253, .12);
}

.admin-image-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-image-thumb {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: #f8fafc;
}

.admin-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-image-meta {
    display: grid;
    gap: .2rem;
    min-width: 0;
    color: #697586;
    font-size: .85rem;
}

.admin-image-meta strong {
    overflow: hidden;
    color: #111827;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .admin-metrics,
    .admin-grid,
    .admin-settings-grid,
    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    .admin-shell {
        padding-top: 1rem;
    }

    .admin-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-actions,
    .admin-actions .btn,
    .admin-filter .btn {
        width: 100%;
    }
}

/* Customer area */
.customer-shell {
    padding: 2rem 0 3rem;
}

.customer-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 1.4rem;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(240, 253, 244, .9)),
        linear-gradient(90deg, rgba(13, 110, 253, .12), rgba(25, 135, 84, .14));
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.customer-eyebrow,
.customer-label {
    display: inline-flex;
    margin-bottom: .45rem;
    color: #0757b8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-hero h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    line-height: 1.08;
}

.customer-hero p,
.customer-panel-header p,
.customer-status p {
    max-width: 660px;
    margin: .6rem 0 0;
    color: #596173;
}

.customer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.customer-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.customer-status,
.customer-panel {
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.customer-status {
    min-height: 138px;
    padding: 1.1rem;
}

.customer-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.customer-status-row strong {
    color: #111827;
    font-size: 1.35rem;
}

.customer-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 1.25rem;
    align-items: start;
}

.customer-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #edf0f4;
}

.customer-panel-header h2 {
    margin: 0;
    font-size: 1.18rem;
}

.customer-panel-body {
    padding: 1.1rem;
}

.customer-panel .form-control,
.customer-panel .form-select {
    margin: 0;
}

.customer-panel .booking-section-head h3 {
    margin: 0;
    font-size: 1.2rem;
}

.customer-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 1.25rem;
    align-items: start;
}

.customer-detail-list {
    display: grid;
    grid-template-columns: minmax(130px, .45fr) minmax(0, 1fr);
    gap: .85rem 1rem;
    margin: 0;
}

.customer-detail-list dt {
    color: #596173;
    font-weight: 700;
}

.customer-detail-list dd {
    margin: 0;
    color: #111827;
}

.customer-lock-code {
    display: grid;
    gap: .35rem;
    padding: 1rem;
    border: 1px solid #b7d8c1;
    border-radius: 8px;
    background: #f0fdf4;
}

.customer-lock-code span {
    color: #17633a;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-lock-code strong {
    color: #0f3d25;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: .08em;
    line-height: 1;
    overflow-wrap: anywhere;
}

@media (max-width: 992px) {
    .customer-grid,
    .customer-detail-grid,
    .customer-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .customer-shell {
        padding-top: 1rem;
    }

    .customer-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-actions,
    .customer-actions .btn,
    .customer-panel .btn {
        width: 100%;
    }

    .customer-status-row {
        align-items: flex-start;
        flex-direction: column;
    }

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