/* Main page (index) Phase A */

/* Header/Footer height requirements */
.main-header,
.main-footer {
  height: 48px;
}

/* Landscape: kompakterer Header */
@media (orientation: landscape) {
  .main-header {
    height: 40px;
  }
}

/* Header layout */
.main-header {
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-zone,
.footer-zone {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.zone-left { flex: 1; justify-content: flex-start; }
.zone-center { flex: 1; justify-content: center; }
.zone-right { flex: 1; justify-content: flex-end; }

/* Divider below header */
.header-divider {
  height: 1px;
  background: #e0e0e0;
}

/* Footer pinned to bottom */
.main-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 8px;
  background: #fff;
  border-top: 1px solid #dcdcdc;
  z-index: 10;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 8px;
}

.main-footer .zone-left { justify-self: start; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.main-footer .zone-center { justify-self: center; flex: 0 0 auto; }
.main-footer .zone-right { justify-self: end; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Content must not be hidden behind footer */
.main-content {
  padding: 0;
  padding-bottom: 48px;
}

/* Default button */
.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
}

.ui-btn:active {
  transform: translateY(1px);
}

.ui-btn-label {
  font-size: 14px;
  line-height: 1;
}

/* Icon-only buttons */
.ui-btn-icon {
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  border: none !important;
  background: transparent !important;
}

/* Header: Linker Pfeil ausblenden (Navigation jetzt im Sticky-Header) */
/* Maximaler Selektor - muss greifen! */
button#prev,
#prev,
[data-ui-id="prev"],
.ui-btn[data-ui-id="prev"] {
  display: none !important;
}

/* Help-Button Icon: Jetzt outline-basiert wie prev Button - kein CSS-Override mehr nötig! */

/* Force OUTLINE look for all icons */
.ui-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  color: #555;
}

.ui-icon:not(.ui-icon-state):not(.ui-icon-mode) svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon-mode svg circle {
  stroke: currentColor;
  stroke-width: 5;
}

/* Select */
.ui-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ui-select-control {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-weight: 600;
}

/* Resource-Select: Nativer Browser-Pfeil, Text rechtsbündig */
#resourceSelect .ui-select-control {
  text-align: right;
  padding-right: 4px; /* Kleines Padding vor nativem Pfeil */
}

/* Small text elements */
.ui-text, .ui-placeholder {
  font-size: 12px;
  opacity: 0.8;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.2s ease-out;
}

.modal-title {
  margin: 0 0 8px 0;
  font-size: 20px;
}

.modal-description {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 14px;
}

.modal-field {
  margin-bottom: 16px;
}

.modal-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.modal-field-label label {
  font-weight: 500;
  font-size: 14px;
}

.modal-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.field-error {
  display: block;
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  animation: fadeIn 0.2s ease-out;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.modal-action-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font-size: 14px;
}

