:root{
  --bg:#071321;
  --card:#0b1b2b;
  --text:#e9f1ff;
  --muted:rgba(233,241,255,.72);
  --line:rgba(233,241,255,.14);
  --accent:#ff7a00;
  --danger:#ff3b3b;
  --ok:#19c37d;
}
*{box-sizing:border-box}
html,body{height:100%}

/* Page backgrounds (images) */
.page{
  min-height:100vh;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:fixed;
}
.page--landing,
.page--calendar{
  background-image:
    linear-gradient(180deg, rgba(7,18,32,.68), rgba(7,18,32,.60)),
    url("../images/Urlaubsbuchung.png");
}
.page--form{
  background-image:
    linear-gradient(180deg, rgba(7,18,32,.70), rgba(7,18,32,.62)),
    url("../images/Urlaubsantrag.png");
}

/* Calendar range switch */
.range{display:flex;gap:8px;align-items:center}
.range__btn{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:700;
}
.range__btn[aria-pressed="true"]{
  border-color:rgba(255,122,0,.55);
  box-shadow:0 0 0 3px rgba(255,122,0,.12);
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:radial-gradient(1100px 700px at 20% 10%, rgba(255,122,0,.18), transparent 60%),
             radial-gradient(900px 600px at 80% 40%, rgba(25,195,125,.12), transparent 55%),
             var(--bg);
  color:var(--text);
}
a{color:inherit}
.container{max-width:1040px;margin:0 auto;padding:16px}
.header{
  position:sticky;top:0;z-index:10;
  background:rgba(11,27,43,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.brand__title{font-weight:800;letter-spacing:.2px}
.brand__sub{font-size:12px;color:var(--muted)}
.lang{display:flex;gap:8px;align-items:center}
.lang__btn{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:10px;
  padding:7px 10px;
  cursor:pointer;
}
.lang__btn[aria-pressed="true"]{
  border-color:rgba(255,122,0,.55);
  box-shadow:0 0 0 3px rgba(255,122,0,.12);
}
.card{
  background:rgba(11,27,43,.92);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
}
.muted{color:var(--muted)}
.req{color:var(--accent);font-weight:700}
.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
@media(max-width:800px){.grid{grid-template-columns:1fr}}
.field label{display:block;font-weight:650;margin-bottom:6px}
.field input,.field select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.field input:focus,.field select:focus{
  border-color:rgba(255,122,0,.55);
  box-shadow:0 0 0 3px rgba(255,122,0,.12);
}
.help{font-size:12px;color:var(--muted);margin-top:6px}
.field-error{
  min-height:16px;
  margin-top:6px;
  font-size:12px;
  color:var(--danger);
}
.sep{border:none;border-top:1px solid var(--line);margin:18px 0}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.btn{
  border:none;
  background:var(--accent);
  color:#120a03;
  font-weight:800;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn--secondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.status{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  color:var(--muted);
}
.status.ok{border-color:rgba(25,195,125,.35);color:rgba(25,195,125,.95)}
.status.err{border-color:rgba(255,59,59,.35);color:rgba(255,59,59,.95)}
.sig__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.sig__pad{
  width:100%;
  border-radius:12px;
  border:1px dashed rgba(233,241,255,.22);
  background:rgba(0,0,0,.12);
  margin-top:10px;
  touch-action:none;
}
.hero-wrap{min-height:calc(100vh - 80px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.hero h1{margin:0 0 8px 0}
.company-block{display:flex;flex-direction:column;align-items:center;gap:10px}
.company-name{opacity:.92;font-weight:700}
.company-logo{max-width:260px;width:100%;height:auto;opacity:.95}
.footer{
  position:fixed;
  bottom:12px;
  left:16px;
  font-size:12px;
  color:#fff;
  opacity:.75;
}
.footer a{text-decoration:underline}
.calendar{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.cal-row{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  background:rgba(255,255,255,.02);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:3px 10px;
  border:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.badge.pending{border-color:rgba(255,59,59,.35);color:rgba(255,59,59,.95)}
.badge.approved{border-color:rgba(25,195,125,.35);color:rgba(25,195,125,.95)}
.cal-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between}
