/* =====================================================================
   Zeiterfassung – Timexio Design
   Helles, aufgeräumtes Corporate-Design. Teal-Akzent, klare Karten,
   viel Weißraum statt Glas-/Leucht-Effekten.
   ===================================================================== */
:root {
  color-scheme: light;
  --bg-0:      #F4F7F7;
  --bg-1:      #FFFFFF;
  --glass:     #FFFFFF;
  --glass-2:   #F6F9F9;
  --stroke:    #E1E8E8;
  --stroke-2:  #CDD9D9;
  --ink:       #16292B;
  --ink-soft:  #52686B;
  --ink-faint: #8CA0A2;
  --cyan:      #1D6FE0;
  --cyan-dim:  #1857B3;
  --amber:     #C4881E;
  --coral:     #D8483B;
  --violet:    #7C6FE0;
  --success:     #16A34A;
  --success-dim: #128A3E;
  --glow-cyan:  0 1px 2px rgba(29, 111, 224, 0.18);
  --glow-amber: 0 1px 2px rgba(196, 136, 30, 0.18);
  --glow-coral: 0 1px 2px rgba(216, 72, 59, 0.18);
  --glow-success: 0 1px 2px rgba(22, 163, 74, 0.18);
  --shadow: 0 2px 12px rgba(16, 41, 43, 0.07);
  --radius: 14px;
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-0:      #0A0D11;
  --bg-1:      #0E1217;
  --glass:     rgba(255, 255, 255, 0.035);
  --glass-2:   rgba(255, 255, 255, 0.06);
  --stroke:    rgba(255, 255, 255, 0.08);
  --stroke-2:  rgba(255, 255, 255, 0.14);
  --ink:       #E6EAED;
  --ink-soft:  #8D98A1;
  --ink-faint: #576068;
  --cyan:      #4C8DFF;
  --cyan-dim:  #2F6FE0;
  --amber:     #F5B843;
  --coral:     #FF6B5E;
  --violet:    #8B7BFF;
  --success:     #34D399;
  --success-dim: #1FAE7E;
  --glow-cyan:  0 1px 3px rgba(76, 141, 255, 0.22);
  --glow-amber: 0 1px 3px rgba(245, 184, 67, 0.20);
  --glow-coral: 0 1px 3px rgba(255, 107, 94, 0.20);
  --glow-success: 0 1px 3px rgba(52, 211, 153, 0.22);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.55; color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1100px 700px at 12% -8%, rgba(76, 141, 255, 0.035), transparent 60%),
    radial-gradient(900px 600px at 108% 12%, rgba(139, 123, 255, 0.035), transparent 55%),
    var(--bg-0);
  background-attachment: fixed;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h2, h3 { font-weight: 650; letter-spacing: -0.015em; margin: 0 0 .75rem; }
small { color: var(--ink-soft); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--success); }
.neg { color: var(--coral); }
.empty { color: var(--ink-faint); text-align: center; padding: 1.75rem !important; }
.center { text-align: center; }
.hint { color: var(--ink-soft); font-size: .85rem; }

.demo-banner {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap;
  padding: .55rem 1.25rem; text-align: center; font-size: .85rem; font-weight: 550;
  background: linear-gradient(90deg, #12B48C, #0E9C78); color: #fff;
}
.demo-banner strong { font-weight: 700; }
.demo-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; flex-shrink: 0; }
.demo-banner a:hover { opacity: .85; }

