/* ============================================================
   DESIGN-SYSTEM: CSS-VARIABLEN
   ============================================================ */
:root {
  --bg-primary:       #0a0a0a;
  --bg-secondary:     #141414;
  --bg-card:          #1a1a1a;
  --accent-red:       #e63946;
  --accent-red-hover: #ff6b6b;
  --accent-green:     #2ecc71;
  --text-primary:     #f0f0f0;
  --text-secondary:   #999999;
  --border-color:     #2a2a2a;
  --border-hover:     #e63946;
  --shadow:           0 4px 20px rgba(230, 57, 70, 0.15);
  --font-main:        system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-card:      12px;
  --transition:       all 0.2s ease;
}

/* ============================================================
   GLOBALE STILE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Benutzerdefinierte Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red-hover); }

/* Textauswahl */
::selection {
  background: var(--accent-red);
  color: #fff;
}

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

/* Hilfsklasse */
.hidden { display: none !important; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.2s ease;
}

/* Kompakt-Zustand beim Scrollen (wird per JS gesetzt) */
header.scrolled {
  padding: 8px 24px;
}
header.scrolled .logo {
  font-size: 22px;
}
header.scrolled .subtitle {
  display: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Logo als klickbarer Link */
a.header-left {
  text-decoration: none;
  cursor: pointer;
}

a.header-left:hover .logo {
  color: var(--accent-red-hover);
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-red);
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
  line-height: 1;
}

.subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.update-info {
  font-size: 12px;
  color: var(--text-secondary);
}

.update-label {
  margin-right: 4px;
}

.countdown {
  color: var(--accent-red);
  font-weight: 600;
}

/* ============================================================
   SUCHBEREICH
   ============================================================ */
.search-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Gemeinsame Stile für Inputs und Selects */
#locationInput,
#fuelType,
#radius {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
}

.autocomplete-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

#locationInput {
  width: 100%;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  z-index: 200;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent-red);
}

#locationInput:focus,
#fuelType:focus,
#radius:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

#fuelType option,
#radius option {
  background: var(--bg-card);
}

/* Custom Dropdown (Radius) */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 160px;
  transition: var(--transition);
  user-select: none;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.custom-select-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-secondary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--accent-red);
  border-radius: 8px;
  z-index: 300;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: none;
}

.custom-select.open .custom-select-options {
  display: block;
}

.custom-select-option {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.custom-select-option:last-child {
  border-bottom: none;
}

.custom-select-option:hover {
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent-red);
}

.custom-select-option.selected {
  background: rgba(230, 57, 70, 0.12);
  color: var(--accent-red);
  font-weight: 600;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-red);
  border: 1px solid var(--accent-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
}

.btn-outline:hover {
  background: var(--accent-red);
  color: #fff;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   API-KEY-WARNUNGS-BANNER
   ============================================================ */
.api-warning {
  display: none; /* wird per JS eingeblendet */
  background: rgba(230, 57, 70, 0.1);
  border-left: 4px solid var(--accent-red);
  color: var(--text-primary);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 8px;
}

/* ============================================================
   GÜNSTIGSTE TANKSTELLE
   ============================================================ */
.best-station-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 20px;
}

.best-station-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}

.best-station-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-green);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  background: rgba(46, 204, 113, 0.04);
}

.best-station-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.best-station-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.best-station-address {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ============================================================
   HAUPTBEREICH (Liste + Karte)
   ============================================================ */
.main-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 32px;
  align-items: start;
}

.column-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

/* ============================================================
   TANKSTELLEN-KARTEN
   ============================================================ */
.station-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: default;
  transition: var(--transition);
}

