:root {
  --brand-navy: #2f4b68;
  --brand-blue: #6d8aa6;
  --brand-sand: #d9c3a7;
  --brand-cream: #f6f3ee;
  --brand-line: #e7dfd5;
  --brand-text: #26313c;
}

body {
  background: linear-gradient(180deg, #f8f6f1 0%, #fbfaf7 100%);
  color: var(--brand-text);
  font-family: 'Inter', system-ui, sans-serif;
}

.topbar {
  background: linear-gradient(135deg, var(--brand-navy), #3f6485);
}

.brand {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-subtitle {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.nav-link-custom {
  color: #58728c;
  text-decoration: none;
  font-weight: 600;
  padding: .5rem .2rem;
  border-bottom: 2px solid transparent;
}

.nav-link-custom.active,
.nav-link-custom:hover {
  color: var(--brand-navy);
  border-color: var(--brand-sand);
}

.hero-panel,
.soft-card,
.metric-card {
  border: 1px solid rgba(217, 195, 167, .35);
  background: rgba(255,255,255,.92);
  border-radius: 1.25rem;
}

.hero-panel {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(247,242,235,.96));
}

.eyebrow {
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .12em;
  color: #8c7358;
  font-weight: 700;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brand-navy);
}

.small-title {
  font-size: 2rem;
}

.hero-text {
  max-width: 60rem;
  color: #5f6e7a;
}

.metric-card {
  padding: 1.2rem 1.3rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.metric-label,
.section-title {
  color: #67727b;
  font-weight: 600;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.btn-primary:hover {
  background: #253d55;
  border-color: #253d55;
}

.form-control {
  border-radius: .85rem;
  border-color: var(--brand-line);
  min-height: 44px;
}

.booking-table thead th,
.table thead th {
  color: #75828d;
  font-weight: 600;
  font-size: .9rem;
  border-bottom: 1px solid var(--brand-line);
}

.booking-table tbody tr:last-child td,
.table tbody tr:last-child td {
  border-bottom: 0;
}
.booking-table {
  font-size: 0.85rem;
}

.booking-table th {
 font-size: 0.85rem;     /* bleibt etwas größer als Header */
}

.booking-table td {
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
}

.booking-table th {
  font-size: 0.70rem;     /* kleiner */
  font-weight: 600;       /* nicht zu fett */
  padding: 0.25rem 0.4rem; /* weniger Höhe */
  white-space: nowrap;
  text-transform: none;   /* optional: Großschreibung raus */
}

.status-pill,
.birthday-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .35rem .7rem;
  background: #f5eee5;
  color: #7a654c;
  font-size: .85rem;
}

.guest-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--brand-navy);
}

.guest-snippet {
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--brand-line);
}

.guest-snippet:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.next-booking-card {
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(245,238,229,.95));
}

.detail-box {
  background: rgba(255,255,255,.75);
  border: 1px solid var(--brand-line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.detail-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8c7358;
  font-weight: 700;
  margin-bottom: .35rem;
}

.detail-value {
  color: var(--brand-navy);
  font-size: 1.1rem;
  font-weight: 600;
}

.detail-value-small {
  color: #5f6e7a;
  font-size: .95rem;
  line-height: 1.5;
}
.confirmation-page {
  max-width: 960px;
  margin: 0 auto;
  color: #222;
  line-height: 1.45;
}

.confirmation-table td {
  padding: 0.2rem 0.4rem 0.2rem 0;
  vertical-align: top;
  border: 0;
}

@media print {
  .no-print,
  nav,
  .navbar,
  .sidebar,
  .topbar,
  .alert,
  footer {
    display: none !important;
  }

  body {
    background: #fff !important;
  }

  .confirmation-page {
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
.logo-header {
  max-width: 240px;
  height: auto;
  border-radius: 6px;
}

@media print {
  .logo-header {
    max-width: 190px;
  }
}

.year-calendar {
  font-size: 0.72rem;
}

.year-calendar th,
.year-calendar td {
  text-align: center;
  vertical-align: middle;
  padding: 0.15rem 0.2rem;
  border: 1px solid #e9ecef;
  min-width: 26px;
  height: 28px;
}

.year-calendar thead th {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.year-calendar .month-label {
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  background: #fff;
}

.year-calendar .cal-weekday {
  font-size: 0.62rem;
  line-height: 1;
}

.year-calendar .cal-empty {
  background: #f7f1e3;
}

.year-calendar .cal-booked {
  background-color: #f8d7da;
}

.year-calendar .cal-blocked {
  background-color: #e9ecef;
}

.year-calendar .cal-arrival {
  border-left: 3px solid #000 !important;
}

.year-calendar .cal-departure {
  border-right: 3px solid #000 !important;
}

.year-calendar .cal-same-day {
  border-left: 3px solid #000 !important;
  border-right: 3px solid #000 !important;
}

.legend-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #ced4da;
  vertical-align: middle;
  margin-right: 4px;
}

.legend-booked {
  background: #f8d7da;
}

.legend-blocked {
  background: #e9ecef;
}

.legend-line {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-left: 3px solid #000;
  vertical-align: middle;
  margin-right: 4px;
}

.dropdown {
  display: inline-block;
}

.dropdown-menu {
  border-radius: 14px;
  border: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  padding: .5rem;
}

.dropdown-item {
  border-radius: 10px;
  font-size: .9rem;
  padding: .45rem .75rem;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-main-block {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,244,236,.96));
}

.metric-tile {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255,255,255,.75);
}

.metric-label {
  font-size: .78rem;
  color: #7b756c;
  margin-bottom: .35rem;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.dashboard-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  font-size: .85rem;
}

.status-chip strong {
  min-width: 1.5rem;
  text-align: center;
}

.compact-calendar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.year-month {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: .55rem;
  background: rgba(255,255,255,.7);
}

.year-month-title {
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.year-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.year-day {
  height: 18px;
  border-radius: 4px;
  font-size: .62rem;
  line-height: 18px;
  text-align: center;
  color: #7b756c;
}

.year-day.cal-empty {
  background: transparent;
}

.year-day.cal-booked,
.year-day.calendar-booked {
  background: #8fbf8f;
  color: #fff;
}

.year-day.cal-blocked,
.year-day.calendar-blocked {
  background: #d8a0a0;
  color: #fff;
}

.year-day.cal-arrival,
.year-day.cal-departure {
  outline: 2px solid rgba(0,0,0,.35);
}

.mini-list-item {
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.mini-list-item:last-child {
  border-bottom: 0;
}

.next-booking-strip {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1.5fr;
  gap: 1rem;
  align-items: center;
}

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

  .next-booking-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .compact-calendar {
    grid-template-columns: 1fr;
  }
}

.main-nav {
  padding: .65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.nav-link-custom {
  display: inline-flex;
  align-items: center;
  padding: .5rem .8rem;
  border-radius: 999px;
  text-decoration: none;
}

.nav-link-custom.active,
.nav-link-custom:hover {
  background: rgba(0,0,0,.06);
}

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

.year-weekdays div {
  font-size: .55rem;
  line-height: 1;
  text-align: center;
  color: #9a9388;
  font-weight: 600;
}