.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 248px; flex-shrink: 0;
  background: linear-gradient(180deg, #F2F8F7, #FBFCFC 220px);
  border-right: 1px solid var(--stroke);
  display: flex; flex-direction: column; padding: 1.1rem .85rem;
  position: sticky; top: 0; height: 100vh;
  --nav-text: var(--ink-soft);
  --nav-text-hover: var(--ink);
  --nav-group: var(--ink-faint);
}
html[data-theme="dark"] .sidebar {
  background: linear-gradient(180deg, #0F1318, #0A0D11);
  border-right: 1px solid rgba(255,255,255,0.07);
  --nav-text: #97A1AA;
  --nav-text-hover: #EDEFF2;
  --nav-group: #565F68;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.02rem; margin-bottom: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-mark {
  font-size: 1.1rem; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 10px; background: linear-gradient(135deg, var(--cyan) 0%, #29B6D8 45%, var(--violet) 100%);
  color: #FFFFFF; box-shadow: 0 3px 10px rgba(29, 111, 224,0.35), 0 1px 3px rgba(124,111,224,0.3); flex-shrink: 0;
}
html[data-theme="dark"] .brand-mark { color: #04110E; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-mark.big {
  width: 72px; height: 72px; font-size: 2rem; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(29, 111, 224,0.35), 0 4px 14px rgba(124,111,224,0.28);
}
.brand-mark.big svg { width: 40px; height: 40px; }
.nav { display: flex; flex-direction: column; gap: .04rem; flex: 1; overflow-y: auto; min-height: 0; padding-right: .2rem; }
.nav-group { margin: .7rem .6rem .25rem; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--nav-group); }
.nav-link {
  color: var(--nav-text); padding: .44rem .6rem; border-radius: 9px; font-weight: 500;
  display: flex; align-items: center; gap: .6rem; position: relative;
  transition: all .16s ease; font-size: .86rem; white-space: nowrap;
}
.nav-link span { overflow: hidden; text-overflow: ellipsis; }
.nav-ico { width: 17px; height: 17px; flex-shrink: 0; opacity: .85; }
.nav-link span { line-height: 1.2; }
.nav-link:hover { background: var(--glass-2); color: var(--nav-text-hover); text-decoration: none; }
.nav-link.active { background: rgba(29, 111, 224,0.1); color: var(--cyan); }
html[data-theme="dark"] .nav-link:hover { background: rgba(255,255,255,0.06); }
html[data-theme="dark"] .nav-link.active { background: linear-gradient(90deg, rgba(76, 141, 255,0.14), transparent); }
.nav-link.active .nav-ico { opacity: 1; }
.nav-link.active::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px; border-radius: 3px; background: var(--cyan); box-shadow: var(--glow-cyan);
}
.sidebar-footer { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; }
.btn-ghost {
  background: var(--glass-2); border: 1px solid var(--stroke); color: var(--ink-soft);
  border-radius: 10px; padding: .5rem .7rem; cursor: pointer; font: inherit; width: 100%;
  transition: all .16s ease;
}
.btn-ghost:hover { border-color: var(--stroke-2); color: var(--ink); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.75rem;
  background: var(--bg-1);
  border-bottom: 1px solid var(--stroke);
  position: sticky; top: 0; z-index: 5;
}
html[data-theme="dark"] .topbar {
  background: #0D1116;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.topbar-title { font-weight: 650; font-size: 1.05rem; flex: 1; letter-spacing: -0.01em; color: var(--ink); }
.topbar-user { font-size: .88rem; color: var(--ink-soft); display: flex; align-items: center; gap: .6rem; }
.topbar-user .badge { background: rgba(29, 111, 224,0.12); color: var(--cyan-dim); }
html[data-theme="dark"] .topbar-title { color: var(--ink); }
html[data-theme="dark"] .topbar-user { color: var(--ink-soft); }
html[data-theme="dark"] .topbar-user .badge { background: rgba(76, 141, 255,0.14); color: #CFF5EA; }
.burger { display: none; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 9px; font-size: 1.1rem; padding: .3rem .6rem; cursor: pointer; color: var(--ink); }

.notif-wrap { position: relative; }
.notif-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--stroke);
  background: var(--glass-2); color: var(--ink-soft); cursor: pointer; transition: all .16s ease;
}
.notif-bell svg { width: 18px; height: 18px; }
.notif-bell:hover { color: var(--ink); border-color: var(--stroke-2); }
.notif-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--coral); color: #fff; font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: var(--glow-coral);
}
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 330px; max-width: 90vw; max-height: 420px;
  overflow-y: auto; background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  backdrop-filter: blur(16px); box-shadow: var(--shadow); z-index: 30;
}
.notif-panel-head {
  padding: .8rem 1rem; font-weight: 650; font-size: .85rem; border-bottom: 1px solid var(--stroke); color: var(--ink);
}
.notif-empty { padding: 1.5rem 1rem; color: var(--ink-faint); font-size: .85rem; text-align: center; }
.notif-item { padding: .75rem 1rem; border-bottom: 1px solid var(--stroke); }
.notif-item:last-child { border-bottom: none; }
.notif-item.notif-unread { background: rgba(76, 141, 255,0.06); }
.notif-msg { font-size: .85rem; color: var(--ink); line-height: 1.4; }
.notif-time { font-size: .68rem; color: var(--ink-faint); margin-top: .3rem; }
@media (max-width: 480px) {
  .notif-panel { position: fixed; right: .75rem; left: .75rem; width: auto; top: 4.2rem; }
}
.content { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.4rem; max-width: 1640px; width: 100%; }

.card {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 1.4rem; backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); padding: .55rem .65rem; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
td { padding: .65rem .65rem; border-bottom: 1px solid var(--stroke); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: rgba(76, 141, 255, 0.035); }
.row-inactive td { opacity: .4; }
.actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.actions form { display: inline; }

.badge {
  display: inline-block; font-size: .68rem; font-weight: 600; padding: .16rem .55rem;
  border-radius: 999px; background: var(--glass-2); color: var(--ink-soft);
  border: 1px solid var(--stroke); white-space: nowrap;
}
.badge-in, .badge-approved { background: rgba(52,211,153,0.12); color: var(--success); border-color: rgba(52,211,153,0.3); }
.badge-break, .badge-warn, .badge-open { background: rgba(245,184,67,0.12); color: var(--amber); border-color: rgba(245,184,67,0.3); }
.badge-rejected { background: rgba(255,107,94,0.12); color: var(--coral); border-color: rgba(255,107,94,0.3); }
.badge-holiday { background: rgba(139,123,255,0.14); color: var(--violet); border-color: rgba(139,123,255,0.3); }

.alert {
  margin: 1rem 1.75rem 0; padding: .85rem 1.1rem; border-radius: 12px; font-size: .9rem;
  border: 1px solid var(--stroke); backdrop-filter: blur(12px);
}
.guest .alert, .pinpopup-body .alert { margin: 0 0 1rem; }
.alert-success { background: rgba(52,211,153,0.1);  color: var(--success);  border-color: rgba(52,211,153,0.3); }
.alert-error   { background: rgba(255,107,94,0.1);  color: var(--coral); border-color: rgba(255,107,94,0.3); }
.alert-info    { background: rgba(245,184,67,0.1);  color: var(--amber); border-color: rgba(245,184,67,0.3); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--glass-2); border: 1px solid var(--stroke); color: var(--ink);
  border-radius: 11px; padding: .55rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
  transition: all .16s ease;
}
.btn:hover { border-color: var(--stroke-2); background: var(--glass); text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border-color: transparent; color: #fff; box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border-color: transparent;
  filter: brightness(1.08); transform: translateY(-1px);
}
.btn-danger { color: var(--coral); border-color: rgba(255,107,94,0.35); }
.btn-danger:hover { background: rgba(255,107,94,0.1); }
.btn-small { padding: .3rem .65rem; font-size: .78rem; border-radius: 9px; }
.btn-block { width: 100%; }
.page-actions { display: flex; justify-content: flex-end; }

