/* FlyMeteo.de – Basis-Stylesheet, mobile-first, responsiv (Desktop/Tablet/Smartphone) */

:root {
  --color-bg: #0b1220;
  --color-surface: #121b2e;
  --color-surface-alt: #1a2540;
  --color-text: #eef2f8;
  --color-muted: #9aa7bd;
  --color-accent: #d81f2a;   /* Rot aus dem Logo */
  --color-accent-2: #f2a33c; /* Orange aus dem Sonnenuntergang im Logo */
  --tier-1: #2fbf71; /* Platzstation – grün */
  --tier-2: #e8b93e; /* Verkehrsflughafen-Nähe – gelb */
  --tier-3: #e8763e; /* nächste Station – orange */
  --radius: 14px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site-header img.logo { height: 44px; width: 44px; border-radius: 50%; }
header.site-header .brand { font-weight: 700; font-size: 1.1rem; }

nav.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
}
nav.site-nav a:hover { color: var(--color-text); }

.search-hero {
  padding: 48px 16px;
  text-align: center;
}
.search-hero h1 { font-size: clamp(1.5rem, 4vw, 2.4rem); margin-bottom: 8px; }
.search-hero p { color: var(--color-muted); margin-bottom: 24px; }

.search-box {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.search-box input {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #2a3757;
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-size: 1rem;
}
.search-box button {
  padding: 14px 22px;
  border-radius: var(--radius);
  border: none;
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.weather-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
}
.weather-card .quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #08131f;
}
.quality-badge.tier-1 { background: var(--tier-1); }
.quality-badge.tier-2 { background: var(--tier-2); }
.quality-badge.tier-3 { background: var(--tier-3); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.metric {
  background: var(--color-surface-alt);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.metric .value { font-size: 1.6rem; font-weight: 700; }
.metric .label { color: var(--color-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }

.ad-slot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid #2a3757;
}
.ad-slot img { display: block; width: 100%; height: auto; }

footer.site-footer {
  padding: 32px 16px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.85rem;
}
footer.site-footer a { color: var(--color-muted); }

@media (min-width: 720px) {
  .metrics-grid { grid-template-columns: repeat(6, 1fr); }
}
