/* Fahrer-App v1.0 — Taxi Dickmann Haus-Stil (Beige/Creme/Schokolade, mobil zuerst) */
:root {
  --beige: #f5efe2;
  --beige-dunkel: #ebe3d0;
  --text: #3b332a;
  --text-hell: #6b6154;
  --rand: #d8ccb4;
  --akzent: #8a6d3b;
  --card: #fffdf8;
  --fokus: #7a5c2e;
  --schoko: #584b39;
  --kurz-bg: #f0e2c0;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--beige);
  background-image: radial-gradient(circle at 12% -4%, #efe6d2 0%, var(--beige) 55%);
  min-height: 100vh;
  /* Apple Dynamic Island / Notch (Abel 2026-11-09): Inhalt unter der Kerbe beginnen lassen */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom);
}
.blossom {
  position: fixed; right: -30px; top: -30px; width: 190px; height: 190px;
  opacity: 0.10; pointer-events: none;
  background: url("/static/floral.svg") no-repeat center/contain;
  transform: rotate(12deg);
}

/* ---------- Login ---------- */
.login-stage { max-width: 400px; margin: 0 auto; padding: 48px 18px 24px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.brand img { width: 54px; height: 54px; border-radius: 10px; }
.brand h1 { margin: 0; font-size: 24px; letter-spacing: 0.4px; }
.brand .sub { margin: 2px 0 0; font-size: 13px; color: var(--text-hell); }
.card {
  background: var(--card);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(59, 51, 42, 0.14);
  padding: 20px;
}
.login-card form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
input {
  font-size: 18px; padding: 12px 14px; border: 1.5px solid var(--rand);
  border-radius: 10px; background: #fff; color: var(--text); min-height: 48px;
}
input:focus { outline: none; border-color: var(--fokus); box-shadow: 0 0 0 3px rgba(122, 92, 46, 0.15); }
button {
  font-size: 17px; font-weight: 600; padding: 13px 18px; min-height: 50px;
  border: none; border-radius: 10px; background: var(--schoko); color: #fffdf8;
  cursor: pointer;
}
button:active { background: var(--fokus); }
.flash {
  background: #f6e0d8; border: 1px solid #d9a79b; color: #6d3a2c;
  border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px;
}
.hinweis { font-size: 12.5px; color: var(--text-hell); margin: 14px 0 0; }

/* ---------- Plan ---------- */
.stage { max-width: 560px; margin: 0 auto; padding: 12px 12px 16px; }
.topbar {
  display: flex; align-items: center; gap: 12px;
  background: var(--schoko); color: #fffdf8;
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px;
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6px); z-index: 5;
  box-shadow: 0 8px 22px rgba(59, 51, 42, 0.25);
}
.topbar .logo { width: 42px; height: 42px; border-radius: 8px; background: #fffdf8; padding: 3px; }
.topbar .who { flex: 1; min-width: 0; }
.topbar h1 { margin: 0; font-size: 17px; letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sub { margin: 2px 0 0; font-size: 12px; color: #d8ccb4; }
.topbar .logout {
  font-size: 12.5px; color: #e8dfc9; text-decoration: none;
  border: 1px solid rgba(232, 223, 201, 0.5); border-radius: 8px; padding: 7px 10px;
}
.tage { display: flex; flex-direction: column; gap: 7px; }
.tag-card {
  background: var(--card); border: 1px solid var(--rand);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 14px rgba(59, 51, 42, 0.08);
}
.tag-card.heute { border: 2px solid var(--akzent); box-shadow: 0 6px 18px rgba(138, 109, 59, 0.25); }
.tag-card.frei { opacity: 0.62; }
.tag-kopf {
  display: flex; align-items: baseline; gap: 10px;
  background: var(--beige-dunkel); padding: 6px 14px;
  border-bottom: 1px solid var(--rand);
}
.tag-name { font-weight: 700; font-size: 15px; }
.tag-datum { font-size: 12.5px; color: var(--text-hell); flex: 1; }
.heute-badge {
  background: var(--akzent); color: #fffdf8; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 3px 9px; letter-spacing: 0.5px;
}
.schichten { list-style: none; margin: 0; padding: 2px 0; }
.schicht { padding: 8px 14px; min-height: 44px; }
.schicht + .schicht { border-top: 1px dashed var(--rand-neu, #e4dbc7); }
.schicht-zeile { display: flex; align-items: center; gap: 10px; }
.schicht .slot { flex: 1; font-size: 15px; font-weight: 600; }
.schicht .zeit { font-size: 16px; font-weight: 700; color: var(--fokus); min-width: 52px; text-align: right; }
.fzg-info {
  margin-top: 3px; font-size: 12px; color: var(--text-hell);
  letter-spacing: 0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fzg-info.krank { font-style: italic; color: #a08676; }
.kurz {
  font-style: normal; font-size: 11px; font-weight: 700; color: #7a5c2e;
  background: var(--kurz-bg); border-radius: 999px; padding: 2px 8px; margin-left: 6px;
}
.dispo-pill {
  background: var(--schoko); color: #fffdf8; font-weight: 700; letter-spacing: 0.4px;
}
.frei-hinweis { margin: 0; padding: 7px 14px; font-size: 13.5px; color: var(--text-hell); font-style: italic; }
.fuss {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px);
  font-size: 12.5px; color: var(--text-hell); font-style: italic;
}
.login-stage .anouq-sig {
  text-align: center; margin-top: 14px;
  font-size: 11.5px; color: var(--text-hell); opacity: 0.75;
  letter-spacing: 0.04em; font-style: italic;
}
.fuss .anouq-sig {
  font-size: 11.5px; color: var(--text-hell); opacity: 0.75;
  letter-spacing: 0.04em;
}
.fuss button {
  font-size: 13px; min-height: 34px; padding: 6px 12px;
  background: transparent; color: var(--fokus); border: 1.5px solid var(--akzent);
}
.fuss button:active { background: var(--beige-dunkel); }
