/* PR Biberhof Rental – Public Styles
 * Ferienhaus Biberburg im Spreewald
 * Autor: Philipp Ramsch – www.philippramsch.de
 */
:root {
  /* Biberhof im Spreewald – Corporate Design */
  --prbh-forest:    #1e4020;   /* Dunkelgrün (Navleiste) */
  --prbh-moss:      #2d5c30;   /* Mittelgrün */
  --prbh-sage:      #5a8a5e;   /* Hellgrün */
  --prbh-sand:      #e8d5a0;   /* Helles Sand/Holz */
  --prbh-dawn:      #f7f2e8;   /* Cremeweiß */
  --prbh-ember:     #c4943e;   /* Holz/Amber (Akzentfarbe) */
  --prbh-white:     #fdfbf7;   /* Fast-Weiß */
  --prbh-free:      #d6f0d8;   /* Frei-Grün */
  --prbh-free-txt:  #1e5e22;
  --prbh-booked:    #fde8e8;   /* Belegt-Rot */
  --prbh-booked-txt:#991b1b;
  --prbh-buffer:    #f0ede6;   /* Puffer/Reinigung */
  --prbh-buf-txt:   #8a8070;
  --prbh-sel:       #c4943e;   /* Gewählt – Amber */
  --prbh-sel-txt:   #fff;
  --prbh-range:     rgba(196,148,62,.14);
  --prbh-radius:    4px;
  --prbh-shadow:    0 4px 24px rgba(30,64,32,.12);
}

.prbh-booking-wrap,
.prbh-avail-wrap { font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif; }
.prbh-booking-wrap *, .prbh-avail-wrap * { box-sizing: border-box; }

/* ─── BOOKING CONTAINER ──────────────────────────────────────────────────── */
.prbh-booking-container {
  background: var(--prbh-white);
  border-radius: 8px;
  box-shadow: var(--prbh-shadow);
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.prbh-booking-header {
  background: var(--prbh-forest);
  padding: 36px 40px 32px;
  text-align: center;
}
.prbh-booking-header__badge {
  display: inline-block;
  background: rgba(212,184,150,.2);
  color: var(--prbh-sand);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.prbh-booking-header__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--prbh-white);
  margin: 0 0 10px;
  line-height: 1.15;
}
.prbh-booking-header__sub {
  font-size: 14px;
  color: rgba(245,237,224,.7);
  margin: 0;
  line-height: 1.6;
}

/* ─── PRICE TILES ────────────────────────────────────────────────────────── */
.prbh-price-tiles {
  display: flex;
  gap: 1px;
  background: #e5e7eb;
}
.prbh-price-tile {
  flex: 1;
  background: var(--prbh-dawn);
  padding: 16px 12px;
  text-align: center;
  position: relative;
}
.prbh-price-tile--featured { background: var(--prbh-forest); }
.prbh-price-tile__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--prbh-ember);
  color: #fff;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  white-space: nowrap;
}
.prbh-price-tile__label {
  display: block;
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.prbh-price-tile--featured .prbh-price-tile__label { color: rgba(245,237,224,.6); }
.prbh-price-tile__price {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--prbh-forest);
  font-family: Georgia, serif;
}
.prbh-price-tile--featured .prbh-price-tile__price { color: var(--prbh-sand); }

/* ─── FORM ───────────────────────────────────────────────────────────────── */
.prbh-form { padding: 32px 40px 40px; }

