.ghp-app,
.ghp-auth,
.ghp-gate {
  --ghp-display: "Space Grotesk", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ghp-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ghp-ink: #203432;
  --ghp-ink-soft: #51635f;
  --ghp-paper: #fff8ee;
  --ghp-white: #fffdf8;
  --ghp-mint: #dff3ec;
  --ghp-sky: #c9eef2;
  --ghp-sea: #278f98;
  --ghp-olive: #789b61;
  --ghp-apricot: #f5b879;
  --ghp-coral: #df7f63;
  --ghp-sun: #f4c95d;
  --ghp-lavender: #d7c8f7;
  --ghp-shadow: 0 22px 58px rgba(39, 143, 152, 0.14);
  font-family: var(--ghp-sans);
}

.ghp-gate {
  position: fixed;
  inset: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
  background: #203432;
  color: #fffdf8;
  overflow: hidden;
}

.ghp-gate-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(32, 52, 50, 0.7), rgba(32, 52, 50, 0.16)),
    url("../../../themes/privlaka-haus-h/assets/images/hero-privlaka.jpg") center/cover;
  transform: scale(1.05);
  animation: ghpGateMove 18s ease-in-out infinite alternate;
}

.ghp-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 72% 20%, rgba(244, 201, 93, 0.28), transparent 30%);
}

@keyframes ghpGateMove {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-2%, -1%, 0); }
}

.ghp-gate-form {
  width: min(420px, 100%);
  padding: 36px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 8px;
  background: rgba(28, 23, 18, 0.48);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.ghp-gate-form > span,
.ghp-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #a65d3a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ghp-gate-form h1 {
  margin: 0 0 26px;
  font-family: var(--ghp-display);
  font-size: clamp(48px, 13vw, 82px);
  font-weight: 700;
  line-height: 0.94;
}

.ghp-gate-form label,
.ghp-form label {
  display: grid;
  gap: 7px;
  color: #4d4034;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ghp-gate-form label {
  color: rgba(255, 250, 242, 0.82);
}

.ghp-gate-form input,
.ghp-form input,
.ghp-form select,
.ghp-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(84, 98, 74, 0.24);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fffaf2;
  color: #1c1712;
  outline: none;
}

.ghp-form textarea {
  min-height: 126px;
  resize: vertical;
}

.ghp-form input[type="checkbox"] {
  min-height: auto;
}

.ghp-form input:focus,
.ghp-form select:focus,
.ghp-form textarea:focus,
.ghp-gate-form input:focus {
  border-color: #a65d3a;
  box-shadow: 0 0 0 4px rgba(166, 93, 58, 0.16);
}

.ghp-gate-form input {
  border-color: rgba(255, 250, 242, 0.28);
  background: rgba(255, 250, 242, 0.96);
}

.ghp-gate-form button,
.ghp-form button,
.ghp-app button,
.ghp-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #1c1712;
  color: #fffaf2;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.ghp-gate-form button {
  width: 100%;
  margin-top: 18px;
  background: #fffaf2;
  color: #1c1712;
}

.ghp-error,
.ghp-message {
  margin: 16px 0 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(166, 93, 58, 0.14);
  color: #7d381f;
  font-weight: 800;
}

.ghp-auth,
.ghp-app {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ghp-auth {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: 0 28px 80px rgba(28, 23, 18, 0.16);
  backdrop-filter: blur(16px);
}

.ghp-auth h2,
.ghp-app-head h2,
.ghp-section h3 {
  margin: 0;
  font-family: var(--ghp-display);
  font-size: clamp(38px, 5.8vw, 72px);
  font-weight: 700;
  line-height: 0.98;
}

.ghp-auth p,
.ghp-section-head p,
.ghp-tip p,
.ghp-row p {
  color: #4d4034;
}

.ghp-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ghp-auth-grid > .ghp-form {
  grid-column: 1 / -1;
  width: min(640px, 100%);
}

.ghp-auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ghp-auth-choice-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(39, 143, 152, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(239, 248, 245, 0.92));
  color: var(--ghp-ink);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(28, 23, 18, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ghp-auth-choice-card:hover,
.ghp-auth-choice-card:focus-visible {
  border-color: rgba(39, 143, 152, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(39, 143, 152, 0.16);
}

.ghp-auth-choice-card span,
.ghp-auth-choice-card small {
  color: var(--ghp-ink-soft);
}

.ghp-auth-choice-card strong {
  font-family: var(--ghp-display);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 0.98;
}

.ghp-auth-form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.ghp-auth-form-links a {
  color: var(--ghp-sea);
  font-weight: 800;
  text-decoration: none;
}

.ghp-auth-form-links a:hover {
  text-decoration: underline;
}

.ghp-auth-help {
  grid-column: 1 / -1;
  border: 1px solid rgba(39, 143, 152, 0.14);
  background: rgba(255, 253, 248, 0.86);
}

.ghp-auth-help p {
  margin: 0;
  color: var(--ghp-ink-soft);
}

.ghp-form,
.ghp-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 18px 48px rgba(28, 23, 18, 0.1);
}

.ghp-wide-form {
  margin-bottom: 22px;
}

.ghp-form h3 {
  margin: 0;
  font-size: 24px;
}

.ghp-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ghp-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
}

.ghp-check input {
  width: auto;
}

.ghp-app {
  display: grid;
  gap: 26px;
  position: relative;
}

.ghp-app-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(28, 23, 18, 0.78), rgba(28, 23, 18, 0.22)),
    url("../../../themes/privlaka-haus-h/assets/images/house-detail.jpg") center/cover;
  color: #fffaf2;
  box-shadow: 0 28px 80px rgba(28, 23, 18, 0.14);
}