.form { display: flex; flex-direction: column; gap: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem 1.3rem; }
.span-2 { grid-column: span 2; }
.form-grid h3 { margin: .85rem 0 0; padding-bottom: .4rem; border-bottom: 1px solid var(--stroke); color: var(--cyan); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.inline-form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.inline-form .grow { flex: 1; min-width: 180px; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .82rem; font-weight: 600; }
.field small { font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; padding: .6rem .75rem;
  border: 1px solid var(--stroke); border-radius: 10px;
  background: rgba(7,11,14,0.5); color: var(--ink); min-width: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { background: rgba(255,255,255,0.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(76, 141, 255,0.15);
}
.btn:focus-visible, .stamp:focus-visible, a:focus-visible, .key:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}
.form-actions { display: flex; justify-content: flex-end; gap: .6rem; }
.form-narrow { max-width: 460px; }

.punch {
  position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 85% -20%, rgba(76, 141, 255,0.12), transparent 70%), var(--glass);
}
.punch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.punch-welcome { font-size: 1.35rem; margin-bottom: .1rem; letter-spacing: -0.02em; }
.punch-date { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.lamp { display: flex; align-items: center; gap: .55rem; font-weight: 650; font-size: .95rem; }
.lamp-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-faint); transition: all .3s ease; }
.punch[data-state="in"]    .lamp { color: var(--success); }
.punch[data-state="in"]    .lamp-dot { background: var(--success); box-shadow: var(--glow-success); animation: pulse 2.4s infinite; }
.punch[data-state="break"] .lamp { color: var(--amber); }
.punch[data-state="break"] .lamp-dot { background: var(--amber); box-shadow: var(--glow-amber); animation: pulse 2.4s infinite; }
.punch[data-state="done"]  .lamp { color: var(--ink-soft); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .lamp-dot { animation: none !important; } }

.clock {
  font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(3.2rem, 11vw, 6rem); letter-spacing: 0.01em; line-height: 1;
  margin: 1rem 0 1.25rem; color: var(--ink);
}
.punch[data-state="in"]    .clock { color: var(--success-dim); }
.punch[data-state="break"] .clock { color: var(--amber); }
html[data-theme="dark"] .clock { text-shadow: 0 0 30px rgba(76, 141, 255, 0.25); }
html[data-theme="dark"] .punch[data-state="in"]    .clock { color: #EAFFF9; text-shadow: 0 0 40px rgba(52,211,153,0.45); }
html[data-theme="dark"] .punch[data-state="break"] .clock { text-shadow: 0 0 40px rgba(245,184,67,0.4); }

.punch-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.stamp {
  font: inherit; font-weight: 650; font-size: 1rem; padding: 1.05rem .5rem; border-radius: 13px;
  cursor: pointer; border: 1px solid var(--stroke); background: var(--glass-2); color: var(--ink);
  transition: all .14s ease; backdrop-filter: blur(8px);
}
.stamp:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--stroke-2); }
.stamp:active:not(:disabled) { transform: translateY(0); }
.stamp:disabled { opacity: .3; cursor: not-allowed; }
.stamp-in { background: linear-gradient(135deg, var(--success), var(--success-dim)); border-color: transparent; color: #fff; box-shadow: var(--glow-success); }
.stamp-out { background: linear-gradient(135deg, var(--coral), #D8483B); border-color: transparent; color: #fff; box-shadow: var(--glow-coral); }
.stamp-break { color: var(--amber); border-color: rgba(245,184,67,0.35); background: rgba(245,184,67,0.08); }
.stamp-break:hover:not(:disabled) { background: rgba(245,184,67,0.14); }
.punch-error { color: var(--coral); font-weight: 600; margin: .7rem 0 0; }
.punch-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin: 1.4rem 0 0; }
.punch-stats > div { border-top: 1px solid var(--stroke); padding-top: .6rem; }
.punch-stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.punch-stats dd { margin: .15rem 0 0; font-family: var(--font-mono); font-size: 1.2rem; font-weight: 600; }

.dashboard-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 1100px) { .dashboard-row { grid-template-columns: 1fr; } }

.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.75rem; margin-top: .5rem; }
.overview-card-compact .overview-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.1rem; }
.overview-card-compact .donut { width: 92px; height: 92px; margin-bottom: .75rem; }
.overview-card-compact .donut-hole { inset: 12px; }
.overview-card-compact .donut-value { font-size: 1rem; }
.overview-card-compact .donut-caption { font-size: .54rem; }
.overview-card-compact .overview-col-title { font-size: .74rem; margin-bottom: .6rem; }
.overview-card-compact .overview-legend-item { font-size: .72rem; gap: .35rem; }
.overview-card-compact .overview-anniv-avatar { width: 28px; height: 28px; font-size: .68rem; }
.overview-card-compact .overview-anniv-name { font-size: .78rem; }
.overview-card-compact .overview-anniv-sub { font-size: .66rem; }
.overview-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.overview-col-title { margin: 0 0 1rem; font-size: .85rem; font-weight: 650; color: var(--ink); align-self: flex-start; }
.donut {
  width: 140px; height: 140px; border-radius: 50%; position: relative; margin-bottom: 1.1rem;
}
.donut-hole {
  position: absolute; inset: 18px; border-radius: 50%; background: var(--bg-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--stroke);
}
.donut-value { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.donut-caption { font-size: .62rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; margin-top: .15rem; }
.overview-legend { display: flex; flex-direction: column; gap: .4rem; align-self: stretch; }
.overview-legend-item {
  display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-soft);
  justify-content: center;
}
.overview-legend-item strong { margin-left: auto; color: var(--ink); font-family: var(--font-mono); }
.overview-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.overview-anniv-list { display: flex; flex-direction: column; gap: .7rem; width: 100%; text-align: left; }
.overview-anniv-item { display: flex; align-items: center; gap: .7rem; }
.overview-anniv-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; font-size: .78rem; font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.overview-anniv-name { font-size: .85rem; font-weight: 600; color: var(--ink); }
.overview-anniv-sub { font-size: .74rem; color: var(--ink-faint); }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 1rem; }
.kpi {
  display: flex; flex-direction: column; gap: .25rem; padding: 1.15rem; position: relative; overflow: hidden;
  border-top: 3px solid var(--stroke-2);
}
.kpi::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle, rgba(140,160,162,0.10), transparent 70%);
}
.kpi-value { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.02em; }
.kpi-label { font-size: .76rem; color: var(--ink-soft); }

