/* AnimeCardMarket – Grundlayout */
:root {
  --bg: #f7f6fb;
  --surface: #ffffff;
  --text: #1f1d2b;
  --muted: #6b6880;
  --accent: #d6336c;
  --accent-dark: #a61e4d;
  --border: #e3e0ee;
  --ok: #2b8a3e;
  --error: #c92a2a;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--accent-dark); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; width: 100%; }
main.wrap { flex: 1; padding-block: 24px; }
.muted { color: var(--muted); }

/* Kopfzeile */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--text); }
.logo span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.header-nav a { text-decoration: none; }

.lang-switch { display: flex; gap: 2px; margin: 0; }
.lang-switch button {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  padding: 2px 8px; cursor: pointer; font-size: .8rem; border-radius: 6px;
}
.lang-switch button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Startseite */
.hero { text-align: center; padding: 48px 16px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 8px; }

/* Meldungen */
.messages { list-style: none; padding: 0; }
.messages li { padding: 10px 14px; border-radius: var(--radius); margin-bottom: 8px; background: #e7f5ff; }
.messages .msg-success { background: #ebfbee; color: var(--ok); }
.messages .msg-error { background: #fff5f5; color: var(--error); }

/* Fusszeile */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 16px; font-size: .9rem; color: var(--muted); }
.site-footer a { color: var(--muted); margin-right: 16px; }