.ghp-app-head h2 {
  max-width: 780px;
  color: #fffaf2;
}

.ghp-app-head .ghp-eyebrow {
  color: #e4b66f;
}

.ghp-app-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.ghp-app-head-actions .ghp-link-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ghp-secondary,
.ghp-link-button.ghp-muted {
  background: #ded1bd !important;
  color: #1c1712 !important;
}

.ghp-danger {
  background: #7d381f !important;
}

.ghp-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(28, 23, 18, 0.16);
  box-shadow: 0 18px 52px rgba(28, 23, 18, 0.1);
}

.ghp-stat-strip article {
  display: grid;
  gap: 3px;
  min-height: 98px;
  align-content: center;
  padding: 18px;
  background: rgba(255, 250, 242, 0.88);
}

.ghp-stat-strip strong {
  font-family: var(--ghp-display);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 0.96;
}

.ghp-stat-strip span {
  color: #54624a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghp-tabs {
  position: static;
  top: 78px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(28, 23, 18, 0.88);
  box-shadow: 0 18px 50px rgba(28, 23, 18, 0.18);
  backdrop-filter: blur(14px);
}

.ghp-tabs a {
  flex: 1 1 auto;
  border-radius: 999px;
  padding: 11px 14px;
  color: #fffaf2;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ghp-tabs a.is-active,
.ghp-tabs a:hover {
  background: #fffaf2;
  color: #1c1712;
}

.ghp-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 150px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.95), rgba(245, 239, 229, 0.9));
  box-shadow: 0 28px 80px rgba(28, 23, 18, 0.12);
}