.prbh-form-errors {
  background: #fee2e2;
  border-left: 4px solid #dc2626;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: var(--prbh-radius);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.prbh-form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #16a34a;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  animation: prbh-success-in .4s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes prbh-success-in {
  from { opacity: 0; transform: scale(.95) translateY(-8px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.prbh-success-icon {
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
}
.prbh-success-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 4px;
}
.prbh-success-msg {
  margin: 0;
  font-size: 13px;
  color: #166534;
  line-height: 1.6;
}

.prbh-form-section { margin-bottom: 28px; }
.prbh-form-section__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--prbh-moss);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.prbh-form-section__num {
  background: var(--prbh-forest);
  color: var(--prbh-sand);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.prbh-form-row { display: flex; flex-direction: column; gap: 14px; }
.prbh-form-row--2 { flex-direction: row; gap: 16px; }
.prbh-form-row--2 > * { flex: 1; }

.prbh-form-group { display: flex; flex-direction: column; gap: 6px; }
/* Kontaktfeld bekommt zusätzlichen Abstand zu Vorname/Nachname */
.prbh-form-row--2 + .prbh-form-group { margin-top: 28px; }
.prbh-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--prbh-forest);
}
.prbh-req { color: var(--prbh-ember); }
.prbh-form-input {
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--prbh-radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--prbh-forest);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.prbh-form-input:focus {
  outline: none;
  border-color: var(--prbh-moss);
  box-shadow: 0 0 0 3px rgba(58,92,58,.1);
}
.prbh-form-input.prbh-error { border-color: #dc2626; }
.prbh-form-hint { font-size: 12px; color: #9ca3af; margin-top: 2px; line-height: 1.4; }

/* ─── INLINE CALENDAR ────────────────────────────────────────────────────── */
.prbh-inline-calendar {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 20px;
  user-select: none;
}

.prbh-cal-nav {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.prbh-cal-nav-btn {
  background: var(--prbh-dawn);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--prbh-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  font-family: inherit;
  line-height: 1;
}
.prbh-cal-nav-btn:hover { background: var(--prbh-sand); }
.prbh-cal-month-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--prbh-forest);
  font-family: Georgia, serif;
}

/* ─── WOCHENTAG-HEADER + GRID: GLEICHE Spalten-Breite ─────────────────── */
.prbh-cal-weekdays,
.prbh-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.prbh-cal-weekdays {
  margin-bottom: 2px;
}
.prbh-cal-weekdays span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--prbh-sage);
  padding: 3px 0 4px;
}

/* Grid-Zellen: kompakt */
.prbh-cal-grid {
  gap: 2px;
  row-gap: 2px;
}

/* ─── TAG-ZELLEN ─────────────────────────────────────────────────────────── */
.prbh-day {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Quadrat über padding-bottom-Trick damit es responsive bleibt */
  aspect-ratio: unset;
  height: 36px;
  font-size: 13px;
  font-weight: 400;
  border-radius: 3px;
  cursor: pointer;
  transition: background .1s, color .1s;
  position: relative;
  color: var(--prbh-forest);
  min-width: 0;        /* verhindert Overflow im Grid */
}

/* Freie Tage – Hover */
.prbh-day:not(.prbh-day--empty):not(.prbh-day--past):not(.prbh-day--blocked):hover {
  background: var(--prbh-dawn);
}

.prbh-day--empty   { cursor: default; pointer-events: none; }
.prbh-day--past    { color: #c9d1d9; cursor: not-allowed; }
.prbh-day--free    { /* freie Tage – keine extra Klasse nötig, default */ }

/* Gesperrt / Belegt */
.prbh-day--blocked {
  background: #fee2e2;
  color: #b91c1c;
  cursor: not-allowed;
  font-size: 12px;
}

/* ── Start-Tag (Anreise) ── */
.prbh-day--start {
  background: var(--prbh-ember) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 50% 0 0 50%;
  position: relative;
  z-index: 1;
}
/* ── End-Tag (Abreise) ── */
.prbh-day--end {
  background: var(--prbh-ember) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border-radius: 0 50% 50% 0;
  position: relative;
  z-index: 1;
}
/* ── Einzel-Tag (nur Start ohne End) ── */
.prbh-day--single {
  border-radius: 50% !important;
}
/* ── Start & End identisch ── */
.prbh-day--start.prbh-day--end {
  border-radius: 50% !important;
}
/* ── Bereich zwischen Start und End ── */
.prbh-day--range {
  background: rgba(200,84,10,.18) !important;
  color: var(--prbh-forest) !important;
  font-weight: 500 !important;
  border-radius: 0 !important;
}
/* ── Hover-Preview ── */
.prbh-day--hover {
  background: rgba(200,84,10,.10) !important;
  color: var(--prbh-forest) !important;
  border-radius: 0 !important;
}
/* Start-Hover-Übergang (erste Zelle im Hover-Bereich) */
.prbh-day--start ~ .prbh-day--hover:first-of-type,
.prbh-day--hover + .prbh-day--hover:last-child {
  border-radius: 0 50% 50% 0;
}

/* Heutiges Datum */
.prbh-day--today { font-weight: 800; }
.prbh-day--today::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: var(--prbh-ember);
  border-radius: 50%;
}