.modal-action-btn--primary {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.modal-action-btn:hover {
  opacity: 0.9;
}

.modal-action-btn:active {
  transform: translateY(1px);
}

/* BUG FIX 21: Disabled Button visuell ausgegraut */
.modal-action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #e0e0e0 !important;
  color: #999 !important;
  border-color: #ccc !important;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* News Ticker */
.news-ticker-container {
    position: relative;
    width: 100%;
    height: 40px;
    background: #dddddd;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.news-ticker-track {
    display: flex;
    gap: 16px;
    position: absolute;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
    text-decoration: none;
    padding: 0 20px;
    align-items: center;
    height: 100%;
}

.news-ticker-item {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-ticker-container:hover .news-ticker-track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .news-ticker-container {
        height: 36px;
    }
    
    .news-ticker-item {
        font-size: 13px;
        padding: 5px 12px;
    }
}

/* ========================================
   CALENDAR LAYOUT (Phase A - Clean Grid)
   ======================================== */

/* Wrapper um Sticky-Header + scrollenden Container */
.calendar-wrapper {
    width: 100%;
    background: #fff;
}

/* Sticky Clone Header - klebt unter App-Header */
.calendar-sticky-header {
    position: sticky;
    top: 48px; /* Unter App-Header (Portrait) */
    z-index: 60;
    background: #fff;
    display: grid;
    border-bottom: 2px solid #e0e0e0;
}

.calendar-container {
    width: 100%;
    background: #fff;
    overflow-x: auto;
}

/* Unsichtbarer Button über Sticky-Header für "Back to Today" */
.calendar-sticky-header-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.calendar-sticky-header-btn:hover {
    background: rgba(125, 202, 83, 0.05);
}

.calendar-sticky-header-btn:active {
    background: rgba(125, 202, 83, 0.1);
}

/* Portrait: 2 Spalten */
.calendar-sticky-header.sticky-day {
    grid-template-columns: 60px 1fr;
}

/* Landscape: 8 Spalten */
.calendar-sticky-header.sticky-week {
    grid-template-columns: 60px repeat(7, 1fr);
}

/* Landscape: kompakter Sticky-Header */
@media (orientation: landscape) {
    .calendar-sticky-header {
        top: 40px; /* Unter kompakterem App-Header */
    }
}

@media (max-width: 768px) {
    .calendar-sticky-header.sticky-day {
        grid-template-columns: 50px 1fr;
    }
}

@media (orientation: landscape) and (max-width: 1024px) {
    .calendar-sticky-header.sticky-week {
        grid-template-columns: 50px repeat(7, 1fr);
    }
}

.calendar-grid {
    display: grid;
    background: #fff;
}

/* Portrait: Tagesansicht - 2 Spalten (Zeit + Tag) */
.calendar-grid-day {
    grid-template-columns: 60px 1fr;
    /* Keine Header-Row mehr (Sticky-Header übernimmt) */
}

/* Landscape: Wochenansicht - 8 Spalten (Zeit + 7 Tage) */
.calendar-grid-week {
    grid-template-columns: 60px repeat(7, 1fr);
    /* Keine Header-Row mehr (Sticky-Header übernimmt) */
}

/* Header Cells */
.calendar-header-cell {
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 8px 4px;
    text-align: center;
}

.calendar-header-time {
    background: #fafafa;
}

.calendar-header-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Heutiger Tag: Badge-Balken am unteren Rand */
.calendar-header-today {
    border-bottom: 4px solid #7DCA53 !important;
    box-shadow: inset 0 -4px 0 0 #7DCA53;
    transition: transform 150ms ease-out, background 150ms ease-out;
}

/* Date Badge Animation beim Wischen (v0.10.16 subtil) */
@keyframes datePop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation auf ALLEN Datum-Headern (v0.10.16) */
.calendar-header-day.date-changed {
    animation: datePop 250ms ease-out;
}

/* Portrait: Etwas größere Animation */
@media (orientation: portrait) {
    @keyframes datePop {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.2);
        }
        100% {
            transform: scale(1);
        }
    }
}

.calendar-day-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.calendar-day-date {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Time Column */
.calendar-time-column {
    background: #fafafa;
    border-right: 2px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.calendar-time-label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 4px 8px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    /* height wird per JS gesetzt basierend auf px_per_minute */
}

/* Day Columns (empty containers for bookings) */
.calendar-day-column {
    position: relative;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    /* min-height wird per JS gesetzt basierend auf Öffnungszeiten */
}

.calendar-day-column:last-child {
    border-right: none;
}

/* Vergangenheit grau */
.calendar-past {
    background: #e8e8e8;
}

/* Overlay für heutige vergangene Zeit */
.calendar-past-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #e8e8e8;
    pointer-events: none;
    z-index: 1;
}


.booking-block {
    position: absolute;
    left: 2px;
    right: 2px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 0;
    font-size: 12px;
    overflow: hidden;
    cursor: pointer;
    z-index: 2; /* Über dem Overlay */
}

.booking-block:hover {
    z-index: 10;
}

