:root{
  --brand:#0CB8B6;
  --ink:#202B34;
  --muted:#5F6B73;
  --line:rgba(12,184,182,.14);
}

/* BASE */
body{
  margin:0;
  height:100vh;
  background:linear-gradient(135deg,#F7FCFC,#EEF9F9);
  font-family:'Montserrat',sans-serif;
  color:var(--ink);
  overflow:hidden;
}
body#index{
  margin:0;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#F7FCFC,#EEF9F9);
  font-family:'Montserrat',sans-serif;
  color:var(--ink);
  overflow:hidden;
}

.topnav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(14px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 30px;
  z-index:1000;
  border-bottom:1px solid var(--line);
}

.nav-center a{
  margin:0 15px;
  text-decoration:none;
  color:var(--ink);
  font-weight:600;
}

.nav-center a:hover{
  color:var(--brand);
}

.nav-right{
  display:flex;
  align-items:center;
  gap:15px;
}

/* HEX BACKGROUND */
.bg-hex{
  position:fixed;
  pointer-events:none;
  z-index:0;
  opacity:0.32;
}

	.hex-a{
	  width:420px;
	  height:420px;
	  top:-120px;
	  right:-120px;
	  background:linear-gradient(135deg, rgba(12,184,182,.35), rgba(122,209,226,.12));
	  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
	  transform:rotate(-18deg);
	}

	.hex-b{
	  width:260px;
	  height:260px;
	  bottom:-100px;
	  left:-80px;
	  background:linear-gradient(135deg, rgba(188,232,240,.9), rgba(133,219,218,.4));
	  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
	  transform:rotate(22deg);
	}

	.hex-c{
	  width:460px;
	  height:460px;
	  top:20%;
	  left:22%;
	  background:linear-gradient(135deg, rgba(252,219,104,.6), rgba(252,219,104,.2));
	  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
	  transform:rotate(8deg);
	}
	
	.hex-d{
	  width:320px;
	  height:320px;
	  top:-80px;
	  left:-120px;
	  background:linear-gradient(135deg, rgba(12,184,182,.35), rgba(133,219,218,.15));
	  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
	  transform:rotate(12deg);
	}
	
	.hex-e{
	  width:380px;
	  height:380px;
	  top:35%;
	  left:10%;
	  background:linear-gradient(135deg, rgba(188,232,240,.6), rgba(133,219,218,.2));
	  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
	  transform:rotate(-15deg);
	}

/* CARD */
.glass-card{
  border-radius:28px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(18px);
  border:1px solid var(--line);
  box-shadow:0 30px 80px rgba(32,43,52,.12);
}

/* BUTTON */
.btn-brand{
  background:linear-gradient(135deg,var(--brand),#19C7C4);
  color:#fff;
  border:none;
  border-radius:14px;
  font-weight:700;
}

/* LOGIN CARD */
.login-box{
  width:420px;
  padding:40px;
  border-radius:28px;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(18px);
  border:1px solid var(--line);
  box-shadow:0 30px 80px rgba(32,43,52,.12);
  text-align:center;
  z-index:2;
}

/* TITLE */
h1{
  font-size:2.4rem;
  font-weight:700;
  margin-bottom:6px;
}

.sub{
  color:var(--muted);
  margin-bottom:30px;
}

/* INPUTS */
input{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  padding:14px;
  margin-bottom:14px;
  font-size:1rem;
}

/* BUTTON */
.btn-login{
  width:100%;
  padding:14px;
  border-radius:14px;
  border:none;
  background:linear-gradient(135deg,var(--brand),#19C7C4);
  color:#fff;
  font-weight:700;
  transition:.2s;
}

.btn-login:hover{
  transform:scale(1.02);
}

/* ERROR */
.error{
  color:#F48A8A;
  font-weight:600;
}

.container{
  padding:40px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.service-card{
  padding:20px;
  border-radius:20px;
  cursor:pointer;
  transition:.2s;
}

.service-card.active{
  border:2px solid var(--brand);
}

.service-card.inactive{
  opacity:.5;
}

h2{
  margin-bottom:30px;
}

.orders-table{
  width:100%;
  border-collapse:collapse;
}

.orders-table th,
.orders-table td{
  padding:12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.orders-table tr{
  cursor:pointer;
  transition:.2s;
}

.orders-table tr:hover{
  background:rgba(12,184,182,.05);
}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}

.kpi{
  padding:20px;
  text-align:center;
}

.kpi h3{
  font-size:2rem;
  margin:0;
}

.orders-list li{
  cursor:pointer;
  padding:8px;
  border-radius:8px;
  transition:.2s;
}

.orders-list li:hover{
  background:rgba(12,184,182,.08);
}

.orders-table{
  width:100%;
  border-collapse:collapse;
}

.orders-table th{
  text-align:left;
  font-size:.85rem;
  color:var(--muted);
  padding:10px;
  border-bottom:1px solid var(--line);
}

.orders-table td{
  padding:14px 10px;
  border-bottom:1px solid var(--line);
}

.orders-table tr{
  cursor:pointer;
  transition:.2s;
}

.orders-table tr:hover{
  background:rgba(12,184,182,.06);
}

.status-badge{
  padding:6px 10px;
  border-radius:10px;
  font-size:.8rem;
  font-weight:600;
}

.status-neu{
  background:#e9f7f7;
  color:#0CB8B6;
}

.status-pruefung{
  background:#fff3cd;
  color:#856404;
}

.status-belieferung{
  background:#e8f5e9;
  color:#2e7d32;
}

.glass-card--sharp{
  border-radius:8px; /* oder 0 für komplett eckig */
}

.detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:15px;
}

.detail-grid div{
  display:flex;
  flex-direction:column;
}

.detail-grid span{
  font-size:.8rem;
  color:var(--muted);
}

.detail-grid strong{
  font-size:1rem;
}

.action-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.status-bar{
  padding:14px 20px;
  border-radius:10px;
  font-weight:700;
  margin-bottom:20px;
}

.status-pruefung{
  background:#fff3cd;
  color:#856404;
}

.status-belieferung{
  background:#e8f5e9;
  color:#2e7d32;
}

.status-neu{
  background:#e9f7f7;
  color:#0CB8B6;
}

.patient-row{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:10px;
}

.orders-table th{
  font-weight:600;
}

.orders-table td{
  font-size:.95rem;
}

.action-row{
  display:flex;
  gap:12px;
  margin-top:10px;
}

.btn-primary{
  background:#0CB8B6;
  color:#fff;
  border:none;
  padding:12px 16px;
  border-radius:10px;
  font-weight:600;
}

.btn-secondary{
  background:#f1f5f9;
  color:#202B34;
  border:none;
  padding:12px 16px;
  border-radius:10px;
}

.btn-success{
  background:#2e7d32;
  color:#fff;
  border:none;
  padding:12px 16px;
  border-radius:10px;
}