.kpi-cyan   { border-top-color: var(--cyan); }
.kpi-cyan   .kpi-value { color: var(--cyan-dim); }
.kpi-cyan::after   { background: radial-gradient(circle, rgba(29, 111, 224,0.14), transparent 70%); }
.kpi-amber  { border-top-color: var(--amber); }
.kpi-amber  .kpi-value { color: var(--amber); }
.kpi-amber::after  { background: radial-gradient(circle, rgba(196,136,30,0.14), transparent 70%); }
.kpi-violet { border-top-color: var(--violet); }
.kpi-violet .kpi-value { color: var(--violet); }
.kpi-violet::after { background: radial-gradient(circle, rgba(124,111,224,0.14), transparent 70%); }
.kpi-coral  { border-top-color: var(--coral); }
.kpi-coral  .kpi-value { color: var(--coral); }
.kpi-coral::after  { background: radial-gradient(circle, rgba(216,72,59,0.14), transparent 70%); }
.kpi-neutral { border-top-color: var(--stroke-2); }
.kpi-warn .kpi-value { color: var(--coral); }
.kpi-warn { border-top-color: var(--coral); }
.kpi-warn::after { background: radial-gradient(circle, rgba(216,72,59,0.14), transparent 70%); }

.chart { display: flex; align-items: flex-end; gap: .45rem; height: 170px; padding-top: .5rem; }
.chart-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .35rem; height: 100%; }
.chart-bar {
  width: 100%; max-width: 42px; min-height: 3px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--cyan-dim));
  box-shadow: 0 0 16px rgba(76, 141, 255,0.35); transition: height .4s ease;
}
.chart-label { font-size: .66rem; color: var(--ink-faint); font-family: var(--font-mono); }
.pager { display: flex; justify-content: space-between; margin-top: 1rem; }
.ua { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live-status-search { margin: .75rem 0 1.1rem; }
.live-status-search input {
  font: inherit; width: 100%; padding: .6rem .8rem; border: 1px solid var(--stroke); border-radius: 10px;
  background: rgba(7,11,14,0.5); color: var(--ink);
}
html[data-theme="light"] .live-status-search input { background: rgba(255,255,255,0.6); }
.live-status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; align-items: start; }
.live-status-col-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.live-status-count { font-size: .8rem; color: var(--ink-faint); font-family: var(--font-mono); }
.live-status-item {
  display: flex; align-items: center; justify-content: flex-start; gap: .7rem;
  padding: .55rem 0; border-bottom: 1px solid var(--stroke);
}
.live-status-item:last-child { border-bottom: none; }
.live-status-name { font-size: .88rem; font-weight: 600; }
.live-status-dept { font-size: .74rem; color: var(--ink-faint); }
.live-status-time { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }

.tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--stroke); }
.tab {
  padding: .6rem .95rem; color: var(--ink-soft); font-weight: 600;
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: .45rem;
  transition: color .16s ease;
}
.tab:hover { color: var(--ink); text-decoration: none; }
.tab-active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-count { background: var(--glass-2); color: var(--ink-soft); border: 1px solid var(--stroke); border-radius: 999px; padding: .05rem .5rem; font-size: .76rem; }
.tab-active .tab-count { background: rgba(76, 141, 255,0.14); color: var(--cyan); border-color: rgba(76, 141, 255,0.3); }
button.tab { background: none; border: none; border-bottom: 2px solid transparent; font: inherit; cursor: pointer; }
.settings-tabs { flex-wrap: wrap; }
.settings-panel { margin-top: 1.4rem; }
.settings-panel[hidden] { display: none !important; }
#settings-form[hidden] { display: none !important; }
.settings-panel:not(.form-grid) { display: flex; flex-direction: column; gap: 1.4rem; }
.settings-panel:not(.form-grid)[hidden] { display: none !important; }

