/* SM Tool – Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ═══ Design Tokens ═══════════════════════════════════════════════════════ */
:root {
  --bg:               #131313;
  --surface:          #201f1f;
  --surface-low:      #1c1b1b;
  --surface-high:     #2a2a2a;
  --surface-highest:  #353534;
  --primary:          #00E5FF;
  --primary-dim:      #00b8cc;
  --on-primary:       #00363d;
  --gradient-btn:     linear-gradient(135deg, #c3f5ff, #00e5ff);
  --text:             #e5e2e1;
  --text-muted:       #bac9cc;
  --error:            #ffb4ab;
  --error-container:  #93000a;
  --warning:          #fec931;
  --radius-card:      16px;
  --radius-pill:      9999px;
  --radius-badge:     2px;
  --nav-height:       64px;
  --header-height:    60px;
  --shadow-glow:      0 0 32px rgba(0, 218, 243, 0.10);
  --transition:       0.2s ease;
}

/* ═══ Base ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══ Layout ═════════════════════════════════════════════════════════════ */
#app-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#app {
  flex: 1;
  padding-top: var(--header-height);
  padding-bottom: calc(var(--nav-height) + 16px);
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

/* ═══ Glassmorphism Header ═══════════════════════════════════════════════ */
.glass {
  background: rgba(19, 19, 19, 0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

#app-header .header-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-high);
}

#app-header .header-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
}

#app-header .header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00363d, #00E5FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--on-primary);
  flex-shrink: 0;
  text-transform: uppercase;
}

/* ═══ Bottom Navigation ══════════════════════════════════════════════════ */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: stretch;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 12px;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-item:active { background: rgba(0, 229, 255, 0.08); }

.nav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 14px);
  background: var(--warning);
  color: #1a1300;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ═══ Cards ══════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.card-low   { background: var(--surface-low); }
.card-high  { background: var(--surface-high); }

.card-highlight {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.card-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 3px 0 0 3px;
}