.station-card:hover {
  border-color: var(--accent-red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Günstigste Tankstelle: grüner linker Rand */
.station-card.cheapest {
  border-left: 4px solid var(--accent-green);
  background: rgba(46, 204, 113, 0.04);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-rank {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.station-card.cheapest .card-rank {
  background: rgba(46, 204, 113, 0.15);
  color: var(--accent-green);
}

.card-address {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.address-link {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-red);
  transition: var(--transition);
}

.address-link:hover {
  color: var(--accent-red);
  text-decoration: none;
}

.station-card {
  cursor: pointer;
}

/* Kraftstoffpreis-Raster pro Karte */
.card-fuel-prices {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.fp-cell {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px 8px;
  text-align: center;
  transition: var(--transition);
}

.fp-cell.fp-selected {
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.06);
}

.fp-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.fp-value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.fp-value.fp-cheap { color: var(--accent-green); }
.fp-value.fp-exp   { color: var(--accent-red); }

/* Einzelner Kraftstoff: großer Preis + kleine Sekundärpreise */
.card-primary-price {
  margin-bottom: 4px;
}

.primary-value {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.primary-value.fp-cheap { color: var(--accent-green); }
.primary-value.fp-exp   { color: var(--accent-red); }

.card-secondary-prices {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
}

.secondary-price {
  font-size: 12px;
  color: var(--text-secondary);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.card-badges {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 8px;
}

.badge-distance {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.badge-open {
  background: rgba(46, 204, 113, 0.15);
  color: var(--accent-green);
}

.badge-closed {
  background: rgba(230, 57, 70, 0.15);
  color: var(--accent-red);
}

/* ============================================================
   LADEANIMATION
   ============================================================ */
.loader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(230, 57, 70, 0.2);
  border-top-color: var(--accent-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

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

/* ============================================================
   FEHLERMELDUNG
   ============================================================ */
.error-msg {
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.4);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 12px;
}

/* ============================================================
   KARTE
   ============================================================ */
.map-column {
  position: sticky;
  top: 80px;
}

#mobileMapSpacer { display: none; }

.map-wrapper {
  position: relative;
}

#map {
  height: 500px;
  border-radius: var(--radius-card);
  border: 1px solid var(--accent-red);
  overflow: hidden;
}

.map-consent-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.map-consent-content {
  text-align: center;
  padding: 24px;
  color: var(--text-secondary);
}

.map-consent-content p:first-child {
  font-size: 32px;
  margin-bottom: 8px;
}

.map-consent-content p:last-child {
  font-size: 13px;
  line-height: 1.6;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.25s ease;
  z-index: 1;
}

.modal-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--accent-red);
}

.modal-content h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--text-primary);
}

.modal-content p,
.modal-content li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.6;
}

.modal-content ul {
  padding-left: 18px;
}

.modal-content hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 16px 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent-red-hover);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* ============================================================
   DATENSCHUTZ-HINWEIS
   ============================================================ */