/* ------------------------- Eigener Datums-Kalender (ersetzt natives <input type="date">) ------------------------- */
.dp-wrap { position: relative; width: 100%; }
.dp-display {
  width: 100%; cursor: pointer; padding-right: 2.4rem !important;
}
.dp-display:disabled, .dp-display.dp-display-disabled { opacity: .45; cursor: not-allowed; }
.dp-icon {
  position: absolute; right: .65rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.dp-icon svg { width: 100%; height: 100%; }
.dp-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: 300px;
  background: var(--bg-1); border: 1px solid var(--stroke); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .9rem;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.dp-nav {
  background: none; border: none; font-size: 1.3rem; line-height: 1; color: var(--ink-soft);
  cursor: pointer; padding: .2rem .5rem; border-radius: 6px; font-family: inherit;
}
.dp-nav:hover { background: var(--glass-2); color: var(--ink); }
.dp-label { font-weight: 650; font-size: .9rem; color: var(--ink); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp-wd { font-size: .66rem; color: var(--ink-faint); padding: .3rem 0; font-weight: 600; }
.dp-day {
  font: inherit; font-size: .82rem; padding: .45rem 0; border: none; background: none;
  border-radius: 8px; cursor: pointer; color: var(--ink);
}
.dp-day:hover { background: var(--glass-2); }
.dp-day-muted { color: var(--ink-faint); opacity: .5; cursor: default; }
.dp-day-muted:hover { background: none; }
.dp-day-weekend { color: var(--coral); }
.dp-day-today { box-shadow: inset 0 0 0 1px var(--cyan); font-weight: 700; }
.dp-day-selected { background: var(--cyan); color: #fff; font-weight: 700; }
.dp-day-selected:hover { background: var(--cyan-dim); }
.dp-foot { display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--stroke); }
.dp-foot-btn { font: inherit; font-size: .8rem; background: none; border: none; color: var(--cyan-dim); cursor: pointer; font-weight: 600; padding: .2rem .3rem; }
.dp-foot-btn:hover { text-decoration: underline; }

/* ------------------------- Bestätigungs-Modal (ersetzt System-confirm) ------------------------- */
.confirm-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(22, 41, 43, 0.45); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.confirm-overlay.show { opacity: 1; pointer-events: auto; }
.confirm-card {
  background: var(--bg-1); border: 1px solid var(--stroke); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(16,41,43,0.25); padding: 1.6rem 1.5rem; max-width: 380px; width: 100%;
  transform: scale(.96); transition: transform .18s ease;
}
.confirm-overlay.show .confirm-card { transform: scale(1); }
.confirm-title { display: flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--amber); margin-bottom: 1rem; }
.confirm-title svg { width: 16px; height: 16px; flex-shrink: 0; }
.confirm-msg { font-size: .98rem; color: var(--ink); font-weight: 600; margin: 0 0 1.5rem; line-height: 1.45; }
.confirm-actions { display: flex; justify-content: flex-end; gap: .6rem; }
@media (prefers-reduced-motion: reduce) { .confirm-overlay, .confirm-card { transition: none; } }

.vac-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; width: 100%; }
.kpi-highlight { border-color: rgba(76, 141, 255,0.35); }
.kpi-highlight .kpi-value { color: var(--cyan); text-shadow: 0 0 20px rgba(76, 141, 255,0.4); }
.pin-emp { margin: 0 0 1rem; font-size: 1.05rem; }
.pin-emp .mono { color: var(--ink-soft); margin-left: .4rem; font-size: .9rem; }

body.guest {
  display: grid; place-items: center; min-height: 100vh; padding: 1.5rem;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(76, 141, 255,0.14), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(139,123,255,0.12), transparent 55%),
    var(--bg-0);
}
.guest-wrap { width: 100%; max-width: 400px; }
.guest-brand { text-align: center; margin-bottom: 1.75rem; }
.guest-brand .brand-mark { margin: 0 auto 1rem; }
.guest-title {
  margin: .3rem 0 0; font-size: 1.7rem; letter-spacing: -0.02em; font-weight: 800;
  background: linear-gradient(120deg, var(--cyan-dim) 0%, #1AA0C9 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.guest-sub { margin: .3rem 0 0; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; }
.guest-card {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 1.75rem; backdrop-filter: blur(16px); box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .sidebar { position: fixed; z-index: 20; height: 100vh; left: 0; top: 0; transform: translateX(-100%); transition: transform .22s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 0 100vmax rgba(0,0,0,.55); }
  .burger { display: block; }
  .content { padding: 1.1rem; }
  .punch-buttons { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .inline-form { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .punch-buttons { grid-template-columns: 1fr; }
  .topbar-user .badge { display: none; }
}

/* ------------------------- Abwesenheits-Modul ------------------------- */
.type-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: .45rem; vertical-align: middle; }
.checkbox-field { flex-direction: row; align-items: center; gap: .6rem; font-weight: 500; }
.checkbox-field input { width: 18px; height: 18px; accent-color: var(--cyan); flex-shrink: 0; }

/* Kalender */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; gap: 1rem; }
.cal-wrap { overflow-x: auto; }
.cal-table { border-collapse: collapse; font-size: .8rem; }
.cal-table th, .cal-table td { border: 1px solid var(--stroke); padding: 0; text-align: center; }
.cal-name { text-align: left !important; padding: .5rem .7rem !important; white-space: nowrap; position: sticky; left: 0; background: var(--glass-2); backdrop-filter: blur(12px); font-weight: 600; min-width: 160px; }
.cal-day { width: 30px; min-width: 30px; padding: .35rem 0 !important; }
.cal-wd { display: block; font-size: .6rem; color: var(--ink-faint); }
.cal-num { display: block; font-family: var(--font-mono); font-weight: 600; }
.cal-we { background: rgba(120,200,210,0.05); }
.cal-cell { height: 34px; }
.cal-mark { display: inline-block; width: 20px; height: 20px; border-radius: 6px; }
.cal-pending { opacity: .4; }
.cal-row-own td { background: rgba(29, 111, 224,0.08); }
.cal-row-own .cal-name { background: rgba(29, 111, 224,0.14); color: var(--cyan); }
html[data-theme="dark"] .cal-row-own td { background: rgba(76, 141, 255,0.08); }
html[data-theme="dark"] .cal-row-own .cal-name { background: rgba(76, 141, 255,0.14); }

.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--stroke); }
.cal-legend-item { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--ink-soft); }
.cal-legend-dot { width: 13px; height: 13px; border-radius: 4px; flex-shrink: 0; }
.cal-legend-item-pending { color: var(--ink-faint); }