.ghp-section-head {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.ghp-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.ghp-overview-card {
  display: grid;
  gap: 10px;
  min-height: 154px;
  align-content: space-between;
  border-radius: 8px;
  padding: 20px;
  background: #fffaf2;
  color: #1c1712;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(28, 23, 18, 0.08);
}

.ghp-overview-card span {
  font-family: var(--ghp-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.ghp-overview-card p {
  margin: 0;
  color: #4d4034;
}

.ghp-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #1c1712;
  box-shadow: 0 24px 70px rgba(28, 23, 18, 0.14);
  aspect-ratio: 16 / 9;
}

.ghp-video-frame iframe,
.ghp-video-frame video,
.ghp-video-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ghp-calendar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 14px;
  padding-bottom: 4px;
}

.ghp-room-calendars-wrap {
  grid-template-columns: 1fr;
}

.ghp-calendar-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ghp-calendar-head strong {
  font-family: var(--ghp-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
}

.ghp-room-switcher {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ghp-room-switcher button {
  flex: 1 1 150px;
  min-height: 44px;
  border: 1px solid rgba(39, 143, 152, 0.22);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ghp-ink);
  cursor: pointer;
  font-weight: 900;
}

.ghp-room-switcher button.is-active {
  background: linear-gradient(135deg, var(--ghp-sea), #48b5ad);
  color: var(--ghp-white);
  box-shadow: 0 14px 30px rgba(39, 143, 152, 0.16);
}

@media (min-width: 821px) {
  .ghp-room-switcher {
    display: none;
  }
}

.ghp-room-calendar-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ghp-room-calendar {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ghp-room-calendar-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.ghp-room-calendar-title strong {
  color: #1c1712;
  font-size: 18px;
}

.ghp-room-calendar-title span {
  color: #54624a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghp-room-booking-form {
  gap: 10px;
  padding: 14px;
  box-shadow: none;
}

.ghp-room-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1c1712;
}

.ghp-room-form-title strong {
  font-size: 15px;
}

.ghp-room-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ghp-room-booking-form label {
  font-size: 11px;
}

.ghp-room-booking-form input,
.ghp-room-booking-form textarea {
  min-height: 42px;
  padding: 10px 11px;
}

.ghp-room-booking-form textarea {
  min-height: 68px;
}

.ghp-room-booking-form button {
  min-height: 42px;
}

.ghp-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(84, 98, 74, 0.18);
  border-radius: 8px;
  background: rgba(84, 98, 74, 0.18);
  gap: 1px;
}

.ghp-calendar-wrap.is-dragging,
.ghp-calendar-wrap.is-dragging * {
  cursor: grabbing;
  user-select: none;
}

.ghp-calendar-weekday {
  padding: 8px 4px;
  background: #1c1712;
  color: #fffaf2;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ghp-app .ghp-calendar-day {
  --changeover-fill: rgba(95, 125, 85, 0.2);
  min-height: 64px;
  display: grid;
  gap: 6px;
  align-content: space-between;
  align-items: stretch;
  justify-content: stretch;
  border: 0;
  border-radius: 0;
  padding: 8px;
  background: rgba(255, 250, 242, 0.94);
  color: #1c1712;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: left;
  touch-action: none;
  user-select: none;
}

.ghp-room-calendar .ghp-calendar-weekday {
  padding: 7px 2px;
  font-size: 10px;
}

.ghp-app .ghp-room-calendar .ghp-calendar-day {
  min-height: 48px;
  gap: 4px;
  padding: 5px;
}

.ghp-room-calendar .ghp-calendar-date {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.ghp-room-calendar .ghp-calendar-status {
  gap: 4px;
  font-size: 9px;
}

.ghp-room-calendar .ghp-calendar-dot {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
}

.ghp-app .ghp-calendar-day:hover,
.ghp-app .ghp-calendar-day.is-selected {
  outline: 2px solid #1f5d6a;
  outline-offset: -2px;
}

.ghp-app .ghp-calendar-day::before,
.ghp-app .ghp-calendar-day::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.ghp-app .ghp-calendar-day::before {
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.ghp-app .ghp-calendar-day::after {
  inset: 4px;
  border: 2px solid rgba(31, 93, 106, 0.72);
  opacity: 0;
  z-index: 1;
}

.ghp-app .ghp-calendar-day.is-muted {
  background: rgba(222, 209, 189, 0.46);
  color: rgba(28, 23, 18, 0.48);
}

.ghp-app .ghp-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px #1f5d6a;
}

.ghp-app .ghp-calendar-day.is-arrival::before {
  background: linear-gradient(135deg, transparent 0 49.5%, var(--changeover-fill) 50% 100%);
  opacity: 1;
}

.ghp-app .ghp-calendar-day.is-departure::before {
  background: linear-gradient(135deg, var(--changeover-fill) 0 49.5%, transparent 50% 100%);
  opacity: 1;
}

.ghp-app .ghp-calendar-day.is-arrival.is-departure::before {
  background: linear-gradient(135deg, var(--changeover-fill) 0 46%, transparent 46% 54%, var(--changeover-fill) 54% 100%);
}

.ghp-app .ghp-calendar-day.is-changeover-partial {
  --changeover-fill: rgba(228, 182, 111, 0.34);
}

.ghp-app .ghp-calendar-day.is-changeover-booked {
  --changeover-fill: rgba(166, 93, 58, 0.34);
}

.ghp-app .ghp-calendar-day.is-range-middle::after,
.ghp-app .ghp-calendar-day.is-range-start::after,
.ghp-app .ghp-calendar-day.is-range-end::after {
  background: rgba(31, 93, 106, 0.1);
  opacity: 1;
}

.ghp-app .ghp-calendar-day.is-range-start::after {
  background: linear-gradient(135deg, transparent 0 49.5%, rgba(31, 93, 106, 0.2) 50% 100%);
}

.ghp-app .ghp-calendar-day.is-range-end::after {
  background: linear-gradient(135deg, rgba(31, 93, 106, 0.2) 0 49.5%, transparent 50% 100%);
}

.ghp-app .ghp-calendar-day.is-range-start.is-range-end::after {
  background: rgba(31, 93, 106, 0.1);
}

.ghp-app .ghp-calendar-day.is-range-booked::after {
  border-color: rgba(166, 93, 58, 0.86);
  background: rgba(166, 93, 58, 0.12);
}

.ghp-calendar-date {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #f5efe5;
  font-weight: 900;
  position: relative;
  z-index: 2;
}

.ghp-calendar-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #54624a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

.ghp-calendar-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: #5f7d55;
}

.ghp-app .ghp-calendar-day.is-partial .ghp-calendar-dot {
  background: #e4b66f;
}

.ghp-app .ghp-calendar-day.is-booked .ghp-calendar-dot {
  background: #a65d3a;
}

.ghp-app .ghp-calendar-day.is-partial {
  --changeover-fill: rgba(228, 182, 111, 0.34);
  background: rgba(228, 182, 111, 0.22);
}

.ghp-app .ghp-calendar-day.is-booked {
  --changeover-fill: rgba(166, 93, 58, 0.36);
  background: rgba(166, 93, 58, 0.24);
}

.ghp-app .ghp-calendar-day.is-booked .ghp-calendar-status {
  color: #7d381f;
}

.ghp-calendar-legend,
.ghp-calendar-detail {
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 14px 38px rgba(28, 23, 18, 0.08);
}

.ghp-calendar-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  color: #4d4034;
  font-size: 12px;
  font-weight: 900;
}

.ghp-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ghp-calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #5f7d55;
}

.ghp-calendar-legend i.is-partial {
  background: #e4b66f;
}

.ghp-calendar-legend i.is-booked {
  background: #a65d3a;
}

.ghp-calendar-legend i.is-changeover {
  background: linear-gradient(135deg, transparent 0 48%, #1f5d6a 50% 100%);
  border: 1px solid rgba(31, 93, 106, 0.35);
}

.ghp-calendar-detail {
  grid-column: 1 / -1;
  grid-row: auto;
  align-self: start;
  display: grid;
  gap: 8px;
  min-height: 168px;
  padding: 16px;
}

.ghp-calendar-detail strong {
  font-size: 18px;
}

.ghp-calendar-detail p {
  margin: 0;
  color: #4d4034;
}

.ghp-calendar-detail-list {
  display: grid;
  gap: 8px;
}

.ghp-calendar-detail-booking {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 10px;
  background: #f5efe5;
  color: #1c1712;
  text-decoration: none;
}

.ghp-calendar-detail-booking span {
  font-weight: 900;
}

.ghp-calendar-detail-booking small {
  color: #54624a;
  font-weight: 800;
}

.ghp-room-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid rgba(84, 98, 74, 0.2);
  border-radius: 8px;
  padding: 14px;
}