/* ─── LEGENDE ─────────────────────────────────────────────────────────────── */
.prbh-cal-legend {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.prbh-legend-item {
  font-size: 11px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}
.prbh-legend-item--free    { color: var(--prbh-free-txt); }
.prbh-legend-item--booked  { color: var(--prbh-booked-txt); }
.prbh-legend-item--buffer  { color: var(--prbh-buf-txt); }
.prbh-legend-item--selected{ color: var(--prbh-ember); }

/* ─── SELECTED RANGE DISPLAY ─────────────────────────────────────────────── */
.prbh-selected-range {
  background: var(--prbh-dawn);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}
.prbh-range-display {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.prbh-range-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 100px;
}
.prbh-range-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--prbh-moss);
  font-weight: 600;
}
.prbh-range-date {
  font-size: 16px;
  font-weight: 700;
  color: var(--prbh-forest);
  font-family: Georgia, serif;
}
.prbh-range-arrow {
  font-size: 20px;
  color: var(--prbh-sage);
  flex-shrink: 0;
}

/* ─── PRICE ESTIMATE ─────────────────────────────────────────────────────── */
.prbh-price-estimate {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(26,46,26,.1);
}
.prbh-price-estimate__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--prbh-moss);
  margin-bottom: 10px;
}
.prbh-price-estimate__rows { display: flex; flex-direction: column; gap: 5px; }
.prbh-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #374151;
}
.prbh-price-row span:last-child { font-weight: 500; }
.prbh-price-estimate__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid rgba(26,46,26,.15);
  font-size: 14px;
  color: var(--prbh-forest);
}
.prbh-price-estimate__total strong {
  font-size: 22px;
  font-family: Georgia, serif;
  color: var(--prbh-ember);
}
.prbh-price-estimate__hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
}

/* ─── PRIVACY ────────────────────────────────────────────────────────────── */
.prbh-form-section--privacy {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 28px;
}
.prbh-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.prbh-privacy-check { display: none; }
.prbh-privacy-box {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
  background: #fff;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.prbh-privacy-check:checked + .prbh-privacy-box {
  background: var(--prbh-forest);
  border-color: var(--prbh-forest);
}
.prbh-privacy-check:checked + .prbh-privacy-box::after {
  content: '✓';
  color: var(--prbh-sand);
  font-size: 13px;
  font-weight: 800;
}
.prbh-privacy-text { font-size: 13px; color: #374151; line-height: 1.6; }
.prbh-privacy-text a { color: var(--prbh-ember); text-decoration: underline; }

/* ─── SUBMIT ─────────────────────────────────────────────────────────────── */
.prbh-form-submit { text-align: center; }
.prbh-submit-btn {
  width: 100%;
  max-width: 440px;
  padding: 16px 32px;
  background: var(--prbh-ember);
  color: #fff;
  border: none;
  border-radius: var(--prbh-radius);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.prbh-submit-btn:hover:not(:disabled) {
  background: #a84208;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,84,10,.3);
}
.prbh-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.prbh-submit-hint { font-size: 12px; color: #9ca3af; margin-top: 12px; }

/* ─── SPINNER ────────────────────────────────────────────────────────────── */
.prbh-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: prbh-spin .6s linear infinite;
}
@keyframes prbh-spin { to { transform: rotate(360deg); } }

/* ─── AVAILABILITY CALENDAR (standalone) ─────────────────────────────────── */
.prbh-avail-wrap {
  max-width: 900px;
  margin: 40px auto;
  background: var(--prbh-white);
  border-radius: 8px;
  box-shadow: var(--prbh-shadow);
  overflow: hidden;
}
.prbh-avail-header {
  background: var(--prbh-forest);
  padding: 28px 36px;
  text-align: center;
}
.prbh-avail-title {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--prbh-white);
  margin: 0 0 8px;
}
.prbh-avail-sub {
  font-size: 13px;
  color: rgba(245,237,224,.7);
  margin: 0;
}

.prbh-avail-calendar { padding: 28px 36px; }
.prbh-avail-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.prbh-avail-month { /* each month rendered by JS */ }
.prbh-avail-month-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--prbh-forest);
  font-family: Georgia, serif;
  margin: 0 0 12px;
  text-align: center;
}