/* ------------------------- Auswertung / Report ------------------------- */
.report-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.row-we td { color: var(--ink-faint); }
.report-empty { color: var(--ink-faint); font-size: .85rem; }
.report-sum td { font-weight: 700; border-top: 2px solid var(--stroke-2); background: rgba(76, 141, 255,0.04); }
tfoot td { padding: .7rem .65rem; }

/* ------------------------- Zeitkorrektur (Ist/Wunsch-Gegenüberstellung) ------------------------- */
.corr-compare { display: flex; align-items: stretch; gap: 1rem; margin: 1.25rem 0; flex-wrap: wrap; }
.corr-col { flex: 1; min-width: 200px; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 12px; padding: 1rem 1.15rem; }
.corr-col-old { opacity: .85; }
.corr-col-new { border-color: rgba(76, 141, 255,0.35); }
.corr-col-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: .6rem; }
.corr-col-new .corr-col-head { color: var(--cyan); }
.corr-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .35rem 0; border-bottom: 1px solid var(--stroke); }
.corr-row:last-child { border-bottom: none; }
.corr-row > span:first-child { color: var(--ink-soft); font-size: .85rem; }
.corr-col-new .corr-row input { width: 120px; font: inherit; padding: .4rem .6rem; border: 1px solid var(--stroke); border-radius: 8px; background: rgba(7,11,14,0.5); color: var(--ink); }
html[data-theme="light"] .corr-col-new .corr-row input { background: rgba(255,255,255,0.6); }
.corr-arrow { display: flex; align-items: center; font-size: 1.6rem; color: var(--cyan); }
.corr-hl { color: var(--cyan); font-weight: 600; }

/* Admin-Karten pro Antrag */
.corr-card { border: 1px solid var(--stroke); border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: 1rem; background: var(--glass); }
.corr-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.corr-compare-admin { margin: .9rem 0; }
.corr-reason { margin: .3rem 0 .8rem; font-size: .9rem; color: var(--ink-soft); }
.corr-decide { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.corr-note { flex: 1; min-width: 200px; font: inherit; padding: .5rem .7rem; border: 1px solid var(--stroke); border-radius: 9px; background: rgba(7,11,14,0.5); color: var(--ink); }
html[data-theme="light"] .corr-note { background: rgba(255,255,255,0.6); }
@media (max-width: 640px) { .corr-arrow { transform: rotate(90deg); justify-content: center; } }

/* Zeitkorrektur: Kennzeichnungen */
.corr-auto-tag {
  display: inline-block; font-size: .66rem; font-weight: 600; padding: .1rem .45rem;
  border-radius: 999px; background: rgba(245,184,67,0.15); color: var(--amber);
  border: 1px solid rgba(245,184,67,0.35); margin-left: .35rem; vertical-align: middle;
  text-transform: none; letter-spacing: 0; font-family: var(--font-body);
}
.corr-empty-note {
  font-size: .9rem; color: var(--ink-soft); padding: .8rem; border-radius: 10px;
  background: rgba(245,184,67,0.08); border: 1px solid rgba(245,184,67,0.25);
}

/* ------------------------- Landingpage (öffentliche Startseite) ------------------------- */
.landing-body {
  background:
    radial-gradient(38vw 32vw at 48% 6%, rgba(76, 141, 255, 0.20), transparent 68%),
    radial-gradient(64vw 50vw at -10% -14%, rgba(29, 111, 224, 0.42), transparent 66%),
    radial-gradient(60vw 50vw at 110% -10%, rgba(124, 111, 224, 0.38), transparent 66%),
    radial-gradient(52vw 44vw at 106% 64%, rgba(216, 72, 59, 0.22), transparent 66%),
    radial-gradient(56vw 46vw at -8% 106%, rgba(196, 136, 30, 0.28), transparent 66%),
    var(--bg-0);
  background-attachment: fixed;
}
.landing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5vw; position: sticky; top: 0; z-index: 10;
  background: var(--glass); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke);
}
.landing-nav-brand { display: flex; align-items: center; gap: .6rem; font-weight: 750; color: var(--ink); }
.landing-nav-brand:hover { text-decoration: none; }
.landing-nav-name {
  font-size: 1.1rem; letter-spacing: -0.01em; font-weight: 800;
  background: linear-gradient(120deg, var(--cyan-dim) 0%, #1AA0C9 45%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.landing-nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1.5rem; }
.landing-nav-links a { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.landing-nav-links a:hover { color: var(--ink); text-decoration: none; }

.landing-nav-burger {
  display: none; background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 9px;
  font-size: 1.1rem; padding: .35rem .65rem; cursor: pointer; color: var(--ink); margin-right: .75rem;
}

.landing-nav-login { position: relative; }
.landing-nav-login-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 260px; max-width: 90vw;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  backdrop-filter: blur(16px); box-shadow: var(--shadow); padding: 1rem; z-index: 30;
}
.landing-nav-login-panel .tenant-login-form { display: flex; gap: .5rem; }
.landing-nav-login-panel input {
  flex: 1; min-width: 0; font: inherit; padding: .5rem .65rem; border: 1px solid var(--stroke);
  border-radius: 9px; background: rgba(7,11,14,0.5); color: var(--ink);
}
html[data-theme="light"] .landing-nav-login-panel input { background: rgba(255,255,255,0.6); }

.landing-alert { max-width: 640px; margin: 1.25rem auto 0 !important; }

.landing-hero {
  max-width: 900px; margin: 0 auto; padding: 5rem 1.5rem 2rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.landing-badge {
  display: inline-block; padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
  background: rgba(76, 141, 255,0.12); border: 1px solid rgba(76, 141, 255,0.3); color: var(--cyan);
  font-size: .78rem; font-weight: 650; letter-spacing: .04em;
}
.landing-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 1.1rem; font-weight: 700;
}
.landing-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 1.75rem; }
.landing-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; align-items: stretch; margin-bottom: 1rem; }
.landing-demo-form { margin: 0; display: contents; }
.landing-demo-hint { font-size: .82rem; color: var(--ink-faint); margin: 0 0 2.5rem; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; border-radius: 12px; }