.ghp-room-fieldset legend {
  padding: 0 8px;
  font-weight: 900;
}

.ghp-room-fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 12px;
  background: #f5efe5;
  color: #1c1712;
  font-size: 13px;
  font-weight: 900;
}

.ghp-room-fieldset input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.ghp-file-picker {
  position: relative;
}

.ghp-file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ghp-file-cta,
.ghp-file-name {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-radius: 8px;
  padding: 13px 14px;
}

.ghp-file-cta {
  justify-content: center;
  border: 1px dashed rgba(84, 98, 74, 0.4);
  background: #f5efe5;
  color: #1c1712;
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.ghp-file-name {
  min-height: auto;
  padding: 0;
  color: #4d4034;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

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

.ghp-add-panel {
  border: 1px solid rgba(39, 143, 152, 0.16);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 18px 48px rgba(28, 23, 18, 0.08);
}

.ghp-add-panel summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  color: var(--ghp-ink);
  font-weight: 900;
}

.ghp-add-panel summary::-webkit-details-marker {
  display: none;
}

.ghp-add-panel .ghp-form {
  margin: 0 14px 14px;
  box-shadow: none;
}

.ghp-booking-list-head,
.ghp-mail-toolbar,
.ghp-log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 4px;
  border: 1px solid rgba(84, 98, 74, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 253, 248, 0.76);
}

.ghp-booking-list-head h3,
.ghp-booking-list-head h4 {
  margin: 0;
  font-family: var(--ghp-display);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
}

.ghp-booking-list-head p,
.ghp-mail-toolbar form,
.ghp-inline-form {
  margin: 0;
}

.ghp-booking-list-head span,
.ghp-mail-toolbar > div,
.ghp-log-meta span {
  flex: 0 0 auto;
  border: 1px solid rgba(39, 143, 152, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(223, 243, 236, 0.72);
  color: var(--ghp-ink);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ghp-mail-toolbar > div {
  display: grid;
  gap: 2px;
  text-align: right;
}

.ghp-mail-toolbar > div strong {
  font-size: 20px;
  line-height: 1;
}

.ghp-mail-toolbar > div span {
  color: var(--ghp-ink-soft);
  font-size: 11px;
}

.ghp-empty {
  margin: 0;
  border: 1px dashed rgba(84, 98, 74, 0.24);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--ghp-ink-soft);
  font-weight: 800;
}

.ghp-mail-list {
  gap: 10px;
}

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

.ghp-log-entry {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(84, 98, 74, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.86);
}

.ghp-log-entry strong {
  font-size: 18px;
}

.ghp-log-entry p {
  margin: 3px 0 0;
  color: var(--ghp-ink-soft);
  overflow-wrap: anywhere;
}

.ghp-log-entry dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 0;
}

.ghp-log-entry dl div {
  border-radius: 8px;
  padding: 10px;
  background: rgba(223, 243, 236, 0.42);
}

.ghp-log-entry dt {
  color: var(--ghp-ink-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ghp-log-entry dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.ghp-log-entry pre {
  max-height: 260px;
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  padding: 12px;
  background: #1f3432;
  color: #fffdf8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ghp-mail-item {
  overflow: hidden;
  border: 1px solid rgba(84, 98, 74, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
}

.ghp-mail-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 16px;
}

.ghp-mail-item summary::-webkit-details-marker {
  display: none;
}

.ghp-mail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(244, 201, 93, 0.28);
  color: #6a4d00;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ghp-mail-status-sent .ghp-mail-status {
  background: rgba(120, 155, 97, 0.22);
  color: #315927;
}

.ghp-mail-status-failed .ghp-mail-status {
  background: rgba(199, 93, 82, 0.18);
  color: #8a2a20;
}

.ghp-mail-item summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ghp-mail-item summary small {
  grid-column: 2;
  color: var(--ghp-ink-soft);
  overflow-wrap: anywhere;
}

.ghp-mail-body {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(84, 98, 74, 0.14);
  padding: 0 16px 16px;
}

.ghp-mail-body dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin: 16px 0 0;
}

.ghp-mail-body dl div {
  border-radius: 8px;
  padding: 10px;
  background: rgba(223, 243, 236, 0.42);
}

.ghp-mail-body dt {
  color: var(--ghp-ink-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ghp-mail-body dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.ghp-mail-body pre {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  padding: 14px;
  background: #1f3432;
  color: #fffdf8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ghp-row,
.ghp-tip {
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(84, 98, 74, 0.18);
  padding: 18px 0;
}

.ghp-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.ghp-row:first-child {
  border-top: 0;
}

.ghp-row strong {
  font-size: 18px;
}

.ghp-edit-details {
  border-radius: 8px;
  background: rgba(222, 209, 189, 0.42);
  padding: 12px;
}

.ghp-edit-details summary {
  cursor: pointer;
  font-weight: 900;
}

.ghp-remove-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  border: 1px solid rgba(84, 98, 74, 0.2);
  border-radius: 8px;
  padding: 12px;
}

.ghp-remove-media legend {
  padding: 0 8px;
  font-weight: 900;
}

.ghp-remove-media label {
  display: grid !important;
  gap: 8px;
  align-content: start;
  padding: 8px;
  border-radius: 8px;
  background: #f5efe5;
  color: #1c1712;
  text-transform: none;
  letter-spacing: 0;
}

.ghp-remove-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.ghp-remove-media input {
  width: auto;
}

.ghp-photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ghp-photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.ghp-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.ghp-tip {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.9));
  box-shadow: 0 20px 54px rgba(28, 23, 18, 0.1);
}