.prbh-avail-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.prbh-avail-nav-btn {
  background: var(--prbh-dawn);
  border: 1.5px solid rgba(26,46,26,.15);
  padding: 8px 20px;
  border-radius: var(--prbh-radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--prbh-forest);
  font-family: inherit;
  transition: all .15s;
}
.prbh-avail-nav-btn:hover { background: var(--prbh-sand); }

@media (max-width: 640px) {
  .prbh-form { padding: 24px 20px 28px; }
  .prbh-booking-header { padding: 28px 20px; }
  .prbh-form-row--2 { flex-direction: column; }
  .prbh-avail-months { grid-template-columns: 1fr; }
  .prbh-price-tiles { flex-wrap: wrap; }
  .prbh-price-tile { min-width: 45%; }
  .prbh-range-display { flex-direction: column; }
}

/* ── Schritt-Hinweis ── */
.prbh-step-hint {
  margin-top: 8px;
  padding: 7px 14px;
  background: rgba(200,84,10,.1);
  border-left: 3px solid var(--prbh-ember);
  border-radius: 0 3px 3px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--prbh-ember);
  letter-spacing: .02em;
  animation: prbh-pulse 1.8s ease-in-out infinite;
}
@keyframes prbh-pulse {
  0%,100% { opacity:1; }
  50%      { opacity:.65; }
}

/* ══════════════════════════════════════════════════════════════════
   VERLEIHER PORTAL
══════════════════════════════════════════════════════════════════ */

