/* PECA Coachee-Portal — CI: Tinte + Ochsenblut, hell & freundlich, mobile-first. */
@import url('fonts.css');

:root {
  --anchor: #15202E;
  --accent: #6F3640;
  --accent-soft: #E2D8D5;
  --paper: #F6F4EF;
  --surface: #FFFFFF;
  --text-mute: #5C6B79;
  --line: #D8D3CA;
  --error: #A23A2A;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem; line-height: 1.7;
  color: var(--anchor); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto; font-variation-settings: "SOFT" 0, "WONK" 0;
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
}
h1 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h2 { font-size: 1.35rem; margin-bottom: 12px; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 0.5px; }

.kopf {
  background: var(--surface); border-bottom: 0.5px solid var(--line);
  padding: 14px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.kopf .marke { display: flex; align-items: center; gap: 10px; }
.kopf .marke img { height: 34px; display: block; }
.kopf .marke .wort { font-family: 'Fraunces', Georgia, serif; font-size: 1.15rem; letter-spacing: 0.03em; }
.kopf form { margin: 0; }

.inhalt { max-width: 860px; margin: 0 auto; padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 40px) 80px; }
.gruss { margin-bottom: 28px; }
.gruss p { color: var(--text-mute); max-width: 60ch; }

.karte {
  background: var(--surface); border: 0.5px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px); margin-bottom: 24px;
}
.karte .label {
  font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mute); display: block; margin-bottom: 8px;
}

.liste { list-style: none; }
.liste li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 0.5px solid var(--line);
}
.liste li:last-child { border-bottom: none; }
.liste .meta { font-size: 0.85rem; color: var(--text-mute); }
.liste .aktionen { display: flex; gap: 8px; flex-wrap: wrap; }

.knopf {
  display: inline-block; background: var(--anchor); color: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
}
.knopf:hover { background: #22344a; }
.knopf.zweit { background: transparent; color: var(--anchor); border: 1px solid var(--line); }
.knopf.zweit:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.knopf.klein { padding: 6px 12px; font-size: 0.85rem; }

input[type="text"], input[type="password"], input[type="file"], textarea, select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--anchor);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; margin: 4px 0 14px;
}
textarea { min-height: 110px; resize: vertical; }
label { font-size: 0.9rem; font-weight: 600; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.hinweis, .fehlermeldung {
  border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-size: 0.95rem;
}
.hinweis { background: #e9efe6; color: #2f4a2c; }
.fehlermeldung { background: #f3e3df; color: var(--error); }

.nachricht { padding: 14px 0; border-bottom: 0.5px solid var(--line); }
.nachricht:last-child { border-bottom: none; }
.nachricht .von { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nachricht .von.katharina { color: var(--accent); }
.nachricht .von.ich { color: var(--text-mute); }
.nachricht .titel { font-weight: 700; margin-top: 2px; }
.nachricht p.text { white-space: pre-line; margin-top: 4px; }
.nachricht .zeit { font-size: 0.8rem; color: var(--text-mute); }

details.aufklapp summary { cursor: pointer; font-weight: 600; }

/* Login */
.login-buehne { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-karte { width: 100%; max-width: 400px; text-align: center; }
.login-karte img { height: 56px; margin-bottom: 8px; }
.login-karte h1 { margin-bottom: 4px; }
.login-karte .unter { color: var(--text-mute); font-size: 0.95rem; margin-bottom: 24px; }
.login-karte form { text-align: left; }
.login-karte .knopf { width: 100%; padding: 12px; font-size: 1rem; }
.leer { color: var(--text-mute); font-size: 0.95rem; }
