/* ========================================
   China 2026 – Liquid Glass iOS Style
   ======================================== */

:root {
  --bg-1: #0a0a1f;
  --bg-2: #1a1040;
  --accent-1: #ff4d8d;
  --accent-2: #7d4dff;
  --accent-3: #4dabff;
  --accent-4: #ff9a4d;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-strong: rgba(255, 255, 255, 0.28);
  --text-primary: rgba(255, 255, 255, 0.96);
  --text-secondary: rgba(255, 255, 255, 0.70);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.32);
  --shadow-glow: 0 0 40px rgba(255, 77, 141, 0.15);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  min-height: 100vh;
  background: var(--bg-1);
  overflow-x: hidden;
  position: relative;
}

/* Animated gradient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 77, 141, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(125, 77, 255, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(77, 171, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(255, 154, 77, 0.30) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  animation: bgShift 22s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0%   { transform: scale(1) rotate(0deg);   }
  50%  { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(-1deg);  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 50%, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Top Nav (glass)
   ======================================== */

.topnav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px 24px 32px;
  padding: 12px 20px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topnav .brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
}

.topnav .brand-emoji {
  font-size: 22px;
}

.topnav nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.topnav nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.topnav nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.topnav nav a.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  font-weight: 600;
}

/* ========================================
   Hero
   ======================================== */

.hero {
  text-align: center;
  padding: 32px 24px 56px;
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, #ffd4e8 40%, #c4b5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.45;
}

.hero .meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   Cards / Glass surfaces
   ======================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ========================================
   City Grid (Homepage)
   ======================================== */

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 8px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.city-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-gradient, linear-gradient(135deg, rgba(255, 77, 141, 0.18), rgba(125, 77, 255, 0.18)));
  opacity: 0.55;
  z-index: -1;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 77, 141, 0.15);
}

.city-card .city-emoji {
  font-size: 44px;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.city-card h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.city-card .city-dates {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  font-weight: 500;
}

.city-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}

