:root {
  --bg: #FAF6F0;
  --surface: #FFFFFF;
  --border: #EDE6DC;
  --text: #2E2A25;
  --text-soft: #6B6259;
  --naehen: #C1694F;
  --naehen-bg: #F3E3DC;
  --plotten: #4F7186;
  --plotten-bg: #DEE7EA;
  --backen: #A9812E;
  --backen-bg: #F1E6C9;
  --default: #7A7A7A;
  --default-bg: #E9E7E3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Karla', sans-serif;
}

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: 'Fraunces', serif; font-weight: 600; margin: 0; }

.nav {
  height: 84px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
}

.nav__right { display: flex; align-items: center; gap: 20px; }

.nav__login {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 13px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.chip svg { width: 13px; height: 13px; }
.chip--naehen { background: var(--naehen-bg); color: var(--naehen); }
.chip--plotten { background: var(--plotten-bg); color: var(--plotten); }
.chip--backen { background: var(--backen-bg); color: var(--backen); }
.chip--default { background: var(--default-bg); color: var(--default); }

.tag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.hero {
  padding: 32px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 64px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.karte {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.foto {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.foto--platzhalter.foto--naehen { background: linear-gradient(135deg, #E7C9BB, #C1694F); }
.foto--platzhalter.foto--plotten { background: linear-gradient(135deg, #C7D8DE, #4F7186); }
.foto--platzhalter.foto--backen { background: linear-gradient(135deg, #EBD9A0, #A9812E); }
.foto--platzhalter.foto--default { background: linear-gradient(135deg, #DDD9D2, #7A7A7A); }
.foto--platzhalter svg { width: 30%; max-width: 48px; color: #fff; opacity: .4; }

.karte__info { padding: 14px; }
.karte__titel { font-size: 15px; font-weight: 600; }
.karte__meta { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.karte__datum { font-size: 12px; color: var(--text-soft); }

.leer {
  max-width: 640px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
  color: var(--text-soft);
}
.leer h2 { color: var(--text); margin-bottom: 8px; }

.detail {
  max-width: 900px;
  margin: 24px auto 48px;
  padding: 0 24px;
}
.detail__karte {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(46, 42, 37, .08);
}
.detail__hero { position: relative; }
.detail__hero .foto { aspect-ratio: 16 / 9; }
.detail__zurueck {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, .9);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail__kategorie { position: absolute; top: 16px; right: 16px; }
.detail__thumbs {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.detail__thumbs .foto { width: 64px; height: 64px; aspect-ratio: 1; flex-shrink: 0; border-radius: 10px; }
.detail__inhalt { padding: 28px 32px 32px; }
.detail__inhalt h1 { font-size: 28px; }
.detail__datum { margin-top: 8px; font-size: 13px; color: var(--text-soft); }
.detail__beschreibung { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 640px; }
.detail__tags { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