/* Reservierungen: Orange gestrichelt mit Pulse-Effekt */
.booking-reservation {
    background-color: rgba(255, 152, 0, 0.1) !important;
    border: 2px dashed #FF9800 !important;
    color: #FF9800 !important;
    animation: reservation-pulse 2s ease-in-out infinite;
}

@keyframes reservation-pulse {
    0%, 100% {
        opacity: 1;
        border-color: #FF9800;
    }
    50% {
        opacity: 0.7;
        border-color: #FFB74D;
    }
}

.booking-reservation .booking-content {
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.booking-time {
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 6px 0 6px;
}

.booking-info {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    padding: 4px 6px 2px 6px;
}

/* Responsive */
@media (orientation: portrait) {
    .calendar-grid-week {
        display: none;
    }
    
    .calendar-grid-day {
        display: grid;
    }
}

@media (orientation: landscape) {
    .calendar-grid-day {
        display: none;
    }
    
    .calendar-grid-week {
        display: grid;
    }
}

@media (max-width: 768px) {
    .calendar-grid-day {
        grid-template-columns: 50px 1fr;
    }
    
    .calendar-time-label {
        font-size: 11px;
        padding: 2px 4px;
    }
}

@media (orientation: landscape) and (max-width: 1024px) {
    .calendar-grid-week {
        grid-template-columns: 50px repeat(7, 1fr);
    }

    .calendar-day-name {
        font-size: 12px;
    }

    .calendar-day-date {
        font-size: 10px;
    }
}

/* Landscape: kompakter Kalender-Header */
@media (orientation: landscape) {
    .calendar-header-cell {
        padding: 2px 4px;
    }

    .calendar-header-day {
        flex-direction: row;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
    }

    .calendar-day-name,
    .calendar-day-date {
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }
}

/* ========== Booking System (Phase B) ========== */

/* Freie Slots (clickbar für Buchungen) */
.calendar-free-slot {
    position: absolute;
    left: 0;
    right: 0;
    /* Free-Slot Hintergrundfarbe */
    background: rgba(0, 200, 83, 0.06);
    cursor: pointer;
    border-top: 1px dashed rgba(0, 0, 0, 0.12);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 1;
}

.calendar-free-slot:hover {
    background: rgba(0, 200, 83, 0.15);
    border-color: rgba(0, 200, 83, 0.4);
}

/* Buchungsblock anklickbar */
.booking-block {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.booking-block:hover {
    opacity: 0.9;
}

/* Buchungsregeln-Overlay (über Modal) */
.booking-rules-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001; /* über Modal (10000) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-rules-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
}

.booking-rules-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.booking-rules-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.booking-rules-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    color: #666;
}

.booking-rules-close:hover {
    color: #000;
}

.booking-rules-text {
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
}

/* Link-Button für Buchungsregeln */
.link-button {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 0;
    font-size: 14px;
}

.link-button:hover {
    color: #0056b3;
}

/* Checkbox in Modals */
.modal-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.modal-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal-checkbox-label {
    cursor: pointer;
    user-select: none;
}

/* ========== Soft Reservations System ========== */

/* Reservierungs-Block (temporär, "wird gerade gebucht") */
.booking-reservation {
  border: 3px solid #FFA500 !important;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 165, 0, 0.1),
    rgba(255, 165, 0, 0.1) 10px,
    rgba(255, 165, 0, 0.2) 10px,
    rgba(255, 165, 0, 0.2) 20px
  ) !important;
  opacity: 0.8;
  animation: pulse-reservation 2s ease-in-out infinite;
}

.booking-reservation .booking-content {
  color: #FF8C00;
  font-weight: bold;
  text-align: center;
  padding: 4px;
  font-size: 12px;
}

@keyframes pulse-reservation {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.9; }
}

/* ========== Offline Overlay ========== */

.offline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 250, 0.98);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.offline-content {
  text-align: center;
  max-width: 400px;
  padding: 24px;
}

