@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --zh-blue-1: #0033A0;   /* Zürich-Blau, dunkel */
  --zh-blue-2: #2C5FBD;   /* mittleres Blau */
  --zh-blue-3: #7FA2DC;   /* helles Blau */
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --concrete: #F2F5FA;    /* sehr helles Blaugrau als Hintergrund */
  --ink: #1B2333;
  --ink-soft: #5C6478;
  --line: #D9E1EE;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

header.hero {
  background: var(--zh-blue-1);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 46px,
      rgba(255, 255, 255, 0.07) 46px,
      rgba(255, 255, 255, 0.07) 78px
    );
  color: var(--white);
  padding: 64px 24px 40px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

h1.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1.hero-title span {
  color: var(--zh-blue-3);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #C9D6EE;
  max-width: 52ch;
  margin: 0;
}

.lane-divider {
  border: none;
  height: 0;
  border-top: 4px dashed var(--white);
  margin: 36px 0 0;
  opacity: 0.85;
}

/* ---------- Stats bar ---------- */

.statbar {
  max-width: 760px;
  margin: -1px auto 0;
  background: var(--zh-blue-2);
  color: var(--white);
  display: flex;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
}

.statbar .stat {
  flex: 1;
  padding: 14px 20px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.statbar .stat:last-child { border-right: none; }
.statbar .stat b {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--white);
  font-weight: 600;
}

/* ---------- Main / Posts ---------- */

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.posts-heading {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.posts-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

article.post {
  position: relative;
  padding: 28px 0 32px 28px;
  border-left: 3px dashed var(--line);
}

article.post:last-child { padding-bottom: 4px; }

article.post::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 32px;
  width: 13px;
  height: 13px;
  background: var(--white);
  border: 3px solid var(--zh-blue-1);
  border-radius: 50%;
}

.post-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--white);
  background: var(--zh-blue-1);
}
.tag.blue { background: var(--zh-blue-2); }
.tag.light { background: var(--zh-blue-3); color: var(--ink); }
.tag::before { content: "▲"; font-size: 8px; }

h2.post-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}

.post-place {
  color: var(--ink-soft);
  font-weight: 400;
}

p.post-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #3A4152;
  margin: 0;
}

.post-image-wrap {
  position: relative;
  margin: 4px 0 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #E4E9F2;
}

.post-image-wrap img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Zürich-Wappen-Badge: zweigeteiltes Blau/Weiss-Schild */
.ch-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 30px;
  border-radius: 3px 3px 3px 3px / 3px 3px 8px 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.35);
  border: 1.5px solid var(--white);
}
.ch-badge::before,
.ch-badge::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
}
.ch-badge::before { top: 0; background: var(--zh-blue-1); }
.ch-badge::after { bottom: 0; background: var(--white); }

/* ---------- Footer ---------- */

footer {
  background: var(--zh-blue-1);
  color: #C9D6EE;
  text-align: center;
  padding: 28px 24px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  header.hero { padding: 44px 18px 28px; }
  main { padding: 36px 18px 80px; }
  .statbar { flex-direction: column; }
  .statbar .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.18); }
  article.post { padding-left: 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* Keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--zh-blue-2);
  outline-offset: 2px;
}