/* ── Zugriff verweigert ── */
.prbh-portal-denied {
  text-align: center;
  padding: 60px 24px;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #e5e7eb;
}
.prbh-portal-denied__icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.prbh-portal-denied h2 { color: var(--prbh-forest); margin-bottom: 8px; }
.prbh-portal-denied p  { color: #6b7280; font-size: 14px; line-height: 1.7; }

/* ── Portal-Wrapper ── */
.prbh-portal {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}
.prbh-portal * { box-sizing: border-box; }

/* ── Header ── */
.prbh-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--prbh-forest);
  color: #fff;
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.prbh-portal-header__left { display: flex; align-items: center; gap: 16px; }
.prbh-portal-header__icon { font-size: 2rem; }
.prbh-portal-header__title { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: #fff; }
.prbh-portal-header__sub  { font-size: 12px; color: rgba(255,255,255,.6); margin: 0; }

/* ── Statistik-Kacheln ── */
.prbh-portal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.prbh-portal-stat {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  transition: border-color .15s, transform .1s;
  display: block;
}
.prbh-portal-stat:hover { border-color: var(--prbh-ember); transform: translateY(-1px); }
.prbh-portal-stat--active { border-color: var(--prbh-ember); background: var(--prbh-dawn); }
.prbh-portal-stat__num   { display: block; font-size: 2rem; font-weight: 800; color: var(--prbh-forest); line-height: 1; margin-bottom: 4px; }
.prbh-portal-stat__label { display: block; font-size: 11px; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.prbh-portal-stat--pending   .prbh-portal-stat__num { color: #b45309; }
.prbh-portal-stat--confirmed .prbh-portal-stat__num { color: #15803d; }
.prbh-portal-stat--cancelled .prbh-portal-stat__num { color: #b91c1c; }

/* ── Feedback-Banner ── */
.prbh-portal-feedback {
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.prbh-portal-feedback--success { background: #dcfce7; color: #166534; border: 1.5px solid #16a34a; }
.prbh-portal-feedback--error   { background: #fee2e2; color: #991b1b; border: 1.5px solid #dc2626; }

/* ── Leer-Zustand ── */
.prbh-portal-empty {
  text-align: center;
  padding: 48px 24px;
  background: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #e5e7eb;
}
.prbh-portal-empty__icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.prbh-portal-empty p { color: #6b7280; margin: 0; }

/* ── Buchungs-Liste ── */
.prbh-portal-list { display: flex; flex-direction: column; gap: 12px; }

/* ── Card ── */
.prbh-portal-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .15s;
  position: relative;
}
.prbh-portal-card:hover { box-shadow: 0 4px 16px rgba(26,46,26,.08); }

.prbh-portal-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}
.prbh-portal-card__id {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  min-width: 30px;
}
.prbh-portal-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--prbh-forest);
  flex: 1;
}
.prbh-portal-card__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.prbh-portal-card__badge--pending   { background: #fef3c7; color: #92400e; }
.prbh-portal-card__badge--confirmed { background: #dcfce7; color: #166534; }
.prbh-portal-card__badge--cancelled { background: #fee2e2; color: #991b1b; }

.prbh-portal-card__body { padding: 14px 18px; }
.prbh-portal-card__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.prbh-portal-card__info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}
.prbh-portal-card__info-item--full { grid-column: 1 / -1; }
.prbh-portal-card__info-icon { font-size: 1rem; flex-shrink: 0; }
.prbh-portal-card__arrow { color: #9ca3af; margin: 0 4px; }
.prbh-portal-card__nights {
  font-size: 11px;
  background: var(--prbh-dawn);
  color: var(--prbh-ember);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
}
.prbh-portal-card__caldav { font-size: 11px; color: #15803d; font-weight: 600; }

/* ── Aktions-Buttons ── */
.prbh-portal-card__actions {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
  flex-wrap: wrap;
}

/* ── Button-Stile ── */
.prbh-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.prbh-portal-btn:disabled { opacity: .5; cursor: not-allowed; }
.prbh-portal-btn--ghost    { background: #f3f4f6; color: var(--prbh-forest); border: 1.5px solid #e5e7eb; }
.prbh-portal-btn--ghost:hover { background: var(--prbh-dawn); }
.prbh-portal-btn--confirm  { background: #dcfce7; color: #166534; border: 1.5px solid #16a34a; }
.prbh-portal-btn--confirm:hover:not(:disabled) { background: #16a34a; color: #fff; }
.prbh-portal-btn--deny     { background: #fee2e2; color: #991b1b; border: 1.5px solid #dc2626; }
.prbh-portal-btn--deny:hover:not(:disabled) { background: #dc2626; color: #fff; }
.prbh-portal-btn--cancel   { background: #fef3c7; color: #92400e; border: 1.5px solid #d97706; }
.prbh-portal-btn--cancel:hover:not(:disabled) { background: #d97706; color: #fff; }
.prbh-portal-btn--delete   { background: #f3f4f6; color: #6b7280; border: 1.5px solid #e5e7eb; margin-left: auto; }
.prbh-portal-btn--delete:hover:not(:disabled) { background: #fee2e2; color: #991b1b; border-color: #dc2626; }

/* ── Lade-Indikator ── */
.prbh-portal-card__loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--prbh-forest);
  font-weight: 600;
  border-radius: 8px;
}
.prbh-portal-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid var(--prbh-dawn);
  border-top-color: var(--prbh-ember);
  border-radius: 50%;
  animation: prbh-spin .7s linear infinite;
}
@keyframes prbh-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .prbh-portal-stats { grid-template-columns: repeat(2, 1fr); }
  .prbh-portal-card__info-grid { grid-template-columns: 1fr; }
  .prbh-portal-card__actions { flex-direction: column; }
  .prbh-portal-btn--delete { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════
   VERLEIHER PORTAL – NEUE BUCHUNG FORMULAR
══════════════════════════════════════════════════════════════════ */

/* Header-Actions */
.prbh-portal-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Neue-Buchung Button */
.prbh-portal-btn--neue-buchung {
  background: var(--prbh-ember);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
}
.prbh-portal-btn--neue-buchung:hover:not(:disabled) {
  background: #a8430a;
  transform: translateY(-1px);
}

/* Panel */
.prbh-new-booking-panel {
  background: #fff;
  border: 2px solid var(--prbh-ember);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  animation: prbh-slide-down .25s ease both;
}
@keyframes prbh-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.prbh-new-booking-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--prbh-ember) 0%, #a8430a 100%);
  color: #fff;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14px;
}
.prbh-new-booking-panel__close {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.prbh-new-booking-panel__close:hover { background: rgba(255,255,255,.35); }
.prbh-new-booking-panel__body { padding: 20px; }

/* Grid */
.prbh-new-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-bottom: 16px;
}
.prbh-nb-field { display: flex; flex-direction: column; gap: 5px; }
.prbh-nb-field--full { grid-column: 1 / -1; }
.prbh-nb-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--prbh-forest);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.prbh-nb-req { color: var(--prbh-ember); }
.prbh-nb-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  color: var(--prbh-forest);
  background: #fafafa;
  transition: border-color .15s, background .15s;
}
.prbh-nb-input:focus {
  outline: none;
  border-color: var(--prbh-ember);
  background: #fff;
}
.prbh-nb-input.prbh-nb-input--error { border-color: #dc2626; background: #fff5f5; }
.prbh-nb-select { cursor: pointer; }
.prbh-nb-textarea { resize: vertical; min-height: 72px; }

/* Preis-Vorschau */
.prbh-nb-price-preview {
  padding: 9px 12px;
  background: var(--prbh-dawn);
  border: 1.5px solid var(--prbh-sand);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--prbh-ember);
  min-height: 40px;
  display: flex;
  align-items: center;
}

/* Konflikt-Warnung */
.prbh-nb-conflict-warn {
  background: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.prbh-nb-conflict-warn label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
}

/* Footer */
.prbh-new-booking-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
  flex-wrap: wrap;
  gap: 10px;
}
.prbh-nb-caldav-info {
  font-size: 12px;
  color: #15803d;
  font-weight: 600;
}
.prbh-nb-btn-text, .prbh-nb-btn-loading {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Manuell-Badge auf Cards */
.prbh-portal-card--manual { border-left: 3px solid var(--prbh-ember); }
.prbh-portal-card__manual-badge {
  font-size: 10px;
  background: var(--prbh-dawn);
  color: var(--prbh-ember);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  margin-right: 4px;
}

@media (max-width: 600px) {
  .prbh-new-booking-grid { grid-template-columns: 1fr; }
  .prbh-nb-field--full   { grid-column: 1; }
  .prbh-new-booking-panel__footer { flex-direction: column; align-items: stretch; }
}

/* ── Info-Box (Buchungsregeln) ── */
.prbh-info-box {
  background: #f0f7f0;
  border: 1.5px solid #c3ddc3;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.prbh-info-box__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.prbh-info-box__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #1a2e1a;
  line-height: 1.5;
}
.prbh-info-box__item--fs {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid #c3ddc3;
}
.prbh-info-box__icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.prbh-info-box__item strong {
  color: #1a2e1a;
  font-weight: 700;
}
@media (max-width: 520px) {
  .prbh-info-box__grid { grid-template-columns: 1fr; }
  .prbh-info-box__item--fs { grid-column: 1; }
}

/* ─── BIBERHOF ZUSATZ: SELECT-FELD ─────────────────────────────────────── */
.prbh-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e4020' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.prbh-form-select:focus {
  outline: 2px solid var(--prbh-ember);
  border-color: var(--prbh-ember);
}

/* ─── KURTAXE-HINWEIS ────────────────────────────────────────────────────── */
.prbh-kurtaxe-box {
  background: #f0f7f1;
  border: 1px solid #b8d8bb;
  border-left: 3px solid var(--prbh-forest);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin: 16px 0 0;
  font-size: 13px;
  color: #2d4a30;
  line-height: 1.65;
}
.prbh-kurtaxe-box strong {
  color: var(--prbh-forest);
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.prbh-kurtaxe-box__calc {
  display: inline-block;
  background: var(--prbh-forest);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 6px;
}

/* ─── PREISTABELLE: Kurtaxe-Zeile ────────────────────────────────────────── */
.prbh-price-row--kurtaxe span:last-child {
  color: var(--prbh-sage);
  font-style: italic;
}
.prbh-price-row--note {
  font-size: 11px;
  color: #888;
  padding: 2px 0;
}

/* ─── FORMULAR LAYOUT-FIX ────────────────────────────────────────────────── */
/* Sicherstellung: Info-Box und benachbarte Formfelder haben gleichen Abstand */
.prbh-form-section > * + * { margin-top: 0; }
.prbh-form-row--2 + .prbh-form-row--2 { margin-top: 28px; }
.prbh-inline-calendar { margin-top: 16px; }

/* Kalender: Navigations-Buttons */
.prbh-cal-nav-btn {
  flex-shrink: 0;
}
.prbh-cal-month-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--prbh-forest);
  text-align: center;
  flex: 1;
}