.privacy-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 2px solid var(--accent-red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.notice-text {
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.notice-text strong {
  color: var(--text-primary);
}

.notice-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.notice-actions .btn {
  padding: 8px 20px;
  font-size: 13px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 20px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: auto;
}

/* ============================================================
   LEAFLET OVERRIDES (Farbschema anpassen)
   ============================================================ */

/* Zoom-Buttons (+/-) */
.leaflet-bar {
  border: 1px solid var(--accent-red) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  overflow: hidden;
}

.leaflet-bar a,
.leaflet-bar a:hover {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border-color) !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.leaflet-bar a:hover {
  background: var(--accent-red) !important;
  color: #fff !important;
}

.leaflet-bar a:last-child {
  border-bottom: none !important;
}

.leaflet-bar a.leaflet-disabled {
  opacity: 0.3 !important;
  cursor: default !important;
}

/* Popup */
.leaflet-popup-content-wrapper {
  background: #222 !important;
  color: #f0f0f0 !important;
  border: 1px solid var(--accent-red) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 14px 16px !important;
  color: #f0f0f0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.leaflet-popup-tip {
  background: #222 !important;
}

.leaflet-popup-close-button {
  color: #888 !important;
  font-size: 18px !important;
  padding: 6px 8px !important;
  top: 2px !important;
  right: 4px !important;
}

.leaflet-popup-close-button:hover {
  color: var(--accent-red) !important;
  background: none !important;
}

/* Attribution (unten rechts) */
.leaflet-control-attribution {
  background: rgba(10, 10, 10, 0.85) !important;
  color: var(--text-secondary) !important;
  border-top-left-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-attribution a {
  color: var(--accent-red) !important;
}

/* ============================================================
   RESPONSIVE: < 768px
   ============================================================ */
@media (max-width: 768px) {
  header {
    padding: 12px 16px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header-left {
    flex: 1;
    min-width: 0;
  }

  .header-right {
    align-items: flex-end;
    flex-shrink: 0;
  }

  .logo {
    font-size: 22px;
  }

  .subtitle {
    font-size: 11px;
  }

  .update-info {
    font-size: 11px;
  }

  header.scrolled {
    padding: 6px 16px;
  }
  header.scrolled .logo {
    font-size: 18px;
  }
  header.scrolled .update-info {
    font-size: 10px;
  }

  /* Mobile-Layout: Header fixiert oben. Karte wird per JS zwischen Suche
     und Best-Station positioniert und per position:fixed am Viewport verankert,
     damit sie beim Scrollen garantiert nicht mitwandert. Ein Platzhalter-Div
     (#mobileMapSpacer) reserviert den Platz im Layout-Fluss. */
  body {
    display: block;
    padding-top: 64px;
  }

  header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    z-index: 100;
  }

  .main-content {
    display: block;
    padding: 0 12px 24px;
  }

  .list-column {
    width: 100%;
  }

  .map-column {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    order: unset;
    margin: 0 !important;
    padding: 6px 12px 10px;
    background: var(--bg-primary);
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.8);
    z-index: 40;
    /* top wird per JS gesetzt (unter der Suchsektion) */
  }

  #mobileMapSpacer {
    display: block;
    width: 100%;
    /* Höhe wird per JS gesetzt */
  }

  .search-section {
    padding: 16px 12px;
    gap: 10px;
    margin-top: 0;
  }

  #map {
    height: 42vh;
    min-height: 260px;
    max-height: 420px;
  }

  .best-station-section {
    padding: 0 12px 16px;
  }

  .best-station-name {
    font-size: 16px;
  }

  .search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px; /* Touch-Target ≥44px (Apple HIG / Material) */
  }

  #locationInput {
    min-width: unset;
    min-height: 44px;
    font-size: 16px; /* ≥16px verhindert iOS-Zoom beim Fokus */
  }

  .custom-select-trigger {
    min-height: 44px;
    font-size: 15px;
  }

  .station-card {
    padding: 14px;
    margin-bottom: 8px;
    /* Feedback beim Antippen */
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.15);
  }

  .station-card:active {
    transform: scale(0.98);
    border-color: var(--accent-red);
  }

  .station-card:hover {
    transform: none; /* kein translateY auf Touch */
  }

  .best-station-card {
    -webkit-tap-highlight-color: rgba(46, 204, 113, 0.15);
  }
  .best-station-card:active {
    transform: scale(0.98);
  }

  .card-fuel-prices {
    gap: 6px;
  }

  .fp-cell {
    padding: 8px 4px;
  }

  .fp-label {
    font-size: 9px;
  }

  .fp-value {
    font-size: 13px;
  }

  .privacy-notice {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }

  .notice-actions {
    flex-direction: row;
    justify-content: stretch;
  }

  .notice-actions .btn {
    flex: 1;
    text-align: center;
  }

  /* Modal auf Mobil: mehr Platz, weniger Padding */
  .modal-content {
    padding: 20px 18px;
    max-height: 85vh;
    width: 94%;
  }
}

/* Sehr schmale Displays */
@media (max-width: 380px) {
  .logo { font-size: 20px; }
  .subtitle { display: none; }
  .fp-label { font-size: 8px; }
  .card-name { font-size: 14px; }
}