.offline-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.offline-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.offline-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #666;
  margin: 0 0 16px 0;
}

.offline-message {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.offline-retry-btn {
  background: #70CA53;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.offline-retry-btn:hover {
  background: #5fb043;
}

.offline-retry-btn:active {
  background: #4e9637;
}

/* ========== Kalender-Zoom UI ========== */

/* Zoom-Control im Calendar-Header */
.calendar-zoom-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  position: relative;
  z-index: 10;  /* Über dem sticky-header-btn (z-index: 1) */
  pointer-events: auto;  /* Clicks funktionieren */
}

/* Prozent-Anzeige */
.calendar-zoom-display {
  font-size: 12px;
  font-weight: 600;
  color: #3B82F6;
  cursor: pointer;
  user-select: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.calendar-zoom-display:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.calendar-zoom-display:active {
  transform: scale(0.95);
}

/* Schieberegler (Desktop) */
.calendar-zoom-slider {
  width: 80px;
  height: 4px;
  cursor: pointer;
  appearance: none;
  background: #E5E7EB;
  border-radius: 2px;
  outline: none;
}

.calendar-zoom-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  transition: transform 0.1s;
}

.calendar-zoom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calendar-zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3B82F6;
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
}

.calendar-zoom-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Responsive: Landscape (kleinere Schrift) */
@media (orientation: landscape) {
  .calendar-zoom-display {
    font-size: 10px;
  }

  .calendar-zoom-slider {
    width: 60px;
  }
}

/* ========== Kalender-Navigation Buttons (im Sticky-Header) ========== */

/* Navigation-Buttons: Links/Rechts Pfeile */
.calendar-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Gleiche Ebene wie calendar-zoom-control, über sticky-header-btn */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  pointer-events: auto; /* WICHTIG: Klickbar über sticky-header-btn */
  transition: opacity 0.2s;
}

.calendar-nav-btn svg {
  width: 20px;  /* Kleiner als Header-Pfeile (28px) */
  height: 20px;
  display: block;
  color: #555;
}

.calendar-nav-btn:hover {
  opacity: 0.7; /* Wie bei Zoom-Control */
}

.calendar-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Links-Pfeil: Über erstem Tag (nach Zeit-Spalte) */
.calendar-nav-prev {
  left: 64px; /* 60px Zeit-Spalte + 4px Abstand */
}

/* Rechts-Pfeil: Über letztem Tag */
.calendar-nav-next {
  right: 4px;
}

/* Portrait: Anpassung (über dem einzigen Tag, links und rechts) */
@media (orientation: portrait) {
  .calendar-nav-prev {
    left: 64px; /* Links vom Tag */
  }

  .calendar-nav-next {
    right: 4px; /* Rechts vom Tag */
  }
}

/* Landscape: Kleiner Screen - engere Positionierung */
@media (orientation: landscape) and (max-width: 1024px) {
  .calendar-nav-prev {
    left: 54px; /* 50px Zeit-Spalte + 4px */
  }
}

/* Portrait: Kleiner Screen - engere Positionierung */
@media (orientation: portrait) and (max-width: 768px) {
  .calendar-nav-prev {
    left: 54px; /* 50px Zeit-Spalte + 4px */
  }
}

/* Vertikaler Zoom-Slider (Long-Press auf %) */
.calendar-zoom-vertical-slider {
  position: fixed;
  background: white;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10001;
  max-height: 300px;
  overflow-y: auto;
}

.zoom-level-btn {
  background: white;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  min-width: 70px;
}

.zoom-level-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.zoom-level-btn.active {
  background: #3B82F6;
  color: white;
  font-weight: 600;
  border-color: #3B82F6;
}

.zoom-level-btn.active:hover {
  background: #2563EB;
  border-color: #2563EB;
}

/* Zoom-Badge (erscheint bei Touch-Geste) */
.zoom-badge {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.zoom-badge--visible {
  opacity: 1;
}
