:root {
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --gray-100: #f8fafc;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --border-radius: 14px;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--gray-100);
  color: #111827;
}

/* Header */
header {
  background: #fff;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
}

header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}


.header-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.header-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

/* Content */
.container {
  max-width: 1200px;
  margin: 32px auto;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 32px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.grid-header {
  font-size: 13px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* Fläche Label */
.surface-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.surface-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

/* Slots */
.slot {
  height: 80px;
  border-radius: var(--border-radius);
  border: 2px dashed #c7d2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.slot.free:hover {
  background: #f0f5ff;
}

.slot.booked {
  border: 2px solid #93c5fd;
  background: #f5f9ff;
  cursor: default;
}

.slot.requested {
  border: 2px solid #facc15;
  background: #fffbea;
  cursor: default;
}

.slot-content {
  text-align: center;
  font-size: 14px;
}

.slot small {
  color: var(--blue);
  font-size: 13px;
}

/* Status Icons */
.plus {
  font-size: 26px;
  color: #a5b4fc;
}

.week-nav {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 32px;
}

.week-nav a {
  text-decoration: none;
  color: #2563eb;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
}

.week-nav a:hover {
  background: #e8efff;
}

.week-selector select {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: #fff;
}

.week-info {
  font-size: 14px;
  color: #4b5563;
  white-space: nowrap;
}




/* ============================
   MOBILE OPTIMIERUNG
   ============================ */

@media (max-width: 768px) {

  /* Container weniger Rand */
  .container {
    padding: 16px;
  }

  /* Kalendernavigation kompakter */
  .week-nav {
    gap: 8px;
    flex-wrap: wrap;
  }

  .week-selector select {
    font-size: 13px;
    padding: 6px 10px;
  }

  .week-info {
    font-size: 15px;
  }

  /* GRID: horizontal scroll */
  .grid,
  .grid-header {
    grid-template-columns: repeat(3, 220px);
  }

  /* Wrapper für Scroll */
  .grid-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }

  /* Slots größer klickbar */
  .slot {
    min-width: 200px;
    height: 90px;
  }

  /* Fläche-Labels kleiner */
  .surface-label {
    font-size: 14px;
  }
	.slot.free:active {
	transform: scale(0.98);
	background: #e0ebff;
}
}