.ghp-tip::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #1f5d6a, #a65d3a, #e4b66f);
}

.ghp-tip > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ghp-tip > div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.ghp-tip span,
.ghp-tip small {
  color: #54624a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ghp-tip h4 {
  margin: 0;
  font-family: var(--ghp-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.ghp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ghp-weather-map {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
}

.ghp-weather {
  display: grid;
  align-content: center;
  min-height: 260px;
  border-radius: 8px;
  padding: 22px;
  background: #1f5d6a;
  color: #fffaf2;
}

.ghp-weather strong {
  font-family: var(--ghp-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.ghp-weather span {
  color: rgba(255, 250, 242, 0.78);
}

.ghp-map {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #ded1bd;
}

@media (max-width: 820px) {
  .ghp-auth-grid,
  .ghp-auth-choice-grid,
  .ghp-form-grid,
  .ghp-weather-map {
    grid-template-columns: 1fr;
  }

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

  .ghp-stat-strip article {
    min-height: 82px;
    padding: 14px;
  }

  .ghp-app-head {
    align-items: start;
    flex-direction: column;
  }

  .ghp-app-head-actions {
    width: 100%;
    justify-content: stretch;
    max-width: none;
  }

  .ghp-app-head-actions .ghp-link-button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ghp-tabs {
    position: static;
    top: 10px;
    border-radius: 8px;
    gap: 6px;
    padding: 7px;
  }

  .ghp-tabs a {
    flex-basis: calc(50% - 8px);
    padding: 12px 8px;
    font-size: 12px;
  }

  .ghp-section {
    padding: 22px 16px;
  }

  .ghp-calendar-wrap {
    grid-template-columns: 1fr;
  }

  .ghp-room-calendar-grid {
    grid-template-columns: 1fr;
  }

  .ghp-room-calendar {
    display: none;
  }

  .ghp-room-calendar.is-active {
    display: grid;
  }

  .ghp-room-calendar-title {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .ghp-room-form-grid {
    grid-template-columns: 1fr;
  }

  .ghp-calendar-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ghp-calendar-head strong {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .ghp-calendar-head a:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .ghp-calendar-head a:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .ghp-calendar {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .ghp-calendar-weekday {
    padding: 8px 2px;
    font-size: 10px;
  }

  .ghp-app .ghp-calendar-day {
    min-height: 58px;
    padding: 5px;
  }

  .ghp-calendar-date {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .ghp-calendar-status {
    font-size: 10px;
    gap: 4px;
  }

  .ghp-calendar-status span:not(.ghp-calendar-dot) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ghp-calendar-dot {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }

  .ghp-calendar-legend,
  .ghp-calendar-detail {
    grid-column: 1;
    grid-row: auto;
  }

  .ghp-room-fieldset {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ghp-room-fieldset label {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 8px;
  }

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

  .ghp-app-head {
    min-height: 280px;
    padding: 22px;
  }

  .ghp-weather {
    min-height: 180px;
  }

  .ghp-map {
    min-height: 320px;
  }
}

/* Friendly Mediterranean refresh */
.ghp-auth,
.ghp-app {
  color: var(--ghp-ink);
}

.ghp-auth,
.ghp-form,
.ghp-panel,
.ghp-section,
.ghp-calendar-legend,
.ghp-calendar-detail,
.ghp-overview-card,
.ghp-tip,
.ghp-edit-details {
  border: 1px solid rgba(39, 143, 152, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 238, 0.92));
  box-shadow: var(--ghp-shadow);
}

.ghp-app {
  isolation: isolate;
}

.ghp-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(201, 238, 242, 0.44), transparent 36%),
    linear-gradient(245deg, rgba(244, 201, 93, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(255, 248, 238, 0.74));
}

.ghp-app-head {
  border: 1px solid rgba(255, 250, 242, 0.3);
  background:
    linear-gradient(92deg, rgba(32, 52, 50, 0.76), rgba(39, 143, 152, 0.18) 55%, rgba(32, 52, 50, 0.28)),
    url("../../../themes/privlaka-haus-h/assets/images/hero-privlaka.jpg") center/cover;
  box-shadow:
    0 32px 84px rgba(39, 143, 152, 0.2),
    0 10px 34px rgba(28, 23, 18, 0.16),
    inset 0 1px 0 rgba(255, 250, 242, 0.22);
}

.ghp-app-head::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 6px;
}

.ghp-app-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.12), transparent 28%);
}

.ghp-app-head > * {
  position: relative;
  z-index: 2;
}

.ghp-app-head .ghp-secondary {
  border: 1px solid rgba(255, 250, 242, 0.46);
  background: rgba(255, 250, 242, 0.12) !important;
  color: #fffaf2 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ghp-eyebrow,
.ghp-gate-form > span {
  color: var(--ghp-coral);
}

.ghp-app-head .ghp-eyebrow {
  color: var(--ghp-sun);
}

.ghp-form label,
.ghp-row p,
.ghp-section-head p,
.ghp-auth p,
.ghp-tip p,
.ghp-calendar-detail p,
.ghp-file-name {
  color: var(--ghp-ink-soft);
}

.ghp-gate-form input,
.ghp-form input,
.ghp-form select,
.ghp-form textarea {
  border-color: rgba(39, 143, 152, 0.22);
  background: var(--ghp-white);
  color: var(--ghp-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ghp-form input:focus,
.ghp-form select:focus,
.ghp-form textarea:focus,
.ghp-gate-form input:focus {
  border-color: var(--ghp-sea);
  box-shadow: 0 0 0 4px rgba(39, 143, 152, 0.16);
}

.ghp-gate-form button,
.ghp-form button,
.ghp-app button,
.ghp-link-button {
  background: linear-gradient(135deg, var(--ghp-sea), #48b5ad);
  color: var(--ghp-white);
  box-shadow: 0 14px 30px rgba(39, 143, 152, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ghp-gate-form button:hover,
.ghp-form button:hover,
.ghp-app button:hover,
.ghp-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(39, 143, 152, 0.22);
  filter: saturate(1.08);
}

.ghp-secondary,
.ghp-link-button.ghp-muted {
  background: linear-gradient(135deg, var(--ghp-mint), var(--ghp-sky)) !important;
  color: var(--ghp-ink) !important;
}

.ghp-danger {
  background: linear-gradient(135deg, #c75d52, var(--ghp-coral)) !important;
}

.ghp-stat-strip {
  background: linear-gradient(90deg, var(--ghp-sea), var(--ghp-olive), var(--ghp-apricot), var(--ghp-sun));
  box-shadow: 0 18px 42px rgba(39, 143, 152, 0.14);
}

.ghp-stat-strip article {
  background: rgba(255, 253, 248, 0.9);
}

.ghp-stat-strip span,
.ghp-calendar-status,
.ghp-room-calendar-title span,
.ghp-tip span,
.ghp-tip small,
.ghp-calendar-detail-booking small {
  color: var(--ghp-olive);
}

.ghp-tabs {
  background: rgba(32, 52, 50, 0.84);
  box-shadow: 0 18px 42px rgba(32, 52, 50, 0.18);
}

.ghp-tabs a.is-active,
.ghp-tabs a:hover {
  background: linear-gradient(135deg, var(--ghp-white), var(--ghp-mint));
  color: var(--ghp-ink);
}

.ghp-overview-card,
.ghp-tip,
.ghp-gallery-tile,
.ghp-onboarding-step {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ghp-overview-card:hover,
.ghp-tip:hover,
.ghp-gallery-tile:hover,
.ghp-onboarding-step:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 143, 152, 0.28);
  box-shadow: 0 26px 62px rgba(39, 143, 152, 0.18);
}

.ghp-calendar {
  border-color: rgba(39, 143, 152, 0.16);
  background: rgba(39, 143, 152, 0.16);
}

.ghp-calendar-weekday {
  background: #203432;
  color: var(--ghp-white);
}

.ghp-app .ghp-calendar-day {
  background: rgba(255, 253, 248, 0.96);
  color: var(--ghp-ink);
  transition: transform 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.ghp-app .ghp-calendar-day:hover {
  transform: scale(1.035);
  z-index: 3;
  box-shadow: 0 10px 20px rgba(39, 143, 152, 0.16);
}

.ghp-app .ghp-calendar-day:hover,
.ghp-app .ghp-calendar-day.is-selected {
  outline-color: var(--ghp-sea);
}

.ghp-app .ghp-calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--ghp-sea);
}

.ghp-calendar-dot,
.ghp-calendar-legend i {
  background: var(--ghp-olive);
}

.ghp-app .ghp-calendar-day.is-booked .ghp-calendar-dot,
.ghp-calendar-legend i.is-booked {
  background: var(--ghp-coral);
}

.ghp-app .ghp-calendar-day.is-booked {
  --changeover-fill: rgba(223, 127, 99, 0.34);
  background: rgba(223, 127, 99, 0.2);
}

.ghp-app .ghp-calendar-day.is-range-middle::after,
.ghp-app .ghp-calendar-day.is-range-start::after,
.ghp-app .ghp-calendar-day.is-range-end::after {
  border-color: rgba(39, 143, 152, 0.78);
  background: rgba(39, 143, 152, 0.12);
}

.ghp-app .ghp-calendar-day.is-range-booked::after {
  border-color: rgba(223, 127, 99, 0.9);
  background: rgba(223, 127, 99, 0.16);
}

.ghp-onboarding-hero,
.ghp-video-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: stretch;
}

.ghp-onboarding-hero figure,
.ghp-video-side {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ghp-mint);
}

.ghp-onboarding-hero img,
.ghp-video-side img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.ghp-onboarding-hero > div {
  display: grid;
  align-content: center;
  gap: 14px;
}

.ghp-onboarding-hero p {
  margin: 0;
  color: var(--ghp-ink-soft);
  font-size: 18px;
}

.ghp-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ghp-onboarding-step {
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(39, 143, 152, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
}

.ghp-onboarding-step span {
  color: var(--ghp-sea);
  font-weight: 900;
}

.ghp-onboarding-step strong {
  font-size: 18px;
}

.ghp-onboarding-step p {
  margin: 0;
  color: var(--ghp-ink-soft);
}

.ghp-onboarding-done {
  justify-self: start;
}

.ghp-video-frame {
  box-shadow: 0 24px 58px rgba(32, 52, 50, 0.16);
}

.ghp-video-frame::before {
  content: "Video lädt";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 253, 248, 0.82);
  font-weight: 900;
}

.ghp-video-frame.ghp-video-missing::before {
  display: none;
}

.ghp-video-frame.is-loaded::before {
  display: none;
}

.ghp-video-missing {
  display: grid;
  place-items: end start;
  min-height: 320px;
  color: var(--ghp-white);
}

.ghp-video-missing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(32, 52, 50, 0.76), rgba(32, 52, 50, 0.08));
}

.ghp-video-missing > div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  max-width: 560px;
  padding: 24px;
}

.ghp-video-missing p {
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
}

.ghp-video-missing code {
  color: var(--ghp-white);
  font-weight: 900;
}

.ghp-video-side {
  display: grid;
  gap: 12px;
  align-content: stretch;
  padding: 0;
}

.ghp-video-side .ghp-link-button {
  margin: 0 12px 12px;
}

.ghp-gallery-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 3.6vw, 34px);
  background:
    linear-gradient(135deg, rgba(21, 38, 35, 0.96), rgba(32, 52, 50, 0.88)),
    url("../../../themes/privlaka-haus-h/assets/images/house-detail.jpg") center/cover;
  color: var(--ghp-white);
}

