* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #1a1a1a;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* GPS Banner */
.gps-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #c0392b;
  color: #fff;
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gps-banner.hidden {
  display: none;
}

.gps-icon {
  font-size: 18px;
}

/* Main Content */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 24px;
  width: 100%;
  max-width: 400px;
}

.title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #FFD700;
  text-align: center;
}

body.gps-active main {
  padding-top: 48px;
}

/* Anruf Button */
.call-button {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #FFD700;
  background: linear-gradient(145deg, #FFD700, #e6c200);
  color: #1a1a1a;
  font-size: 64px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
}

.call-button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.phone-icon {
  line-height: 1;
}

.phone-number {
  font-size: 18px;
  color: #999;
  letter-spacing: 1px;
}

/* what3words Button */
.w3w-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}

.w3w-button:active {
  background: rgba(255, 215, 0, 0.1);
  transform: scale(0.98);
}

.location-icon {
  font-size: 20px;
}

.w3w-button:disabled {
  opacity: 0.6;
  cursor: wait;
  border-color: #888;
  color: #888;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  backdrop-filter: blur(4px);
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  background: #2a2a2a;
  border: 2px solid #FFD700;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  width: 90%;
  max-width: 320px;
}

.modal-text {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
}

.modal-buttons {
  display: flex;
  gap: 16px;
}

.modal-btn {
  flex: 1;
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.modal-btn:active {
  transform: scale(0.96);
}

.modal-btn-yes {
  background: #FFD700;
  color: #1a1a1a;
}

.modal-btn-no {
  background: #444;
  color: #fff;
}

.modal-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.modal-btn-sms {
  background: #FFD700;
  color: #1a1a1a;
}

/* Hinweis-Text */
.hint-text {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: -20px;
  line-height: 1.4;
}

/* Teilen Bereich */
.share-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #333;
}

.share-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}

.share-button:active {
  background: rgba(255, 215, 0, 0.1);
  transform: scale(0.98);
}

.share-icon {
  font-size: 20px;
}

.qr-container {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  display: inline-block;
}

.qr-container img {
  display: block;
}

/* Responsive */
@media (min-width: 768px) {
  .call-button {
    width: 180px;
    height: 180px;
    font-size: 72px;
  }

  .title {
    font-size: 42px;
  }
}