/* ═══ Buttons ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: var(--gradient-btn);
  color: var(--on-primary);
}

.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover { background: rgba(0, 229, 255, 0.08); }

.btn-danger {
  background: transparent;
  color: var(--error);
  border: 1.5px solid var(--error);
}

.btn-ghost {
  background: var(--surface-high);
  color: var(--text);
}

.btn-ghost:hover { background: var(--surface-highest); }

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-full { width: 100%; }

/* FAB */
.fab {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  right: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: var(--on-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.fab:active { transform: scale(0.94); }
.fab:hover  { box-shadow: 0 0 40px rgba(0, 218, 243, 0.20); }

/* ═══ Inputs ═════════════════════════════════════════════════════════════ */
.input {
  width: 100%;
  background: var(--surface-high);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.input::placeholder { color: var(--text-muted); }

.input:focus {
  border-color: var(--primary);
  background: var(--surface-highest);
}

.input:invalid.touched { border-color: var(--error); }

select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23bac9cc'%3E%3Cpath d='M5.5 8l4.5 4 4.5-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-error {
  color: var(--error);
  font-size: 12px;
  margin-top: 4px;
}

/* ═══ Badges ═════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-badge);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary   { background: rgba(0, 229, 255, 0.15); color: var(--primary); }
.badge-warning   { background: rgba(254, 201, 49, 0.15); color: var(--warning); }
.badge-error     { background: rgba(255, 180, 171, 0.15); color: var(--error); }
.badge-success   { background: rgba(168, 216, 168, 0.15); color: #a8d8a8; }
.badge-muted     { background: rgba(186, 201, 204, 0.12); color: var(--text-muted); }

/* Typ-Badge mit dynamischer Farbe (via style attr) */
.badge-typ {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-badge);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══ Termin Cards ═══════════════════════════════════════════════════════ */
.termin-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background var(--transition);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.termin-card:active { background: var(--surface-high); }

.termin-card.mine {
  border-left: 3px solid var(--primary);
  padding-left: 13px;
}

.termin-date-block {
  background: var(--surface-high);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
}

.termin-date-day {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.termin-date-month {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.termin-content { flex: 1; min-width: 0; }

.termin-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.termin-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.termin-sm-avatars {
  display: flex;
  gap: -4px;
  margin-top: 8px;
}

.termin-sm-avatars .avatar {
  width: 24px;
  height: 24px;
  font-size: 10px;
  margin-right: -6px;
  border: 2px solid var(--surface);
}

/* ═══ Month Section Header ═══════════════════════════════════════════════ */
.month-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.month-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

/* ═══ Tausch-Karten ══════════════════════════════════════════════════════ */
.tausch-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 18px;
  position: relative;
}

.tausch-card.eigenes {
  border: 1.5px solid rgba(0, 229, 255, 0.2);
}

/* ═══ Toast Notifications ═══════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 400px;
}

.toast {
  background: var(--surface-highest);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  animation: toastIn 0.3s ease forwards;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.toast.success { border-left: 3px solid #a8d8a8; }
.toast.error   { border-left: 3px solid var(--error); }
.toast.warning { border-left: 3px solid var(--warning); }

.toast.out { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

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

.modal-sheet {
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 24px 20px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  animation: sheetUp 0.3s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.modal-sheet-centered {
  border-radius: 20px;
  margin: 16px;
  max-height: calc(90vh - 32px);
}

@keyframes sheetUp {
  from { transform: translateY(100%); opacity: 0.8; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--surface-highest);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

/* ═══ Page Transitions ═══════════════════════════════════════════════════ */
.page-enter {
  animation: pageIn 0.25s ease forwards;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══ Loading Skeleton ═══════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-high) 0%,
    var(--surface-highest) 50%,
    var(--surface-high) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-line {
  height: 14px;
  border-radius: 7px;
  margin-bottom: 8px;
}

.skeleton-line.w-full  { width: 100%; }
.skeleton-line.w-3-4   { width: 75%; }
.skeleton-line.w-1-2   { width: 50%; }
.skeleton-line.w-1-3   { width: 33%; }

/* ═══ Loading Spinner ════════════════════════════════════════════════════ */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--surface-highest);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══ Tabs ═══════════════════════════════════════════════════════════════ */
.tab-bar {
  display: flex;
  background: var(--surface-low);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
  margin-bottom: 20px;
}

.tab-item {
  flex: 1;
  padding: 10px 16px;
  border-radius: calc(var(--radius-pill) - 2px);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.tab-item.active {
  background: var(--surface-highest);
  color: var(--text);
}

/* ═══ Filter Chips ═══════════════════════════════════════════════════════ */
.chip-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.chip-bar::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--surface-high);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.chip.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══ Year Selector ══════════════════════════════════════════════════════ */
.year-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 0 16px;
}

.year-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-high);
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.year-btn:hover { background: var(--surface-highest); }
.year-btn:active { background: var(--primary); color: var(--on-primary); }

.year-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  min-width: 60px;
  text-align: center;
}

/* ═══ Dashboard Hero ═════════════════════════════════════════════════════ */
.hero-card {
  background: linear-gradient(135deg, #00363d 0%, #001f24 100%);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

/* ═══ Divider ════════════════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 16px 0;
}

/* ═══ Empty State ════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 56px 24px;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.empty-state-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ Toggle Switch ══════════════════════════════════════════════════════ */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.toggle-label { font-size: 15px; color: var(--text); }
.toggle-desc  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.toggle {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--surface-highest);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 3px;
  left: 3px;
  transition: all 0.2s;
}

.toggle input:checked + .toggle-slider { background: rgba(0, 229, 255, 0.25); }
.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--primary);
}

/* ═══ Utility ════════════════════════════════════════════════════════════ */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.text-error   { color: var(--error); }
.text-warning { color: var(--warning); }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 11px; }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }
.gap-8        { gap: 8px; }
.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.w-full       { width: 100%; }
.mt-4         { margin-top: 4px; }
.mt-8         { margin-top: 8px; }
.mt-16        { margin-top: 16px; }
.mt-24        { margin-top: 24px; }
.mb-4         { margin-bottom: 4px; }
.mb-8         { margin-bottom: 8px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.p-16         { padding: 16px; }
.p-20         { padding: 20px; }
.hidden       { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══ Scrollbar ══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-highest); border-radius: 2px; }

/* ═══ Color input (termin-typ Farbe) ════════════════════════════════════ */
input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  background: transparent;
}

input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; border-radius: 8px; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 8px; }

/* ═══ Login Screen ═══════════════════════════════════════════════════════ */
#login-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px 28px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  background: var(--surface-high);
}

.login-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Responsive Anpassungen */
@media (min-width: 640px) {
  #app { padding-left: 24px; padding-right: 24px; }
  .modal-sheet { border-radius: 20px; margin: 16px; max-height: 85vh; }
}
