:root {
  --ink: #0a0a0a;
  --pink: #e6007e;
  --bg: #f4f4f5;
  --card: #fff;
  --line: #e4e4e7;
  --muted: #52525b;
  --ok: #166534;
  --ok-bg: #f0fdf4;
  color-scheme: light;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
a { color: var(--ink); }

.login {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.seite {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 48px;
  background: var(--ink);
  color: #fff;
}
.seite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--pink), transparent 55%) 0%, transparent 42%);
}
.seite img, .seite h1 { position: relative; }
.seite img, .leiste img {
  align-self: flex-start;
  width: auto;
  height: auto;
  max-width: 240px;
  object-fit: contain;
}
.seite h1 {
  margin: auto 0 0;
  max-width: 12ch;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.formular {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.karte, .anfrage {
  width: min(100%, 420px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.08);
}
h2, h3 { font-family: Montserrat, sans-serif; letter-spacing: -0.03em; }
h2 { margin: 0 0 8px; font-size: 1.7rem; }
.leise { margin: 0 0 20px; color: var(--muted); }
label { display: block; margin: 14px 0 6px; font-weight: 600; }
input[type="email"], input[type="password"], input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #fff;
}
.knopf, .filter button, .textknopf {
  border: 0;
  border-radius: 12px;
  transition: filter 160ms ease, background 160ms ease;
}
.knopf {
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #eb3880, var(--pink));
  color: #fff;
  font-weight: 700;
}
.knopf:hover, .mini:hover { filter: brightness(1.06); }
.fehler { margin: 12px 0 0; color: #9f1239; }
.shell { display: grid; min-height: 100vh; grid-template-columns: 272px minmax(0, 1fr); }
.leiste {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 20px;
  background: var(--ink);
  color: #fff;
}
.seite img { max-height: 64px; }
.leiste img { max-height: 48px; }
.leiste nav button {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--pink), transparent 82%);
  color: #fff;
  font-weight: 700;
  text-align: left;
}
.leiste .raus {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  text-decoration: underline;
}
.inhalt { padding: 32px; }
.kopf { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 20px; }
.kopf h2 { margin: 0; }
.zahl { margin: 4px 0 0; color: var(--muted); }
.werkzeuge { display: flex; gap: 8px; flex-wrap: wrap; }
.filter button, .mini, .textknopf {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.liste { display: grid; gap: 12px; }
.anfrage { width: auto; padding: 18px 20px; }
.anfrage header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.anfrage h3 { margin: 0; font-size: 1.15rem; }
.zeit { color: var(--muted); font-size: 0.92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chips span, .status {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 0.92rem;
}
.status.neu { background: #fce7f3; color: #9d174d; }
.status.erledigt { background: var(--ok-bg); color: var(--ok); }
.kontakt { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.mini { margin-top: 14px; }
.leer { padding: 28px; border: 1px dashed #d4d4d8; border-radius: 16px; color: var(--muted); }

@media (max-width: 860px) {
  .login, .shell { grid-template-columns: 1fr; }
  .seite { display: none; }
  .leiste { gap: 12px; }
  .inhalt, .formular { padding: 16px; }
  .kopf { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .knopf, .filter button, .textknopf { transition: none; }
}