.ghp-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 26, 24, 0.76), rgba(12, 26, 24, 0.18) 58%, rgba(12, 26, 24, 0.64)),
    linear-gradient(180deg, rgba(255, 250, 242, 0.12), transparent 22%, rgba(12, 26, 24, 0.22));
}

.ghp-gallery-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: clamp(18px, 4vw, 46px);
  margin-bottom: 18px;
}

.ghp-gallery-section .ghp-section-head {
  max-width: 720px;
}

.ghp-gallery-section .ghp-section-head h3 {
  color: var(--ghp-white);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.88;
}

.ghp-gallery-section .ghp-section-head p {
  max-width: 520px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 18px;
}

.ghp-gallery-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 250, 242, 0.1);
  color: rgba(255, 253, 248, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ghp-gallery-upload {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(255, 250, 242, 0.22);
  padding: 12px;
  background: rgba(255, 250, 242, 0.1);
  color: var(--ghp-white);
  box-shadow:
    0 22px 64px rgba(8, 20, 18, 0.26),
    inset 0 1px 0 rgba(255, 250, 242, 0.14);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.ghp-gallery-upload .ghp-file-picker {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 8px;
  color: var(--ghp-white);
}

.ghp-gallery-upload-label {
  grid-column: 1 / -1;
  color: rgba(255, 253, 248, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ghp-gallery-upload button {
  min-height: 46px;
  background: var(--ghp-white);
  color: var(--ghp-ink);
}

.ghp-gallery-upload .ghp-file-cta,
.ghp-gallery-upload .ghp-file-name {
  min-height: 46px;
  border-radius: 8px;
  padding: 12px;
}

.ghp-gallery-upload .ghp-file-cta {
  border-color: rgba(255, 250, 242, 0.48);
  background: rgba(255, 250, 242, 0.08);
  color: var(--ghp-white);
}

.ghp-gallery-upload .ghp-file-name {
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.14);
  background: rgba(8, 20, 18, 0.22);
  color: rgba(255, 253, 248, 0.74);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ghp-gallery-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 250, 242, 0.08);
  box-shadow:
    0 34px 90px rgba(8, 20, 18, 0.28),
    inset 0 1px 0 rgba(255, 250, 242, 0.1);
}

.ghp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 68px;
  grid-auto-flow: dense;
  gap: 8px;
}

.ghp-gallery-tile {
  position: relative;
  display: block;
  grid-column: span 3;
  grid-row: span 3;
  overflow: hidden;
  min-height: 0;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: #12211f;
  cursor: zoom-in;
  box-shadow: none;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease;
}

.ghp-app .ghp-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  padding: 0;
  background: #12211f;
  box-shadow: none;
  cursor: zoom-in;
}