.city-card .city-arrow {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* City color variants */
.city-card.shanghai     { --card-gradient: linear-gradient(135deg, rgba(255, 77, 141, 0.25), rgba(125, 77, 255, 0.20)); }
.city-card.huangshan    { --card-gradient: linear-gradient(135deg, rgba(77, 200, 150, 0.22), rgba(77, 171, 255, 0.22)); }
.city-card.nanjing      { --card-gradient: linear-gradient(135deg, rgba(255, 154, 77, 0.25), rgba(255, 77, 141, 0.18)); }
.city-card.beijing      { --card-gradient: linear-gradient(135deg, rgba(255, 200, 77, 0.22), rgba(255, 100, 100, 0.22)); }
.city-card.harbin       { --card-gradient: linear-gradient(135deg, rgba(120, 180, 255, 0.25), rgba(180, 220, 255, 0.18)); }
.city-card.tipps        { --card-gradient: linear-gradient(135deg, rgba(125, 77, 255, 0.22), rgba(255, 77, 141, 0.22)); }

/* ========================================
   Map (Leaflet)
   ======================================== */

.map-wrap {
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.map-container {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  background: rgba(10, 10, 31, 0.6);
}

.map-container .leaflet-container {
  background: #1a1040;
  font-family: inherit;
}

.map-container .leaflet-popup-content-wrapper {
  background: rgba(20, 18, 50, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.map-container .leaflet-popup-content {
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 14px;
  color: var(--text-primary);
}

.map-container .leaflet-popup-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.map-container .leaflet-popup-content .tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  margin-top: 4px;
  border-radius: 999px;
}

.map-container .leaflet-popup-tip {
  background: rgba(20, 18, 50, 0.92);
  border: 1px solid var(--glass-border-strong);
}

.map-container .leaflet-popup-close-button {
  color: var(--text-secondary) !important;
  font-size: 18px !important;
  padding: 6px 8px !important;
}

.map-container .leaflet-control-attribution {
  background: rgba(10, 10, 31, 0.5) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 10px !important;
}

.map-container .leaflet-control-attribution a {
  color: rgba(255, 200, 220, 0.7) !important;
}

.map-container .leaflet-control-zoom a {
  background: rgba(20, 18, 50, 0.92) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.map-container .leaflet-control-zoom a:hover {
  background: rgba(40, 30, 80, 0.95) !important;
}

/* Custom marker icons */
.map-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.map-marker:hover { transform: scale(1.18); }

.map-marker.activity  { background: linear-gradient(135deg, #4dabff, #7d4dff); }
.map-marker.restaurant{ background: linear-gradient(135deg, #ff4d8d, #ff6464); }
.map-marker.shopping  { background: linear-gradient(135deg, #ffc84d, #ff9a4d); }
.map-marker.show      { background: linear-gradient(135deg, #b464ff, #7d4dff); }
.map-marker.hotel     { background: linear-gradient(135deg, #4dc896, #4dabff); }

/* Legend */
.map-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 8px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.map-legend-dot.activity   { background: linear-gradient(135deg, #4dabff, #7d4dff); }
.map-legend-dot.restaurant { background: linear-gradient(135deg, #ff4d8d, #ff6464); }
.map-legend-dot.shopping   { background: linear-gradient(135deg, #ffc84d, #ff9a4d); }
.map-legend-dot.show       { background: linear-gradient(135deg, #b464ff, #7d4dff); }
.map-legend-dot.hotel      { background: linear-gradient(135deg, #4dc896, #4dabff); }

@media (max-width: 640px) {
  .map-container { height: 320px; }
  .map-wrap { padding: 0 12px; }
}

/* ========================================
   Hero Image (top of city pages)
   ======================================== */

.hero-banner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 24px;
}

.hero-banner-inner {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.35), rgba(125, 77, 255, 0.35), rgba(77, 171, 255, 0.30));
  box-shadow: var(--shadow-soft), 0 0 60px rgba(255, 77, 141, 0.15);
  border: 1px solid var(--glass-border);
}

.hero-banner-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 77, 141, 0.35), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(125, 77, 255, 0.25), transparent 60%);
  z-index: 1;
}

.hero-banner-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 31, 0.55) 100%);
  z-index: 2;
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-banner img.broken {
  display: none;
}

.hero-banner-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
}

.hero-banner-emoji {
  font-size: 64px;
  margin-bottom: 4px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
  line-height: 1;
}

/* City-specific tint when no image present */
.hero-banner.shanghai .hero-banner-inner  { background: linear-gradient(135deg, rgba(255, 77, 141, 0.35), rgba(125, 77, 255, 0.30), rgba(77, 171, 255, 0.25)); }
.hero-banner.huangshan .hero-banner-inner { background: linear-gradient(135deg, rgba(77, 200, 150, 0.32), rgba(77, 171, 255, 0.30), rgba(125, 77, 255, 0.22)); }
.hero-banner.nanjing .hero-banner-inner   { background: linear-gradient(135deg, rgba(255, 154, 77, 0.35), rgba(255, 77, 141, 0.28), rgba(125, 77, 255, 0.22)); }
.hero-banner.beijing .hero-banner-inner   { background: linear-gradient(135deg, rgba(255, 200, 77, 0.32), rgba(255, 100, 100, 0.32), rgba(255, 77, 141, 0.22)); }
.hero-banner.harbin .hero-banner-inner    { background: linear-gradient(135deg, rgba(120, 180, 255, 0.35), rgba(180, 220, 255, 0.28), rgba(125, 77, 255, 0.22)); }

@media (max-width: 640px) {
  .hero-banner-inner { height: 200px; }
  .hero-banner-emoji { font-size: 48px; }
  .hero-banner-content { padding: 20px; }
}

/* ========================================
   Page Header (sub-pages)
   ======================================== */

.page-header {
  text-align: center;
  padding: 16px 24px 40px;
}

.page-header .emoji {
  font-size: 56px;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.page-header .subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .pill {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ========================================
   Segmented control (iOS Tabs)
   ======================================== */

.segmented {
  display: flex;
  gap: 4px;
  max-width: 480px;
  margin: 0 auto 32px;
  padding: 4px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
}

.segmented button {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: inherit;
}

.segmented button:hover {
  color: var(--text-primary);
}

.segmented button.active {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Item-Card Bild (Wikipedia)
   ======================================== */

.item-image {
  position: relative;
  margin: -22px -22px 16px;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(135deg, rgba(125, 77, 255, 0.20), rgba(77, 171, 255, 0.20));
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.item-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 31, 0.55) 100%);
  pointer-events: none;
}

.item-card:hover .item-image img {
  transform: scale(1.04);
}

/* ========================================
   Item cards (restaurants / attractions)
   ======================================== */

.section {
  padding: 0 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  padding-left: 6px;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.items.hidden {
  display: none;
}

.item-card {
  position: relative;
  padding: 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.item-card:hover {
  transform: translateY(-3px);
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
}

.item-header {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.35), rgba(125, 77, 255, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.item-card.kultur   .item-icon { background: linear-gradient(135deg, rgba(255, 154, 77, 0.45), rgba(255, 77, 141, 0.35)); }
.item-card.action   .item-icon { background: linear-gradient(135deg, rgba(77, 171, 255, 0.45), rgba(125, 77, 255, 0.35)); }
.item-card.spezial  .item-icon { background: linear-gradient(135deg, rgba(255, 200, 77, 0.45), rgba(255, 100, 200, 0.35)); }
.item-card.food     .item-icon { background: linear-gradient(135deg, rgba(255, 77, 141, 0.45), rgba(255, 100, 100, 0.35)); }
.item-card.show     .item-icon { background: linear-gradient(135deg, rgba(125, 77, 255, 0.45), rgba(77, 171, 255, 0.35)); }
.item-card.shopping .item-icon { background: linear-gradient(135deg, rgba(255, 100, 200, 0.45), rgba(255, 154, 77, 0.35)); }
.item-card.vintage  .item-icon { background: linear-gradient(135deg, rgba(180, 100, 255, 0.45), rgba(255, 77, 141, 0.35)); }

.item-titles {
  flex: 1;
  min-width: 0;
}

.item-titles h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  line-height: 1.25;
}

.item-titles .cn {
  font-size: 13px;
  color: var(--text-tertiary);
}

.item-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-weight: 500;
}

.tag.price { background: rgba(77, 200, 150, 0.18); border-color: rgba(77, 200, 150, 0.35); color: #b6f0d6; }
.tag.time  { background: rgba(125, 77, 255, 0.18); border-color: rgba(125, 77, 255, 0.35); color: #d3c4ff; }
.tag.vibe  { background: rgba(255, 154, 77, 0.18); border-color: rgba(255, 154, 77, 0.35); color: #ffd8b6; }

.item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ========================================
   Expandable details
   ======================================== */

.expand {
  margin: 0 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.expand > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: all 0.25s ease;
  user-select: none;
  width: max-content;
}

.expand > summary::-webkit-details-marker { display: none; }

.expand > summary::after {
  content: "↓";
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-left: 2px;
}

.expand[open] > summary::after { transform: rotate(180deg); }

.expand > summary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.expand-content {
  padding-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  animation: fadeIn 0.35s ease;
}

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

.expand-content h4 {
  color: var(--text-primary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.expand-content h4:first-child { margin-top: 0; }

.expand-content h4::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
}

.expand-content ul {
  margin: 4px 0 0;
  padding-left: 16px;
  list-style: none;
}

.expand-content ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.expand-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-1);
  font-weight: 700;
}

.expand-content p {
  margin-bottom: 8px;
}

.expand-content p:last-child { margin-bottom: 0; }

.expand-content em {
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
}

.expand-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.expand-content code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 6px;
  border-radius: 6px;
  color: #ffb8d4;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--glass-border-strong);
  transform: translateY(-1px);
}

.btn.maps {
  background: linear-gradient(135deg, rgba(77, 171, 255, 0.30), rgba(125, 77, 255, 0.30));
  border-color: rgba(77, 171, 255, 0.45);
}

.btn.web {
  background: rgba(255, 255, 255, 0.10);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 24px 32px;
  color: var(--text-tertiary);
  font-size: 13px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 6px;
}

/* ========================================
   Tipps page styles
   ======================================== */

.tipps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.tipp-card {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.tipp-card .tipp-emoji {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.tipp-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.tipp-card p, .tipp-card li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.tipp-card ul, .tipp-card ol {
  margin: 8px 0 4px 18px;
}

.tipp-card li {
  margin-bottom: 4px;
}

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

.tipp-card code {
  background: rgba(0, 0, 0, 0.25);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #ffb8d4;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .topnav { margin: 12px; padding: 10px 14px; }
  .topnav nav a { padding: 6px 10px; font-size: 13px; }
  .hero { padding: 24px 20px 40px; }
  .city-grid, .tipps-grid, .section { padding-left: 16px; padding-right: 16px; }
  .item-card { padding: 18px; }
}