.landing-preview {
  width: 100%; max-width: 640px; border-radius: 18px; overflow: hidden;
  background: var(--bg-1); border: 1px solid var(--stroke);
  box-shadow: 0 24px 60px -20px rgba(16, 41, 43, 0.28), 0 4px 14px rgba(16, 41, 43, 0.08);
}
.landing-preview-bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--stroke); }
.landing-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-faint); flex-shrink: 0; }
.landing-dot-r { background: var(--coral); }
.landing-dot-y { background: var(--amber); }
.landing-dot-g { background: var(--cyan); }
.landing-preview-url {
  margin: 0 auto; max-width: 220px; text-align: center; font-size: .72rem; font-family: var(--font-mono);
  color: var(--ink-faint); background: var(--glass-2); border: 1px solid var(--stroke);
  border-radius: 999px; padding: .22rem .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.landing-preview-body { padding: 1.5rem; text-align: left; }
.landing-preview .punch { padding: 1.4rem; }
.landing-preview .stamp { cursor: default; }

/* ------------------------- Showcase (Admin- & Kiosk-Mockups) ------------------------- */
.landing-showcase { position: relative; isolation: isolate; max-width: 1080px; margin: 0 auto; padding: 1rem 1.5rem 4rem; display: flex; flex-direction: column; gap: 5rem; }
.landing-showcase::before,
.landing-showcase::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.landing-showcase::before {
  width: 480px; height: 480px; top: -6%; left: -14%;
  background: radial-gradient(circle, rgba(29, 111, 224,0.22), transparent 70%);
}
.landing-showcase::after {
  width: 520px; height: 520px; bottom: -4%; right: -16%;
  background: radial-gradient(circle, rgba(124,111,224,0.20), transparent 70%);
}
.landing-showcase-row { position: relative; z-index: 1; }
.landing-showcase-row::before {
  content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92%; height: 92%; border-radius: 40px; filter: blur(50px); pointer-events: none;
  background: radial-gradient(circle, rgba(196,136,30,0.14), transparent 72%);
}
.landing-showcase-row-rev::before {
  background: radial-gradient(circle, rgba(216,72,59,0.13), transparent 72%);
}
.landing-showcase-row { display: flex; align-items: center; gap: 3rem; }
.landing-showcase-row-rev { flex-direction: row-reverse; }
.landing-showcase-text { flex: 1; min-width: 260px; }
.landing-showcase-media { flex: 1.15; min-width: 280px; }
.landing-showcase-text h2 { font-size: 1.6rem; letter-spacing: -0.015em; margin: .7rem 0 .8rem; }
.landing-showcase-text p { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; margin: 0 0 1.15rem; }
.landing-showcase-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.landing-showcase-list li { font-size: .88rem; color: var(--ink-soft); padding-left: 1.5rem; position: relative; }
.landing-showcase-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.landing-badge-violet { background: rgba(124,111,224,0.12); border-color: rgba(124,111,224,0.3); color: var(--violet); }
.landing-badge-amber  { background: rgba(196,136,30,0.12); border-color: rgba(196,136,30,0.3); color: var(--amber); }

.landing-mock-kpis { grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.3rem; }
.landing-mock-kpis .kpi { padding: .75rem; }
.landing-mock-kpis .kpi-value { font-size: 1.25rem; }
.landing-mock-kpis .kpi-label { font-size: .64rem; }
.landing-mock-chart { height: 90px; gap: .3rem; }

.landing-preview-kiosk { display: flex; flex-direction: column; }
.landing-kiosk-mock-top {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; background: linear-gradient(180deg, #FFFFFF, #F7FAFA); border-bottom: 3px solid var(--cyan);
}
.landing-kiosk-mock-brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .9rem; color: var(--ink); }
.landing-kiosk-mock-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.landing-kiosk-mock-brand .brand-mark svg { width: 15px; height: 15px; }
.landing-kiosk-mock-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.landing-kiosk-mock-pill { font-size: .66rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.landing-kiosk-mock-pill-in { background: rgba(22,163,74,0.14); color: var(--success-dim); }
.landing-kiosk-mock-pill-break { background: rgba(196,136,30,0.14); color: var(--amber); }
.landing-kiosk-mock-clock { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.landing-kiosk-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: 1.25rem; }
.landing-kiosk-mock-emp {
  background: var(--glass-2); border: 1px solid var(--stroke); border-radius: 12px; padding: .85rem .5rem;
  text-align: center; font-size: .76rem; font-weight: 600; color: var(--ink);
}
.landing-kiosk-mock-emp-avatar {
  width: 32px; height: 32px; margin: 0 auto .45rem; border-radius: 50%; font-size: .74rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 760px) {
  .landing-showcase-row, .landing-showcase-row-rev { flex-direction: column; }
  .landing-mock-kpis { grid-template-columns: repeat(2, 1fr); }
}

.landing-h2 {
  text-align: center; font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.015em;
  margin: 0 0 2.5rem;
}
.landing-steps, .landing-features, .landing-final { max-width: 1080px; margin: 0 auto; padding: 4rem 1.5rem; }
.landing-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.landing-step {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 1.75rem; backdrop-filter: blur(12px);
}
.landing-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: #fff; font-weight: 700; margin-bottom: 1rem; box-shadow: var(--glow-cyan);
}
.landing-step h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.landing-step p { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

.landing-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.landing-feature {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 1.5rem;
}
.landing-feature-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; margin-bottom: .9rem;
}
.landing-feature-ico svg { width: 20px; height: 20px; }
.landing-feature-ico-cyan   { background: rgba(29, 111, 224,0.12); color: var(--cyan-dim); }
.landing-feature-ico-amber  { background: rgba(196,136,30,0.12); color: var(--amber); }
.landing-feature-ico-violet { background: rgba(124,111,224,0.12); color: var(--violet); }
.landing-feature-ico-coral  { background: rgba(216,72,59,0.12); color: var(--coral); }
.landing-feature h3 { margin: 0 0 .35rem; font-size: .98rem; }
.landing-feature p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }

.landing-final { text-align: center; padding-bottom: 6rem; }

.landing-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem 3rem;
  color: var(--ink-faint); font-size: .82rem; border-top: 1px solid var(--stroke);
}
.landing-footer-links { display: flex; gap: 1.1rem; }
.landing-footer-links a { color: var(--ink-faint); }
.landing-footer-links a:hover { color: var(--ink-soft); }

/* ------------------------- Preisseite ------------------------- */
.landing-pricing { max-width: 1080px; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.landing-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.landing-plan {
  display: flex; flex-direction: column; position: relative;
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 2rem 1.75rem; backdrop-filter: blur(12px);
}
.landing-plan-highlight { border-color: rgba(76, 141, 255,0.4); box-shadow: var(--glow-cyan); }
.landing-plan-badge {
  position: absolute; top: -12px; right: 1.5rem; padding: .25rem .7rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: #fff;
  font-size: .7rem; font-weight: 700;
}
.landing-plan h3 { font-size: 1.2rem; margin: 0 0 .6rem; }
.landing-plan-price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .3rem; }
.landing-plan-amount { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; }
.landing-plan-period { color: var(--ink-faint); font-size: .85rem; }
.landing-plan-limit { color: var(--ink-soft); font-size: .85rem; margin: 0 0 1.4rem; }
.landing-plan-features { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.landing-plan-features li { font-size: .88rem; color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.landing-plan-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700;
}
.landing-pricing-note { text-align: center; color: var(--ink-faint); font-size: .82rem; margin-top: 2rem; }

/* ------------------------- Impressum / Rechtliches ------------------------- */
.landing-legal { max-width: 720px; margin: 0 auto; padding: 1rem 1.5rem 5rem; }
.landing-legal-box {
  background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 2rem; backdrop-filter: blur(12px);
}
.landing-legal-box h3 { font-size: .95rem; color: var(--cyan); margin: 1.5rem 0 .5rem; }
.landing-legal-box h3:first-child { margin-top: 0; }
.landing-legal-box p { color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin: 0; }
.landing-legal-warning {
  background: rgba(245,184,67,0.1); border: 1px solid rgba(245,184,67,0.3); color: var(--amber) !important;
  border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: 1.5rem !important; font-size: .85rem !important;
}
.landing-legal-warning code { font-family: var(--font-mono); font-size: .82em; }

@media (max-width: 640px) {
  .landing-nav-burger { display: inline-flex; align-items: center; }
  .landing-nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--stroke); box-shadow: var(--shadow);
    padding: .4rem 1.25rem;
  }
  .landing-nav-links.open { display: flex; }
  .landing-nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--stroke); }
  .landing-nav-links a:last-child { border-bottom: none; }
  .landing-nav { padding: 1rem 1.25rem; }
  .landing-hero { padding: 3rem 1.25rem 1.5rem; }
  .landing-footer { flex-direction: column; text-align: center; }
}