.ghp-gallery-tile:nth-child(12n + 1) {
  grid-column: span 5;
  grid-row: span 5;
}

.ghp-gallery-tile:nth-child(12n + 2),
.ghp-gallery-tile:nth-child(12n + 9) {
  grid-column: span 4;
  grid-row: span 3;
}

.ghp-gallery-tile:nth-child(12n + 3),
.ghp-gallery-tile:nth-child(12n + 7) {
  grid-column: span 3;
  grid-row: span 4;
}

.ghp-gallery-tile:nth-child(12n + 4),
.ghp-gallery-tile:nth-child(12n + 10) {
  grid-column: span 2;
  grid-row: span 3;
}

.ghp-gallery-tile:nth-child(12n + 6),
.ghp-gallery-tile:nth-child(12n + 11) {
  grid-column: span 5;
  grid-row: span 4;
}

.ghp-gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: inherit;
}

.ghp-gallery-tile::after {
  content: "Öffnen";
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(12, 26, 24, 0.58);
  color: var(--ghp-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ghp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.ghp-gallery-tile:hover,
.ghp-gallery-tile:focus-within {
  z-index: 4;
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 26px 70px rgba(8, 20, 18, 0.35);
  outline: none;
}

.ghp-gallery-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  margin: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ghp-gallery-tile:hover .ghp-gallery-delete,
.ghp-gallery-tile:focus-within .ghp-gallery-delete {
  opacity: 1;
  transform: translateY(0);
}

.ghp-gallery-delete button {
  width: 34px;
  min-height: 34px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 999px;
  padding: 0;
  box-shadow: 0 12px 28px rgba(28, 23, 18, 0.28);
  font-size: 0;
  letter-spacing: 0.04em;
}

.ghp-gallery-delete button::before {
  content: "×";
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.ghp-gallery-tile:hover .ghp-gallery-item img,
.ghp-gallery-tile:focus-within .ghp-gallery-item img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.ghp-gallery-tile:hover::after,
.ghp-gallery-tile:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.ghp-lightbox-open {
  overflow: hidden;
}

.ghp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 20, 18, 0.94), rgba(32, 52, 50, 0.88));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ghp-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ghp-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 82vh;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  object-fit: contain;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.42),
    0 0 0 8px rgba(255, 250, 242, 0.04);
}

.ghp-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

html.ghp-js .ghp-app-head,
html.ghp-js .ghp-stat-strip article,
html.ghp-js .ghp-tabs,
html.ghp-js .ghp-section,
html.ghp-js .ghp-overview-card,
html.ghp-js .ghp-tip,
html.ghp-js .ghp-row,
html.ghp-js .ghp-gallery-tile,
html.ghp-js .ghp-onboarding-step {
  opacity: 1;
  transform: none;
}

html.ghp-js .ghp-app-head.is-visible,
html.ghp-js .ghp-stat-strip article.is-visible,
html.ghp-js .ghp-tabs.is-visible,
html.ghp-js .ghp-section.is-visible,
html.ghp-js .ghp-overview-card.is-visible,
html.ghp-js .ghp-tip.is-visible,
html.ghp-js .ghp-row.is-visible,
html.ghp-js .ghp-gallery-tile.is-visible,
html.ghp-js .ghp-onboarding-step.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: ghpSoftIn 0.55s ease both;
  animation-delay: var(--ghp-stagger, 0ms);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

html.ghp-js .ghp-gallery-tile:hover,
html.ghp-js .ghp-gallery-tile:focus-within {
  transform: translateY(-3px) scale(1.01);
}

html.ghp-scroll-motion [data-ghp-scroll-motion]:not(.gh-hero-frame) {
  backface-visibility: hidden;
  transform: translate3d(0, var(--ghp-scroll-y, 0px), 0) scale(var(--ghp-scroll-scale, 1));
  will-change: transform;
}

@keyframes ghpSoftIn {
  from {
    opacity: 0.72;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .ghp-onboarding-hero,
  .ghp-video-shell,
  .ghp-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .ghp-booking-list-head,
  .ghp-mail-toolbar,
  .ghp-log-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .ghp-mail-toolbar > div {
    text-align: left;
  }

  .ghp-gallery-top {
    grid-template-columns: 1fr;
  }

  .ghp-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 66px;
  }

  .ghp-gallery-tile,
  .ghp-gallery-tile:nth-child(12n + 3),
  .ghp-gallery-tile:nth-child(12n + 4),
  .ghp-gallery-tile:nth-child(12n + 7),
  .ghp-gallery-tile:nth-child(12n + 10) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .ghp-gallery-tile:nth-child(12n + 1),
  .ghp-gallery-tile:nth-child(12n + 6),
  .ghp-gallery-tile:nth-child(12n + 11) {
    grid-column: span 6;
    grid-row: span 4;
  }

  .ghp-gallery-tile:nth-child(12n + 2),
  .ghp-gallery-tile:nth-child(12n + 9) {
    grid-column: span 3;
    grid-row: span 3;
  }
}

@media (max-width: 680px) {
  .ghp-gallery-section {
    padding: 16px;
  }

  .ghp-gallery-section .ghp-section-head h3 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .ghp-gallery-upload {
    display: grid;
    align-items: stretch;
  }

  .ghp-gallery-upload .ghp-file-picker {
    grid-template-columns: 1fr;
  }

  .ghp-mail-item summary {
    grid-template-columns: 1fr;
  }

  .ghp-mail-item summary small {
    grid-column: 1;
  }

  .ghp-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 128px;
    gap: 7px;
  }

  .ghp-gallery-tile,
  .ghp-gallery-tile:nth-child(12n + 2),
  .ghp-gallery-tile:nth-child(12n + 3),
  .ghp-gallery-tile:nth-child(12n + 4),
  .ghp-gallery-tile:nth-child(12n + 7),
  .ghp-gallery-tile:nth-child(12n + 9),
  .ghp-gallery-tile:nth-child(12n + 10) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ghp-gallery-tile:nth-child(12n + 1),
  .ghp-gallery-tile:nth-child(12n + 6),
  .ghp-gallery-tile:nth-child(12n + 11) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .ghp-gallery-tile::after {
    display: none;
  }

  .ghp-gallery-delete {
    top: 8px;
    right: 8px;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ghp-scroll-motion [data-ghp-scroll-motion] {
    transform: none !important;
    will-change: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
